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
@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.