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
| curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ce/script.deb.sh | sudo bash |
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
| lvresize --extents +100%FREE --resizefs /dev/ubuntu-vg/ubuntu-lv |
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
| Restart-Service LxssManager | |
| wsl.exe --manage Ubuntu --set-sparse true | |
| wsl --shutdown | |
| optimize-vhd -Path .\ext4.vhdx -Mode full | |
| wsl.exe -d Ubuntu-22.04 -u root mount --bind / /mnt/wsl/ubuntu22/ |
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
| service nginx start | |
| service docker start | |
| service redis-server start | |
| service postgresql start | |
| service mysql start | |
| service php8.0-fpm start | |
| docker run --rm -it -d -p 4000:80 -p 2525:25 rnwood/smtp4dev |
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
| find ./ ! -path "./versions/*" -type f -exec chmod 664 {} \; | |
| find ./ -type d -exec chmod 00775 {} \; | |
| pm2 start pm2.config.js --env development --watch | |
| pm2 stop pm2.config.js --env development --watch | |
| [HOST]/ghost/signup/[TOKEN]/ |
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
| npm i -g yarn webpack gulp-cli gulp grunt-cli grunt npm-check |
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
| service nginx stop && certbot renew ; service nginx start |
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
| certbot register --update-registration --email [email protected] |
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
| cd /usr/src/netdata.git && git fetch --all && git reset --hard origin/master && git pull && ./netdata-updater.sh -f | |
| sudo sh -c 'cd /usr/src/netdata.git && git fetch --all && git reset --hard origin/master && ./netdata-updater.sh -f' |
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
| find -type f -name "*.png" -exec optipng {} \; | |
| find -type f -name "*.gif" -exec optipng {} \; | |
| find -type f -name "*.jpg" -exec jpegoptim --strip-all {} \; |
NewerOlder