Skip to content

Instantly share code, notes, and snippets.

View synCRAUNicity's full-sized avatar

Aubrey Craun synCRAUNicity

  • Florida Atlantic University
  • Boynton Beach, FL
View GitHub Profile
@synCRAUNicity
synCRAUNicity / timezones_array.php
Created April 2, 2017 19:56 — forked from pavellauko/LICENSE
Time zones as arrays (PHP)
<?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)',
@synCRAUNicity
synCRAUNicity / timezones_array.php
Created April 2, 2017 19:56 — forked from pavellauko/LICENSE
Time zones as arrays (PHP)
<?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)',
@synCRAUNicity
synCRAUNicity / dob.html
Created November 22, 2016 12:41 — forked from codegenin/dob.html
Months and Days Select List
<!-- 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>
<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>
@synCRAUNicity
synCRAUNicity / 50 states.html
Last active August 29, 2015 14:25 — forked from fotan/50 states.html
Form - 50 States
<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 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/*
@synCRAUNicity
synCRAUNicity / .gitignore
Last active August 29, 2015 14:21 — forked from salcode/.gitignore
.gitignore for WordPress
# -----------------------------------------------------------------
# .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.
# 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
@synCRAUNicity
synCRAUNicity / .htaccess
Last active August 29, 2015 14:21 — forked from stiplady/.htaccess
Redirect non-www urls to www
# 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]
@synCRAUNicity
synCRAUNicity / .htaccess
Last active August 29, 2015 14:21 — forked from yepes/.htaccess
Prevent anyone from view upload directory in WordPress
#.htaccess to be saved on the root of wordpress upload directory
<FilesMatch "\.(php|php3)$">
Order Deny,Allow
Deny from all
</FilesMatch>