Skip to content

Instantly share code, notes, and snippets.

View axelx5's full-sized avatar
🎯
Focusing

Axel Arroyo Braconi axelx5

🎯
Focusing
View GitHub Profile
@axelx5
axelx5 / 0_reuse_code.js
Last active August 29, 2015 14:06
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
require 'rubygems'
require 'hpricot'
require 'open-uri'
class CareerjetSpider
BASE = "http://www.careerjet.com/search/jobs"
MONTH = { 'January' => 'Jan', 'February' => 'Feb', 'March' => 'Mar', 'April' => 'Apr', 'May' => 'May', 'June' => 'Jun', 'July' => 'Jul', 'August' => 'Aug', 'September' => 'Sep', 'October' => 'Oct', 'November' => 'Nov', 'December' => 'Dec'}
attr_reader :page