Skip to content

Instantly share code, notes, and snippets.

View evelynharthbrooke's full-sized avatar

Evelyn Harthbrooke evelynharthbrooke

View GitHub Profile
/*
* Project Name: CollisionDetection
* Solution Name: MandelbrotCalc
* Original creation date: 25/03/2011
* Edit date: 19/01/2013
* Programmer name: Jamie Taylor (aka "GaProgMan")
* File name: CollisionDetection.cpp
*
* Purpose of the project:
* To re-write the psuedo-code found in a previous
(ns backtype.storm.nimbus.storage
(:import [java.io InputStream OutputStream FileInputStream FileOutputStream File])
(:import [java.util List Map])
(:import [org.apache.commons.io FileUtils IOUtils])
(:use [backtype.storm log config util])
(:import [backtype.storm.utils Utils])
(:import [backtype.storm.nimbus INimbusStorage]))
(defn create-local-storage [conf]
(let [stormroot (nimbus-storage-local-dir conf)]
--BR control by Graypup
--Legalese below
--[[
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",