Skip to content

Instantly share code, notes, and snippets.

@mcenirm
mcenirm / make_bookmarklet.pl
Created December 2, 2016 02:07 — forked from gruber/make_bookmarklet.pl
JavaScript Bookmarklet Builder
#!/usr/bin/env perl
#
# http://daringfireball.net/2007/03/javascript_bookmarklet_builder
use strict;
use warnings;
use URI::Escape qw(uri_escape_utf8);
use open IO => ":utf8", # UTF8 by default
":std"; # Apply to STDIN/STDOUT/STDERR
Mirroring a Git repostory
The firm I recently stated working at just moved to Git and I am the only resource then knows Git. I get asked so many times a day on how to mirror a git repostory.
From the birds eyes very its very easy:
git clone --mirror git@git.com:project project
cd project
git remote add github git@github.com:username/project.git
@mcenirm
mcenirm / index.html
Created January 18, 2013 20:51 — forked from mbostock/.block
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.graticule {
fill: none;
stroke: #777;
}
.boundary {
@mcenirm
mcenirm / README.md
Last active December 11, 2015 07:29 — forked from mbostock/.block