Skip to content

Instantly share code, notes, and snippets.

View max-mapper's full-sized avatar
🔰
✌( ͡ᵔ ͜ʖ ͡ᵔ )✌

Max max-mapper

🔰
✌( ͡ᵔ ͜ʖ ͡ᵔ )✌
View GitHub Profile
<html>
<head>
<script src='http://code.jquery.com/jquery-1.4.2.min.js'></script>
<script src='http://github.com/desandro/masonry/raw/master/js/jquery.masonry.min.js'></script>
<script src='http://plugins.jquery.com/files/jquery.md5.js.txt'></script>
<script src='http://github.com/xaviershay/jquery-enumerable/raw/master/jquery.enumerable.js'></script>
<link rel="stylesheet" type="text/css" href="http://github.com/desandro/masonry/raw/master/css/masonry-example.css" media="screen" charset="utf-8" />
<script>
var secret = 'SUCK_IT_HACKERSZ';
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="openlayers/theme/default/style.css" type="text/css" />
<script src='http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAUXDSXET8IRGdgHP9FpGw5BT-fVzUWGS_eJ2ZLPBO_6yPqTi0vhQKAzahOrduDq0xQk09GR-UP3Jgcg'></script>
<script src="openlayers/lib/OpenLayers.js"></script>
<script src='jquery-1.4.2.min.js'></script>
<script src='jquery.enumerable.js'></script>
<script type="text/javascript">
var lon = -122.548188;
@max-mapper
max-mapper / JSONActivityStreamsExample
Created October 16, 2010 01:59 — forked from ciberch/JSONActivityStreamsExample
proposed "location" object
{"items": [
{
"verb": "post", // Id which maps to specification submitted to activity streams registrar
"postedTime": "2010-12-12T12:12:12Z",
"title": "Plain Text",
"summary": "Plain Text", // Have not decided on plain text only
"permalinkUrl": "...",
"to": [{"id" : "acct:john.doe@example.org"}], // We should use person constructs here
"cc": [{"id":"acct:jane.doe@example.org"}],
"bcc": [{"id":"acct:jean.deux@example.org"}],
@max-mapper
max-mapper / README.md
Created November 25, 2010 06:10 — forked from mbostock/.block

Interactive Moiré pattern implemented in D3

{
title: "title of data", // eg: 'the xyz murder', 'blizzard of 2011', 'chelmsburry bike path', 'MBTA green line', 'bus stop schedule event' etc
type: "type of data", // eg: event, physical feature
set: "what data set data is from if any", // if data is from national data set e.g. 2000 census
category: [category, category], // develop this taxonomy
description: "description of data", // text description of data
start: RFC3339DateTime, // optional start date
end: RFC3339DateTime, // optional end date
geometry : {}// optional geojson location feature (http://geojson.org/geojson-spec.html)
}
{
category : "category_name", // Required Single category from (http://opencivicdata.com/#categories-wg)
meta : { // Optional: Simple Dublin Core Metadata Element Set
title : "",
creator : "",
subject : "",
description : "",
publisher : "",
contributor : "",
date : "",
@max-mapper
max-mapper / gist:1007605
Created June 4, 2011 05:14 — forked from voodootikigod/gist:1007426
BS ≈ BreakfastScript
Conditionals
( false :)
console.log "if"
:( true )
console.log "else if"
:()
console.log "else"
@max-mapper
max-mapper / gist:1296702
Created October 18, 2011 20:59 — forked from janl/gist:1296700
CouchDBZombo.com
"Everything is possible with CouchDB."
"If you give a database to every user, you get scaling for free."
"Run your Couch on port 80."
"Relaaaaaaaaaax."
"The only limit is your file descriptors"
@max-mapper
max-mapper / index.html
Created February 6, 2012 17:24 — forked from mbostock/.block
Clustered Force Layout + Custom Gravity
<!DOCTYPE html>
<meta charset="utf-8">
<style>
circle {
stroke: #fff;
}
</style>
<body>
@max-mapper
max-mapper / test.js
Created July 12, 2012 02:36 — forked from mikeal/gist:3095110
tmpad color pressure
var serial = require('./lib/serial')
, Tpad = require('./lib/tpad')
, color = require('color')
;
serial.init()
var spinnerTimer = function () {}
serial.on('searching', function() {