Skip to content

Instantly share code, notes, and snippets.

View dustym's full-sized avatar
🏈

Dusty Matthews dustym

🏈
View GitHub Profile
@pixeltrix
pixeltrix / default_url_options.rb
Created January 6, 2014 06:17
Where to put default_url_options
require 'action_controller/railtie'
require 'minitest/autorun'
class RoutingApp < Rails::Application
config.eager_load = false
config.root = File.dirname(__FILE__)
config.session_store :cookie_store, key: 'session'
config.secret_key_base = 'secret'
end

So yesterday brought the sad news that Google Reader is being killed off. C’est la vie it seems, given it was a Google product. In my search for an alternative I rediscovered Fever and decided to see if I could run it up for free on Heroku. Onwards...

Personally I think the news about Reeder is quite sad, as I would quite happily have paid for it as a service. In fact I like RSS so much that I actually shelled out the $30 for Fever when it first came out years ago (I was also pretty massive Shaun Inman fanboy if I’m being honest).

I ended up setting Fever aside because screw having to manage self-hosting for PHP and MySQL, right?

If you’re new to Fever I recommend going and checking it out, but also reading the post in response to the Google Reader announcement by Fevers author, Shaun, for a good list of what Fever is and isn’t.

Enough jibba-jabba!

@calvinmetcalf
calvinmetcalf / readme.md
Last active March 3, 2016 19:02
town pronounciations

Massachusetts Pronunciation Guide

From the Massachusetts Travel Survey, pulled out of the appendix and cleaned up.

The following list of Massachusetts cities and towns have somewhat unusual pronunciations. In addition to the text below, audio samples will be used to help interviewers to understand the local dialect. Please note that each interviewer will need to pass a pronunciation test demonstrating a general knowledge of the local dialect before being allowed to dial.

Note: Many, but not all, Massachusetts residents “drop their Rs” – meaning the vowel before the R is all that is heard. It often comes across as an “h” sound at the end of words. In most cases, it is not critical that you pronounce it this way, but the guide below is provided to help you understand the respondent. There are a few towns and cities to which you should pay particular attention, and they are marked with an asterisk (*):

Abington

@joakimk
joakimk / graphite.rb
Created January 25, 2012 20:14
Graphite client for ruby with specs
require 'socket'
class Graphite
def initialize(host)
@host = host
end
def socket
return @socket if @socket && [email protected]?
@socket = TCPSocket.new(@host, 2003)