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
framework 'Cocoa' | |
require 'rubygems' | |
require 'sucker' | |
application = NSApplication.sharedApplication | |
worker = Sucker.new( | |
:locale => :us, | |
:key => aws_key, |
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
require 'java' | |
require 'clojure' | |
module Clojure | |
include_package 'clojure.lang' | |
end | |
foo = Clojure::PersistentHashMap.create(:a, 1) | |
# => {:a=>1} | |
foo.assoc(:e, 5) |
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
(defn stress-ref | |
[r] | |
(let [slow-tries (atom 0)] | |
(future | |
(dosync | |
(swap! slow-tries inc) | |
(Thread/sleep 200) | |
@r) | |
(println (format "r is: %s, history: %d, after: %d tries" | |
@r (ref-history-count r) @slow-tries))) |
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
+/Users/zerokarmaleft/.sm/core/cli/shell/dev/functions:69 sm_development_setup():66 > git clone https://github.com/sm/sm-extensions extensions | |
Cloning into extensions... | |
fatal: https://github.com/sm/sm-extensions/info/refs not found: did you run git update-server-info on the server? | |
+/Users/zerokarmaleft/.sm/core/cli/shell/dev/functions:70 sm_development_setup():67 > __sm.log.error 'There was an __sm.log.error cloning extensions repository from https://github.com/sm/sm-extensions into /Users/zerokarmaleft/projects/sm/extensions.' | |
+/Users/zerokarmaleft/.sm/core/sm/shell/log/functions:343 __sm.log.error():2 > printf 'ERROR(__sm.actions.call): There was an __sm.log.error cloning extensions repository from https://github.com/sm/sm-extensions into /Users/zerokarmaleft/projects/sm/extensions.\n' | |
ERROR(__sm.actions.call): There was an __sm.log.error cloning extensions repository from https://github.com/sm/sm-extensions into /Users/zerokarmaleft/projects/sm/extensions. | |
+/Users/zerokarmaleft/.sm/core/sm/shell/log/func |
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
#include <iostream> | |
#include <stdlib.h> | |
#include <limits.h> | |
#include <fstream> | |
#include <string> | |
#include <sstream> | |
using namespace std; | |
ofstream outfile; |
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
Downloading/unpacking git+https://github.com/matplotlib/matplotlib.git | |
Cloning https://github.com/matplotlib/matplotlib.git to /var/folders/4w/561vz2190dn77blh513pjzv40000gn/T/pip-U1irSG-build | |
Running setup.py egg_info for package from git+https://github.com/matplotlib/matplotlib.git | |
basedirlist is: [] | |
============================================================================ | |
BUILDING MATPLOTLIB | |
matplotlib: 1.2.x | |
python: 2.7.2 (default, Jan 4 2012, 15:48:19) [GCC 4.2.1 | |
(Based on Apple Inc. build 5658) (LLVM build | |
2336.1.00)] |
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
902334d Merge branch 'master' of http://github.com/mxcl/homebrew | |
37fd330 Merge branch 'master' of http://github.com/mxcl/homebrew | |
975d89d Merge branch 'master' of http://github.com/mxcl/homebrew | |
7beb002 Merge branch 'master' of http://github.com/mxcl/homebrew | |
232288d Merge branch 'master' of http://github.com/mxcl/homebrew | |
a9504f5 Merge branch 'master' of http://github.com/mxcl/homebrew | |
310754e Merge branch 'master' of http://github.com/mxcl/homebrew | |
d0286ef Merge branch 'master' of http://github.com/mxcl/homebrew | |
8358887 Merge branch 'master' of http://github.com/mxcl/homebrew | |
ec977fd Merge branch 'master' of http://github.com/mxcl/homebrew |
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
;;; Bootstrapping bundled version of SLIME; please wait... | |
(sleep-for 0.1) | |
(run-hooks 'slime-load-hook) ; on port 64738 | |
;;; Done bootstrapping. | |
The eval-in-project function has moved to the leiningen.core.eval | |
namespace; please update your plugin to use that instead. | |
Note that `init' is now the third argument instead of the fifth. |
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
(function() { | |
var Foo; | |
Foo = (function() { | |
function Foo() { | |
// initialize properties | |
} | |
// instance methods | |
Foo.prototype.bar = function() {}; |
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
(require 'package) | |
(add-to-list 'package-archives | |
'("melpa" . "http://melpa.milkbox.net/packages/") t) | |
(package-initialize) |
OlderNewer