Skip to content

Instantly share code, notes, and snippets.

View johan's full-sized avatar

Johan Sundström johan

View GitHub Profile
@johan
johan / octocat.svg
Created June 4, 2011 11:16
Github octocat avatar, SVG format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan / PP-black-sail.svg
Created July 2, 2011 22:29
The Swedish Pirate Party's logo, SVG format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan / PP-logo-dark.svg
Created July 2, 2011 22:59
The Swedish Pirate Party's logo and name (for dark backgrounds), SVG format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan / PP-logo-light.svg
Created July 2, 2011 23:19
The Swedish Pirate Party's logo and name (for light backgrounds), SVG format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan / PP-black-sail.svg
Created July 2, 2011 23:35
Pirate Party logo material, web-friendly SVG format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan / laughing-man.svg
Created July 6, 2011 04:56
The Laughing Man (Ghost in the Shell), 1000 byte SVG :-)
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan / original-chrome-logo-part.svg
Created July 23, 2011 23:59
Scour r215 optimizes this path incorrectly.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@johan
johan / require.js
Created August 18, 2011 00:04 — forked from erikvold/require.js
Imports a commonjs style javascript file with loadSubScrpt for restartless Firefox add-ons.
/* Imports a commonjs style javascript file with loadSubScrpt
* By Erik Vold <erikvvold@gmail.com> http://erikvold.com/
*
* @param src (String)
* The url of a javascript file.
*/
(function(global) {
var modules = {}
, tools = {}
, baseURI, io, js;
@johan
johan / index.html
Created August 31, 2011 09:51
Recettear item data by category
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Recettear Item Data</title>
<script src="http://mbostock.github.com/d3/d3.js?2.0.3"></script>
<script src="http://mbostock.github.com/d3/d3.geom.js?2.0.3"></script>
<script src="http://mbostock.github.com/d3/d3.layout.js?2.0.3"></script>
<link href="styles.css" rel="stylesheet" type="text/css"/>
</head>
@johan
johan / index.html
Created September 24, 2011 06:42 — forked from mbostock/.block
Axis Component
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.js?2.0.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.csv.js?2.0.0"></script>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.time.js?2.0.0"></script>
<style type="text/css">
body {
font: 10px sans-serif;