Skip to content

Instantly share code, notes, and snippets.

View ShaneCurcuru's full-sized avatar
😻
Petting our Siamese cats

Shane Curcuru ShaneCurcuru

😻
Petting our Siamese cats
View GitHub Profile
require 'nokogiri'
require 'open-uri'
# Get a Nokogiri::HTML:Document for the page we're interested in...
doc = Nokogiri::HTML(open('http://www.google.com/search?q=tenderlove'))
# Do funky things with it using Nokogiri::XML::Node methods...
####
@planetoftheweb
planetoftheweb / absoluteHeaders.html
Created April 1, 2014 16:37
Reveal.js Presentation with custom headers absolutely positioned to right and left.
<!doctype html>
<html lang="en">
<head>
<title>reveal.js - The HTML Presentation Framework</title>
<meta charset="utf-8">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.min.css">