Skip to content

Instantly share code, notes, and snippets.

View steveliles's full-sized avatar

Steve Liles steveliles

View GitHub Profile
@steveliles
steveliles / Example2.java
Created August 29, 2013 08:24
hello again, concurrent world!
package concurrency.part1.ch1;
public class Example2 {
public static void main(String[] args)
throws Exception {
Runnable _r = new Runnable() {
public void run() {
System.out.println("Hello again, concurrent world!");
@steveliles
steveliles / Example1.java
Created August 29, 2013 08:13
hello, concurrent world!
package concurrency.part1.ch1;
public class Example1 {
public static void main(String[] args)
throws Exception {
new Thread() {
@Override
public void run() {
@steveliles
steveliles / dabblet.css
Created December 16, 2011 09:27
Untitled
* {
text-rendering: optimizelegibility;
}
p {
padding:40px;
font-size:20px;
}
code {
(function(){var $gwt_version = "2.0.4";var $wnd = window;var $doc = $wnd.document;var $moduleName, $moduleBase;var $strongName = '1D88C1CFC956D9CCF482C24AC7F915B7';var $stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null;var $sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;$stats && $stats({moduleName:'rubiks',sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});function r(){}
function F(){}
function E(){}
function D(){}
function C(){}
function mq(){}
function hb(){}
function vb(){}
function Hb(){}
function Lb(){}
@steveliles
steveliles / work-queue-1.dot
Created December 13, 2010 18:01
Work-Queue work-flow pattern diagrams in graphviz dot syntax
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"queue" [shape="doublecircle" color="orange"];
"s1" -> "queue";
"queue" -> "s2";
@steveliles
steveliles / approval-1.dot
Created December 10, 2010 19:23
approval-1.dot
digraph {
node [shape=circle,fontsize=8,fixedsize=true,width=0.9];
edge [fontsize=8];
rankdir=LR;
"do" [shape="circle", style="filled", color="green"];
"approved" [shape="circle", style="filled", color="red"];
"do" -> "approval";