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
brew install openblas; | |
brew info qrupdate --with-openblas; | |
brew install suite-sparse --with-openblas; | |
brew install fltk; | |
brew install octave --with-openblas --with-fltk |
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
# IE10 - Win8 | |
curl -O "https://az412801.vo.msecnd.net/vhd/IEKitV1_Final/VirtualBox/OSX/IE10_Win8/IE10.Win8.For.MacVirtualBox.part{1.sfx,2.rar,3.rar}" |
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
# Shamelessly stolen from fnando: | |
# https://github.com/fnando/dotfiles/blob/master/files/.bash/macosx.sh | |
# | |
# Disable menu bar transparency | |
#defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false | |
# Show remaining battery time; hide percentage | |
#defaults write com.apple.menuextra.battery ShowPercent -string "NO" | |
#defaults write com.apple.menuextra.battery ShowTime -string "YES" |
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
$ azk start | |
[ ... snip ...] | |
azk: Installing sass 3.4.9 | |
azk: Installing sass-rails 5.0.1 | |
azk: Installing spring 1.2.0 | |
azk: Installing uglifier 2.6.0 | |
azk: Installing web-console 2.0.0 | |
azk: Your bundle is complete! | |
azk: It was installed into /azk/bundler | |
azk: postgres_development already exists |
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
$ azk start | |
azk: ↑ starting `postgres` system, 1 new instances... | |
azk: ✓ checking `wyaeld/postgres:9.3` image... | |
azk: ⇲ downloading `wyaeld/postgres:9.3` image... | |
3a831d2c7eb9: Download completeazk: ◴ waiting start `postgres` system, try connect port data/tcp... | |
azk: ↑ starting `gaveteiro-frontend` system, 2 new instances... | |
azk: ✓ checking `rails:4.1` image... | |
azk: ⇲ downloading `rails:4.1` image... | |
de10a6ea16ef: Pull completeazk: ↻ provisioning `gaveteiro-frontend` system... | |
azk: ◴ waiting start `gaveteiro-frontend` system, try connect port http/tcp... |
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
/** | |
* Documentation: http://docs.azk.io/Azkfile.js | |
*/ | |
// Adds the systems that shape your system | |
systems({ | |
kooljobs: { | |
shell: "/bin/bash", | |
// Dependent systems | |
depends: ["redis"], |
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
# make gvim set its servername to the current dir | |
_basedir() { | |
basename `pwd` | |
} | |
alias gvim='/Applications/MacVim.app/Content/MacOS/Vim -g --servername $(_basedir)' |
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
# http://www.jroller.com/dscataglini/entry/speeding_up_method_missing | |
require 'benchmark' | |
include Benchmark | |
class A | |
def foo(a, b, c) | |
1 | |
end | |
end |
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 Upstream | |
module Streamer | |
def self.included(receiver) | |
receiver.extend ExtensionMethods | |
end | |
module ExtensionMethods | |
def streamable! | |
self.send :include, InstanceMethods |
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
MAC OS X: | |
*** ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin9.7.0] | |
user system total real | |
Symbol#to_proc 97.820000 26.180000 124.000000 (128.542748) | |
*** ruby 1.9.1p243 (2009-07-16 revision 24175) [i686-darwin9.7.0] |
OlderNewer