Skip to content

Instantly share code, notes, and snippets.

@timjstewart
timjstewart / newsbt
Last active December 26, 2015 02:19
Start sbt projects quickly
#! /bin/bash
# newsbt -- create a new sbt project
# Change this to generate projects using a different version of Scala
# You can override it with the -s option
scala_version=2.10.2
# I always use this namespace even though I don't own the domain name :)
# You can override it with the -n option
base_namespace=com.timjstewart
@timjstewart
timjstewart / log4j.xml
Created June 10, 2013 18:45
Log config file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE log4j:configuration SYSTEM "log4j.dtd">
<log4j:configuration xmlns:log4j="http://jakarta.apache.org/log4j/" debug="false">
<!-- ================================= -->
<!-- Preserve messages in a local file -->
<!-- ================================= -->
<appender name="ASYNC" class="org.apache.log4j.AsyncAppender">
<param name="blocking" value="false"/>