Better HN
topnewbestaskshowjobs
Log inSign up

createaccount94

17 karma · joined Mar 26, 2011 (15y ago) · 6 submissions

Submissions

comment 14y ago · link · parent

SEEKING WORK - Remote

I am looking for postgres consulting gig

comment 15y ago · link · parent

ruby -e 'require "rack"; Rack::Handler::Thin.run(Rack::Directory.new("."), :Port => 6666)'

comment 15y ago · link · parent

1) download stackoverflow dump. (creative commons ftw)

2) import into local database

3) setup full text search

4) you dont need internet anymore

comment 15y ago · link · parent

>> hash = BCrypt::Password.create '123456'

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

>> [hash.salt, hash.checksum]

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

comment 15y ago · link · parent

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

comment 15y ago · link · parent

the same in one line:

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