Skip to content

Instantly share code, notes, and snippets.

@passcod
passcod / gist:1878817
Created February 21, 2012 20:46
SCSS font-feature Mixin
@mixin font-features($features: (liga, rlig)) {
$feature_string: "";
$moz_feature_string: "";
@each $feature in $features {
$feature_string: $feature_string + " \"" + $feature + "\" 1";
$moz_feature_string: $moz_feature_string + " \"" + $feature + "=1\"";
@if nth($features, length($features)) != $feature {
$feature_string: $feature_string + ",";
@passcod
passcod / data-markdown.user.js
Created November 9, 2011 00:56 — forked from paulirish/data-markdown.user.js
*[data-markdown] - use markdown, sometimes, in your HTML
// ==UserScript==
// @name *[data-markdown]
// @version 2.0
// @description Use Markdown, sometimes, in your HTML.
// @author Paul Irish <http://paulirish.com/> and others
// @include *
// ==/UserScript==
// Contribs:
// Thaddee Tyl <http://espadrine.github.com/>
@passcod
passcod / Gemfile
Created October 13, 2011 00:29
CoffeeScript on Heroku (cedar)
# ...
group :production do
gem "therubyracer"
end
gem "execjs"
gem "coffee-script"
# ...
@passcod
passcod / .excess
Last active September 27, 2015 07:38
Excess
# Excess (v.FINAL)
# Félix Saparelli 2011-13
# Public Domain (CC0)
xs() { echo "Excess is dead. See https://github.com/passcod/bin"; }
xs-update() { xs; }
@passcod
passcod / markup.html
Created April 30, 2011 04:35
Another way to hide emails from robots
<span id="email">@</span>