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
# the permalink var is an array created before this. it takes the permalink from each WordPress post as they load. | |
function commaSeparateNumber(val){ | |
while (/(\d+)(\d{3})/.test(val.toString())){ | |
val = val.toString().replace(/(\d+)(\d{3})/, '$1'+','+'$2'); | |
} | |
return val; | |
} | |
$(document).ready(function () { | |
var fb_likes = 0, |
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
$('.story-box').on('mouseenter', function(){ | |
$(this).addClass('story-box-up').find('.tcontents_title a').css('color', '#A80405'); | |
}).on('mouseleave', function(){ | |
$(this).removeClass('story-box-up').find('.tcontents_title a').css('color', 'black'); | |
}).on('click mousedown', function(){ | |
var permalink = $(this).find('.tcontents_title a').attr('href'); | |
window.location = permalink; | |
}); |
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
.story-box { | |
z-index: auto; | |
box-shadow: rgb(153, 153, 153) 0px 0px 0px 0px; | |
-webkit-transform: matrix(1, 0, 0, 1, 0, 0); | |
-moz-transform: matrix(1, 0, 0, 1, 0, 0); | |
cursor: pointer; | |
margin-bottom:10px; | |
padding: 5px; | |
display: block; | |
min-height: 350px; |
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
$('.ajaxForm').on('submit', function(e) { | |
var formId = $(this).attr('id'), | |
doAction = $(this).attr('action'); | |
$.post(doAction, $(this).serialize(), | |
function(data) { | |
$('#'+formId+'_result').html(data); | |
}); | |
e.preventDefault(); | |
}); |
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
<style type="text/css" media="screen"> | |
#play-progress { | |
width: 910px; | |
margin-bottom: 20px; | |
background-color: #28AADE; | |
height: 36px; | |
position: relative; | |
border-radius: 20px; | |
} |
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
var fs = require('fs'); | |
var d3 = require('d3'); | |
var Twit = require('twit') | |
var T = new Twit({ | |
consumer_key: '', | |
consumer_secret: '', | |
access_token: '', | |
access_token_secret: '' | |
}); |
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
## At the get-together of the AGC developers celebrating the 40th anniversary | |
## of the first moonwalk, Don Eyles (one of the authors of this routine along | |
## with Peter Adler) has related to us a little interesting history behind the | |
## naming of the routine. | |
## | |
## It traces back to 1965 and the Los Angeles riots, and was inspired | |
## by disc jockey extraordinaire and radio station owner Magnificent Montague. | |
## Magnificent Montague used the phrase "Burn, baby! BURN!" when spinning the | |
## hottest new records. Magnificent Montague was the charismatic voice of | |
## soul music in Chicago, New York, and Los Angeles from the mid-1950s to |
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
P40AUTO TC MAKECADR # HELLO THERE. | |
TS TEMPR60 # FOR GENERALIZED RETURN TO OTHER BANKS. | |
P40A/P TC BANKCALL # SUBROUTINE TO CHECK PGNCS CONTROL | |
CADR G+N,AUTO # AND AUTO STABILIZATION MODES | |
CCS A # +0 INDICATES IN PGNCS, IN AUTO | |
TCF TURNITON # + INDICATES NOT IN PGNCS AND/OR AUTO | |
CAF APSFLBIT # ARE WE ON THE DESCENT STAGE? | |
MASK FLGWRD10 | |
CCS A | |
TCF GOBACK # RETURN |
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
TC BANKCALL # TEMPORARY, I HOPE HOPE HOPE | |
CADR STOPRATE # TEMPORARY, I HOPE HOPE HOPE |
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
CAF CODE500 # ASTRONAUT: PLEASE CRANK THE | |
TC BANKCALL # SILLY THING AROUND | |
CADR GOPERF1 | |
TCF GOTOP00H # TERMINATE | |
TCF P63SPOT3 # PROCEED SEE IF HE'S LYING | |
P63SPOT4 TC BANKCALL # ENTER INITIALIZE LANDING RADAR | |
CADR SETPOS1 |
OlderNewer