Skip to content

Instantly share code, notes, and snippets.

View AriLFrankel's full-sized avatar
💭
:)

Ari Leo Frankel AriLFrankel

💭
:)
  • Austin, TX
View GitHub Profile

Keybase proof

I hereby claim:

  • I am arilfrankel on github.
  • I am arilfrankel (https://keybase.io/arilfrankel) on keybase.
  • I have a public key ASAkvZ_SYCMGv1IOfSK2RLvO7ABnHafsRg5bO1euqTHrCAo

To claim this, I am signing this object:

@AriLFrankel
AriLFrankel / main.js
Last active September 16, 2018 19:18
monte carlo estimation of Pi
// a random number that includes both min and max
const trueRandom = (min = 0, max) => Math.random() * (max + Number.MIN_VALUE) + min;
// a class for tracking running average
const runningProportion = function(num = 1, den = 1) {
// numerator
this.num = num;
// denominator
this.den = den;
@AriLFrankel
AriLFrankel / googleSheetsAutoSort.js
Created January 29, 2018 16:51
an auto sort function for Google Sheets
/*
* This is a custom sheet that can be used to autosort
* a specified range in Google Sheets.
* To add this script to your Google Sheet, simply:
*
* Click Tools > Script Editor
*
* Copy this file in to the script file.
*
* Configure the script with the options below.