###Redirect a single page: Redirect 301 /pagename.php http://www.domain.com/pagename.html
###Redirect an entire site: Redirect 301 / http://www.domain.com/
###Redirect an entire site to a sub folder Redirect 301 / http://www.domain.com/subfolder/
| var auth = { | |
| user: "USERNAME", | |
| pass: "PASSWORD" | |
| }; | |
| function ParallelRunner (list, func, runners) { | |
| function createSlots(runners) { | |
| var slots = []; | |
| for (var i = 0; i < runners; i++) { | |
| slots.push( objReturner() ); |
| #!/bin/sh | |
| # Credentials for a MySQL user with PROCESS, SUPER permissions | |
| USERNAME= | |
| PASSWORD= | |
| # MySQL Server location | |
| HOST=127.0.0.1 | |
| PORT=3306 |
| #!/bin/sh | |
| # Credentials for a MySQL user with PROCESS, SUPER permissions | |
| USERNAME= | |
| PASSWORD= | |
| # MySQL Server location | |
| HOST=127.0.0.1 | |
| PORT=3306 |
| <?php | |
| /* | |
| Plugin Name: CustomType | |
| Plugin URI: | |
| Author: Craig Hooghiem | |
| Author URI: http://www.craighooghiem.com | |
| Description: A custom post type that adds CustomType and custom taxonomies. | |
| Version: 1.0 | |
| */ |
###Redirect a single page: Redirect 301 /pagename.php http://www.domain.com/pagename.html
###Redirect an entire site: Redirect 301 / http://www.domain.com/
###Redirect an entire site to a sub folder Redirect 301 / http://www.domain.com/subfolder/
| brew list -1 | while read line; do brew unlink $line; brew link $line; done |
| <?php | |
| require 'vendor/autoload.php'; | |
| $settings = array( | |
| 'driver' => 'mysql', | |
| 'host' => '127.0.0.1', | |
| 'database' => 'database', | |
| 'username' => 'root', | |
| 'password' => 'root', |