This file contains 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
AB : Alberta | |
AK : Alaska | |
AL : Alabama | |
AR : Arkansas | |
AZ : Arizona | |
BC : British Columbia | |
CA : California | |
CO : Colorado | |
CT : Connecticut | |
DC : District of Columbia |
This file contains 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
AL : Alabama | |
AK : Alaska | |
AZ : Arizona | |
AR : Arkansas | |
CA : California | |
CO : Colorado | |
CT : Connecticut | |
DE : Delaware | |
DC : District of Columbia | |
FL : Florida |
This file contains 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
@mixin arrow($settings){ | |
$arrow-direction: map-get($settings, direction); | |
$arrow-color: map-get($settings, color); | |
$arrow-size: map-get($settings, size); | |
width: 0; | |
height: 0; | |
display: inline-block; | |
@if ($arrow-direction == down){ |
This file contains 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
.col-xs-5ths, | |
.col-sm-5ths, | |
.col-md-5ths, | |
.col-lg-5ths { | |
position: relative; | |
min-height: 1px; | |
padding-right: $grid-gutter-width/2; | |
padding-left: $grid-gutter-width/2; | |
} |
This file contains 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
$('#element').ready(function() { | |
$(this).css({ | |
'position' : 'absolute', | |
'left' : '50%', | |
'top' : '50%', | |
'margin-left' : -$('#element').outerWidth()/2, | |
'margin-top' : -$('#element').outerHeight()/2 | |
}); | |
}); |
This file contains 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
font-family: -apple-system, ".SFNSText-Regular", "San Francisco", "Roboto", "Segoe UI", "Helvetica Neue", "Lucida Grande", sans-serif; |
This file contains 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
$('.bootstrapPanelCollapse').click(function() { | |
var $pBody = $(this).closest('.panel').find('.panel-body'); | |
var $pFooter = $(this).closest('.panel').find('.panel-footer'); | |
$.merge($pBody,$pFooter).slideToggle(); | |
$(this).find('.glyphicon').toggleClass('glyphicon-chevron-down'); | |
$(this).find('.glyphicon').toggleClass('glyphicon-chevron-up'); | |
}); |
This file contains 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
<label for="timeZone">Select Timezone</label> | |
<select id="timeZone"> | |
<?php | |
function timezone_list() { | |
static $timezones = null; | |
if ($timezones === null) { | |
$timezones = []; | |
$offsets = []; | |
$now = new DateTime(); |
This file contains 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
recursiveSearch = function (text, depth ) { | |
var a = [ ['1','2','3'], ['a','b','c'] ]; | |
var results = [""]; // start with the empty string, | |
for (var i=0; i<a.length; i++) { // and repeatedly | |
var ai = a[i], | |
l = ai.length; | |
results = $.map(results, function(r) { // make result a new array of | |
var ns = []; // new combinations of | |
for (var j=0; j<l; j++) // each of the letters in ai |
This file contains 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
<!-- iPhone 3 SPLASHSCREEN--> | |
<link href="<?php bloginfo('template_directory'); ?>/_images/apple-touch-startup-image-320x460.png" media="(device-width: 320px)" rel="apple-touch-startup-image"> | |
<!-- iPhone 4 SPLASHSCREEN--> | |
<link href="<?php bloginfo('template_directory'); ?>/_images/apple-touch-startup-image-640x920.png" media="(device-width: 320px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"> | |
<!-- iPhone 5 SPLASHSCREEN--> | |
<link href="<?php bloginfo('template_directory'); ?>/_images/apple-touch-startup-image-640x1096.png" media="(device-width: 320px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image"> | |
<!-- iPad (portrait) SPLASHSCREEN--> | |
<link href="<?php bloginfo('template_directory'); ?>/_images/apple-touch-startup-image-768x1004.png" media="(device-width: 768px) and (orientation: portrait)" rel="apple-touch-startup-image"> | |
<!-- iPad (landscape) SPLASHSCREEN--> | |
<link href="<?php bloginfo('template_directory'); ?>/_images/apple-touch-startup-image-748x1024 |