Skip to content

Instantly share code, notes, and snippets.

@alq666
alq666 / hack.sh
Created April 1, 2012 01:44 — forked from erikh/hack.sh
OSX For Hackers
#!/usr/bin/env sh
##
# This is script with usefull tips taken from:
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx
#
# install it:
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh
#
@alq666
alq666 / demo.clj
Created February 28, 2012 05:26 — forked from cgrand/demo.clj
;; this file is a walkthrough of Moustache features, a web framework for Clojure
;; http://github.com/cgrand/moustache/tree/master
;; Moustache allows to declare routes, apply middlewares and dispatch on http methods.
;; Moustache is compatible with all frameworks built on Ring, including Compojure
(ns demo
(:use net.cgrand.moustache)
(:use [ring.adapter.jetty :only [run-jetty]])) ;; hmmm Ring without servlets
@alq666
alq666 / gist:1613275
Created January 14, 2012 23:01 — forked from olidb2/gist:1613224
cassandra config
# Cassandra YAML generated from previous config
# Configuration wiki: http://wiki.apache.org/cassandra/StorageConfiguration
authenticator: org.apache.cassandra.auth.AllowAllAuthenticator
authority: org.apache.cassandra.auth.AllowAllAuthority
auto_bootstrap: true
binary_memtable_throughput_in_mb: 32
cluster_name: DataDog Cluster
column_index_size_in_kb: 64
commitlog_directory: /usr/local/var/lib/cassandra/commitlog
commitlog_rotation_threshold_in_mb: 32