Skip to content

Instantly share code, notes, and snippets.

John Kealy jdkealy

Block or report user

Report or block jdkealy

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:4281774
$(document).ready(function () {
var isiPad = navigator.userAgent.match(/iPad/i) !== null;
if (isiPad === true){
$("ul.thumbnails li.event.span4.max300").removeClass("span4").addClass("span6")
}
$(window).resize(function(){
if (window.innerWidth < 1200){
$("ul.thumbnails li.event.span4.max300").removeClass("span4").addClass("span6");
}
if (window.innerWidth > 1200){
View gist:4032826
[{"created_at":"2012-10-18T16:10:36Z","id":664034,"person_id":73560,"photo_id":468190,"position":1908,"updated_at":"2012-10-18T16:10:36Z","person":{"created_at":"2012-10-18T16:10:36Z","id":73560,"name":"Daniel Best","photo_id":null,"title":null,"updated_at":"2012-10-18T16:10:36Z"}},{"created_at":"2012-10-18T16:10:40Z","id":664035,"person_id":73561,"photo_id":468190,"position":1909,"updated_at":"2012-10-18T16:10:40Z","person":{"created_at":"2012-10-18T16:10:40Z","id":73561,"name":"Percy Champman","photo_id":null,"title":null,"updated_at":"2012-10-18T16:10:40Z"}},{"created_at":"2012-10-18T16:10:45Z","id":664036,"person_id":73562,"photo_id":468190,"position":1910,"updated_at":"2012-10-18T16:10:45Z","person":{"created_at":"2012-10-18T16:10:45Z","id":73562,"name":"Hannibal Lecter","photo_id":null,"title":null,"updated_at":"2012-10-18T16:10:45Z"}},{"created_at":"2012-10-23T17:27:41Z","id":664044,"person_id":73548,"photo_id":468190,"position":1918,"updated_at":"2012-10-23T17:27:41Z","person":{"created_at":"2012-09-2
View gist:3796561
$(document).ready(function(){
idonate.loadForm('.form-container');
});
idonate = {
postNode : function(){
},
serialize : function(){
var o = {};
var a = this.serializeArray();
View gist:3092165
<html>
<head>
<title>Correlate Analytics</title>
<meta charset="utf-8">
<link rel="shortcut icon" type="image/x-icon" href="/img/logos/correlate_favicon_32.png">
<link rel="icon" type="image/png" href="/img/logos/correlate_favicon_32.png">
<link rel="stylesheet" type="text/css" media="all" href="/css/base.css">
<link rel="stylesheet" type="text/css" media="all" href="/css/bootstrap.css">
<link rel="stylesheet" type="text/css" media="all" href="/css/portal.css">
View gist:3092163
<script type="text/javascript">
$(document).ready(function(){
$('.jump-to').focus().select();
});
</script>
<form id="edit-jump-to">
<input type="text" name="jump_to" class="jump-to">
<input type="submit" value="jump down">
</form>
View gist:1377739
function getPrices($sample_id)
{
if(empty($this->firstRequestTime))
{
$this->setFirstRequestTime(time());
}
print '::' . $this->firstRequestTime . '::';
$url = "https://www.bullioninternational.net/bacml.pricing/domestic/Default.aspx";
$url_check = array ('content'=>file_get_contents ($url, false, stream_context_create (array ('http'=>array ('method'=>'GET')))), 'headers'=>$http_response_header);
$response_type = $url_check['headers'][0];
You can’t perform that action at this time.