Skip to content

Instantly share code, notes, and snippets.

View hrj's full-sized avatar
πŸ”­
observing

hrj hrj

πŸ”­
observing
View GitHub Profile
@hrj
hrj / xoria256.vim
Created July 11, 2013 05:45
Higher contrast version of xoria256.vim
" Vim color file
"
" Name: xoria256.vim
" Version: 1.5
" Maintainer: Dmitriy Y. Zotikov (xio) <[email protected]>
"
" Should work in recent 256 color terminals. 88-color terms like urxvt are
" NOT supported.
"
" Don't forget to install 'ncurses-term' and set TERM to xterm-256color or
@hrj
hrj / output.xml
Created March 5, 2013 12:32
Ledger xml output
<?xml version="1.0" encoding="utf-8"?>
<ledger version="196608">
<commodities>
<commodity flags="P">
<symbol/>
</commodity>
</commodities>
<accounts>
<account id="09b3aeb0">
<name/><fullname/>
@hrj
hrj / embed.html
Created January 22, 2013 03:39
rvl.io embed example
<html>
<body>
<h1>Embed demo</h1>
<iframe src="http://www.rvl.io/hakim/theming/embed/"></iframe>
</body>
</html>
@hrj
hrj / build.sbt
Created July 6, 2012 19:21
SBT with Jetty 8.1.x gives an error. For xsbt bug #499
name := "sbt-jetty-test"
scalaVersion := "2.9.2"
libraryDependencies ++= Seq(
"org.eclipse.jetty" % "jetty-webapp" % "8.1.4.v20120524" artifacts (Artifact("jetty-webapp", "jar", "jar"))
)
classpathTypes ~= (_ + "orbit")
@hrj
hrj / SampleSurface.scala
Created September 9, 2011 15:44
Sample SurfacePlotter program
// Quick demo of SurfacePlotter [ http://code.google.com/p/surfaceplotter ]
import scala.swing._
import net.ericaro.surfaceplotter.{ProgressiveSurfaceModel, JSurfacePanel, Mapper}
val model = new ProgressiveSurfaceModel
val surfacePanel = new JSurfacePanel
surfacePanel.setModel(model)
model.setMapper(new Mapper {
@hrj
hrj / gist:643612
Created October 24, 2010 15:36
Before
<uses-sdk minSdkVersion="7" targetSdkVersion="7"/>