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
-(float)compareString:(NSString *)originalString withString:(NSString *)comparisonString | |
{ | |
// Normalize strings | |
[originalString stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; | |
[comparisonString stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; | |
originalString = [originalString lowercaseString]; | |
comparisonString = [comparisonString lowercaseString]; | |
// Step 1 (Steps follow description at http://www.merriampark.com/ld.htm) |
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 'formula' | |
class Hqx < Formula | |
url 'http://hqx.googlecode.com/files/hqx-1.1.tar.gz' | |
homepage 'http://code.google.com/p/hqx/' | |
sha1 'bf08ae10db6cce4d29c84524ec13a3101d31db6b' | |
depends_on 'devil' | |
def install | |
system "./configure", "--disable-debug", "--disable-dependency-tracking", |
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
mbp:local chrisbal$ brew install -v hqx | |
==> Downloading http://hqx.googlecode.com/files/hqx-1.1.tar.gz | |
File already downloaded in /Users/chrisbal/Library/Caches/Homebrew | |
/usr/bin/tar xf /Users/chrisbal/Library/Caches/Homebrew/hqx-1.1.tar.gz | |
==> ./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/hqx/1.1 | |
./configure --disable-debug --disable-dependency-tracking --prefix=/usr/local/Cellar/hqx/1.1 | |
checking for gcc... /usr/bin/llvm-gcc | |
checking whether the C compiler works... yes | |
checking for C compiler default output file name... a.out | |
checking for suffix of executables... |
NewerOlder