View iterm_panes_setup.scpt
tell application "iTerm2"
tell current window
tell current session
-- main pane
set name to "main"
set webserver to (split vertically with profile "Light")
write text "cd ~/projects/project_name/"
write text "workon project_name"
end tell
tell webserver
View _README.md

Keyboard shortcuts for QGIS. These have been tested on a Mac, but should also work on Windows.

Open "Settings" -> "Configure Shortcuts..." menu to see full list.

Shortcut Action
Shift + + i Identify features tool
Shift + + h Hide all layers
Shift + + u Show all layers
Shift + + h Zoom fit current layer
View orleans-voting-precincts.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View _README.md
ffmpeg -i input.avi output.mp4
View _README.md

Work in progress.

Installation and setup

Open your Mac's "Terminal" app.

Xcode

Install the Xcode command line tools for your Mac. Copy and paste this line into your Terminal window and hit Enter.

View _README.md
View main.sh
#!/bin/bash
ps -ef | grep -i 'webdriver' | awk '{print $2}' | xargs kill
View _README.md

jq cheatsheet

Docs: https://stedolan.github.io/jq/

Download sample JSON data.

curl \
  "https://api.github.com/gists?access_token=$OAUTH_TOKEN" \
  > gists.json
View _README.md
View Makefile
# Default Makefile
# Save as ~/.Makefile or similar and use as starting point for new Makefiles.
PROJECT_DIR=`pwd`
# Keep intermediate files
.SECONDARY:
.PHONY: help