Skip to content

Instantly share code, notes, and snippets.

View freethinker's full-sized avatar

Pratik Sinha freethinker

View GitHub Profile
module RetryableTyphoeus
require 'typhoeus'
include Typhoeus
DEFAULT_RETRIES = 1
class Request < Typhoeus::Request
def original_on_complete=(proc)
@original_on_complete = proc
@freethinker
freethinker / unity-builder.sh
Created October 17, 2012 17:00 — forked from anonymous/unity-builder.sh.txt
unity-builder.sh
#!/bin/bash
# Dirty script to build Unity under ArchLinux
# Thanks for PKGBUILDs, chenxiaolong!
# Valdos Sine <fat0troll at riseup dot net> 2012
# Pratik Sinha <pratik at humbug dot in> 2012
echo "Run it in directory which will be build root ;)"
echo "Make sure you're have sudo without password or you will stuck in every package installation"
echo "GO!"
sudo pacman -Sy