Create, deploy, & manage field data collection apps for iPhone, iPad, & Android with the Fulcrum field data collection platform. With our drag-and-drop app designer, create mobile surveys with built-in location, geotagged photos, and full offline support, all to your specifications. Capture exactly what you need in the field.
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
bundle exec rails c | |
u = User.last | |
OR | |
u = User.where(email: 'coleman@notify.com').last | |
User::Notifier.delay.welcome(u) | |
User::Notifier.delay.followup(u) |
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
#!/usr/bin/env ruby | |
# usage: ruby parse_choices.rb api_key > choices.txt | |
require 'rubygems' | |
require 'json' | |
api_key = ARGV[0] | |
json = JSON.parse(`curl -H "X-ApiToken: #{api_key}" https://api.fulcrumapp.com/api/v2/choice_lists`) |
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
for f in *.shp; do ogrinfo -so -al $f | grep "PROJCS" | sed 's/PROJCS\[\"//g' | sed 's/\",//g'; done |
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
CP950 |
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
CP936 |
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
https://gist.github.com/5005259 |
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
# Some good references are: | |
# http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x | |
# http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/ | |
# http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392 | |
# 1. Install PostgreSQL and PostGIS | |
brew install postgis | |
initdb /usr/local/var/postgres | |
pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
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
# First convert BSB to GeoTIFF format using the KAP file | |
gdal_translate -of GTiff 11392_1.KAP 11392_1.tif | |
# Reproject to WGS84 (geodetic) to use in TileMill | |
gdalwarp -t_srs EPSG:4326 11392_1.tif 11392_1_wgs.tif | |
# Then simply add your new `11392_1_wgs.tif` file to TileMill as a new raster layer. |
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
{ | |
"allow_other": false, | |
"choices": [ | |
{ | |
"label": "Yes", | |
"value": "Y" | |
}, | |
{ | |
"label": "No", | |
"value": "N" |