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
Algorithmic Complexity | |
- http://stackoverflow.com/a/18766896 | |
- http://stackoverflow.com/a/46607 | |
Hashing | |
Docker | |
- https://github.com/gravitational/workshop/blob/master/docker.md | |
Frontend |
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
object Application extends App { | |
// Mapa immutable con 'val' | |
val pepe = scala.collection.immutable.Map("k1" -> "v1", "k2" -> "v2") | |
// Compiler Error: Reassignment to val | |
// Es importante entender que como en el caso de abajo, se esta tratando | |
// de reasignar 'val' con el nuevo mapa, cosa que no puede hacerse por ser un 'val' | |
pepe -= "k1" | |
// Mapa immutable con 'var' |
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
# Skip anime opening/ending | |
F1 seek -85 | |
F2 seek 85 | |
# Map volume to mouse wheel and up/down keys | |
AXIS_UP add volume 2 | |
AXIS_DOWN add volume -2 | |
UP add volume 2 | |
DOWN add volume -2 | |
MOUSE_BTN3 add volume 2 |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |