most of these require logout/restart to take effect
# Enable character repeat on keydown
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a shorter Delay until key repeat| #!/usr/bin/env bash | |
| # many settings from https://raw.githubusercontent.com/mathiasbynens/dotfiles/master/.macos | |
| # many settings from https://raw.githubusercontent.com/thoughtbot/laptop/master/mac | |
| # instructions on finding the default you've changed: https://pawelgrzybek.com/change-macos-user-preferences-via-command-line/ | |
| # previous install notes at: | |
| # https://gist.github.com/llimllib/ee591266e05bd880629a4e7511a61bb3 | |
| # https://gist.github.com/llimllib/e864a92da94ceb1ef0da2e06fd1f8d70 | |
| # https://gist.github.com/llimllib/3fc4fefcfc0152dad8c58201246d8802 | |
| fancy_echo() { |
| #!/bin/env python | |
| import psycopg2 | |
| # Connect to db | |
| dbname = | |
| host = | |
| user = | |
| try: | |
| db = psycopg2.connect(dbname=dbname,host=host,user=user) |
| # QGIS 2.2 won't show 4d geometry (maybe not 3dm or 3dz either but I didn't test). | |
| # If you don't actually need 4d and it's just an artifact of the data when you loaded | |
| # it, use this python snippet to convert it to 2d and get your data showing up in | |
| # QGIS again. Use at your own risk. There is NO ERROR HANDLING HERE! | |
| import psycopg2 | |
| db = psycopg2.connect(host='localhost', port='5432', database='#####',user='#####') | |
| cursor = db.cursor() |
| Puree fruit (5 cups blueberries OR 4 cups watermelon, leaves of 1 spearmint plant) in a blender. | |
| Heat 3/4 cup water, 1/4 cup sugar, and 1 Tablespoon Lemon (blueberry) or lime (watermelon-mint) juice | |
| until sugar is dissolved. | |
| Combine sugar water with fruit puree and chill. | |
| Follow directions for your preferred ice-cream making device (we have the ice-cream attachment for | |
| our Kitchen Aid stand mixer) or freeze in a cake pan and puree again in a blender. |