Skip to content

Instantly share code, notes, and snippets.

🐢

Gregor Aisch gka

🐢
Block or report user

Report or block gka

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
View keybase.md

Keybase proof

I hereby claim:

  • I am gka on github.
  • I am gka (https://keybase.io/gka) on keybase.
  • I have a public key ASA7zDyyCPDyL7H1V6wrKxH56GOVPeaPm1krL33Bual6Pwo

To claim this, I am signing this object:

@gka
gka / .block
Created Sep 14, 2017
regl-hurricane-II
View .block
license: mit
@gka
gka / .block
Last active Sep 1, 2017
half circles for kevin
View .block
license: mit
View swoopy.js
define(function(require) {
var d3 = require('./d3v4+jetpack');
return function swoopy(svg, x0, y0, x1, y1, flipped, r) {
var dx = x1 - x0, dy = y1 - y0;
if (r === undefined) r = Math.sqrt(dx*dx + dy*dy) * 0.75;
var g_arr = svg.append('g.arrow');
var svg_root = d3.select(svg.node().ownerSVGElement || svg.node()),
@gka
gka / .block
Created Jun 21, 2017
poll jitter bar
View .block
license: mit
View election.sh
#!/bin/bash
cd $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
blue=$(tput setaf 4)
green=$(tput setaf 2)
normal=$(tput sgr0)
while ./update.sh
do
printf "\n${blue}>>> sleeping a little bit before running again... ${normal}\n"
@gka
gka / d3.forceExtent.js
Last active Mar 10, 2017
forces particles in a d3.forceSimulation into a [[x1, x2], [y1, y2]] extent
View d3.forceExtent.js
d3.forceExtent = function(extent) {
var nodes;
if (extent == null) extent=[[0,800], [0,500]];
function force() {
var i,
n = nodes.length,
node,
r = 0;
View colorizer.json
[{
"file": "results",
"data": {
"AL": {
"fill": "#cc3d3d",
"stroke": false
},
"AK": {
"fill": "#cc3d3d",
"stroke": false
@gka
gka / .block
Last active Feb 24, 2017
fresh block
View .block
license: mit
@gka
gka / .block
Last active Feb 9, 2017
morie-pentagon
View .block
license: mit
You can’t perform that action at this time.