Skip to content

Instantly share code, notes, and snippets.

Coleman McCormick colemanm

Block or report user

Report or block colemanm

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View most-remote-buildings.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View move-photos.rb
#!/usr/bin/env ruby
list = File.read(ARGV[0])
dir = ARGV[1]
list.each_line do |file|
file.chomp!
# puts "cp #{file}.jpg #{dir}"
`cp #{file}.jpg #{dir}`
end
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@colemanm
colemanm / google-sheets-geocode.js
Last active May 24, 2018
Google Sheets geocoder
View google-sheets-geocode.js
function geocodeSelectedCells() {
var sheet = SpreadsheetApp.getActiveSheet();
var cells = sheet.getActiveRange();
// Must have selected 3 columns (Location, Lat, Lng).
// Must have selected at least 1 row.
if (cells.getNumColumns() != 3) {
Logger.log("Must select the Location, Lat, Lng columns.");
return;
View record.create-parsed.json
{
id: "8faf0917-1987-4ac6-bcc7-4fbf71d191f3",
type: "record.create",
owner_id: "00053caf-4b6e-4c86-88b6-64695895dffe",
data: {
status: null,
version: 1,
id: "7553fd44-78bb-41eb-a453-8b301ae5e52e",
form_id: "295eda4a-7795-4881-9f62-085a930b356e",
project_id: null,
View shore_acres_circuit.json
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@colemanm
colemanm / dunedin_sail.geojson
Last active Dec 25, 2015
Sailing in Dunedin
View dunedin_sail.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View gdal_configure.sh
./configure \
--with-local=yes \
--prefix=/Users/coleman/local \
--with-threads \
--with-libtool \
--with-libtiff=internal \
--with-geotiff=internal \
--with-pcraster=internal \
--with-pcidsk=internal \
--with-bsb \
View map.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
You can’t perform that action at this time.