Switcth# configure terminal
Switcth(config)# hostname NOMBRE DEL DISPOSITIVO
NOMBRE DEL DISPOSITIVO(config)#
This file contains hidden or 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
function getUnidadImaginaria(potencia) { | |
let potenciasImaginarias = { | |
0: '1', | |
1: 'i', | |
2: '-1', | |
3: '-i', | |
4: '1' | |
}; | |
let restante = 0; |
This file contains hidden or 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
VER VARIABLES DE ENTORNO CON HEROKU CLI | |
>heroku config | |
DECLARAR Y SUBIR UNA NUEVA VARIABLE DE ENTORNO | |
>heroku config:set <nombre de la variable>="<valor de la variable>" |
This file contains hidden or 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
git config --global alias.lg "log --oneline --decorate --all --graph" | |
git config --global alias.s "status -s -b" |
This file contains hidden or 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
eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c.toString(a)+'\\b','g'),k[c])}}return p}('g 9(){4.6("#2 .3-8").7[0].5="f: e;";4.6("#2 .3-8").7[1].5="d: c;";4.6("#2 .3-8").7[1].5="b: a;"}9();',17,17,'||root|q|document|style|querySelector|children|box|hackQuora|initial|position|unset|filter|none|display|function'.split('|'))) |
This file contains hidden or 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
function christmas_tree(num) { | |
let numRows = num; | |
for (let i = 1; i <= numRows; i++) { | |
let row = ""; | |
for (let j = i; j < numRows; j++) { | |
row += " "; | |
} | |
for (let k = 1; k <= (2 * i - 1); k++) { |
This file contains hidden or 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<title>Mi primer Gist en Github</title> | |
</head> | |
<body> | |
<p>Cuerpo del documento</p> | |
</body> | |
</html> |