npm init
npm install eslint jest nodemon --save-dev
Para una conocimiento bastante aceptable en modo autodidacta, recomiendo:
Hay cientos de lenguajes en uso hoy en día.
Personalmente propongo conocer estos 4 lenguajes si se quiere ir en serio.
while read r; do | |
echo $r | |
aws codecommit delete-repository --repository-name $r --region us-east-1 | |
done < ~/dev/utility-scripts/aws/codecommit/repos.txt |
# scroll with mouse | |
set -g mode-mouse on | |
setw -g mode-mouse on |
# Display the path of the current file at bottom in Vim | |
# .vimrc | |
set laststatus=2 | |
set statusline+=#F | |
# Install full version of Vim in Ubuntu | |
sudo apt-get remove vim-tiny | |
sudo apt-get install vim | |
# Color command line with git branch |
stuff1 = function(deferred) { | |
setTimeout(function() { | |
console.log("Stuff #1 is done!"); | |
deferred.resolve(); | |
}, 1000); | |
}; | |
stuff2 = function(deferred) { | |
setTimeout(function() { | |
console.log("Stuff #2 is done!"); |
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
Version: GnuPG v1.4.11 (GNU/Linux) | |
mQENBFJRnTEBCACsk8jDaoG1bX1kkUFD7CtAM5VDWEhnCYEgCoU9B/OA794oU6Aq | |
vmmkt4OfO8OG2T1JOjr5iCvQFr6MXVD9NtfjBN7UeWytKMOWH8ipjlUkdVr3lJkR | |
G8Afooa9C6v7HOTBa21VoVsEdx2mkG2QXjTPSbRoQqJDUkPD1ZiRWrj5yLxymDAE | |
VGPTWYrg4v324vAuQrJAkb+t8HbcaoXhM//wEoAoz6vh+99H1moIPaFfdBsaqmea | |
CY9D+EOL5Z154Y8H9noRhX6eTDJtkzCZzxc7x6/A/C1jvWRcmqmyeWGDtR3R/pIu | |
yal4NPmdDNnjzuTZPcFRQYSMBbJXmmqlH1FRABEBAAG0O0lnb3IgUGFycmEgQmFz | |
dGlhcyAoT21uaWEgTWVjdW0gUG9ydG8pIDx1c3VhcmlvM0BnbWFpbC5jb20+iQE4 |
// Javi, This is like a bad dog looks like in javascript using class pattern: | |
// constructor | |
function Dog() {} | |
// class method | |
Dog.prototype.seeCat = function() { | |
console.log('seeing cat...'); | |
this.bark('whuf, whuf'); | |
this.run(); |
var gently = new (require('gently')) | |
, assert = require('assert') | |
function Dog() { | |
} | |
Dog.prototype.seeCat = function() { | |
console.log('seeing cat...'); | |
this.bark('whuf, whuf'); | |
this.run(); |