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 | |
| $timezones = array( | |
| 'America/Adak' => '(GMT-10:00) America/Adak (Hawaii-Aleutian Standard Time)', | |
| 'America/Atka' => '(GMT-10:00) America/Atka (Hawaii-Aleutian Standard Time)', | |
| 'America/Anchorage' => '(GMT-9:00) America/Anchorage (Alaska Standard Time)', | |
| 'America/Juneau' => '(GMT-9:00) America/Juneau (Alaska Standard Time)', | |
| 'America/Nome' => '(GMT-9:00) America/Nome (Alaska Standard Time)', | |
| 'America/Yakutat' => '(GMT-9:00) America/Yakutat (Alaska Standard Time)', | |
| 'America/Dawson' => '(GMT-8:00) America/Dawson (Pacific Standard Time)', |
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 | |
| $timezones = array( | |
| 'America/Adak' => '(GMT-10:00) America/Adak (Hawaii-Aleutian Standard Time)', | |
| 'America/Atka' => '(GMT-10:00) America/Atka (Hawaii-Aleutian Standard Time)', | |
| 'America/Anchorage' => '(GMT-9:00) America/Anchorage (Alaska Standard Time)', | |
| 'America/Juneau' => '(GMT-9:00) America/Juneau (Alaska Standard Time)', | |
| 'America/Nome' => '(GMT-9:00) America/Nome (Alaska Standard Time)', | |
| 'America/Yakutat' => '(GMT-9:00) America/Yakutat (Alaska Standard Time)', | |
| 'America/Dawson' => '(GMT-8:00) America/Dawson (Pacific Standard Time)', |
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
| <!-- Month dropdown --> | |
| <select name="month" id="month" onchange="" size="1"> | |
| <option value="01">January</option> | |
| <option value="02">February</option> | |
| <option value="03">March</option> | |
| <option value="04">April</option> | |
| <option value="05">May</option> | |
| <option value="06">June</option> | |
| <option value="07">July</option> | |
| <option value="08">August</option> |
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
| <option value="AL">Alabama</option> | |
| <option value="AK">Alaska</option> | |
| <option value="AZ">Arizona</option> | |
| <option value="AR">Arkansas</option> | |
| <option value="CA">California</option> | |
| <option value="CO">Colorado</option> | |
| <option value="CT">Connecticut</option> | |
| <option value="DE">Delaware</option> | |
| <option value="DC">District Of Columbia</option> | |
| <option value="FL">Florida</option> |
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 name="state"> | |
| <option value="AL">AL</option> | |
| <option value="AK">AK</option> | |
| <option value="AZ">AZ</option> | |
| <option value="AR">AR</option> | |
| <option value="CA">CA</option> | |
| <option value="CO">CO</option> | |
| <option value="CT">CT</option> | |
| <option value="DE">DE</option> | |
| <option value="DC">DC</option> |
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
| # This is a template .gitignore file for git-managed WordPress projects. | |
| # Ignores everything in the root except the theme you're working on. | |
| /* | |
| /*/ | |
| !/_tpl/ | |
| !/wordpress/ | |
| /wordpress/* | |
| !/wordpress/wp-content | |
| /wordpress/wp-content/* |
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
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress @salcode | |
| # ver 20150227 | |
| # | |
| # From the root of your project run | |
| # curl -O https://gist.github.com/salcode/b515f520d3f8207ecd04/raw/.gitignore | |
| # to download this file | |
| # | |
| # By default all files are ignored. You'll need to whitelist | |
| # any mu-plugins, plugins, or themes you want to include in the repo. |
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
| # Was asked how I keep my zshrc config sync'd between my computers with Dropbox | |
| # Add a new directory in your Dropbox (or use an existing one) | |
| mkdir -p ~/Dropbox/ohmyzsh | |
| # move existing file to Dropbox | |
| mv ~/.zshrc ~/Dropbox/ohmyzsh/zshrc | |
| # symlink file back to your local directory | |
| ln -s ~/Dropbox/ohmyzsh/zshrc ~/.zshrc |
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
| # You might not need this line if it already exists in your .htaccess file | |
| RewriteEngine On | |
| RewriteCond %{HTTP_HOST} !^www\. | |
| RewriteRule ^(.*)$ http://www.%{HTTP_HOST}/$1 [R=301,L] |
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
| #.htaccess to be saved on the root of wordpress upload directory | |
| <FilesMatch "\.(php|php3)$"> | |
| Order Deny,Allow | |
| Deny from all | |
| </FilesMatch> |
NewerOlder