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
| ↳ HOMEBREW_LOG=1 VERBOSE=1 brew install qt | |
| ==> Downloading http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz | |
| Already downloaded: /Users/aoman/Library/Caches/Homebrew/qt-4.7.4.tar.gz | |
| /usr/bin/tar xf /Users/aoman/Library/Caches/Homebrew/qt-4.7.4.tar.gz | |
| ==> Downloading patches | |
| /usr/bin/curl -qf#LA Homebrew 0.9.3 (Ruby 1.8.7-358; Mac OS X 10.7.5) https://qt.gitorious.org/qt/qt/commit/1766bbdb53e1e20a1bbfb523bbbbe38ea7ab7b3d?format=patch -o 000-homebrew.diff | |
| ######################################################################## 100.0% | |
| ==> Patching | |
| /usr/bin/patch -f -p1 -i 000-homebrew.diff | |
| patching file src/corelib/global/qglobal.cpp |
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
| ↳ cd `brew --prefix` | |
| [aoman|/usr/local|master|ruby-1.8.7-p357] | |
| ↳ git checkout 83f742e15 /usr/local/Library/Formula/qt.rb | |
| [aoman|/usr/local|master|ruby-1.8.7-p357] | |
| ↳ brew install libpng | |
| Error: libpng-1.5.13 already installed | |
| [aoman|/usr/local|master|ruby-1.8.7-p357] | |
| ↳ brew install --use-llvm --env=std qt | |
| ==> Downloading http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.tar.gz | |
| Already downloaded: /Users/aoman/Library/Caches/Homebrew/qt-4.7.4.tar.gz |
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
| var page_id = "6c95858a-85fc-11e2-82b1-12313e0080a1"; | |
| $(document).ready(function() { | |
| var url = "https://secret-island-6724.herokuapp.com/page-stats-jsonp/" + page_id; | |
| $.ajax({ | |
| "url": url, | |
| "dataType": "jsonp", | |
| "jsonp": "jsonp" | |
| }) |
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
| ↳ gdc bin_search.d -unittest | |
| /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(dmain2.o): In function `_D2rt6dmain24mainUiPPaZi7runMainMFZv': | |
| (.text+0x5dd): undefined reference to `_Dmain' | |
| /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFZC4core6thread6Thread': | |
| (.text+0x44): undefined reference to `_tlsstart' | |
| /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFZC4core6thread6Thread': | |
| (.text+0x4b): undefined reference to `_tlsend' | |
| /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFPFZvmZC4core6thread6Thread': | |
| (.text+0xe7c): undefined reference to `_tlsstart' | |
| /usr/lib/gcc/x86_64-linux-gnu/4.6/libgphobos2.a(thread.o): In function `_D4core6thread6Thread6__ctorMFPFZvmZC4core6thread6Thread': |
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
| bool binarySearch(T)(T[] input, T value) { | |
| while (!input.empty) { | |
| auto i = input.length / 2; | |
| auto mid = input[i]; | |
| if (mid > value) input = input[0 .. i]; | |
| else if (mid < value) input = input[i + 1 .. $]; | |
| else return true; | |
| } | |
| return false; | |
| } |
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
| ↳ dmd array.d | |
| Undefined symbols for architecture x86_64: | |
| "__Dmain", referenced from: | |
| _main in libphobos2.a(dmain2_461_1a5.o) | |
| ld: symbol(s) not found for architecture x86_64 | |
| collect2: ld returned 1 exit status | |
| --- errorlevel 1 | |
| Error: no main function specified |
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
| # Requirements for this shared example: | |
| # - api_key: ApiKey class instance used for authentication. | |
| # - factory: Name of FactoryGirl factory as a symbol. | |
| # - deps: Hash of dependencies to pass into FactoryGirl.create. | |
| # - params: Parameters to fulfill #index request. | |
| # | |
| # collection: Name to inspect in the resultset. | |
| # See: https://api.unbounce.com/doc/pages#collection_overview | |
| # In the sample responses there, `collection` should be 'pages'. | |
| # |
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
| Crashlog created at 2013-06-18 16:25:55 -0700 | |
| ===== MESSAGE: | |
| LoadError: cannot load such file -- sass | |
| Make sure the gem is added to Gemfile and run `bundle install`. | |
| ===== COMPILATION STACK: | |
| - [item] /assets/style/_variables/ (rep default) |
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
| #!/usr/bin/env ruby | |
| # A few helpful tips about the Rules file: | |
| # | |
| # * The string given to #compile and #route are matching patterns for | |
| # identifiers--not for paths. Therefore, you can’t match on extension. | |
| # | |
| # * The order of rules is important: for each item, only the first matching | |
| # rule is applied. | |
| # |
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
| type Peg = String | |
| type Move = (Peg, Peg) | |
| hanoi :: Integer -> Peg -> Peg -> Peg -> [Move] | |
| hanoi 1 p1 p2 _ = [(p1, p2)] | |
| hanoi n p1 p2 p3 = hanoi (n - 1) p1 p3 p2 ++ [(p1, p2)] ++ hanoi (n - 1) p3 p2 p1 |