Skip to content

Instantly share code, notes, and snippets.

View codegordi's full-sized avatar

C M Gutierrez codegordi

View GitHub Profile
# Install Bash 4 using homebrew
brew install bash
# Or build it from source...
curl -O http://ftp.gnu.org/gnu/bash/bash-4.2.tar.gz
tar xzf bash-4.2.tar.gz
cd bash-4.2
./configure --prefix=/usr/local/bin && make && sudo make install
# Add the new shell to the list of legit shells
@codegordi
codegordi / filegdb2shp
Last active August 29, 2015 14:03 — forked from gislars/filegdb2shp
1) Get the FileGDB API http://www.esri.com/apps/products/download/
2) Extract it somewhere on your system and remember the path :)
3) Do:
> mkdir build #directory where we are playing around
> cd build
> git clone https://github.com/OSGeo/gdal.git
> cd gdal
> ./configure --with-fgdb=/path/to/your/FileGDB_API
@codegordi
codegordi / srapeshell.R
Created September 27, 2012 16:53 — forked from abelsonlive/srapeshell.R
# best practices for web scraping in R // ldply
# best practices for web scraping in R #
# function should be used with ldply
# eg:
ldply(urls, scrape)
# add a try to ignore broken links/ unresponsive pages
# eg: