This file contains 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
/* This variable is for demonstration only, but the naming convention is a shorthand for: | |
** $globalVar-spacingVar-baseline | |
*/ | |
$g-s-baseline: 23px; | |
/* You could imagine different variables following the same pattern, for example: | |
** $g-c-blue (global, color, blue) | |
** $l-f-sans (local/themed, font, sans-serif) | |
*/ |
This file contains 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/env ruby | |
## WP2TUMBLR: WordPress 2 Tumblr Importing tool | |
## | |
## Usage: wp2tumblr [OPTION] WORDPRESS_XML_FILE | |
## | |
## Import the WORDPRESS_XML_FILE to a Tumblr blog. | |
## Provide `--group` option to publish to a group. | |
## This could take a long time... | |
## | |
## To install, download the script and chmod to 755. |
This file contains 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
require 'growl' | |
module Jekyll | |
class GrowlGenerator < Generator | |
safe false | |
def generate(site) | |
Growl.notify 'Building...', :title => 'Jekyll' | |
end | |
end |
This file contains 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
require 'growl' | |
module Jekyll | |
class GrowlPreHook < Hook | |
safe false | |
sequence :pre | |
def run(site) | |
Growl.notify 'Building...', :title => 'Jekyll' | |
end |
This file contains 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() { | |
var url = '/rss'; | |
var $list = $('#recent-posts'); | |
$.ajax({ | |
url: url, | |
type: 'GET', | |
dataType: 'xml', | |
success: function(data) { | |
var $items = $(data).find('item'); | |
$items.each( function() { |
This file contains 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 iTunes = (function() { | |
var endpoint = 'http://itunes.apple.com/search', | |
searchOptions = { | |
term: '', | |
country: 'US', | |
media: '', | |
entity: '', | |
attribute: '', | |
callback: 'iTunes.end', |
This file contains 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
source 'https://rubygems.org' | |
gem 'jekyll' | |
gem 'maruku' | |
gem 'rake' | |
gem 'sass' | |
gem 'coffee-script' |
Adobe Edge Inspect Used while working on mobile/responsive sites to view natively on iPhone, updates in real time. https://chrome.google.com/webstore/detail/adobe-edge-inspect/ijoeapleklopieoejahbpdnhkjjgddem
Benchwarmer This has replaced my pinned Dribbble tab. "New tab" extension, no URL bar icon, transforms your new tab's background into a list of Dribbble popular/everyone/debut/following (you pick) shots. https://chrome.google.com/webstore/detail/benchwarmer-the-dribbble/lhdjhhpjicomphhjpehdhjenbaamdpnn
Bitly Used with custom .htaccess rule and vanity domain to shorten links with 2 clicks.
This file contains 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
<a href="https://twitter.com/share" class="twitter-share-button tweet" data-text="Formic Co - We're making forms dead simple" data-via="FormicCo" data-hashtags="DeadSimpleForms"> | |
<span class="count">0</span> | |
<span class="message">Tweet</span> | |
</a> |
OlderNewer