This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Qt < Formula | |
homepage 'http://qt-project.org/' | |
url 'http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-4.8.5.tar.gz' | |
sha1 '745f9ebf091696c0d5403ce691dc28c039d77b9e' | |
bottle do | |
revision 2 | |
sha1 'b361f521d413409c0e4397f2fc597c965ca44e56' => :mountain_lion |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Visualization of SF Crime over last 3 months | |
# Data courtesy of https://data.sfgov.org/Public-Safety/SFPD-Incidents-Previous-Three-Months/tmnf-yvry | |
# Joey Cody - 5/1/13 | |
library(googleVis) | |
sfcrime <- read.csv("~/Desktop/sfcrime.csv") | |
attach(sfcrime) | |
dcount <- as.data.frame(table(DayOfWeek)) | |
tcount <- as.data.frame(table(Category)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'httparty' | |
require 'rubygems' | |
require 'json' | |
# Create word frequency hash | |
freqs = Hash.new(0) | |
reddit_api_url = "http://www.reddit.com/r/christmas/new.json?sort=new&limit=100" | |
resp = HTTParty.get(reddit_api_url) | |
data = JSON.parse(resp.body) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- !ruby/object:Article | |
attributes: | |
id: 8 | |
updated: 2012-04-30 21:58:00.000000000 Z | |
title: How do I register a new trailer? | |
content: ! "<div class=\"quick_top\"><h2>If you purchased the trailer on Oahu</h2>\r\n<ul><li>Fill | |
out the Application for Registration of Trailer (Form CS-L MVR 14).</li>\r\n<li>Have | |
the selling dealer sign the back of the form.</li>\r\n<li>If the vehicle weighs | |
less than 10,000 pounds, obtain a Hawaii Vehicle Inspection Certificate.</li>\r\n<li>If | |
the vehicle weighs more than 10,000 pounds, obtain a State Department of Transportation |