Here be my notes while learining about GIS and web mapping for hastile
Space *
: Search for word under cursorSpace t F
togglesauto-fill-mode
, which enables hard wrappingC-x f
callsset-fill-column
- sets the column to wrap atg q
to format (applies wrapping ifauto-fill-mode
enabled)Space s c
clears search term* e
edit word under cursor and change all in file/display (depending on mode)Space f y
echo and yank filename for current buffer
This file contains hidden or 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
#include <string> | |
#include <mapnik/map.hpp> | |
#include <mapnik/datasource_cache.hpp> | |
#include "vector_tile_processor.hpp" | |
#include "mvt_from_geojson.h" | |
struct _mvtc_return { | |
mvtc_return_code return_code; | |
std::string message; |
This file contains hidden or 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 bash | |
db="$1" | |
out_dir="$2" | |
tables="$(mdb-tables -1 "$db")" | |
echo "$tables" | while read t; do | |
mdb-export "$db" "$t" > "${out_dir}/${t}.csv" | |
done |
This file contains hidden or 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
(ns clj-workshop.exercises) | |
(defn multiple-of | |
[n] | |
#(= 0 (mod % n))) | |
(defn ex1 | |
[] | |
(let [multiple-of-3? (multiple-of 3) | |
multiple-of-5? (multiple-of 5)] |
NewerOlder