News for hackers. Stuff that matters.

createaccount94

Re:Ask HN: Freelancer? Seeking freelancer? (April 2012) on Sunday April 01, 2012 @03:30PM (#3784646)
SEEKING WORK - Remote

I am looking for postgres consulting gig

ruby -e 'require "rack"; Rack::Handler::Thin.run(Rack::Directory.new("."), :Port => 6666)'
Re:Development without Internet Access « The Technician on Monday June 13, 2011 @10:28AM (#2649114)
1) download stackoverflow dump. (creative commons ftw)

2) import into local database

3) setup full text search

4) you dont need internet anymore

Re:Exploring Rails 3.1 - ActiveModel::SecurePassword on Saturday April 16, 2011 @09:59PM (#2455382)
>> hash = BCrypt::Password.create '123456'

=> "$2a$10$khoJWZR3hVA8Qcm3lW6sp.BQGOFKGo2xHCeH2YfDcQVRltEGCJe0S"

>> [hash.salt, hash.checksum]

=> ["$2a$10$khoJWZR3hVA8Qcm3lW6sp.", "BQGOFKGo2xHCeH2YfDcQVRltEGCJe0S"]

If you are using laptop, put http://www.ikea.com/us/en/catalog/products/40104270 on top of your desk.

it is only $9.99

Re:The Heist for Rubygems on Saturday March 26, 2011 @02:22PM (#2372751)
the same in one line:

Gem.loaded_specs.map{|n,s| "gem install #{n} --version=#{s.version}"} * "\n"