Skip to content

Instantly share code, notes, and snippets.

View jkodumal's full-sized avatar

John Kodumal jkodumal

  • LaunchDarkly
  • Oakland, CA
View GitHub Profile
@jkodumal
jkodumal / checkplugin
Created May 29, 2012 19:26
checkplugin script
#!/bin/bash
if [[ -z "$1" ]]; then
echo
echo "Usage: checkplugin <jar filename>"
echo "Output:"
echo "- Relevant attributes from root element in atlassian-plugin.xml (key, version)"
echo "- Relevant <plugin-info> params from atlassian-plugin.xml (configure URL, icons etc.)"
echo "- Checks for presence of necessary files embedded in jar (license storage library, image files)"
echo "- Relevant bundle instructions from manifest"
@jkodumal
jkodumal / RecIso.scala
Created September 22, 2012 16:57
Type-safe transformation from nested case classes to HLists using shapeless
// Based on shapeless 1.2.2
import shapeless._, HList._
trait RecIso[T, R] {
def iso(t: T) : R
}
trait RecId[T] extends RecIso[T, T] {
def iso(t: T) : T = t
}
Companies hiring Scala developers in the Bay Area.
Created in response to a thread on scala-base.
- CloudPhysics (my employer)
- 10Gen
- Box
- Bizo
- Coraid
- Ephox