This file contains hidden or 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
alias art="php artisan" | |
alias nah='git reset --hard;git clean -df' | |
alias art:refresh="php artisan migrate:refresh" | |
alias art:refresh-seed="php artisan migrate:refresh --seed" | |
alias gri="git ls-files --ignored --exclude-standard -z | xargs -0 git rm --cached" |
This file contains hidden or 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 | |
owner=$(whoami | awk '{print $1}') | |
if [ "$(whoami)" == 'root' ]; then | |
echo $"You shouldn't be running this as root." | |
exit 1; | |
fi | |
sudo find . -type d -exec chmod 0755 {} \; |
This file contains hidden or 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 | |
### Set Language | |
TEXTDOMAIN=virtualhost | |
### Set default parameters | |
action=$1 | |
domain=$2 | |
rootDir=$3 | |
owner=$(who am i | awk '{print $1}') | |
sitesEnable='/etc/nginx/sites-enabled/' |