This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// app/Http/Middleware/Authenticate.php | |
/** | |
* Handle an incoming request. | |
* | |
* @param \Illuminate\Http\Request $request | |
* @param \Closure $next | |
* | |
* @return mixed | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## apt-get shortcuts | |
alias agu='sudo apt-get -qq update' | |
alias agg='sudo apt-get -q upgrade' | |
alias agug='agu && agg' | |
alias agi='sudo apt-get install' | |
alias agri='sudo apt-get install --reinstall' | |
alias ags='sudo aptitude search' | |
alias agar="sudo apt-get autoremove" | |
alias agac="sudo apt-get autoclean" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
###################################################################### | |
## Git Aliases | |
###################################################################### | |
alias glog='git log --name-only' | |
alias gb='git branch --list -v' | |
alias gcm='git checkout master' | |
alias gcd='git checkout develop' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################################################################### | |
## Where my bins at? | |
###################################################################### | |
export PHP_BIN=$(which php) | |
export ARTISAN_BIN=./artisan | |
export_ALIASES_LOADED=true | |
###################################################################### | |
## Apache |