Skip to content

Instantly share code, notes, and snippets.

View Villanuevand's full-sized avatar
👋
Hola,

Andrés Villanueva Villanuevand

👋
Hola,
View GitHub Profile
@Villanuevand
Villanuevand / codigo.js
Created August 4, 2024 20:37
Código de la serie Alertas y Dialogos en Youtube | Vilton Tech
/**
* Serio: Alertas y Dialogos | Vilton Tech
* Video 1: https://youtu.be/qr5ixu0Hkas
* Video 2: https://youtu.be/oBOO_4dIFUw
* Instagram: @vilton.tech
*/
const UI = SpreadsheetApp.getUi();
function onOpen(e) {
@Villanuevand
Villanuevand / form-validation-pattern.component.ts
Created April 22, 2020 13:26 — forked from guillefd/form-validation-pattern.component.ts
Angular Form Validator Pattern: only letters and numbers
import { Component } from '@angular/core';
import { FormBuilder, FormGroup, Validators } from '@angular/forms';
@Component({
selector: 'form',
templateUrl: './form.component.html',
styleUrls: ['./form.component.scss']
})
export class Form {
@Villanuevand
Villanuevand / CLA-Corporations-HeroDevs.md
Last active April 2, 2020 17:33
HeroDevs Software Grant and Corporate Contributor License Agreement

In order to clarify the intellectual property license granted with Contributions from any person or entity, HeroDevs LLC ("HeroDevs") must have a Contributor License Agreement (CLA) on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of HeroDevs and its users; it does not change your rights to use your own Contributions for any other purpose.

This version of the Agreement allows an entity (the "Corporation") to submit Contributions to HeroDevs, to authorize Contributions submitted by its designated employees to HeroDevs, and to grant copyright and patent licenses thereto.

You accept and agree to the following terms and conditions for Your present and future Contributions submitted to HeroDevs. Except for the license granted herein to HeroDevs and recipients of software distributed by HeroDevs, You reserve all right, title, and interest in and to Your Contributions.

  1. **Definitions.
@Villanuevand
Villanuevand / CLA-Individual-HeroDevs.md
Last active December 27, 2019 15:14
HeroDevs Individual Contributor License Agreement

In order to clarify the intellectual property license granted with Contributions from any person or entity, HeroDevs LLC ("HeroDevs") must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of HeroDevs; it does not change your rights to use your own Contributions for any other purpose.

You accept and agree to the following terms and conditions for Your present and future Contributions submitted to HeroDevs. Except for the license granted herein to HeroDevs and recipients of software distributed by HeroDevs, You reserve all right, title, and interest in and to Your Contributions.

  1. Definitions.
  • "You" (or "Your") shall mean the copyright owner or legal entity authorized by the copyright owner that is making this Agreement with HeroDevs. For legal entities, the entity making a Contribution and all other entities that control, are con
@Villanuevand
Villanuevand / README-español.md
Last active November 10, 2024 23:00
Una plantilla para hacer un buen README.md. Inspirado en el gist de @PurpleBooth => https://gist.github.com/PurpleBooth/109311bb0361f32d87a2

Título del Proyecto

Acá va un párrafo que describa lo que es el proyecto

Comenzando 🚀

Estas instrucciones te permitirán obtener una copia del proyecto en funcionamiento en tu máquina local para propósitos de desarrollo y pruebas.

Mira Deployment para conocer como desplegar el proyecto.

@Villanuevand
Villanuevand / d2m2y4.js
Created January 1, 2018 21:41
Función que verifica si una fecha ingresada con formato "dd/MM/YYYY" es correcta.
function ddMMYYYYValidator (date) {
let _date = date.replace(/[/]/g,'-');
let formatedDate = new Date( _date.replace( /(\d{2})-(\d{2})-(\d{4})/, "$2/$1/$3"));
return (isNaN(Date.parse(formatedDate)) ? false : true);
}
@Villanuevand
Villanuevand / 01-rules-default.json
Created September 7, 2017 10:19
Reglas de seguridad por defecto de un proyecto Firebase...
{
"rules": {
".read": "auth != null",
".write": "auth != null"
}
}
@Villanuevand
Villanuevand / README:Firebase+Algolia.md
Created March 7, 2017 13:05
Firebase + Algolia Search Integration

Firebase + Algolia Search Integration

As easy as 6 files and < 200 lines of code.

@Villanuevand
Villanuevand / postal-codes.json
Created December 12, 2016 15:03 — forked from matthewbednarski/postal-codes.json
Global postal codes regex formats
[{ "Note": "The first two digits (ranging from 10–43) correspond to the province, while the last two digits correspond either to the city/delivery zone (range 01–50) or to the district/delivery zone (range 51–99). Afghanistan Postal code lookup", "Country": "Afghanistan", "ISO": "AF", "Format": "NNNN", "Regex": "^\\d{4}$" }, { "Note": "With Finland, first two numbers are 22.", "Country": "Åland Islands", "ISO": "AX", "Format": "NNNNN", "Regex": "^\\d{5}$" }, { "Note": "Introduced in 2006, gradually implemented throughout 2007.", "Country": "Albania", "ISO": "AL", "Format": "NNNN", "Regex": "^\\d{4}$" }, { "Note": "First two as in ISO 3166-2:DZ", "Country": "Algeria", "ISO": "DZ", "Format": "NNNNN", "Regex": "^\\d{5}$" }, { "Note": "U.S. ZIP codes (range 96799)", "Country": "American Samoa", "ISO": "AS", "Format": "NNNNN (optionally NNNNN-NNNN or NNNNN-NNNNNN)", "Regex": "^\\d{5}(-{1}\\d{4,6})$" }, { "Note":
@Villanuevand
Villanuevand / data.json
Created July 22, 2016 12:31
Información del CV de Angel Cruz...
{
"basics": {
"name": "Angel Cruz",
"label": "Frontend Developer",
"picture": "http://2.gravatar.com/avatar/b5a93f6390e4bdb85a484d15b549d467",
"email": "[email protected]",
"phone": "(000) 000-0000",
"website": "http://abr4xas.org",
"summary": "Front End Web Developer, ágil y pro-activo con amplía experiencia en creación de sitios web óptimos. Entusiasta HTML5 y CSS3, actualmente en los caminos JavaScript (Angular JS, Node.JS). Estoy en continua formación para mejorar y ampliar los conocimientos que he obtenido durante tantos años en este medio. ",
"location": {