This file contains 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
CREATE USER 'workshop'@'localhost' IDENTIFIED BY 'workshop'; | |
CREATE DATABASE workshop; | |
GRANT ALL PRIVILEGES ON workshop.* TO 'workshop'@'localhost'; |
This file contains 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
server { | |
listen 8080; | |
server_name localhost; | |
root /var/www/workshop/drupal; | |
index index.php; | |
access_log /var/www/workshop/access.log; | |
error_log /var/www/workshop/error.log; |
This file contains 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 | |
# Automagically config git with a proper set of settings. | |
# Update and uncomment the following lines to change your user. | |
#git config --global user.name="" | |
#git config --global user.email="" | |
git config --global core.editor vim | |
git config --global core.page more |
This file contains 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
# verbose git branch on bash PS1 | |
# get accompaning script with this command: | |
# curl https://raw.github.com/git/git/master/contrib/completion/git-prompt.sh > ~/.bash_git | |
if [ -f ~/.bash_git ]; then | |
source ~/.bash_git | |
export PS1='[\u@\h \W$(__git_ps1 ":%s")]\$ ' | |
fi |
NewerOlder