Skip to content

Instantly share code, notes, and snippets.

View willwhite's full-sized avatar

Will White willwhite

View GitHub Profile
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)
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'
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
<item>
<title>TileMill 0.5.0</title>
<sparkle:releaseNotesLink>http://tilemill.com/platforms/osx/changelog.html</sparkle:releaseNotesLink>
<pubDate>Wed, 24 Aug 2011 17:27:42 -0400</pubDate>
<enclosure url="https://github.com/downloads/mapbox/tilemill/TileMill-0.5.0.zip" sparkle:version="2.0" length="75302497" type="application/octet-stream" sparkle:dsaSignature="MTlkYjExMTdiMDllMGZkMGVjNjE2MjhlYjBiOTY4ZjQxNWNlMzBiMgo="/>
</item>
</channel>
</rss>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" background-color="#b8dee6">
<Style name="world" filter-mode="first">
<Rule>
<PolygonSymbolizer fill="#ffffff" />
</Rule>
</Style>
willwhite ~: curl -I http://{a,b,c,d}.tiles.mapbox.com/crossdomain.xml
HTTP/1.0 200 OK
Access-Control-Allow-Methods: GET
Access-Control-Allow-Origin: *
Content-Type: text/x-cross-domain-policy; charset=utf-8
Date: Sat, 10 Sep 2011 22:21:41 GMT
Server: nginx/0.7.65
X-Powered-By: Express
Content-Length: 251
Age: 4
@willwhite
willwhite / index.html
Created October 8, 2011 19:59
Modest Maps layer switcher demo
<html>
<head>
<!-- NOTE: Do not use these URLs in production. If they ever change your site will break.
Instead, download the files to your web server and host them there. -->
<script src='https://raw.github.com/mapbox/wax/v3.0.8/ext/modestmaps.min.js' type='text/javascript'></script>
<script src='https://raw.github.com/mapbox/wax/v3.0.8/dist/wax.mm.js' type='text/javascript'></script>
<script src='http://code.jquery.com/jquery-1.6.4.min.js' type='text/javascript'></script>
</head>
<body>
<h3>Choose a layer</h3>
--- texas.html 2011-10-27 10:08:49.000000000 -0400
+++ text.html 2011-10-26 17:02:57.000000000 -0400
@@ -34,7 +34,6 @@
tilejson.center[0]),
tilejson.center[2] - 3);
wax.mm.zoomer(map, tilejson).appendTo(map.parent);
- wax.mm.interaction(map, tilejson);
interaction = wax.mm.interaction(map, tilejson);
} else {
// We used the TileJSON to configure the map.
--- texas.html 2011-10-27 10:10:29.000000000 -0400
+++ demo.html 2011-10-26 17:02:57.000000000 -0400
@@ -19,6 +19,7 @@
<script>
var mm = com.modestmaps;
var map;
+ var interaction;
// Each time a layer is clicked, we request the TileJSON from
// MapBox Hosting and use that to configure the map with `map.setProvider()`.
$('li a').click(function() {