Skip to content

Instantly share code, notes, and snippets.

1️⃣ The FinnHub Streaming Data Pipeline

2️⃣ Streamify

  • https://github.com/ankurchavda/streamify
  • 💬 The project will stream events generated from a fake music streaming service (like Spotify) and create a data pipeline that consumes the real-time data
  • 💻 Kafka, Spark Streaming, dbt, Docker, Airflow, Terraform, GCP
#!/bin/bash
# Secure OpenVPN server installer for Debian, Ubuntu, CentOS, Amazon Linux 2, Fedora and Arch Linux
# https://github.com/angristan/openvpn-install
function isRoot () {
if [ "$EUID" -ne 0 ]; then
return 1
fi
}
@jaehyeon-kim
jaehyeon-kim / config
Created June 14, 2020 20:36 — forked from justinpawela/config
AWS CodeCommit Multiple Account Config
# This file is: ~/.ssh/config
# You may have other (non-CodeCommit) SSH credentials stored in this
# config file – in addition to the CodeCommit settings shown below.
# NOTE: Make sure to run [ chmod 600 ~/.ssh/config ] after creating this file!
# Credentials for Account1
Host awscc-account1 # 'awscc-account1' is a name you pick
Hostname git-codecommit.us-east-1.amazonaws.com # This points to CodeCommit in the 'US East' region
library(magrittr)
library(dplyr)
sep <- function(s, delim=',') {
strsplit(s, delim) %>%
unlist() %>%
unique() %>%
paste(collapse=',')
}
library(shiny)
myRadioButtons <- function (inputId, label=NULL, choices = NULL, selected = NULL, inline = FALSE,
width = NULL, choiceNames = NULL, choiceValues = NULL)
{
args <- shiny:::normalizeChoicesArgs(choices, choiceNames, choiceValues)
selected <- shiny:::restoreInput(id = inputId, default = selected)
selected <- if (is.null(selected))
args$choiceValues[[1]]
else as.character(selected)
library(magrittr)
library(dplyr)
library(highcharter)
library(shiny)
path <- 'C:/workspace/waterfall/waterfall.csv'
get_waterfall <- function(path) {
colors <- c("#d35400", "#2980b9", "#2ecc71", "#f1c40f", "#2c3e50", "#7f8c8d")
path <- 'C:/workspace/waterfall/waterfall.csv'
df <- read.csv(path, stringsAsFactors = FALSE)
library(lubridate)
library(rvest)
library(readr)
library(stringr)
library(data.table)
library(dplyr)
library(arules)
############################################################
################# basic utility function ###################
@jaehyeon-kim
jaehyeon-kim / README.md
Created January 22, 2017 22:46
insightTemplate

README is empty

@jaehyeon-kim
jaehyeon-kim / README.md
Created January 22, 2017 22:46
insightTemplate

README is empty

@jaehyeon-kim
jaehyeon-kim / ideas.txt
Created September 12, 2016 03:36
ideas
**** Web Server (UI)
ShinyProxy
https://github.com/openanalytics/shinyproxy
https://github.com/openanalytics/shinyproxy-demo
http://www.shinyproxy.io/
Modularizing Shiny app code - http://shiny.rstudio.com/articles/modules.html
http://stackoverflow.com/questions/25306519/shiny-saving-url-state-subpages-and-tabs