git clone git://gist.github.com/923934.git redisearch
cd redisearch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# cat /etc/apt/sources.list | |
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free | |
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free | |
deb http://security.debian.org/ squeeze/updates main contrib non-free | |
deb-src http://security.debian.org/ squeeze/updates main contrib non-free | |
# squeeze-updates, previously known as 'volatile' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2014 Jared Rummler <jared.rummler@gmail.com> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns friendtest.core | |
(:use midje.sweet | |
ring.mock.request | |
compojure.core | |
friendtest.core | |
[ring.middleware.session store memory] | |
[ring.middleware.session.memory :only (memory-store)] | |
[ring.middleware.session :only (wrap-session)] | |
[cemerick.friend.util :only (gets)]) | |
(:require [compojure [handler :as handler]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Config file for collectd(1). | |
# Please read collectd.conf(5) for a list of options. | |
# http://collectd.org/ | |
# | |
################## | |
# Global settings | |
################## |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defmacro assert-all | |
[& pairs] | |
`(do (when-not ~(first pairs) | |
(throw (IllegalArgumentException. | |
(str (first ~'&form) " requires " ~(second pairs) " in " ~'*ns* ":" (:line (meta ~'&form)))))) | |
~(let [more (nnext pairs)] | |
(when more | |
(list* `assert-all more))))) | |
(defmacro when-let* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
windows = false; // show windows | |
stuff = false; // Show bikes, table, mower | |
l = 32; // Length of building in feet (16, 20, 24, 28, 32, ...) | |
h = 8*12-4.5+.5; | |
rl=6*12+1.375+.1; // cut to 73.5" long with 22.5 degree angles | |
tl = 68.7; // Used to tweak headers on top walls | |
// 2x6 concrete forms for foundation | |
// 10" wide grid |
OlderNewer