Skip to content

Instantly share code, notes, and snippets.

View briandailey's full-sized avatar

Brian Dailey briandailey

View GitHub Profile
@briandailey
briandailey / gist:8718465
Last active August 29, 2015 13:55
Nashville facts & figures
Income per capita http://research.stlouisfed.org/fred2/series/NASH947PCPI
obesity map http://www.tennessean.com/assets/jpg/DN15498243.JPG
Metro planning department (nashville) API WSDL (SOAP)
http://maps.nashville.gov/MPC_Notification/MPC_Notification.asmx
> var s = "this is a string";
undefined
> s.slice(-1);
'g'
> s.substring(-1);
'this is a string'
@briandailey
briandailey / bs.md
Created March 14, 2014 16:16
Canned Response from Corker on Surveilliance

Dear Mr. Dailey,

Thank you for contacting me with your concerns about government surveillance programs and reform proposals, including S. 1631, the FISA Improvements Act and S. 1599, the USA FREEDOM Act. Your input is important to me, and I appreciate the time you took to share your thoughts.

As you know, in June 2013, it was reported that the National Security Agency (NSA) has been collecting metadata on domestic phone calls. Over the next several months, other classified surveillance programs were disclosed. These programs, which operate under federal law and executive, legislative, and judicial oversight, are designed to focus on protecting our nation from foreign threats, including terrorism, not on domestic surveillance.

### Keybase proof
I hereby claim:
* I am briandailey on github.
* I am byeliad (https://keybase.io/byeliad) on keybase.
* I have a public key whose fingerprint is B4BD 23D6 2B00 8DB5 B751 1249 2EDC 81D3 96A7 D441
To claim this, I am signing this object:
@briandailey
briandailey / 2.js
Created April 17, 2014 00:05
learnyounode
// the solution presented
var result = 0
for (var i = 2; i < process.argv.length; i++)
result += Number(process.argv[i])
console.log(result)
// what i wrote
// ignore node and the filename.
@briandailey
briandailey / ideas.md
Last active August 29, 2015 13:59
PyNash Talk Ideas
  • Explicate a standard library module: what it does, how to use it.
  • Graphing & charting tools w/ Python
  • Application deployment techniques
  • Configuration management tools (saltstack, ansible)
  • Soft skills (working with a team, leading a team, learning something new)
  • Explicate a third party library (e.g. sqlalchemy, pyres)

Talk formats:

  • 15 minute segments or single 45 minute discussion
def combined_results(r1, r2, key):
first_keys = [row[key] for row in r1]
[r1.append(row) for row in r2 if row[key] not in first_keys]
return r1
@briandailey
briandailey / marshall.md
Last active August 29, 2015 14:01
marshall one on one
  • Avoid sexist comments.
@briandailey
briandailey / .gitconfig
Created July 29, 2014 16:08
gist alias to get a PR where the sha was introduced.
[alias]
pr = "!f() { git log --merges --ancestry-path --oneline $1..master | grep 'pull request' | tail -n1 | awk '{ print $5 }'; }; f"
@briandailey
briandailey / modeling.md
Created March 23, 2015 15:10
Stratasan Python Modeling

Stratasan is looking for short-term assistance with translation of time series forecasting model from SPSS syntax to Python script for use in our online tool.

Necessary skills:

  • Knowledge of time series forecasting methods – i.e. ARMA, ARIMA, Exponential Smoothing
  • Python data stack (numpy, pandas, statsmodels)
  • SQL experience a plus.
  • Previous experience with SPSS software a plus.

Stratasan is a leading provider of healthcare market intelligence software and services. We assist healthcare decision makers in marketing, planning, business development, and physician relations.