Want to create a Gist from your editor, the command line, or the Services menu? Here's how.
This file contains hidden or 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> | |
| <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0"> | |
| </head> | |
| <body> | |
| <pre id="out"></pre> | |
| </body> | |
| <script> | |
| function checkSizes(){ |
This file contains hidden or 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 perl | |
| use strict; | |
| use warnings; | |
| use Data::Dump qw(dump); | |
| use IO::Pipe; | |
| use Parallel::Prefork; | |
| use Time::HiRes; |
This file contains hidden or 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 re = { | |
| 'tumblr': /^http:\/\/[^.]+\.tumblr\.com\/post\//, | |
| 'flickr': /^http:\/\/(www\.)?flickr.com\/photos\/[^/]+\/(\d+)/ | |
| }; | |
| var flickr_api_key = 'b64ebb97d85e8ab9571ea101bba30bcc'; | |
| function InlineImageInsert() { | |
| arguments.callee.prototype = { |
NewerOlder