This file contains hidden or 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
server:~ $ brew install -v fuse4x-kext | |
sh: line 1: 9774 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null | |
sh: line 1: 9776 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null | |
sh: line 1: 9785 Abort trap: 6 /Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild -version 2> /dev/null | |
==> Downloading https://github.com/fuse4x/kext/tarball/fuse4x_0_9_1 | |
Already downloaded: /Library/Caches/Homebrew/fuse4x-kext-0.9.1.tgz | |
/usr/bin/tar xf /Library/Caches/Homebrew/fuse4x-kext-0.9.1.tgz | |
==> /usr/bin/xcodebuild -sdk macosx10.7 -configuration Release -alltargets MACOSX_DEPLOYMENT_TARGET=10.7 SYMROOT=build ARCHS=i386 x86_64 ONLY_ACTIVE_ARCH=NO |
This file contains hidden or 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
class Base64 | |
def self.encode64(string) | |
NSData.alloc.initWithData(string).base64EncodedString | |
end | |
def self.decode64(string) | |
data = NSData.dataFromBase64String(string) | |
NSString.alloc.initWithData(data, encoding:NSUTF8StringEncoding) | |
end | |
end |
This file contains hidden or 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
class ActiveRecord::Base | |
# Options | |
# <tt>:only</tt> Only select a specific set of columns | |
def self.all_as_json(options = {}) | |
find_columns = self.columns.collect{|x| x.name} | |
find_columns = find_columns.select{|x| options[:only].include?(x)} if options[:only] | |
sql_query = 'SELECT ' |
This file contains hidden or 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
Rubinius Crash Report #rbxcrashreport | |
Error: signal |
NewerOlder