Skip to content

Instantly share code, notes, and snippets.

@wzulfikar
Created September 2, 2016 15:02
Show Gist options
  • Save wzulfikar/012d8a92a97a01d240c4aa943ca34e35 to your computer and use it in GitHub Desktop.
Save wzulfikar/012d8a92a97a01d240c4aa943ca34e35 to your computer and use it in GitHub Desktop.
Snippets I use with Dash (OSX) - https://kapeli.com/dash
# the upper line is how we call the snippet,
# below it is content of the snippet.
clog`
console.log(@cursor);
date`
@date
time`
@time
timestamp`
@date at @time
lorem`
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
proj-alias`
# __placeholder__
alias __placeholder__-cd="cd ~/web_projects/__placeholder__"
alias __placeholder__-subl="__placeholder__-cd && subl ."
alias __placeholder__-s="__placeholder__-cd && artisan serve --host 0.0.0.0 --port @cursor"
alias __placeholder__-st="__placeholder__-cd && st ."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment