Skip to content

Instantly share code, notes, and snippets.

Avatar

Alex Levine a17levine

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

d3.js // tx state

Nov 5, 2014

Slides link: Slides here

Screencast link: Coming soon

Download your playground

@a17levine
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("http://www.brainyquote.com/quotes/topics/topic_art#{random_page_number_between_one_and_forty}.html"))
View rps.html
<!DOCTYPE html>
<html>
<head>
<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">
</head>
<body>
You can’t perform that action at this time.