Skip to content

Instantly share code, notes, and snippets.

Khanh Nguyen GodStorm91

View GitHub Profile
GodStorm91 / FuelValetDriver.php
Created Oct 3, 2018
FuelPHP Valet Driver (put it in ~/.config/valet/Drivers/)
View FuelValetDriver.php
class FuelValetDriver extends ValetDriver
* * Determine if the driver serves the request.
* *
* * @param string $sitePath
* * @param string $siteName
* * @param string $uri
* * @return bool
View .bashrc
export PATH="$PATH:$HOME/.composer/vendor/bin"
alias dcd='docker-compose down'
alias dcu='docker-compose up'
alias dps='docker ps'
alias dcb='docker-compose build'
alias deb='f(){ docker exec -it "$1" bash -l; unset -f f; }; f'
alias gap='git add -p'
You can’t perform that action at this time.