Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am flowblok on github.
  • I am flowblok (https://keybase.io/flowblok) on keybase.
  • I have a public key whose fingerprint is 410D 28F0 1DFB 0DC4 0E0C D663 E060 B7CD 3906 C4AF

To claim this, I am signing this object:

@flowblok
flowblok / designer.html
Last active August 29, 2015 14:20
designer
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<link rel="import" href="../paper-toast/paper-toast.html">
<link rel="import" href="../core-icons/core-icons.html">
<link rel="import" href="../core-icons/av-icons.html">
<link rel="import" href="../core-scaffold/core-scaffold.html">
<link rel="import" href="../core-header-panel/core-header-panel.html">
<link rel="import" href="../core-menu/core-menu.html">
<link rel="import" href="../core-item/core-item.html">
<link rel="import" href="../core-icon-button/core-icon-button.html">
<link rel="import" href="../core-toolbar/core-toolbar.html">
<link rel="import" href="../core-menu/core-submenu.html">
<polymer-element name="my-element">
# Go-style enums in Python
#
# Implementation is here, scroll down for usage.
#
import operator
class LazyValue(object):
def __init__(self, value):
@flowblok
flowblok / gist:3883065
Created October 13, 2012 03:10 — forked from harrisony/gist:3877260
Awesome hacky code!
// I've left parameters as-is, but success / failure might be constants?
// (if so, hash define them)
// also, I would usually pass in the records directly, rather than using
// global variables:
// Record *records,
// size_t n_records,
//
void list_generator(
int (*process)(Record, string[]),
string options[],