Skip to content

Instantly share code, notes, and snippets.

#!/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
#!/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