I hereby claim:
- I am theblanchard on github.
- I am theblanchard (https://keybase.io/theblanchard) on keybase.
- I have a public key whose fingerprint is 1683 EDE2 4D13 E228 2BD2 950D 8FF1 C022 6ABA 83C1
To claim this, I am signing this object:
# This would be the main landing page - I don't know how to connect the dots though | |
require 'rubygems' | |
require 'sinatra' | |
get '/' do | |
erb :index | |
end | |
__END__ |
I hereby claim:
To claim this, I am signing this object:
.blink { | |
color:#fff; | |
background:#cc0000; | |
text-transform:lowercase; | |
padding:0 0.2em; | |
animation-name: homeCycle; | |
animation-duration:6s; | |
animation-direction:alternate; | |
animation-iteration-count:infinite; |
$("#contentPage").live("pagebeforehide", function() { | |
AdMob.hideBanner(); | |
}); | |
$("#contentPage").live("pageshow", function() { | |
initApp(); | |
}); | |
function initApp() { | |
if (AdMob) { |
/* =BEGIN: Check If Page Is Child | |
Source: http://bavotasan.com/2011/is_child-conditional-function-for-wordpress/ | |
---------------------------------------------------------------------------------------------------- */ | |
function is_child( $page_id_or_slug ) { // $page_id_or_slug = The ID of the page we're looking for pages underneath | |
global $post; // load details about this page | |
if ( !is_numeric( $page_id_or_slug ) ) { // Used this code to change a slug to an ID, but had to change is_int to is_numeric for it to work. | |
$page = get_page_by_path( $page_id_or_slug ); | |
$page_id_or_slug = $page->ID; | |
} |
/* | |
This is a shim that matches the Google Feed API into Superfeedr's feed API. | |
See blog.superfeedr.com/google-feed-api-alternative/ for details. | |
*/ | |
window.google = { | |
feeds: { | |
Feed: { |
/* iPhone 6 landscape */ | |
@media only screen and (min-device-width: 375px) | |
and (max-device-width: 667px) | |
and (orientation: landscape) | |
and (-webkit-min-device-pixel-ratio: 2) | |
{ } | |
/* iPhone 6 portrait */ | |
@media only screen | |
and (min-device-width: 375px) |
/* Custom margin & padding styles */ | |
.mr0 { | |
margin-right: 0 !important | |
} | |
.ml0 { | |
margin-left: 0 !important | |
} |