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
| function wiki() { | |
| red='\e[0;31m' | |
| yellow='\e[0;33m' | |
| cyan='\e[0;36m' | |
| search=$(echo $@ | sed -e 's/ /_/g') | |
| blob=$(dig +short txt ${search}.wp.dg.cx) | |
| if [ -z "$blob" ]; then | |
| echo "${red}No result found." | |
| return 1 | |
| fi |
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
| select concat('truncate table ', TABLE_NAME, ';') from information_schema.tables where TABLE_NAME like 'cache%'; |
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
| gunzip < database.sql.gz | mysql -uroot database |
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
| wget --quiet --no-check-certificate http://install.ohmyz.sh -O - | sh | |
| wget --quiet --no-check-certificate https://gist.githubusercontent.com/psynaptic/a99d49fe24089360850c/raw/a5422fcdef76cc82c4ea1ef90f22bb9db0840759/gistfile1.sh -O - | sh |
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
| $conf['acsf_local_development'] = TRUE; | |
| $conf['preprocess_css'] = FALSE; | |
| $conf['preprocess_js'] = FALSE; | |
| $conf['file_directory_path'] = conf_path() . '/files'; | |
| $conf['file_temporary_path'] = conf_path() . '/files/tmp'; | |
| $conf['acsf_local_user_accounts'] = TRUE; | |
| $conf['acquia_gardens_local_user_accounts'] = TRUE; | |
| $conf['acquia_gardens_keep_js_css_caching_off'] = TRUE; | |
| $conf['gardens_client_site_verification_status'] = array('verified' => TRUE); | |
| $conf['gardens_client_send_stats'] = FALSE; |
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
| [alias] | |
| e = config --global --edit | |
| s = status -s | |
| st = status | |
| ci = commit -m | |
| cl = clone | |
| br = branch | |
| co = checkout | |
| praise = blame | |
| wtf = blame |
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
| <?php | |
| $colors = array( | |
| 'BLACK' => NCURSES_COLOR_BLACK, | |
| 'WHITE' => NCURSES_COLOR_WHITE, | |
| 'RED' => NCURSES_COLOR_RED, | |
| 'GREEN' => NCURSES_COLOR_GREEN, | |
| 'YELLOW' => NCURSES_COLOR_YELLOW, | |
| 'BLUE' => NCURSES_COLOR_BLUE, | |
| 'CYAN' => NCURSES_COLOR_CYAN, |
OlderNewer