Skip to content

Instantly share code, notes, and snippets.

View willwhite's full-sized avatar

Will White willwhite

View GitHub Profile
for i in $(ls lib/input/*input); do install_name_tool -change /usr/local/lib/libmapnik2.dylib; @loader_path/../libmapnik$SONAME.dylib $i; done;
install_name_tool: missing argument(s) to: -change option
Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
-bash: @loader_path/../libmapnik2.dylib: No such file or directory
install_name_tool: missing argument(s) to: -change option
Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
-bash: @loader_path/../libmapnik2.dylib: No such file or directory
install_name_tool: missing argument(s) to: -change option
Usage: install_name_tool [-change old new] ... [-rpath old new] ... [-add_rpath new] ... [-delete_rpath old] ... [-id name] input
-bash: @loader_path/../libmapnik2.dylib: No such file or directory
CXX = 'clang++'
CC = 'clang'
CUSTOM_CXXFLAGS = '-arch i386 -arch x86_64 -mmacosx-version-min=10.6 -isysroot /Developer/SDKs/MacOSX10.6.sdk -isystem osx/sources/include'
CUSTOM_LDFLAGS = '-arch i386 -arch x86_64 -Wl,-search_paths_first -Wl,-syslibroot,/Developer/SDKs/MacOSX10.6.sdk -Losx/sources/lib '
RUNTIME_LINK = 'static'
INPUT_PLUGINS = 'gdal,ogr,postgis,shape,sqlite'
DESTDIR = './osx/sources/'
PATH_INSERT = './osx/sources/bin/'
BOOST_INCLUDES = 'osx/sources/include'
BOOST_LIBS = 'osx/sources/lib'
willwhite ~/src/tilemill: otool -L node_modules/mbtiles/node_modules/zlib/lib/zlib_bindings.node
node_modules/mbtiles/node_modules/zlib/lib/zlib_bindings.node:
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
willwhite ~/src/tilemill: otool -L node_modules/mbtiles/node_modules/zlib/lib/zlib_bindings.node
node_modules/mbtiles/node_modules/zlib/lib/zlib_bindings.node:
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.3)
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.11)
@willwhite
willwhite / disable.sh
Created July 26, 2011 15:49
Low Bandwidth Testing
#!/usr/bin/env sh
sudo ipfw delete 1
Error: Cannot find module 'sphericalmercator'
at Function._resolveFilename (module.js:320:11)
at Function._load (module.js:266:25)
at require (module.js:348:19)
at Object.<anonymous> (/Users/diggersf/src/tilestream-pro/node_modules/tilestream/lib/tileset.js:8:15)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at require (module.js:348:19)
Problem : Order Information
WILLIAM > Order Information
Viquez > Hello WILLIAM_, Thank you for contacting Comcast Live Chat Support. My name is Viquez. Please give me one moment to review your information.
Viquez > Hello, thank you for choosing Comcast! This is the Transfer Department, my name is Yessenia and I will be processing your order. First, I will just need to confirm some basic information from you. Afterwards, I would like to ask you a few questions to make sure we set the transfer of services properly. How are you doing today?
WILLIAM_ > Great, how are you?
Viquez > I am glad to know you are doing great. It is a pleasure having you in chat today.
Viquez > I am great as well thanks for asking William.
Viquez > Just to confirm, you are a current Comcast customer and you would like to transfer your services to your new address. Is that correct?
WILLIAM_ > Yep, that's correct.
Viquez > Excellent! You have reached the right person. It will be my pleasure to help you with your request.
node.js:63
throw e;
^
Error: dlopen(/Users/diggersf/src/tilemill/lib/node/mapnik/_mapnik.node, 1): Library not loaded: /opt/local/lib/libfreetype.6.dylib
Referenced from: /usr/local/lib/libmapnik2.dylib
Reason: image not found
at Module._loadObjectSync (node.js:360:13)
at Module.loadSync (node.js:336:12)
at loadModule (node.js:283:14)
at require (node.js:411:14)
this.RESOLUTIONS = [];
var maxResolution = 156543.03390625;
for(var zoom=0; zoom<=this.MAX_ZOOM_LEVEL; ++zoom) {
this.RESOLUTIONS[zoom] = maxResolution / Math.pow(2, zoom);
}
#world {
polygon-fill:#eee;
}
#crime {
polygon-opacity:0.5;
polygon-fill:#6db075;
[MOD_INDX01>0][MOD_INDX01 < 24599] { polygon-fill:#6db075 }
[MOD_INDX01>24600][MOD_INDX01 < 49199] { polygon-fill:#78b67f }
[MOD_INDX01>49200][MOD_INDX01 < 73799] { polygon-fill:#83bc8a }