Skip to content

Instantly share code, notes, and snippets.

View eamonnbell's full-sized avatar

Eamonn Bell (Personal) eamonnbell

View GitHub Profile
@eamonnbell
eamonnbell / VISexperiment.ipynb
Created November 7, 2015 00:42
VIS Experiments
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eamonnbell
eamonnbell / VR_viz.pde
Last active November 14, 2015 19:57
VR experiments with Processing
import org.jsfml.audio.*;
import org.jsfml.window.event.*;
import org.jsfml.window.*;
import org.jsfml.system.*;
import org.jsfml.internal.*;
import org.jsfml.graphics.*;
import java.util.*;
import java.text.*;
import java.nio.file.*;
@eamonnbell
eamonnbell / myAffinities.md
Last active April 13, 2016 01:34
long_term Spotify top tracks for me
Artist Track Name
Orkest De Volharding Hootenanny
Claude Le Jeune Motet Benedicite Dominum
Luigi Dallapiccola Frammenti sinfonici: Danza Magica -
MUNA Winterbreak
William Byrd Christe, qui lux es et dies
Peter Maxwell Davies Veni Sancte Spiritus (arr. of J. Dunstable Veni Sancte Spiritus): Veni creator spiritus
Peter Maxwell Davies Veni Sancte Spiritus (arr. of J. Dunstable Veni Sancte Spiritus): Veni sancte spiritus
Orkest De Volharding Dance Works: Part 1
@eamonnbell
eamonnbell / gibbs.ipynb
Created October 19, 2016 20:45
Explaining 'Explaining the Gibbs Sampler'
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eamonnbell
eamonnbell / matrix.ijs
Last active January 22, 2017 23:26
Serial matrix in J
mod12 =: 12 & |
matrix =. monad : 0
m =. mod12 y -/ (y - (0 { y))
)
pcs =: i. 12
shuf =: {~ ?~@#
newrow =: shuf pcs
@eamonnbell
eamonnbell / dft_for_music.ipynb
Last active March 29, 2017 18:29
Introduction to DFT and Fourier phase space for music analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@eamonnbell
eamonnbell / optionset_generator.py
Last active June 20, 2017 14:50
Optionset generator
import collections
import itertools
def optionset_generator(optionset_schema):
iterables = {}
for key, value in optionset_schema.items():
if isinstance(value, collections.Iterable):
iterables[key] = value
else:
@eamonnbell
eamonnbell / spotify_implict_grant.html
Created September 5, 2017 15:51
Example of Implicit Grant flow authorization with Spotify API.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Spotify API - Implicit Grant Flow</title>
</head>
@eamonnbell
eamonnbell / tool.sh
Created April 20, 2018 13:57
Hack for getting to the VLM editor menu in the JagCD emu
do
echo "Doing $pid..."
xdotool key --window $pid KP_1+KP_0+KP_3+KP_Multiply
done
@eamonnbell
eamonnbell / tool.sh
Created April 20, 2018 13:57
Hack for getting to the VLM editor menu in the JagCD emu
for pid in $(xdotool search "")
do
echo "Doing $pid..."
xdotool key --window $pid KP_1+KP_0+KP_3+KP_Multiply
done