Ps: The current setup was done on 01-04-19
Project Dependency Versions at the time 👇
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-scripts": "2.1.3",
"typescript": "^3.2.2"
"tslint": "^5.12.0",
"tslint-config-prettier": "^1.17.0",
This content moved here: https://exploringjs.com/impatient-js/ch_arrays.html#quickref-arrays
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let new_times = all_times | |
.slice(0) | |
.sort((a, b) => a.time_block - b.time_block) | |
.reduce((obj, item) => { | |
if (!obj[item.day_string]) { | |
obj[item.day_string] = [item] | |
} else { | |
obj[item.day_string] = [ | |
...obj[item.day_string], | |
item |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Como usar async await 😎 | |
// Defines la función que lo encierra como async. | |
// Cualquier funcion que regrese una promise va a tener un await antes. | |
let asyncAwait = async () => { | |
await fetch('algo'); | |
}; | |
// Aun tenemos que manejar errores. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package Blockbuster; | |
public class App { | |
public static void main(String[] args){ | |
Cliente ariel = new Cliente("Ariel Camacho"); | |
Catalogo catalogo = new Catalogo(); | |
Serie houseOfCards = catalogo.getSeriePorNombre("House Of Cards"); | |
System.out.println("Antes de rentar: "+houseOfCards.toString()); |
If you use atom... download & install the following packages:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
autoload -U add-zsh-hook | |
load-nvmrc() { | |
if [[ -f .nvmrc && -r .nvmrc ]]; then | |
nvm use | |
fi | |
} | |
add-zsh-hook chpwd load-nvmrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<key name="Colors" modified="2015-12-10 22:46:43" build="151210"> | |
<value name="Count" type="dword" data="00000001"/> | |
<key name="Palette1" modified="2015-12-10 22:46:43" build="151210"> | |
<value name="Name" type="string" data="Material Theme"/> | |
<value name="ColorTable00" type="dword" data="004d4335"/> | |
<value name="ColorTable01" type="dword" data="006b60eb"/> | |
<value name="ColorTable02" type="dword" data="008de8c3"/> | |
<value name="ColorTable03" type="dword" data="0095ebf7"/> | |
<value name="ColorTable04" type="dword" data="00c4cb80"/> | |
<value name="ColorTable05" type="dword" data="009024ff"/> |
NewerOlder