Skip to content

Instantly share code, notes, and snippets.

Jan Wrobel wrr

Block or report user

Report or block wrr

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 gist:ee28edd317f34e833e62
struct Row {
float& operator[](int column) {
return coeffs[column];
}
typedef std::tr1::unordered_map<int, float> RowData;
RowData coeffs;
};
@wrr
wrr / pipe.py
Created Jun 13, 2013
Experiments with Elixir inspired pipe API for python
View pipe.py
import unittest
class Pipe:
OUT = object()
def __init__(self, val):
self._val = val
def __call__(self, *args):
if not (args):
@wrr
wrr / index.html
Last active May 14, 2019
Random walk illustrated with D3.
View index.html
<!DOCTYPE html>
<!-- By Jan Wrobel. See it working at:
http://mixedbit.org/blog/2013/02/10/random_walk_illustrated_with_d3.html
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Random walk</title>
You can’t perform that action at this time.