Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env ruby
require 'rubygems'
require 'twitter'
require 'json'
require 'faraday'
# things you must configure
PATH_TO_DROPBOX = "/PATH_TO_YOUR_DROPBOX/tweets/" # you must create this folder
TWITTER_USER = "YOUR_USERNAME"
@jqtrde
jqtrde / sketch-shortcuts.md
Created July 14, 2014 13:44
Sketch Keyboard Shortcuts
  • Zoom
    • CMD 0 100%
    • CMD 1 Entire project
    • CMD 2 Zoom to selected object
  • Hide/Show Sidebars
    • CMD ALT 1 Hide left sidebar
    • CMD ALT 2 Hide right ridebar
    • CMD ALT 3 Hide both
    • CMD . Presentation mode
  • CTRL R Ruler
@jqtrde
jqtrde / gist:c3278bdbf9722b502914
Created July 14, 2014 12:36
2015 Bangor paved streets
Bald Mt. (Moosehead to Finson)
Bolling Drive (Ohio Street to Griffin)
Bowdoin (Seventh to Vernon)
Boyd (York to Hancock)
Cedar (Sanford to Third)
Central (Stream to Hammond)
Columbia (Hammond to Union)
Darling Park (Grandview to dead end)
Dartmouth (Juniper to Mt. Hope)
Davis (Union to Ohio)
<!DOCTYPE html>
<meta charset="utf-8">
<style>
svg{
background:#2379d5;
}
.texto{
font-size:13px;
}
#######################################################################
###BASH FOR PROCESSING LANDSAT 8 (8-BIT CONVERSION NEEDED AND INCLUDED)
########################################################################
###MAKE SURE IMAGERY ZIP FILE IS IN L8_IMAGERY FOLDER ON DESKTOP
###THIS SPECIFIC COLOR TWEAKING WAS DESIGNED FOR BAIJI IRAQ AND THEREFORE
###WILL BEST FIT DESERT REGIONS!
Folder="Baiji_Jun18"
@jqtrde
jqtrde / cleaned.csv
Last active July 29, 2018 01:28
A (shitty) way to transform a list of coordinates in UTM to Long/Lat, using gdaltransform.
longitude latitude
-67.5667647785632 44.9266200808726
-67.5743171887273 44.9225196819941
-67.4990497512917 44.9318714003755
-67.5030556021784 44.9347506234824
-67.5786140266091 44.9183512942229
-67.6303354677011 44.9853731325686
-67.5162499184765 44.9661867740563
-67.5100731884277 44.9701572281092
-68.069497177844 44.8405511153813
@jqtrde
jqtrde / Makefile
Last active August 29, 2015 14:02
How to get watchman and make to play together.
all: \
i.geojson
# create geojson from csv
i.geojson: i.csv
csv2geojson $< > $@
watch:
watchman watch $(shell pwd)
watchman -- trigger $(shell pwd) rebuild '*.csv' -- python $(shell pwd)/make.py
@jqtrde
jqtrde / bwc-set-strats.md
Last active August 29, 2015 14:01
set-strats.md
  • 3 Tier
  • Tower
  • Tech Plant
    • Elevator Breach
    • Backleg jump
    • Galdrop
    • Set grenades
  • Biolab
    • Stripper line
  • LA climb

Merge conflict workflow

  • 'git mergetool' will open Kaleidoscope
  • Do your thing
  • If the merge is junk, use 'git merge --abort' to start over.
  • If you realized your mistake after you committed the change, roll back with 'git reset --hard `