This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
// Settings file for all the modules. | |
import sbt._ | |
import Keys._ | |
import Defaults._ | |
// Blank lines are required between settings. | |
organization in ThisBuild := "org.steve.test" | |
version in ThisBuild := "0.0.1-SNAPSHOT" |
import sbt._ | |
import Keys._ | |
import play.Project._ | |
object ApplicationBuild extends Build { | |
val hgbranch = "hg branch".!!.trim | |
val branch = if (hgbranch == "default") { | |
"RELEASE" | |
} else { |
@echo off | |
setlocal | |
set "location=\\dbserver2\students" | |
for /d %%d in (%location%\*) do ( | |
md "%%d\Complaints" | |
) |
" TODO: http://stackoverflow.com/questions/95072/what-are-your-favorite-vim-tricks/225852#225852 | |
" General "{{{ | |
set nocompatible " disable vi compatibility. | |
set history=256 " Number of things to remember in history. | |
set autowrite " Writes on make/shell commands | |
set autoread | |
set timeoutlen=250 " Time to wait after ESC (default causes an annoying delay) | |
set clipboard+=unnamed " Yanks go on clipboard instead. | |
set pastetoggle=<F10> " toggle between paste and normal: for 'safer' pasting from keyboard |
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
/// <summary> | |
/// Set up all of the objects for the level. Very Important! | |
/// </summary> | |
/// | |
void _checkLevel() | |
{ | |
+----------------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------------------+ | |
| Module | Required by | Note | | |
+----------------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------------------+ | |
| org.jooq:jooq-meta:2.6.0 | proj:proj_2.10:0.0.2 | As jooq-meta-2.6.0.jar | | |
+----------------------------------------------------------------------------+--------------------------------------------------------------------+-----------------------------------------------------+ | |
| org.jooq:jooq:2.6. |
(ns startingclojure.app | |
(:use [clojure.pprint] [compojure.core] ) | |
(:require | |
[ring.adapter.jetty :as jetty] | |
[ring.util.response :as response] | |
)) | |
(defonce counter (atom 999)) | |
(defonce urls (atom {})) | |
(defn shorten |
(ns startingclojure.pallet | |
(:require pallet.core pallet.compute pallet.configure) | |
(:use [pallet.action.package :only [package]] | |
[pallet.phase :only [phase-fn]] | |
[pallet.crate.automated-admin-user :only [automated-admin-user]])) | |
(pallet.core/converge | |
(pallet.core/group-spec "mygroup" | |
:count 0 | |
:node-spec (pallet.core/node-spec |
// workaround for chrome bug: http://code.google.com/p/chromium/issues/detail?id=35980#c12 | |
if ( window.innerWidth === 0 ) { window.innerWidth = parent.innerWidth; window.innerHeight = parent.innerHeight; } | |
var camera, scene, renderer; | |
var geometry, material, mesh; | |
test = 200; | |
var init = function () { | |
renderer = new THREE.WebGLRenderer(); | |
renderer.setSize( window.innerWidth, window.innerHeight ); | |
document.body.appendChild( renderer.domElement ); | |
camera = new THREE.PerspectiveCamera( 75, window.innerWidth / window.innerHeight, 1, 1000 ); |