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/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 |
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
module RetryableTyphoeus | |
require 'typhoeus' | |
include Typhoeus | |
DEFAULT_RETRIES = 1 | |
class Request < Typhoeus::Request | |
def original_on_complete=(proc) | |
@original_on_complete = proc |