I hereby claim:
- I am llbbl on github.
- I am llbbl (https://keybase.io/llbbl) on keybase.
- I have a public key whose fingerprint is RETU RN T HIS. PGP. GET_ FING ERPR INT( ); }
To claim this, I am signing this object:
| #!/bin/bash | |
| # Simple script to copy a MySQL to another | |
| # Parent backup directory | |
| backup_parent_dir="/path/to/tmp/backup/dir" #notice no ending slash | |
| # MySQL settings | |
| mysql_user="elevateduser" | |
| mysql_password="elevateduserpassword" |
I hereby claim:
To claim this, I am signing this object:
| # GNU Screen - main configuration file | |
| # All other .screenrc files will source this file to inherit settings. | |
| # Author: Christian Wills - [email protected] | |
| # Allow bold colors - necessary for some reason | |
| attrcolor b ".I" | |
| # Tell screen how to set colors. AB = background, AF=foreground | |
| termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |
| CREATE DATABASE jiradb CHARACTER SET utf8 COLLATE utf8_bin; |
| CREATE DATABASE `mydb` CHARACTER SET utf8 COLLATE utf8_general_ci; | |
| GRANT ALL ON `mydb`.* TO `username`@localhost IDENTIFIED BY 'password'; | |
| FLUSH PRIVILEGES; |
| server{ | |
| server_name default.local; | |
| root /Web/default; | |
| access_log /Web/logs/default.access.log; | |
| error_log /Web/logs/default.error.log; | |
| include /usr/local/etc/nginx/global/common.conf; | |
| include /usr/local/etc/nginx/global/php.conf; |
| # Global configuration file. | |
| # ESSENTIAL : Configure Nginx Listening Port | |
| listen 80; | |
| # ESSENTIAL : Default file to serve. If the first file isn't found, | |
| index index.php index.html index.htm; | |
| # ESSENTIAL : no favicon logs | |
| location = /favicon.ico { | |
| log_not_found off; | |
| access_log off; | |
| } |
| location ~ \.php$ { | |
| try_files $uri =404; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass unix:/var/run/php5-fpm.sock; | |
| fastcgi_index index.php; | |
| include fastcgi_params; | |
| } |
| # REQUIREMENTS : Enable PHP Support | |
| location ~ \.php$ { | |
| try_files $uri =404; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| } |
| worker_processes 4; | |
| pid /usr/local/etc/nginx/nginx.pid; | |
| events { | |
| worker_connections 768; | |
| # multi_accept on; | |
| } | |
| http { | |