Skip to content

Instantly share code, notes, and snippets.

Avatar

Jiri Zahradil zahradil

  • Czech Republic
View GitHub Profile
View fizzlefade.html
<!DOCTYPE html>
<html>
<head><title>Fizzlefade</title></head>
<body>
<canvas id="framebuffer" width="320" height="200"></canvas>
<script type="text/javascript">
/* Fizzlefade using a Feistel network.
@stucchio
stucchio / basic_income_monte_carlo.py
Last active Aug 28, 2021
Monte carlo simulation of basic income/basic job calculations, from blog.
View basic_income_monte_carlo.py
from pylab import *
from scipy.stats import *
num_adults = 227e6
basic_income = 7.25*40*50
labor_force = 154e6
disabled_adults = 21e6
current_wealth_transfers = 3369e9
def jk_rowling(num_non_workers):
@StanAngeloff
StanAngeloff / code.coffee
Created Nov 20, 2010
Nope, this is not some fancy non-ANSI SQL; this is CoffeeScript
View code.coffee
SELECT = (map, results) -> map.call each for each in results
FROM = (list, reduce) -> each for each in list when reduce each
WHERE = (reduce) -> (each) -> reduce.call each