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
# download the shapefiles and parcel data, merge it all together, and dump it into a database | |
mkdir tmp && \ | |
curl -L "https://www.stlouis-mo.gov/data/upload/data-files/prcl_shape.zip" -o tmp/prcl.zip && \ | |
cd tmp && \ | |
unzip prcl.zip && \ | |
curl -LO "https://www.stlouis-mo.gov/data/upload/data-files/par.zip" && \ | |
unzip par.zip && \ | |
mv par.dbf prcl.dbf && \ | |
ogr2ogr -f SQLite prcl_raw.db prcl.shp -t_srs EPSG:4326 |
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
// MarkAsRead | |
// v0.1 | |
// Copyright (c) 2008, Wayne Burkett | |
// Released under the GPL license | |
// http://www.gnu.org/copyleft/gpl.html | |
// ==UserScript== | |
// @name MarkAsRead | |
// @namespace http://dionidium.com/projects/greasemonkey/ | |
// @description Mark previously-read Hacker News comments |
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
# Usage: ./xcode_sdk_link.sh /Applications/Xcode-<old_version>.app | |
platforms_path="$1/Contents/Developer/Platforms"; | |
if [ -d $platforms_path ]; then | |
for platform in `ls $platforms_path` | |
do | |
sudo ln -sf $platforms_path/$platform/Developer/SDKs/* $(xcode-select --print-path)/Platforms/$platform/Developer/SDKs; | |
done; | |
fi; |
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
// hnsort | |
// v0.3 | |
// Copyright (c) 2009, Wayne Burkett | |
// Released under the GPL license | |
// http://www.gnu.org/copyleft/gpl.html | |
// ==UserScript== | |
// @name hnsort | |
// @namespace http://wayneburkett.com | |
// @description Sort articles on the Hacker News homepage |
NewerOlder