Skip to content

Instantly share code, notes, and snippets.

@chrislandeza
chrislandeza / Datepicker.vue
Last active June 19, 2017 09:49
Vue jQuery Wrapper Components
<!--
Wrapper Component for: https://bootstrap-datepicker.readthedocs.io/en/latest/
usage:
import Datepicker from './Datepicker';
Vue.component(Datepicker.name, Datepicker);
<datepicker type="text"
class="form-control"
name="birthdate"
placeholder="Birth Date"
@chrislandeza
chrislandeza / env.cmd
Last active February 8, 2017 06:06
Just like my .bash_profile but for native windows 'cmd'. Usage: cmd.exe /K %USERPROFILE%\env.cmd
@echo off
:: Git
doskey gs=git status
doskey ga=git add --all
doskey gc=git commit -m
doskey gp=git push -u origin master
doskey nah=git reset --hard origin/master $T git clean -fd
@chrislandeza
chrislandeza / .bash_profile
Last active April 29, 2017 07:02
My git .bash_profile
#Git
alias gs='git status'
alias ga='git add --all'
alias gc='git commit -m '
alias gp='git push -u origin' #example: '$ gp branch-name'
alias nah='git reset --hard origin/master; git clean -fd'
#Composer
alias dump='composer dump-autoload'