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
| # Dev Services | |
| alias start-all='sudo wslact time-sync && sudo service redis-server start && sudo service mysql start && sudo service php8.2-fpm start && sudo service nginx start && mailcatcher' | |
| alias stop-all='sudo service redis-server stop && sudo service mysql stop && sudo service php8.2-fpm stop && sudo service nginx stop && killall mailcatcher ; sleep 1 && ps ax' | |
| alias restart-all='sudo service redis-server restart && sudo service mysql restart && sudo service php8.2-fpm restart && sudo service nginx restart' | |
| alias use-php7.4='sudo update-alternatives --set php /usr/bin/php7.4' | |
| alias use-php8.0='sudo update-alternatives --set php /usr/bin/php8.0' | |
| alias use-php8.1='sudo update-alternatives --set php /usr/bin/php8.1' | |
| alias use-php8.2='sudo update-alternatives --set php /usr/bin/php8.2' |
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
| # System | |
| alias dotfiles='git --git-dir=/home/valorin/.dotfiles/ --work-tree=/home/valorin' | |
| alias dt='git --git-dir=/home/valorin/.dotfiles/ --work-tree=/home/valorin' | |
| alias fixinodes='echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p' | |
| alias ll='ls -lah' | |
| alias tarsnap-backup='sudo tarsnap -cvf backup-$(date +%Y-%m-%d_%H-%M-%S) /home /root /etc /var' | |
| # Security | |
| alias safe-composer='composer install --ignore-platform-reqs --no-plugins --no-scripts --audit' | |
| alias sqlmap="python3 ~/tools/sqlmap/sqlmap.py" |
OlderNewer