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
<span id="email">@</span> |
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
# 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; } |
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
# ... | |
group :production do | |
gem "therubyracer" | |
end | |
gem "execjs" | |
gem "coffee-script" | |
# ... |
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
// ==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/> |
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
@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 + ","; |
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 bash | |
ruby_string="ruby-1.9.3" | |
ruby_alt_string="ruby-1.9.2" | |
gemset_name="tavignano" | |
if (( `rvm list strings | grep -c "${ruby_string}"` )) | |
then | |
# Load or create the specified environment | |
rvm --create use "${ruby_string}@${gemset_name}" |
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
/* Coded by @passcod, MIT Licensed: passcod.mit-license.org | |
Adapted from @shojberg's cssarrowplease.com | |
*/ | |
@mixin arrow-box( $selector: ".arrow-box", | |
$position: "top", | |
$arrow_size: 10px, | |
$border_width: 2px, | |
$box_color: #333, | |
$border_color: #ccc) { | |
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
parseUri = (uri) -> | |
result = {} | |
a = document.createElement 'a' | |
props = 'protocol hostname host pathname port search hash href'.split ' ' | |
a.href = uri | |
# Copy relevant properties | |
result[prop] = a[prop] for prop in props | |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<script> | |
window.onload = function () { | |
console.log(''+(+new Date)+': Onload fired'); | |
}; | |
document.onreadystatechange = function () { | |
console.log(''+(+new Date)+': Ready state changed'); |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE keyboard PUBLIC "" "file://localhost/System/Library/DTDs/KeyboardLayout.dtd"> | |
<!--Created by Ukelele version 2.2 on 2012-06-18 at 12:06 (NZST)--> | |
<!--Last edited by Ukelele version 2.2 on 2012-06-18 at 12:08 (NZST)--> | |
<keyboard group="0" id="1069" name="U.S. with Shift" maxout="1"> | |
<layouts> | |
<layout first="0" last="17" modifiers="f4" mapSet="16c"/> | |
<layout first="18" last="18" modifiers="f4" mapSet="984"/> | |
<layout first="21" last="23" modifiers="f4" mapSet="984"/> | |
<layout first="30" last="30" modifiers="f4" mapSet="984"/> |
OlderNewer