Skip to content

Instantly share code, notes, and snippets.

View tmitz's full-sized avatar

tmitz tmitz

View GitHub Profile
@to
to / gist:2913882
Created June 12, 2012 01:40
Window Size, Media Query
<!doctype html>
<html>
<head>
<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0">
</head>
<body>
<pre id="out"></pre>
</body>
<script>
function checkSizes(){
@zigorou
zigorou / pp_with_pipe.pl
Created December 20, 2011 10:53
For mandy
#!/usr/bin/env perl
use strict;
use warnings;
use Data::Dump qw(dump);
use IO::Pipe;
use Parallel::Prefork;
use Time::HiRes;
var re = {
'tumblr': /^http:\/\/[^.]+\.tumblr\.com\/post\//,
'flickr': /^http:\/\/(www\.)?flickr.com\/photos\/[^/]+\/(\d+)/
};
var flickr_api_key = 'b64ebb97d85e8ab9571ea101bba30bcc';
function InlineImageInsert() {
arguments.callee.prototype = {
@defunkt
defunkt / clients.md
Created April 18, 2010 14:09
A list of Gist clients.

Gist Clients

Want to create a Gist from your editor, the command line, or the Services menu? Here's how.

Editor Support

Twitterface

A LimeChat theme adding Twitter icons for IRC nicknames.

Installation

  1. Open LimeChat Preferences -> Theme and click the "Open in Finder" button.
  2. Place Twitterface.yaml and Twitterface.js in the directory.
  3. Reopen Preferences -> Theme and select the Twitterface theme.