Skip to content

Instantly share code, notes, and snippets.

View vprasanth's full-sized avatar

Prasanth Vaaheeswaran vprasanth

  • Toronto, Canada
  • 23:40 (UTC -04:00)
View GitHub Profile
@vprasanth
vprasanth / semantic-commit-messages.md
Created September 21, 2018 03:25 — forked from joshbuchea/semantic-commit-messages.md
Semantic Commit Messages

Semantic Commit Messages

See how a minor change to your commit message style can make you a better programmer.

Format: <type>(<scope>): <subject>

<scope> is optional

Example

@vprasanth
vprasanth / cookie.js
Created November 11, 2015 23:26 — forked from ajagelund/cookie.js
MDN JavaScript cookie framework
@vprasanth
vprasanth / tmux-cheatsheet.markdown
Created November 3, 2015 17:23 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@vprasanth
vprasanth / gist:9de17a77834c6e689c0f
Last active August 29, 2015 14:26 — forked from tonymtz/gist:d75101d9bdf764c890ef
Uninstall nodejs from OSX Yosemite
# First:
lsbom -f -l -s -pf /var/db/receipts/org.nodejs.pkg.bom | while read f; do sudo rm /usr/local/${f}; done
sudo rm -rf /usr/local/lib/node /usr/local/lib/node_modules /var/db/receipts/org.nodejs.*
# To recap, the best way (I've found) to completely uninstall node + npm is to do the following:
#go to /usr/local/lib and delete any node and node_modules
cd /usr/local/lib
sudo rm -rf node*
@vprasanth
vprasanth / appify
Last active August 29, 2015 14:18 — forked from mathiasbynens/appify
#!/bin/bash
if [ "$1" = "-h" -o "$1" = "--help" -o -z "$1" ]; then cat <<EOF
appify v3.0.1 for Mac OS X - http://mths.be/appify
Creates the simplest possible Mac app from a shell script.
Appify takes a shell script as its first argument:
`basename "$0"` my-script.sh
@vprasanth
vprasanth / git.css
Last active August 29, 2015 14:17 — forked from neilgee/git.css
/* Set up Git Configuration */
git config --global user.email "you@yourdomain.com"
git config --global user.name "Your Name"
git config --global core.editor "vi"
git config --global color.ui true