Skip to content

Instantly share code, notes, and snippets.

View benkelly's full-sized avatar
🦄

ben benkelly

🦄
View GitHub Profile
@benkelly
benkelly / covid_improved.rb
Created March 17, 2020 22:12 — forked from donalod/covid_improved.rb
covid_improved.rb
#!/usr/bin/env ruby
# Requires you to install "spark" with ports or homebrew + the below gems.
require "csv"
require 'time'
require 'httparty'
require 'colorize'
require 'tty-progressbar'
@benkelly
benkelly / duffle.rb
Last active November 18, 2019 13:22
class Duffle < Formula
desc "Duffle is the reference implementation of the CNAB specification"
homepage "https://github.com/cnabio/duffle/releases"
url "https://github.com/cnabio/duffle/releases/latest/download/duffle-darwin-amd64"
sha256 "584839c76de74bf92dc387bb3eea8d1b937b0f862cdc8c71de1bfc0f376631dc"
bottle :unneeded
def install
rm_f Dir["bin/*.cmd", "sbin/*.cmd", "libexec/*.cmd", "etc/hadoop/*.cmd"]
@benkelly
benkelly / README.md
Created July 2, 2019 07:57 — forked from steve-jansen/README.md
Stop and start Symantec Endpoint Protection on OS X

This script enables you stop and start Symantec Endpoint Protection on OS X

Installation

sudo curl https://gist.githubusercontent.com/steve-jansen/61a189b6ab961a517f68/raw/sep -o /usr/local/bin/sep
sudo chmod 755 /usr/local/bin/sep
sudo chown root:staff /usr/local/bin/sep
@benkelly
benkelly / hadoop.rb
Last active January 6, 2020 16:41
hadoop@3.1.2 just mabe thes cos homebrew haded updated the formula yet and i'm impatient..
class Hadoop < Formula
desc "Framework for distributed processing of large data sets"
homepage "https://hadoop.apache.org/"
url "https://www.apache.org/dyn/closer.cgi?path=hadoop/common/hadoop-3.1.2/hadoop-3.1.2.tar.gz"
sha256 "1c02ccc60a09c63a48dc4234ffd3aed1b75e5a1f2b49d60927eda114b93dd31a"
bottle :unneeded
depends_on :java => "1.8+"
### Keybase proof
I hereby claim:
* I am benkelly on github.
* I am benkelly (https://keybase.io/benkelly) on keybase.
* I have a public key ASCwYF49Jgb7b8JXeyTaBFkt4YjeWGby9vFx4Lo0lBPz0Ao
To claim this, I am signing this object: