Skip to content

Instantly share code, notes, and snippets.

We can make this file beautiful and searchable if this error is corrected: It looks like row 2 should actually have 40 columns, instead of 26. in line 1.
Health Service Area,Hospital County,Operating Certificate Number,Facility Id,Facility Name,Age Group,Zip Code - 3 digits,Gender,Race,Ethnicity,Length of Stay,Admit Day of Week,Type of Admission,Patient Disposition,Discharge Year,Discharge Day of Week,CCS Diagnosis Code,CCS Diagnosis Description,CCS Procedure Code,CCS Procedure Description,APR DRG Code,APR DRG Description,APR MDC Code,APR MDC Description,APR Severity of Illness Code,APR Severity of Illness Description,APR Risk of Mortality,APR Medical Surgical Description,Payment Typology 1,Payment Typology 2,Payment Typology 3,Attending Provider License Number,Operating Provider License Number,Other Provider License Number,Birth Weight,Abortion Edit Indicator,Emergency Department Indicator,Total Charges,Total Costs,Claim Id
Western NY,Allegany,226700,37,Cuba Memorial Hospital Inc,30 to 49,147,F,White,Not Span/Hispanic,4,THU,Elective,Home or Self Care,2012,MON,122,PNEUMONIA,0,NO PROC,139,OTHER PNEUMONIA,4,Diseases and Disorders of the Respiratory System,1,Mino

Learn IDE Changelog

=====================

1.4

  1. Scrolling slowed down to reasonable speed
  2. Import files by right clicking on a directory in the file tree and selecting 'Import File'
  3. Open HTML files in a browser by right clicking on them in the file tree and selecting 'Open in Browser'
  4. Bug fix: New windows are now sized correctly after using a popped-out terminal
  5. Bug fix: Font size adjusts independently in the terminal on Mac

Basic Ubuntu Setup

Note: Need a user with sudo access

  1. sudo groupadd npm
  2. sudo usermod -a -G npm,staff $USER
  3. sudo apt-get update
  4. sudo apt-get upgrade
  5. sudo apt-get dist-upgrade (this one is optional)
  6. sudo apt-get -y install curl postgresql libpq-dev default-jre build-essential phantomjs nodejs
@loganhasson
loganhasson / OpenSimplexNoise.java
Created November 1, 2015 22:26 — forked from KdotJPG/OpenSimplex2S.java
Visually axis-decorrelated coherent noise algorithm based on the Simplectic honeycomb.
/*
* OpenSimplex Noise in Java.
* by Kurt Spencer
*
* v1.1 (October 5, 2014)
* - Added 2D and 4D implementations.
* - Proper gradient sets for all dimensions, from a
* dimensionally-generalizable scheme with an actual
* rhyme and reason behind it.
* - Removed default permutation array in favor of
@loganhasson
loganhasson / run_length_encoder.ex
Created October 25, 2015 05:45 — forked from benjamintanweihao/run_length_encoder.ex
Elixir Quiz #2: Run Length Encoding
# Given a string of uppercase characters in the range A-Z,
# replace runs of sequential characters with a single
# instance of that value preceded by the number of items
# in the run.
defmodule RunLengthEncoder do
def encode(string) do
encode_aux(String.codepoints(string), [])
end

Keybase proof

I hereby claim:

  • I am loganhasson on github.
  • I am loganhasson (https://keybase.io/loganhasson) on keybase.
  • I have a public key whose fingerprint is 6A0B F29C A824 754E 2542 169B FB26 8E87 519C 92DA

To claim this, I am signing this object:

@loganhasson
loganhasson / cuke.sh
Created May 18, 2015 14:33
run an individual cucumber test
#!/bin/bash
# A function to run a specific cucumber feature test
# USE: cuke path-to-feature:line
function cuke () {
if [ -n "$1" ]; then
cucumber --require features $1
else
echo 'USE: cuke path-to-feature:line'
def metro_card(init)
(5.50..60.00).step(0.05).map {|v| v.round(2) if (init + (v*1.11).round(2)) % 2.75 == 0}.compact
end
;;;; Two very similar versions of fizzbuzz
;;; Will break if n is not a number
(defun fizzbuzz (n)
(let ((x (read-from-string n)))
(cond
((eq (mod x 15) 0)
"FizzBuzz"
)
((eq (mod x 5) 0)
@loganhasson
loganhasson / tvtimein.md
Last active August 29, 2015 14:17
TV Time-In Bookmarklet for NCAA

TV Time-In

Get rid of the annoying TV Time-Out block so you can switch games whenever you want on NCAA March Madness Live.

Step 1

Drag this link up to your bookmarks bar: TV Time-In

Step 2