Skip to content

Instantly share code, notes, and snippets.

View jhonnycgarcia's full-sized avatar
馃彔
Working from home

Jhonny Garcia jhonnycgarcia

馃彔
Working from home
View GitHub Profile
@Klerith
Klerith / instalaciones-next.md
Last active December 2, 2025 02:56
Instalaciones recomendadas para el curso de Next.js 13 >
@Klerith
Klerith / instalaciones.md
Last active December 9, 2025 05:17
Instalaciones recomendadas - Curso de Angular de cero a experto
@nicobytes
nicobytes / 65-custom-validations.md
Last active June 14, 2021 21:18
Custom validations in Angular
import { AbstractControl } from '@angular/forms';

export class MyValidations {

  static age(control: AbstractControl) {
    const value = control.value;
    if (value < 18) {
      return {isYoung: true};
 }
@Klerith
Klerith / parse-jwt.js
Created March 15, 2018 15:07
Parse - JWT - Obtener Payload y fecha de creaci贸n y expiraci贸n
function parseJwt (token) {
var base64Url = token.split('.')[1];
var base64 = base64Url.replace('-', '+').replace('_', '/');
return JSON.parse(window.atob(base64));
};
@brenes
brenes / README.md
Last active November 24, 2025 16:02
CSV de paises, con nombre en castellano, ingles, codigo ISO y prefijo telef贸nico del pa铆s