Skip to content

Instantly share code, notes, and snippets.

View philshon's full-sized avatar

Phil Shon philshon

  • Credera
  • Dallas, TX
View GitHub Profile
@philshon
philshon / Working.java
Created February 29, 2012 21:39 — forked from emaxerrno/Working.java
Working full example of a working composite type for row keys.
import java.util.Arrays;
import me.prettyprint.cassandra.model.HColumnImpl;
import me.prettyprint.cassandra.serializers.CompositeSerializer;
import me.prettyprint.cassandra.serializers.StringSerializer;
import me.prettyprint.cassandra.utils.TimeUUIDUtils;
import me.prettyprint.hector.api.Cluster;
import me.prettyprint.hector.api.Keyspace;
import me.prettyprint.hector.api.beans.Composite;
import me.prettyprint.hector.api.ddl.ColumnFamilyDefinition;
@philshon
philshon / gist:1206356
Created September 9, 2011 14:26
"rake generate" error.
$ rake -t generate
** Invoke generate (first_time)
** Execute generate
## Generating Site with Jekyll
Configuration from /Users/pshon/Projects/crazypheel_octopress/_config.yml
/Users/pshon/Projects/crazypheel_octopress/plugins/category_generator.rb:73: warning: regexp has invalid interval
/Users/pshon/Projects/crazypheel_octopress/plugins/category_generator.rb:73: warning: regexp has `}' without escape
/Users/pshon/Projects/crazypheel_octopress/plugins/category_generator.rb:110: warning: regexp has invalid interval
/Users/pshon/Projects/crazypheel_octopress/plugins/category_generator.rb:110: warning: regexp has `}' without escape
unchanged sass/screen.scss