Skip to content

Instantly share code, notes, and snippets.

Nick Edgar nedgar

Block or report user

Report or block nedgar

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nedgar
nedgar / .block
Last active Mar 1, 2018 — forked from rveciana/.block
Animated isometric view with D3js
View .block
licence: mit
@nedgar
nedgar / README.md
Last active Jul 20, 2019 — forked from xavriley/README.md
Original NES Mario Theme for Sonic Pi
View README.md

Making Chiptune Music using Sonic Pi v2.0

Warning: this might not work on a RaspberryPi yet

I was curious about making retro gaming sounds using Sonic Pi. A couple of months and a lot of Googling later, here's the original Mario Bros theme as it was heard on the NES console.

I'm (just about) old enough to remember rushing home from school to play this game at Philip Boucher's house, sitting cross-legged in front of the TV till my feet got pins and needles. Working out how to recreate it for Sonic Pi was a lot of fun!

Getting the sounds of the NES chip

@nedgar
nedgar / .gist
Created Feb 16, 2018
HQ Master water level and flow rate
View .gist
height: 960
border: no
@nedgar
nedgar / Ottawa-airport-climate.csv
Created Sep 28, 2015
Monthly mean temps in 20 year bands
View Ottawa-airport-climate.csv
year month meanMaxTemp meanMinTemp meanTemp extrMaxTemp extrMinTemp
1938 11 7.4 -4.1 1.7 23.9 -16.1
1938 12 -2.3 -10.4 -6.4 7.2 -23.9
1939 1 -5.0 -16.7 -10.9 6.7 -30.6
1939 2 -4.6 -17.8 -11.2 5.0 -28.9
1939 3 -1.8 -11.7 -6.8 6.7 -23.9
1939 4 5.5 -2.1 1.7 16.7 -11.1
1939 5 19.1 6.3 12.7 30.6 -1.7
1939 6 23.7 11.9 17.8 30.0 6.1
1939 7 26.4 14.4 20.4 33.3 7.8
@nedgar
nedgar / Ottawa-airport-climate.csv
Created Sep 27, 2015
Temp trend at Ottawa Airport
View Ottawa-airport-climate.csv
1938 11 7.4 -4.1 1.7 23.9 -16.1
1938 12 -2.3 -10.4 -6.4 7.2 -23.9
1939 1 -5.0 -16.7 -10.9 6.7 -30.6
1939 2 -4.6 -17.8 -11.2 5.0 -28.9
1939 3 -1.8 -11.7 -6.8 6.7 -23.9
1939 4 5.5 -2.1 1.7 16.7 -11.1
1939 5 19.1 6.3 12.7 30.6 -1.7
1939 6 23.7 11.9 17.8 30.0 6.1
1939 7 26.4 14.4 20.4 33.3 7.8
@nedgar
nedgar / Ottawa-airport-climate.csv
Last active Sep 22, 2015
Ottawa airport temp anomoly
View Ottawa-airport-climate.csv
1938 11 7.4 -4.1 1.7 23.9 -16.1
1938 12 -2.3 -10.4 -6.4 7.2 -23.9
1939 1 -5.0 -16.7 -10.9 6.7 -30.6
1939 2 -4.6 -17.8 -11.2 5.0 -28.9
1939 3 -1.8 -11.7 -6.8 6.7 -23.9
1939 4 5.5 -2.1 1.7 16.7 -11.1
1939 5 19.1 6.3 12.7 30.6 -1.7
1939 6 23.7 11.9 17.8 30.0 6.1
1939 7 26.4 14.4 20.4 33.3 7.8
View Ottawa-airport-climate.csv
1938 11 7.4 -4.1 1.7 23.9 -16.1
1938 12 -2.3 -10.4 -6.4 7.2 -23.9
1939 1 -5.0 -16.7 -10.9 6.7 -30.6
1939 2 -4.6 -17.8 -11.2 5.0 -28.9
1939 3 -1.8 -11.7 -6.8 6.7 -23.9
1939 4 5.5 -2.1 1.7 16.7 -11.1
1939 5 19.1 6.3 12.7 30.6 -1.7
1939 6 23.7 11.9 17.8 30.0 6.1
1939 7 26.4 14.4 20.4 33.3 7.8
@nedgar
nedgar / index.html
Last active Sep 11, 2015 — forked from rsimmon/index.html
NSIDC Arctic Sea Ice Colors
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Arctic Sea Ice Area D3</title>
<script type="text/javascript" src="http://d3js.org/d3.v3.js"></script>
<style type="text/css">
body {
background-color: black;
@nedgar
nedgar / Ottawa-airport-climate.csv
Created Sep 8, 2015
Bar Graph exercise - Temps @ Ottawa airport
View Ottawa-airport-climate.csv
1938 11 7.4 -4.1 1.7 23.9 -16.1
1938 12 -2.3 -10.4 -6.4 7.2 -23.9
1939 1 -5.0 -16.7 -10.9 6.7 -30.6
1939 2 -4.6 -17.8 -11.2 5.0 -28.9
1939 3 -1.8 -11.7 -6.8 6.7 -23.9
1939 4 5.5 -2.1 1.7 16.7 -11.1
1939 5 19.1 6.3 12.7 30.6 -1.7
1939 6 23.7 11.9 17.8 30.0 6.1
1939 7 26.4 14.4 20.4 33.3 7.8
@nedgar
nedgar / Ottawa-airport-climate.csv
Last active Aug 30, 2015
Ottawa Airport historical temperatures
View Ottawa-airport-climate.csv
Year Month Mean Max Temp Mean Min Temp Mean Temp Extr Max Temp Extr Min Temp
1938 11 7.4 -4.1 1.7 23.9 -16.1
1938 12 -2.3 -10.4 -6.4 7.2 -23.9
1939 1 -5.0 -16.7 -10.9 6.7 -30.6
1939 2 -4.6 -17.8 -11.2 5.0 -28.9
1939 3 -1.8 -11.7 -6.8 6.7 -23.9
1939 4 5.5 -2.1 1.7 16.7 -11.1
1939 5 19.1 6.3 12.7 30.6 -1.7
1939 6 23.7 11.9 17.8 30.0 6.1
1939 7 26.4 14.4 20.4 33.3 7.8
You can’t perform that action at this time.