-
Rewire (require module): Easy dependency injection for node.js unit testing
-
Mocha (to test js)
-
Moment: Parse, validate, manipulate, and display dates in JavaScript.
-
Swagger: A Powerful Interface to your RESTful API
-
Yeoman(make scaffold): to kickstart new projects, prescribing best practices and tools to help you stay productive
-
Underscore: useful functional programming helpers
-
MVC client-side: AngularJs vs Backbone vs Emberjs
-
ApacheBench: Tool for benchmarking the HTTP server
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
#phantomjs | |
Make integration tests with phantomjs: http://phantomjs.org/ | |
http://staal.io/blog/2013/08/17/incredibly-convenient-testing-of-frontend-javascript-with-node-dot-js/ | |
#http://nightwatchjs.org/ | |
#lambda3 (Giovanni Bassi) | |
http://blog.lambda3.com.br/ | |
#jsdom | |
https://github.com/tmpvar/jsdom |
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
;^c:: | |
#Persistent | |
return | |
OnClipboardChange: | |
ClipWait | |
StringReplace, clipboard, clipboard, STRING_REPLACE, STR , All | |
clipboard = %clipboard% | |
return |
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
stty sane | |
# Discard unstaged changes | |
git checkout file | |
# For all unstaged files use: | |
git checkout -- . | |
#http://rogerdudler.github.io/git-guide/index.pt_BR.html | |
# remove from stage | |
git reset file |
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
# All users crontab. More http://www.thegeekstuff.com/2009/11/how-to-install-edit-or-remove-cron-jobs-in-batch-mode/ | |
ls /var/spool/cron/crontabs/ | |
# An array with a list of files who invoke to irrive in method inspected. | |
ruby method caller | |
# list all linux users | |
cat /etc/passwd | |
# list w/ filters |
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
vim +PluginInstall +qall | |
vi ../.vimrc | |
vim README.md | |
vim . | |
sudo vi /etc/fstab | |
open /Volumes | |
bash --login '/Applications/Docker/Docker Quickstart Terminal.app/Contents/Resources/Scripts/start.sh' | |
ps -ef | grep -i docker | |
ps -ef | grep -i vm | |
docker-machine env default |
For homebrew version 0.9.5.
brew -v # => Homebrew 0.9.5
Install the current version of mysql.
ssh [email protected] -p 5022
$netstat -nlpt
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
require 'optparse' | |
namespace :programs do |args| | |
desc "Download whatever" | |
task :download => [:environment] do | |
# USAGE: rake programs:download -- rm | |
#-- Setting options $ rake programs:download -- --rm | |
options = {} | |
option_parser = OptionParser.new |