Skip to content

Instantly share code, notes, and snippets.

View georgesb's full-sized avatar

George Benainous georgesb

View GitHub Profile
@georgesb
georgesb / medianincome.ipynb
Last active December 15, 2023 19:50
MedianIncome.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@georgesb
georgesb / index.html
Last active April 30, 2020 19:29
Minimalist
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.0.0/p5.min.js"></script>
<script src="script.js"></script>
@curran
curran / .block
Last active May 6, 2020 20:19
Orthographic Zoom I
license: mit
@curran
curran / .block
Last active May 6, 2020 20:19
Spinning Globe
license: mit
@micahstubbs
micahstubbs / .block
Last active May 6, 2020 20:20
world map 02 update to d3 v4
height: 510
border: no
license CC0-1.0
@michellechandra
michellechandra / README.md
Last active January 30, 2024 20:46
Basic US State Map - D3
@max-mapper
max-mapper / index.html
Created March 29, 2014 18:17
load a <script> tag from a gist raw url
<!doctype html>
<html>
<head>
<style type="text/css">
html, body { margin: 0; padding: 0; }
</style>
</head>
<body>
<script type='text/javascript'>
function loadRaw(gistID) {
@balupton
balupton / cors.js
Created September 11, 2012 05:21
Acheiving CORS via a Node HTTP Server
// Create our server
var server;
server = http.createServer(function(req,res){
// Set CORS headers
res.setHeader('Access-Control-Allow-Origin', '*');
res.setHeader('Access-Control-Request-Method', '*');
res.setHeader('Access-Control-Allow-Methods', 'OPTIONS, GET');
res.setHeader('Access-Control-Allow-Headers', '*');
if ( req.method === 'OPTIONS' ) {
res.writeHead(200);