View gist:5703847
{exp:channel:entries channel="standard_page" limit="1"}
{embed="include/header"}
<div class="wrapper main-container">
<article class="main-content">
{!-- if there are no section fields content we are a standard content page --}
{if mx_standard_sections != "1"}
<hgroup>
<h2>{title}</h2>
View gist:5624138
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" class="paypal">
<span class="heading">
<input type="hidden" name="cmd" value="_s-xclick" />
Fast delivery &amp; great customer service
</span> <!-- close heading -->
<div class="paypal-left">
<input type="hidden" name="hosted_button_id" value="H5M2APXDL2N4Y" /><span class="price">$483.30 NZD ex GST &amp; freight.</span>
<span class="details">SAM0523X Light Head - Double Arm LED Task light with base.</span>
</div> <!-- close paypal left -->
View gist:4956385
div.wrapper>(header.site-header>(a.logo.ir[href="#"]{Business Name}+nav.main-naviation>ul>(li>a[href="#"])*6))+(div.wrapper>(article.main-content>(h1+p))+aside.sidebar>nav.sub-navigation>ul>(li>a[href="#"])*6)+footer.site-footer>((ul>(li>a[href="#"])*6))+p.copyright
View gist:4956236
h1. Sublime Text 2 - Useful Shortcuts (Mac OS X)
h2. General
| *⌘T* | go to file |
| *⌘⌃P* | go to project |
| *⌘R* | go to methods |
| *⌃G* | go to line |
| *⌘KB* | toggle side bar |
| *⌘⇧P* | command prompt |
View gist:4956207
nav.main-navigation>ul>(li>a[href="#"][title=""])*6
View Sublime: Preferences
{
"bold_folder_labels": true,
"color_scheme": "Packages/User/Tomorrow-Night.tmTheme",
"find_selected_text": true,
"folder_exclude_patterns":
[
".svn",
".git"
],
"font_face": "Source Code Pro",
View gist:3753751
Below is the list of devices that we are currently testing at Pitch. We have found them to be the most popular and giving us over 90% coverage of mobile traffic on our client websites. It's not perfect, check your analytics but this is probably a good place to start.
iPhone 3GS (Apple iOS 5)
iPhone 4 (Apple iOS 6)
iPhone 5 (Apple iOS 6)
iPad 1 (Apple iOS 5)
iPad 3 (Apple iOS 6)
Nexus S (Google Android 4.1)
Nexus 7 Tablet (Google Android 4.1)
Samsung Galaxy S3 (Google Android 4.0)
View gist:3432288
// setup our default plans and their pricing options, we only support rounded to the dollar prices
var plans = {
'standard': {
price: 6,
term: 10
},
'premium': {
price: 10,
term: 12
},
View gist:3073581
// write the current screen width to our screen
$("#widget span").html($(window).width());
$(window).resize(function() {
$("#widget span").html($(window).width());
});
View gist:2999707
<!doctype html>
<title>Site Maintenance</title>
<style>
body { text-align: center; padding: 150px; }
h1 { font-size: 50px; }
body { font: 20px Helvetica, sans-serif; color: #333; }
article { display: block; text-align: left; width: 650px; margin: 0 auto; }
a { color: #dc8100; text-decoration: none; }
a:hover { color: #333; text-decoration: none; }
</style>