This file contains 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
setwd("~/rProgramming") | |
files.sources = list.files() | |
sapply(files.sources, source) |
This file contains 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
# How to run | |
# In the folder with these files | |
# sudo python -m SimpleHTTPServer 80 | |
# | |
# Update the ip at the bottom of this file to the output of | |
# hostname -I | |
# This is your ip | |
# | |
# Start debian cd | |
# Press esc on menu |
This file contains 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
# Copy this into your `~/.profile`. | |
# This setup an incredibly ugly hack that recompiles your `PATH` | |
# everytime the prompt is printed. | |
# I need this to inject the nearest `node_modules/.bin` into my | |
# path to make it easy to use the binarys there. | |
# Your normal PATH exports here | |
export PATH=$HOME/bin:$PATH | |
ORIGINAL_PATH=$PATH |
This file contains 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
# United States Postal Service (USPS) abbreviations. | |
abbreviations = [ | |
# https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States#States. | |
"AK", "AL", "AR", "AZ", "CA", "CO", "CT", "DE", "FL", "GA", "HI", "IA", | |
"ID", "IL", "IN", "KS", "KY", "LA", "MA", "MD", "ME", "MI", "MN", "MO", | |
"MS", "MT", "NC", "ND", "NE", "NH", "NJ", "NM", "NV", "NY", "OH", "OK", | |
"OR", "PA", "RI", "SC", "SD", "TN", "TX", "UT", "VA", "VT", "WA", "WI", | |
"WV", "WY", | |
# https://en.wikipedia.org/wiki/List_of_states_and_territories_of_the_United_States#Federal_district. | |
"DC", |