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
Already downloaded: /Library/Caches/Homebrew/python-2.7.3-boxen2.tar.bz2 | |
==> Downloading https://gist.github.com/raw/4349132/25662c6b382315b5db67bf949773d76471bbcee7/python-nfs-shutil.diff | |
==> Patching | |
patching file Lib/shutil.py | |
patching file Lib/test/test_shutil.py | |
patching file Modules/errnomodule.c | |
==> ./configure --prefix=/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2 --enable-ipv6 --datarootdir=/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/share --datadir=/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/share --enable-framework=/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/Frameworks --without-gcc CFLAGS=-I/opt/boxen/homebrew/include -I/opt/boxen/homebrew/opt/sqlite/include LDFLAGS=-L/opt/boxen/homebrew/lib -L/opt/boxen/homebrew/opt/sqlite/lib MACOSX_DEPLOYMENT_TARGET=10.9 | |
==> make | |
==> make install PYTHONAPPSDIR=/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2 | |
==> make frameworkinstallextras PYTHONAPPSDIR=/opt/boxen/homebrew/Cellar/python/2.7.3-boxen2/share/python |
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
oldgaryf-laptop:repo torreys$ ARCHFLAGS=-Wno-error=unused-command-line-argument-hard-error-in-future script/boxen --no-fde | |
Notice: Compiled catalog for laptop.dyn.com in environment production in 2.29 seconds | |
Notice: /Stage[main]/Ruby/Ruby::Plugin[ruby-build]/Repository[/opt/boxen/rbenv/plugins/ruby-build]/ensure: ensure changed '7710db5777bf8350176122334433f78fbb350c3b' to 'v20140408' | |
Notice: /Stage[main]/Gcc/Homebrew::Tap[homebrew/versions]/Homebrew_tap[homebrew/versions]/ensure: created | |
Error: /Stage[main]/Homebrew::Repo/Homebrew_repo[/opt/boxen/homebrew]: Could not evaluate: undefined method `exitstatus' for "e07584e3fbdc88327bafe23b9c40c904d0fff0a1\n":String | |
Notice: /Stage[main]/Nginx/Package[boxen/brews/nginx]: Dependency Homebrew_repo[/opt/boxen/homebrew] has failures: true | |
Warning: /Stage[main]/Nginx/Package[boxen/brews/nginx]: Skipping because of failed dependencies | |
Notice: /Stage[main]/Nginx/Service[dev.nginx]: Dependency Homebrew_repo[/opt/boxen/homebrew] has failures: true | |
Warning: /Stage[main]/Ng |
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
locale: en_US.UTF-8 | |
password: ubuntu |
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
#!/usr/bin/env ruby | |
require 'benchmark' | |
def normalize(s) | |
s.upcase.gsub(/[^A-Z0-9]/,'') | |
end | |
def equal_if_you_squint_rev1(s1, s2) | |
s1 = normalize(s1) |