Skip to content

Instantly share code, notes, and snippets.

Daniel Blezek blezek

  • Mayo Clinic
  • Rochester, MN, USA
Block or report user

Report or block blezek

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
@blezek
blezek / gist:4285857
Created Dec 14, 2012
Vaadin regression in 7 beta10 where Panels inside TabSheets do not correctly render (don't render at all).
View gist:4285857
package com.example.tabby9;
import com.vaadin.annotations.AutoGenerated;
import com.vaadin.ui.CustomComponent;
import com.vaadin.ui.Label;
import com.vaadin.ui.NativeButton;
import com.vaadin.ui.Panel;
import com.vaadin.ui.TabSheet;
import com.vaadin.ui.VerticalLayout;
@blezek
blezek / lockit.sh
Created Oct 29, 2012
Lockable Bash script
View lockit.sh
#!/bin/bash
## Copyright (C) 2009 Przemyslaw Pawelczyk <przemoc@gmail.com>
## License: GNU General Public License v2, v3
#
# Lockable script boilerplate
### HEADER ###
hn=`hostname --short`
LongHN=`hostname`
@blezek
blezek / letterpress.groovy
Created Oct 26, 2012
Finds words in a specified dictionary file from a scrambled list of letters
View letterpress.groovy
#!/usr/bin/env groovy
import groovy.util.Node;
import java.util.zip.GZIPInputStream;
def root = new Node ( null, "root", [ path : "", leaf : false, value : "" ] );
Words = []
// Pull off the first letter, see if the node has that.
// If at end of word, make as leaf node
def stuffWord ( word, node ) {
You can’t perform that action at this time.