Skip to content

Instantly share code, notes, and snippets.

Avatar

Ryan M Harrison rmharrison

View GitHub Profile
@rmharrison
rmharrison / 1-submission-consumption.md
Last active Oct 11, 2021
Architectural considerations for FHIR submissions to US Federal Agencies
View 1-submission-consumption.md
Individul Batch Stream
Consumption REST GET Flat file WebHook
WebSub (websockets)
Submission REST POST Flat file WebSub
Message Bus (Apache Kafka)
Message Queue (ActiveMQ, RabbitMQ)
@rmharrison
rmharrison / CustomBashPrompt.png
Last active Jan 3, 2019
Custom bash prompt [<user>@<host>:<path> (git branch)]
@rmharrison
rmharrison / keybase.md
Created Mar 29, 2018
Keybase federation with github
View keybase.md

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

View Add requests to installation requirements
# TinyURL to this script: https://tinyurl.com/gotpandas
# Interactive API: https://anapioficeandfire.com/
# https://raw.githubusercontent.com/joakimskoog/AnApiOfIceAndFire/master/data/characters.json
# https://tinyurl.com/gotchararacters
# Installation
# Requires: python, requests, pandas
# Optional: matplotlib
@rmharrison
rmharrison / .vimrc
Created Jul 12, 2017
Ryan's preferred .vimrc
View .vimrc
set tabstop=2
set shiftwidth=2
set expandtab
au FileType javascript setl sw=2 sts=2 et
au FileType python setl sw=4 sts=4 et
au BufNewFile,BufRead *.less set filetype=css
View VoluntaryBasicIncome_byMemberClass.txt
|-------------------------|----------|---------------|
| Membership class | Benefits | Contributions |
|-------------------------|----------|---------------|
| Adult | Yes | Yes |
| Child | Yes | Yes |
| Suspended | No | Yes |
| Incubating (new member) | No | Yes |
|-------------------------|----------|---------------|
@rmharrison
rmharrison / VoluntaryBasicIncome_byIncome.txt
Last active Jan 27, 2017
VoluntaryBasicIncome_byIncome
View VoluntaryBasicIncome_byIncome.txt
|----------------------|------------|--------------|------------------|--------------------|------------|---------------|
| Individual | Percentile | Gross income | After-tax Income | Contribution (10%) | Benefit | Net |
|----------------------|------------|--------------|------------------|--------------------|------------|---------------|
| Child | 0th | $ 0 | ~$ 0 | $ 20/month | $300/month | +$ 280/month |
| Poverty line | 13th | $ 11,880 | ~$ 10,200 | $ 85 | $300 | +$ 215 |
| Median | 50th | $ 30,000 | ~$ 24,000 | $ 200 | $300 | +$ 90 |
| Mean | 60th | $ 44,500 | ~$ 36,000 | $ 300 | $300 | $ 0 |
| Affluent (Top 10%) | 90th | $110,000 | ~$ 78,600 | $ 650 | $300 | -$ 350 |
| Rich (Top 1%) | 99th | $290,000
View nested_route_no_children.js
### app/router.js
Router.map(function() {
this.route('bacon');
});
## app/templates/bacon.js
<h1>Bacon!</h1>
{{outlet}}
@rmharrison
rmharrison / nested_route_directory_mistake.js
Last active Aug 30, 2016
What's the mistake in the directory structure?
View nested_route_directory_mistake.js
// app/router.js
Router.map(function() {
this.route('bacons', function() {
this.route('bacon', {path: '/:bacon_id'}, function() {
this.route('aiolis', function() {
this.route('aioli', {path: '/:aioli_id'}); // Hipsters rejoice.
});
});
});
});