Skip to content

Instantly share code, notes, and snippets.

View caseycrites's full-sized avatar

Casey W Crites caseycrites

  • San Francisco, CA
View GitHub Profile
crite-mbp:~ caseycrites$ brew install berkeley-db
==> Downloading http://download.oracle.com/berkeley-db/db-4.8.24.tar.gz
File already downloaded and cached to /Users/caseycrites/Library/Caches/Homebrew
==> ../dist/configure --disable-debug --prefix=/usr/local/Cellar/berkeley-db/4.8.24 --
==> make install
./libtool --mode=compile /usr/bin/cc -c -I. -I../dist/.. -march=core2 -w -pipe -O3 ../dist/../mutex/mut_tas.c
libtool: compile: /usr/bin/cc -c -I. -I../dist/.. -march=core2 -w -pipe -O3 ../dist/../mutex/mut_tas.c -fno-common -DPIC -o .libs/mut_tas.o
libtool: compile: /usr/bin/cc -c -I. -I../dist/.. -march=core2 -w -pipe -O3 ../dist/../mutex/mut_tas.c -o mut_tas.o >/dev/null 2>&1
./libtool --mode=compile /usr/bin/cc -c -I. -I../dist/.. -march=core2 -w -pipe -O3 ../dist/../btree/bt_compare.c
libtool: compile: /usr/bin/cc -c -I. -I../dist/.. -march=core2 -w -pipe -O3 ../dist/../btree/bt_compare.c -fno-common -DPIC -o .libs/bt_compare.o
==> ../dist/configure --disable-debug --prefix=/usr/local/Cellar/berkeley-db/4.8.24 --mandir=/usr/local/Cellar/berkeley-db/4.8.24/share/man --enable-cxx --enable-java
../dist/configure --disable-debug --prefix=/usr/local/Cellar/berkeley-db/4.8.24 --mandir=/usr/local/Cellar/berkeley-db/4.8.24/share/man --enable-cxx --enable-java
checking build system type... i386-apple-darwin10.3.0
checking host system type... i386-apple-darwin10.3.0
checking if building in the top-level or dist directories... no
checking if --disable-cryptography option specified... no
checking if --disable-hash option specified... no
checking if --disable-partition option specified... no
checking if --disable-compression option specified... no
checking if --disable-mutexsupport option specified... no
client.getRecord("com.simplegeo.global.flickr", 12345, callBack);
client.getRecords("com.simplegeo.global.flickr", [12345, 23456, 34567], callBack);
client.getHistory("com.simplegeo.global.flickr", 12345, {"limit": "2"}, callBack);
{
"geometries": [
{
"coordinates": [
-122.472712429,
37.784475341799997
],
"created": 1287455933,
"type": "Point"
},
client.getNearby("com.simplegeo.global.flickr", 37.765850, -122.437094, {"limit": 2, "radius": .5}, callBack);
{
"features": [
{
"created": 1277505367,
"distance": 72.733193441919624,
"geometry": {
"coordinates": [
-122.437850008,
37.766115861599999
],
client.getNearbyGeohash("com.simplegeo.global.flickr", "9q8y", {"limit": 2, "radius": .5}, callBack);
client.getNearbyAddress(37.765850, -122.437094, callBack);