Curl
Use postdata
npm module to extract the post data on the server. Use -k
for https, -u
for auth.
curl --data "param1=value1¶m2=value2" https://localhost:3000/user/re
curl --data "param1=value1¶m2=value2" -k -X POST https://localhost:3000/user/re
curl --form "[email protected]" https://localhost:3000/user/re
curl -u myusername:mypassword http://somesite.com
Git
git remote add origin URL
git pull --rebase
git push -u origin master
Tips
# Display hidden files. TRUE/FALSE. Then Alt-RightClick Finder in Dock and hit Relaunch
defaults write com.apple.finder AppleShowAllFiles TRUE
# Always open everything in Finder's list view.
defaults write com.apple.Finder FXPreferredViewStyle Nlsv