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
#!/bin/sh | |
# Shell script to install your public key on a remote machine | |
# Takes the remote machine name as an argument. | |
# Obviously, the remote machine must accept password authentication, | |
# or one of the other keys in your ssh-agent, for this to work. | |
# | |
# http://www.devthought.com/2009/09/19/get-ssh-copy-id-in-mac-os-x/ | |
# |
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
//The Amplituhedron TM® | |
//By [email protected] | |
#ifdef GL_ES | |
precision highp float; | |
#endif | |
// Uniform es constante mientras corre el shader | |
uniform float time; |
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
#!/usr/bin/python | |
# brew install python | |
# pip install feedparser | |
import feedparser | |
from subprocess import call | |
feed = feedparser.parse('http://musicforprogramming.net/rss.php') |
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
local net = require "luanode.net" | |
local host = "userstream.twitter.com" | |
local secure = process.argv[1] == "secure" | |
if secure then | |
console.log("Using secure connection (HTTPS)") | |
local c = net.createConnection(443, host) | |
c:on("connect", function() |
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
(defn- title-case-word [w] | |
(if (zero? (count w)) | |
w | |
(str (Character/toTitleCase (first w)) | |
(subs w 1)))) |
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 <[email protected]> | |
* | |
* 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 |
OlderNewer