Skip to content

Instantly share code, notes, and snippets.

View titanous's full-sized avatar

Jonathan Rudenberg titanous

View GitHub Profile
@titanous
titanous / build.rb
Last active August 29, 2015 14:11 — forked from anatol/build.rb
#!/usr/bin/ruby
# directory git should contain 2 branches: origin/master and debian
system("rm -rf debian && mkdir debian")
Dir.chdir('git')
system('git remote update && git reset --hard origin/master')
version = `git describe`.chomp
{
{I have|I've} been {surfing|browsing} online more than {three|3|2|4} hours today, yet I never found any interesting article like yours. {It's|It
is} pretty worth enough for me. {In my opinion|Personally|In my view}, if all {webmasters|site owners|website owners|web owners} and bloggers made good content as
you did, the {internet|net|web} will be {much more|a lot more}
useful than ever before.|
I {couldn't|could not} {resist|refrain from} commenting. {Very well|Perfectly|Well|Exceptionally well} written!|
{I will|I'll} {right away|immediately} {take hold of|grab|clutch|grasp|seize|snatch}
your {rss|rss feed} as I {can not|can't} {in finding|find|to find} your {email|e-mail} subscription {link|hyperlink} or {newsletter|e-newsletter} service. Do {you have|you've} any?
{Please|Kindly} {allow|permit|let} me {realize|recognize|understand|recognise|know} {so that|in order that} I {may just|may|could} subscribe.
Thanks.|
@titanous
titanous / nginxTentConfig
Created October 2, 2012 04:59
nginx personal site / tent side by side config example
here's tent running side-by-side with two express node.js apps:
tent is on 1002
my site is on 80
promo page for a game i'm working on is on 1003
upstream tent {
server 0.0.0.0:1002;
}
@titanous
titanous / cmake.rb
Created March 16, 2012 20:41 — forked from jkp/cmake.rb
Homebrew formula for cmake with Xcode 4.3 fixes
require 'formula'
class Cmake < Formula
head 'https://github.com/jkp/CMake.git', :tag => '20b4466d78739450e94738a846ab7d16d690627e'
homepage 'http://www.cmake.org/'
def install
# A framework-installed expat will be detected and mess things up.
if File.exist? "/Library/Frameworks/expat.framework"
opoo "/Library/Frameworks/expat.framework detected"
@titanous
titanous / 0-readme.md
Created February 22, 2012 20:53 — forked from mickm/0-readme.md
ruby-1.9.3-p125 cumulative performance patch.

Patched ruby 1.9.3-p125 for 30% faster rails boot

What is?

This script installs a patched version of ruby 1.9.3-p125 with patches to make ruby-debug work again (#47) and boot-time performance improvements (#66 and #68), and runtime performance improvements (#83 and #84).

Huge thanks to funny-falcon for the performance patches.