Download Kafka from:
https://www.apache.org/dyn/closer.cgi/incubator/kafka/kafka-0.7.2-incubating/kafka-0.7.2-incubating-src.tgz
Install Kafka
# WORKSPACE set to job workspace by jenkins/hudson | |
VENV="$WORKSPACE/.env" | |
if [ ! -e "$VENV" ]; then | |
virtualenv --python python2.6 --no-site-packages $VENV | |
elif [ ! -d "$VENV" ]; then | |
echo '$VENV exists but is not a directory' | |
exit 1 | |
fi |
/** | |
* Prepare the App Folder | |
*/ | |
(function(){ | |
window.appRootDirName = ".myapp"; | |
document.addEventListener("deviceready", onDeviceReady, false); | |
function onDeviceReady() { | |
console.log("device is ready"); | |
window.requestFileSystem = window.requestFileSystem || window.webkitRequestFileSystem; |
This playbook has been removed as it is now very outdated. |
require "prawn" | |
Prawn::Document.generate("report.pdf") do | |
10.times do | |
start_new_page | |
end | |
repeat :all do | |
move_down 50 |
(ns project-name.handler | |
(:require [compojure.handler :as handler] | |
[compojure.route :as route] | |
[ring.middleware.params :as params] | |
[sandbar.stateful-session :as session] | |
[project-name.controllers.private :as private])) | |
(defn- stateful-route | |
"Calls the routeFn adding stateful session." | |
[routeFn] |
/* | |
* I add this to html files generated with pandoc. | |
*/ | |
html { | |
font-size: 100%; | |
overflow-y: scroll; | |
-webkit-text-size-adjust: 100%; | |
-ms-text-size-adjust: 100%; | |
} |
curl -fsSL https://gist.github.com/LeonB/10503374/raw | rbenv install --patch 2.0.0-p451 |
Problem:
The following commands fail on OSX:
gem install nokogiri
gem install nokogiri -- --use-system-libraries
gem install nokogiri -- --use-system-libraries --with-xslt-dir=/usr/local/opt/libxslt --with-xml2-dir=/usr/local/opt/libxml2
Version:
{-# LANGUAGE AllowAmbiguousTypes #-} | |
{-# LANGUAGE FlexibleContexts #-} | |
{-# LANGUAGE OverloadedStrings #-} | |
{-# LANGUAGE RecordWildCards #-} | |
{-# LANGUAGE ScopedTypeVariables #-} | |
{-# LANGUAGE TemplateHaskell #-} | |
{-# LANGUAGE TypeApplications #-} | |
{-# LANGUAGE TypeFamilies #-} | |
module AWSViaHaskell.AWSService |