Skip to content

Instantly share code, notes, and snippets.

View brsolomon-deloitte's full-sized avatar

Brad Solomon brsolomon-deloitte

View GitHub Profile
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< REDACTED:fhir-server >-------------------
[INFO] Building NIH REDACTED REDACTED FHIR Server 1.0.0-alpha-0
[INFO] from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ fhir-server ---
[INFO] Deleting /Users/REDACTED/fhir-server/target
[INFO]
[INFO] ------------< test:hapi-fhirstarters-rest-server-skeleton >-------------
[INFO] Building HAPI FHIR Sample RESTful Server 5.0.0
[INFO] from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:3.3:compile (default-compile)'
[WARNING] Parameter 'parameters' is unknown for plugin 'maven-compiler-plugin:3.3:testCompile (default-testCompile)'
[INFO]
[INFO] --- clean:3.2.0:clean (default-clean) @ hapi-fhirstarters-rest-server-skeleton ---
[INFO] Deleting /REDACTEDdev/REDACTED/hapi-fhir-overlay-mvce/target
[INFO]
rpm --import https://packages.elastic.co/GPG-KEY-elasticsearch
cat << EOF > /etc/yum.repos.d/logstash.repo
[elastic-7.x]
name=Elastic repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
net.core.somaxconn = 1024
net.core.netdev_max_backlog = 5000
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
net.ipv4.tcp_wmem = 4096 12582912 16777216
net.ipv4.tcp_rmem = 4096 12582912 16777216
net.ipv4.tcp_max_syn_backlog = 8096
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_tw_reuse = 1
net.ipv4.ip_local_port_range = 10240 65535
@brsolomon-deloitte
brsolomon-deloitte / py101-pt2-data-analysis.ipynb
Created September 22, 2021 20:01
Python 101 - Pt 2 - Python for data analysis
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@brsolomon-deloitte
brsolomon-deloitte / py101-pt1-fundamentals.ipynb
Created September 22, 2021 19:56
Python 101 - Pt 1 - Python fundamentals
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
movie_income = {
"a": 40,
"b": 50,
"c": 30,
"d": 70,
"e": 50,
"f": 10,
}
max_value = -1
@brsolomon-deloitte
brsolomon-deloitte / install-docker-ubuntu.sh
Last active September 7, 2021 15:59
Install Docker + Docker Compose on Ubuntu 20.04
#!/bin/bash
sudo apt-get update -y
sudo apt-get full-upgrade -y
sudo reboot
sudo apt-get remove -y docker docker-engine docker.io containerd runc || true
sudo apt-get install -y --no-install-recommends \
adduser \
apt-transport-https \
ca-certificates \
@brsolomon-deloitte
brsolomon-deloitte / ubuntu_repository.md
Last active August 5, 2021 20:26
Structure of Ubuntu repository

Where to follow along: visit

http://us.archive.ubuntu.com/ubuntu/

in your browser. (Replace us with your country code if needed.)

(1) http://us.archive.ubuntu.com/
#!/usr/bin/env bash
########################
# Install Apache Kafka #
########################
set -eux
apt-get update -y
apt-get install -y --no-install-recommends \