I hereby claim:
- I am tlockney on github.
- I am tlockney (https://keybase.io/tlockney) on keybase.
- I have a public key whose fingerprint is 7598 1B8B E5C7 2B03 80D2 E966 D594 D4EC ED46 8B80
To claim this, I am signing this object:
| # transform a java property file into valid shell variables | |
| awk 'BEGIN{FS=OFS="="}{gsub(/\#.*/,"")}{gsub(/\./,"_",$1)}{sub(/..*/,"\"&\"",$2)}1' $1 |
| class Sub extends Super { | |
| @Override | |
| public void foo(java.util.Map<Object,Object> bar) {} | |
| } |
| // initial version | |
| import scala.collection.immutable.TreeSet | |
| class TreeMember[A] { | |
| // some really important stuff here, of course! ;~) | |
| } | |
| class Main { | |
| implicit val treeOrder = new Ordering[TreeMember[A]] { | |
| def compare(a: TreeMember[A], b: TreeMember[A]) = { | |
| // elided for simplicity's sake | |
| } |
| (defun make-quick-haskell-frame () | |
| "Creates a new frame running haskell-mode." | |
| (make-frame '((name . "Quick Haskell") | |
| (width . 120) | |
| (height . 40))) | |
| (select-frame-by-name "Quick Haskell") | |
| (switch-to-buffer "Haskell") | |
| (haskell-mode)) |
| # I always forget you can install homebrew formulas using direct URLs | |
| brew install https://raw.github.com/adamv/homebrew-alt/master/unmaintained/htop.rb |
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| val javaRuntimeOptions = Seq( | |
| "-Xmx2048M", | |
| "-XX:+UseConcMarkSweepGC", | |
| "-XX:+CMSClassUnloadingEnabled", | |
| "-XX:MaxPermSize=512M", | |
| "-Xshare:off", | |
| "-Dcom.sun.management.jmxremote.port=9998", | |
| "-Dcom.sun.management.jmxremote.authenticate=false", | |
| "-Dcom.sun.management.jmxremote.ssl=false", | |
| "-Djava.rmi.server.hostname=%s".format(hostname), |
| # This only works with the current master branch of Akka | |
| # Setup the necessary deps | |
| brew install python | |
| # adjust this depending on the latest version of Python that brew installed | |
| export PATH=`brew --prefix python`/bin:/usr/local/share/python:$PATH | |
| pip install sphinx |
| import akka.actor.Actor | |
| // Following the common Akka pattern of defining the messaging | |
| // protocol in the companion object | |
| object SampleActor { | |
| case object GetState | |
| case class UpdateState(key: String, value: String) | |
| } | |
| class SampleActor extends Actor { |
I hereby claim:
To claim this, I am signing this object: