Skip to content

Instantly share code, notes, and snippets.

View heathdrobertson's full-sized avatar
🏠
FIRE TAC 1

Heath Robertson heathdrobertson

🏠
FIRE TAC 1
View GitHub Profile
@heathdrobertson
heathdrobertson / create.nix
Last active November 14, 2019 03:15
Setting up a Jekyll Static Website for GitHub Pages.
with import <nixpkgs> {};
stdenv.mkDerivation {
name = "base-jekyll-builder";
buildInputs = [
ruby
jekyll
nodejs
];
@heathdrobertson
heathdrobertson / Dockerfile
Last active November 13, 2019 21:59
iHaskell Jupyter Lab Docker Image Build
```Dockerfile
FROM fpco/stack-build:lts-14.7
# Install all necessary Ubuntu packages
RUN apt-get update && apt-get install -y python3-pip libgmp-dev libmagic-dev libtinfo-dev libzmq3-dev libcairo2-dev libpango1.0-dev libblas-dev liblapack-dev gcc g++ nodejs && \
rm -rf /var/lib/apt/lists/*
# Install Jupyter notebook
RUN pip3 install -U jupyterlab
@heathdrobertson
heathdrobertson / python.nix
Last active November 13, 2019 22:04
A NixOs Docker Container Build for JupyterLab
# see https://nixos.org/nixos/packages.html to search for more
with import <nixpkgs> {};
# with pkgs;
let
my-python-packages = python-packages: with python-packages; [
jupyterlab
pandas
numpy
@heathdrobertson
heathdrobertson / currency_design.md
Last active February 14, 2024 02:44
Currency Design Master Class
@heathdrobertson
heathdrobertson / EMA_Ribbon.md
Last active October 26, 2023 04:14
Tradingview - Pine Script - Exponential Moving Average Ribbon

Pine Script (Tradingview)

EMA Ribbon

//@version=3
study(title="Exponential Moving Average Ribbon", shorttitle="EMA", overlay=true)

src = input(title="Source", type=source, defval=close)
// srcno = input(close, title="Source None", scale=scale.none)
// https://www.tradingcode.net/tradingview/indicator-settings/scale-indicator/