Skip to content

Instantly share code, notes, and snippets.

conf/log4j-server.properties etc/cassandra
conf/cassandra.yaml etc/cassandra
conf/cassandra-env.sh etc/cassandra
debian/cassandra.in.sh usr/share/cassandra
debian/cassandra.conf etc/security/limits.d
debian/cassandra-sysctl.conf etc/sysctl.d
bin/cassandra usr/sbin
bin/cassandra-cli usr/bin
bin/nodetool usr/bin
bin/json2sstable usr/bin
# Ignore any python bytecode.
*.pyc
# Ignore the batch files produced by the Windows bootstrapping.
/git.bat
/gitk.bat
/pylint.bat
/python
/python.bat
/ssh.bat
@xxbastekxx
xxbastekxx / gist:3108866
Created July 14, 2012 02:25
git@github.com:xxbastekxx/Spoon-Knife.git
git@github.com:xxbastekxx/Spoon-Knife.git
require 'digest/md5'
def gfm(text)
# Extract pre blocks
extractions = {}
text.gsub!(%r{<pre>.*?</pre>}m) do |match|
md5 = Digest::MD5.hexdigest(match)
extractions[md5] = match
"{gfm-extraction-#{md5}}"
end
@xxbastekxx
xxbastekxx / gfm.rb
Created July 12, 2012 00:18 — forked from mojombo/gfm.rb
require 'digest/md5'
def gfm(text)
# Extract pre blocks
extractions = {}
text.gsub!(%r{<pre>.*?</pre>}m) do |match|
md5 = Digest::MD5.hexdigest(match)
extractions[md5] = match
"{gfm-extraction-#{md5}}"
end
@xxbastekxx
xxbastekxx / params.json
Created July 10, 2012 06:01
install-reddit.sh
1http://gist.github.com/3081452.git
{"tagline":"the code that powers reddit.com","google":"","note":"Don't delete this file! It's used internally to help with page regeneration.","name":"Reddit+","body":"### Welcome to GitHub Pages.\r\nThis automatic page generator is the easiest way to create beautiful pages for all of your projects. Author your page content here using GitHub Flavored Markdown, select a template crafted by a designer, and publish. After your page is generated, you can check out the new branch:\r\n\r\n```\r\n$ cd your_repo_root/repo_name\r\n$ git fetch origin\r\n$ git checkout gh-pages\r\n```\r\n\r\nIf you're using the GitHub for Mac, simply sync your repository and you'll see the new branch.\r\n\r\n### Designer Templates\r\nWe've crafted some handsome templates for you to use. Go ahead and continue to layouts to browse through them. You can easily go back to edit your page before publishing. After publishing your page, you can revisit the page generator and switch to another theme. Your
$ wget https://raw.github.com/reddit/reddit/master/install-reddit.sh
1 +# http://www.gnu.org/software/automake
2 +
3 +Makefile.in
4 +
5 +# http://www.gnu.org/software/autoconf
6 +
7 +/autom4te.cache
8 +/aclocal.m4
9 +/compile
10 +/configure