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 | |
$terms = array( | |
'Birmingham - AL', | |
'Dothan - AL', | |
'Huntsville - AL', | |
'Montgomery - AL', | |
'Mobile - AL', | |
'Anchorage - AK', | |
'Fairbanks - AK', | |
'Juneau - AK', |
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
#!/usr/bin/python | |
# Filename: geocoding.py | |
import csv | |
from geopy import geocoders | |
import time | |
g = geocoders.Google() | |
spamReader = csv.reader(open('fileName.csv', 'rbU'), quotechar='|') |
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
//Header image slider | |
function remCla( elemLen ){ | |
$(".pager li").removeClass().eq(elemLen).addClass("active"); | |
} | |
var i = 0; | |
function InOut( elem ){ | |
elem.delay().fadeIn().delay(7000).fadeOut(800, | |
function(){ | |
i+=1; | |
i%=3; |
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
jQuery(document).ready(function($) { | |
var allPanels = $('.termContent').hide(); | |
$('.termHeader').on('click', function(){ | |
$('.termContent.active').removeClass('active').hide(400); | |
$(this).siblings('.termContent').not('.active').slideToggle().addClass('active'); | |
}); | |
}); |
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 include('../library/includes/config.php'); ?> | |
<?php | |
$blogUrl = 'http://www.trimarksolutions.com/inside/feed/'; | |
$blogData = simplexml_load_file($blogUrl); | |
$blogData = $blogData->channel; | |
?> | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> |
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 isRussian($val){ | |
$result = preg_match('/[А-Яа-яЁё]/u', $val); | |
return $result; | |
} |
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 //Let's Contact Form This Thing UP! | |
// Start Your PHP Sessions | |
session_start(); | |
// Set the contact page variable for redirection later | |
$contact_page = get_permalink(48); | |
// Create the necessary variable that will be used in detecting errors | |
$errorFound = 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
-webkit-backface-visibility: hidden; |
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
<snippet> | |
<content><![CDATA[ | |
::-webkit-input-placeholder {color: ${1:hex-value} } | |
:-moz-placeholder {color: ${1:hex-value} } | |
::-moz-placeholder {color: ${1:hex-value} } | |
:-ms-input-placeholder {color: ${1:hex-value} } | |
]]></content> | |
<!-- Optional: Set a tabTrigger to define how to trigger the snippet --> | |
<tabTrigger>placeholder</tabTrigger> | |
<!-- Optional: Set a scope to limit where the snippet will trigger --> |
OlderNewer