I hereby claim:
- I am endtwist on github.
- I am endtwist (https://keybase.io/endtwist) on keybase.
- I have a public key ASA1ZdhztyY8mSTJUahow4lVZy9sQXqFkBkFk7KHTqRvJwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
module.exports = function(grunt) { | |
grunt.initConfig({ | |
clean: { | |
build: [ | |
'build' | |
] | |
}, | |
copy: { | |
dist: { | |
expand: true, |
[color] | |
branch = auto | |
diff = auto | |
status = auto | |
[color "branch"] | |
current = yellow reverse | |
local = yellow | |
remote = green | |
[color "diff"] | |
meta = yellow bold |
@import "compass/utilities/sprites"; | |
@import "compass/css3/background-size"; | |
// Define the sprites here. Notice that I've added an optional spacing. | |
$sprites: sprite-map("my-sprites/*.png", $spacing: 20px); | |
$sprites2x: sprite-map("my-sprites-retina/*.png", $spacing: 40px); | |
// Now let's define the sprite mixin. | |
// This delegates to the reusable retina-sprite mixin. | |
@mixin sprite($name){ |
openssl base64 < file.png | tr -d '\n' | pbcopy |
/*jslint undef: true, nomen: true, eqeqeq: true, plusplus: true, newcap: true, immed: true, browser: true, devel: true, passfail: false */ | |
/*global window: false, readConvertLinksToFootnotes: false, readStyle: false, readSize: false, readMargin: false, Typekit: false, ActiveXObject: false */ | |
var dbg = (typeof console !== 'undefined') ? function(s) { | |
console.log("Readability: " + s); | |
} : function() {}; | |
/* | |
* Readability. An Arc90 Lab Experiment. | |
* Website: http://lab.arc90.com/experiments/readability |
@cdn: "rons-house"; | |
.add-bg(@url) { | |
background-image: url(@url); | |
} | |
.foo { | |
.add-bg("@{cdn}/bar.png"); // why not this? | |
} |
// Create a “marker” overlay. | |
var markerImage = gapi.hangout.av.effects.createImageResource( 'https://donuthorns.appspot.com/static/x.png' ) | |
, marker = markerImage.createOverlay( { | |
scale: { | |
magnitude: 0.25 | |
, reference: gapi.hangout.av.effects.ScaleReference.HEIGHT | |
} | |
} ); | |
marker.setVisible( true ); |
var express = require('express'); | |
var util = require('util'); | |
var oauth = require('oauth'); | |
var app = express.createServer(); | |
var _twitterConsumerKey = "YOURTWITTERCONSUMERKEY"; | |
var _twitterConsumerSecret = "YOURTWITTERCONSUMERSECRET"; | |
function consumer() { |
// iOS Media Queries | |
// Goal: capture styles for iPhone, iPhone 3G, iPhone 3GS, iPhone 4, iPhone 4S, iPad, and iPad 2 | |
// | |
// Author: Tony Schneider (@tonywok) | |
// Please tell me where I fail. :) | |
// iPhone v(4,4S) portrait | |
// test: black text (overwritten by v* portrait) with blue background | |
@media all and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) { | |
a { |