Skip to content

Instantly share code, notes, and snippets.

View QualityMeasurement's full-sized avatar
💭
"...The stronger the wind, the stronger the trees."

David Balkcom QualityMeasurement

💭
"...The stronger the wind, the stronger the trees."
View GitHub Profile
@zxexz
zxexz / Dockerfile-eCRNow
Created May 15, 2020 13:22
eCR Now Docker
FROM maven:3.6.3-jdk-8
RUN apt update \
&& apt install -y git \
&& curl -sL https://deb.nodesource.com/setup_12.x | bash \
&& apt install -y nodejs
RUN git clone https://github.com/drajer-health/eCRNow.git
WORKDIR eCRNow/
COPY eCRFiles/application.properties src/main/resources/application.properties
COPY eCRFiles/config.js frontend/public/config.js
RUN sed -i s/newJsonParser/newXmlParser/g src/main/java/com/drajer/ecrapp/config/SpringConfiguration.java
@afrandsen
afrandsen / AKF_Dark.reg
Created August 12, 2019 16:32
SAS 9.4 Enhanced Editor Custom Theme
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\SAS Institute Inc.\Enhanced Editor\9.4\Editor Settings\.sas\Schemes\AKF_Dark]
"FontCharSetEx"=dword:ffffffff
"FontName"="Lucida Console"
"FontSize"=dword:0000000a
[HKEY_CURRENT_USER\Software\SAS Institute Inc.\Enhanced Editor\9.4\Editor Settings\.sas\Schemes\AKF_Dark\Elements]
[HKEY_CURRENT_USER\Software\SAS Institute Inc.\Enhanced Editor\9.4\Editor Settings\.sas\Schemes\AKF_Dark\Elements\code]
library(tidyverse)
airs <- read.csv('C:/Users/Ethan/Documents/Github/tidytuesday/data/week19_airline_safety.csv')
changingtimes <- airs %>% filter(type_of_event == "fatalities") %>%
mutate(n_events = n_events/avail_seat_km_per_week) %>%
select(airline, year_range,n_events) %>%
spread(year_range, n_events) %>%
mutate(change = `00_14` - `85_99`) %>%
arrange(desc(change),`00_14`) %>%
mutate(order = 1:56)
mpg cylinders displacement horsepower weight acceleration model_year origin name
18 8 307 130 3504 12 70 1 chevrolet chevelle malibu
15 8 350 165 3693 11.5 70 1 buick skylark 320
18 8 318 150 3436 11 70 1 plymouth satellite
16 8 304 150 3433 12 70 1 amc rebel sst
17 8 302 140 3449 10.5 70 1 ford torino
15 8 429 198 4341 10 70 1 ford galaxie 500
14 8 454 220 4354 9 70 1 chevrolet impala
14 8 440 215 4312 8.5 70 1 plymouth fury iii
14 8 455 225 4425 10 70 1 pontiac catalina