Skip to content

Instantly share code, notes, and snippets.

View roachhd's full-sized avatar

Lachlan Seward roachhd

View GitHub Profile
@roachhd
roachhd / index.html
Last active August 29, 2015 14:07
Gist List and Bl.ock links
Some easy shit to show off your stuff. <br>
Just replace https://gist.github.com with http://bl.ocks.org and magic!<br>
see this page <a href="http://bl.ocks.org/roachhd/52f93676592c7bef2b56/>in action</a>
<a href="http://bl.ocks.org/roachhd/366ca0ae9c747ebc342f>Mother fucking rainbows</a>
<br>
@roachhd
roachhd / bl.ock.md
Created October 13, 2014 09:06
Easy peezy lemon squeezy make a bl.ock from a gist

Create a gist with a file called index.html and any other files you need. Or fork the unconf gist we've set up. The default iframe size is 960 x 600, so if your original example was for something bigger, you may need to update your width and height. Also note that there is 5-minute cache on bl.ocks, so changes may not propagate right away.

Replace the https://gist.github.com segment of the url with http://bl.ocks.org. Note that Chrome these days defaults to https://, but that will break your bl.ock and make you sad.

Observe your new awesome code sample. Click on the number in the title to get back to your gist.

Click on your name to check out your sweet bl.ocks homepage. Notice you don’t have a thumbnail.

To make a thumbnail, you’ll first need a 230 x 120 png (see below for some methods to get there).

@roachhd
roachhd / app.js
Created October 15, 2014 08:38
Super single page site
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){
var App, app, characters, client, navigation, _,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
_ = require('underscore');
characters = require('./characters');
navigation = require('./navigation');
@roachhd
roachhd / JavaScript-frontend-frameworks.svg
Last active August 29, 2015 14:07
GitHub banner SVGs
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.