Skip to content

Instantly share code, notes, and snippets.

@baldore
Created January 17, 2014 13:13
Show Gist options
  • Save baldore/8473150 to your computer and use it in GitHub Desktop.
Save baldore/8473150 to your computer and use it in GitHub Desktop.
# Vim Folder
alias cdvim="cd ~/Documentos/vim"
# BASH ALIAS
alias bashrc='sudo sublime-text ~/.bashrc'
# PHP
alias xampp:s='sudo /opt/lampp/xampp start'
alias php='/opt/lampp/bin/php'
alias composer='sudo php /usr/local/bin/composer'
# MySQL
alias mysql='/opt/lampp/bin/mysql'
# LARAVEL
alias art='php artisan'
# SSH Key
alias sshkey="cat ~/.ssh/id_rsa.pub | xclip -selection clipboard && echo 'Copied to clipboard'"
# Laravel generators
alias l:m='art generate:model'
alias l:c='art generate:controller'
alias l:s='art generate:seed'
alias l:v='art generate:view'
alias l:mig='art generate:migration'
alias l:r='art generate:resource'
alias l:sca='art generate:scaffold'
alias l:f='art generate:form'
alias l:t='art generate:test'
alias l:p='art generate:pivot'
# Yeoman ANGULAR
alias ngr='yo angular:route'
alias ngc='yo angular:controller'
alias ngd='yo angular:directive'
alias ngf='yo angular:filter'
alias ngv='yo angular:view'
alias ngs='yo angular:service'
# GIT
alias gs='git status'
alias gaa='git add .'
alias gcam='git commit -am'
alias gco='git checkout'
alias gbr='git branch'
# NPM Grunt
alias npmi='npm install --save-dev'
# Bower
alias bowi='bower install --save'
# Brunch
alias bru='brunch watch --server'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment