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
# Make a file named virtualhost and place it in /usr/local/bin folder. | |
# Give +x permission to the file. | |
# use as | |
# virtualhost sitename.tld relative_path_to/var/www/ | |
# i.e virtualhost d7.san d7 | |
#!/bin/bash | |
### Set default parameters | |
action='create' | |
domain=$1 |
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/zsh | |
# @author: Mahfuzul Hasan <[email protected]> | |
# setdrupal function download and extract Drupal from https://www.drupal.org | |
# To execute this function run this commands: | |
# chmod +x setwp.sh | |
# ./setwp.sh | |
# or add this file as a source in your .zshrc / .bashrc file " source ~/bin/zsh/setdrupal.sh " | |
# | |
setdrupal(){ | |
echo -n "Which version you want to download (ex. 7.34) ? " |
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/zsh | |
# @author: Mahfuzul Hasan <[email protected]> | |
# setwp function download and extract wordpress from https://wordpress.org | |
# To execute this function run this commands: | |
# chmod +x setwp.sh | |
# ./setwp.sh | |
# or add this file as a source in your .zshrc / .bashrc file " source ~/bin/zsh/setwp.sh " | |
# | |
setwp(){ | |
echo "Downloading....." |
NewerOlder