Skip to content

Instantly share code, notes, and snippets.

Avatar

Caleb Johnson calebj

View GitHub Profile
View designer.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">
<link rel="import" href="../core-pages/core-pages.html">
<polymer-element name="main-screen" attributes="menuTitle mainTitle">
View keybase.md

Keybase proof

I hereby claim:

  • I am calebj on github.
  • I am calebj (https://keybase.io/calebj) on keybase.
  • I have a public key ASAu7bOJTX8QsGXXm11bUhKcPf766XnRED9EDbOq0ZJ-1Ao

To claim this, I am signing this object:

View recurse_aliases_with_alternatives.sql
WITH RECURSIVE AliasTree AS (
SELECT
CASE WHEN alternative.domain_name IS NULL
THEN destination
ELSE SUBSTR(destination,0,instr(destination,'@'))||'@'||alternative.domain_name
END AS destination,
email,
wildcard,
localpart,
localpart||'@'||a2.name AS alt_email,
View qrandom.py
from binascii import hexlify as _hexlify, unhexlify as _unhexlify
from random import Random, RECIP_BPF
import quantumrandom
import six
import threading
_longint = int if six.PY3 else long