Skip to content

Instantly share code, notes, and snippets.

Alex Levine a17levine

Block or report user

Report or block a17levine

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View kubernetes-helm.rb
class KubernetesHelm < Formula
desc "The Kubernetes package manager"
homepage ""
url "",
:tag => "v2.12.1",
:revision => "02a47c7249b1fc6d8fd3b94e6b4babf9d818144e"
head ""
bottle do
cellar :any_skip_relocation
a17levine /
Last active Aug 29, 2015
D3 Talk at Texas State - Nov 5

d3.js // tx state

Nov 5, 2014

Slides link: Slides here

Screencast link: Coming soon

Download your playground

a17levine / pixel_sorter_says.rb
Last active Jul 30, 2016
Pixel Sorter Says
View pixel_sorter_says.rb
require 'open-uri'
require 'nokogiri'
def generate_pixel_sorter_saying
random_page_number_between_one_and_forty = rand(1 .. 40)
# load the quote_page
quote_page = Nokogiri::HTML(open("{random_page_number_between_one_and_forty}.html"))
View rps.html
<!DOCTYPE html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Rock Paper Scissors</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
You can’t perform that action at this time.