Skip to content

Instantly share code, notes, and snippets.

View Foxtrod89's full-sized avatar
🏠
Working from home

Alex Foxtrod89

🏠
Working from home
View GitHub Profile

Raspberry Pi VPN Router

This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.

Requirements

Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.

Use the Raspberry Pi Configuration tool or sudo raspi-config to:

@Foxtrod89
Foxtrod89 / README.md
Created March 4, 2019 06:27 — forked from magnetikonline/README.md
Nginx embedded variables.

What would you need:

Hardware requirements

@Foxtrod89
Foxtrod89 / ivCalculation.R
Created August 6, 2021 16:06 — forked from addiversitas/ivCalculation.R
iv calculation for APPL calls and puts
#generalized black scholes merton model
gBSM <- function(S, X, sigma, r, q, ttm, type){
#S = stock price
#X = strike price
#sigma = volatility
#r = risk free interest rate
#q = dividend yield
#ttm = time to maturity in days
#type = option type
@Foxtrod89
Foxtrod89 / ivFullCode.R
Created August 6, 2021 16:10 — forked from addiversitas/ivFullCode.R
full code example for implied volatility surface
#load packages
library(quantmod)
library(rvest)
library(reshape2)
library(plotly)
library(akima)
#get underlying stock info and last trade date
symbol <- "AAPL"
priceInfo <- getQuote(symbol)