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 | |
| read -p "Enter the shared network path: " path | |
| read -p "Enter your username: " username | |
| read -p "What should the shared folder be named?: " shared | |
| # prepare folder | |
| umount /mnt/$shared | |
| rm -rf /mnt/$shared |
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 | |
| ############# | |
| # Dreamhost Development Tools (Composer, WP-CLI, Deployer) | |
| # Usage: curl https://gist.githubusercontent.com/raupie/3fa67ba991dcbf5de1c49ceeb9c773ac/raw | bash | |
| ############# | |
| PHPRC_FILE=~/.php/7.0/phprc | |
| # enable phar.so | |
| if grep -xq "extension = phar.so" $PHPRC_FILE |