Skip to content

Instantly share code, notes, and snippets.

View rtxanson's full-sized avatar
🥑
upzoning the neighborhood

Ryan rtxanson

🥑
upzoning the neighborhood
View GitHub Profile

Keybase proof

I hereby claim:

  • I am rtxanson on github.
  • I am rtxanson (https://keybase.io/rtxanson) on keybase.
  • I have a public key ASCRsoC5RM65zsIRvniXNIuJLJX6fwIr143Y2MN8irzGsQo

To claim this, I am signing this object:

@rtxanson
rtxanson / .block
Last active September 7, 2018 02:48
Minneapolis Vacant & Boarded Buildings and >$1mil properties
license: gpl-3.0
height: 640
scrolling: no
border: yes
@rtxanson
rtxanson / .block
Last active September 6, 2018 19:54
Minneapolis Million Dollar Mansion District
license: gpl-3.0
height: 734
scrolling: no
border: yes
@rtxanson
rtxanson / leftmerge.py
Created April 3, 2014 19:28
I'm sure there's a bash oneliner for this, but I had no clue how to Google for it. ;)
""" ./leftmerge.py filename filename2 [delimeter]
Example input:
filename contains
talo
sana
kirja
@rtxanson
rtxanson / errors.nginx
Created October 2, 2013 00:39
Nifty way of redirecting to error pages with nginx, using try_files and named locations.
server {
error_page 404 = @notfound;
# You can also connect multiple errors to a location handler.
error_page 500 502 504 = @something_else;
# Try whatever paths, end with @notfound
location / {
try_files $uri $uri.html $uri.etc /index.html @notfound;
@rtxanson
rtxanson / lttoolbox.rb
Last active October 11, 2015 10:37
Mac Brew formula for lttoolbox
require 'formula'
class Lttoolbox < Formula
homepage 'http://wiki.apertium.org/wiki/Lttoolbox'
url 'http://downloads.sourceforge.net/project/apertium/lttoolbox/3.2/lttoolbox-3.2.0.tar.gz'
sha1 'b5fedd442a1ad9dc09abcd84c5e69c7ef923ffc0'
head 'http://apertium.svn.sourceforge.net/svnroot/apertium/trunk/lttoolbox'
depends_on 'libxml2'
@rtxanson
rtxanson / apertium.rb
Created October 6, 2012 17:50
Mac Brew formula for Apertium
require 'formula'
class Apertium < Formula
homepage 'http://wiki.apertium.org/'
url 'http://downloads.sourceforge.net/project/apertium/apertium/3.2/apertium-3.2.0.tar.gz'
sha1 '1e784dcb20cf99215c04c642b62e1ff35ef76dba'
head 'https://apertium.svn.sourceforge.net/svnroot/apertium'
depends_on 'lttoolbox'