Skip to content

Instantly share code, notes, and snippets.

@virtualandy
virtualandy / react_ecosystem.md
Last active September 2, 2015 04:19 — forked from mcmire/react_ecosystem.md
Notes on the React ecosystem: Flux, Reflux, Nuclear.js, and more

Following are notes I've compiled while researching the React ecosystems and frameworks/tools that people use within it.

@virtualandy
virtualandy / echoHttpRequest.js
Last active August 29, 2015 14:22 — forked from Marak/echoHttpRequest.js
Echo HTTP requests
module['exports'] = function echoHttp (hook) {
hook.debug("Debug messages are sent to the debug console");
hook.debug(hook.params);
hook.debug(hook.req.path);
hook.debug(hook.req.method);
@virtualandy
virtualandy / index.html
Last active August 29, 2015 14:18 — forked from kyrasteen/hat.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<link type="text/css" href="hat.css" rel="stylesheet"/>
<script src="http://d3js.org/d3.v3.min.js"></script>
</head>
<body>
<div id="hat"></div>
@virtualandy
virtualandy / flickrmap.js
Last active August 28, 2017 22:07 — forked from anonymous/index.html
simple example of using google maps and the flickr api.
function initialize(searchLat, searchLon) {
var mapOptions = {
center: new google.maps.LatLng(searchLat, searchLon),
zoom: 15,
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var map = new google.maps.Map(document.getElementById("map-canvas"),
mapOptions);
var marker = new google.maps.Marker();
google.maps.event.addListener(marker, "mouseover", function(event) {
@virtualandy
virtualandy / index.html
Created November 2, 2012 06:11 — forked from bunkat/index.html
Swimlane Chart using d3.js
<html>
<head>
<title>Swimlane using d3.js</title>
<script type="text/javascript" src="http://mbostock.github.com/d3/d3.v2.js"></script>
<script type="text/javascript" src="randomData.js"></script>
<style>
.chart {
shape-rendering: crispEdges;
}
@virtualandy
virtualandy / gist:3189715
Created July 27, 2012 18:42 — forked from idan/gist:3135754
A Sample Post

Hello there! This is a sample post for gist.io, a super-lightweight writing soapbox for hackers.

Now look up. Further. Above the post title. See that grey text with the gist ID?

Now back to me. That grey text is a link! Open that sucker in a new tab to see the source for this post. Also, I'm on a horse.

This is a major heading

If you peek at it with a web inspector, you'll see that it is a second-level heading. You can use first level headings, but they'll look just like the second level ones, and the gods of the HTML5 outlining algorithm will frown upon you.

@virtualandy
virtualandy / geojson-spec-1.1
Created September 21, 2011 21:42 — forked from sgillies/geojson-spec-1.0
The GeoJSON Specification
================================
The GeoJSON Format Specification
================================
:Abstract:
GeoJSON is a geospatial data interchange format based on JavaScript Object
Notation (JSON).
:Authors:
Howard Butler (Hobu Inc.),