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
# Crea un alias en git para ver el historico con los archivos que se cambiaron | |
git config --global alias.ll 'log d--pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numsta' | |
# Para ver los archivos cambiados entre un branch y otro | |
git ll master..my-branch | grep / |
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
# log with pretty format | |
git config --global alias.ls 'log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate' | |
# log with pretty format and changed files | |
git config --global alias.ll 'log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat' | |
# log with pretty format and graph timeline | |
git config --global alias.lol 'log --pretty=oneline --abbrev-commit --graph --decorat' # log with pretty format and graph timeline |
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
(function(window, document){ | |
function isPalindrome (num) { | |
num = num.toString(); | |
return num == (num.split("").reverse().join("")); | |
} | |
var inicio = Date.now(); | |
var data = new XMLHttpRequest(); | |
var count = 0; |