Skip to content

Instantly share code, notes, and snippets.

Ken Bloom kbloom

  • United States
Block or report user

Report or block kbloom

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 .zshrc
setopt appendhistory extendedglob
unsetopt autocd nomatch
bindkey -v
zstyle :compinstall filename "$HOME/.zshrc"
autoload -Uz compinit
kbloom / gist:757999
Created Dec 29, 2010
OpenOffice Calc regex matching macro
View gist:757999
Function regex(a,b,c)
' Attention - made by novice, so can contain bugs
' a - string or cell to search in
' b - regexp string or cell containing regexp string
' c - back-reference number - analogy to \n in regexp syntax
' prepare regexp search options
View gist:580157
import scala.util.continuations._
class Generator[A] extends Iterator[A] with (A => Unit @ suspendable) {
private var a: Option[A] = None
private var k: Option[Unit => Unit] = None
def next = {
val a0 = a.get
val k0 = k.get
a = None
You can’t perform that action at this time.