Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
Loosely ordered with the commands I use most towards the top. Sublime also offer full documentation.
Ctrl+C | copy current line (if no selection) |
Ctrl+X | cut current line (if no selection) |
Ctrl+⇧+K | delete line |
Ctrl+↩ | insert line after |
app.get('/', function(req, res){ | |
db.keys('image:*:location', function(err,keys){ | |
if (err) { throw err; } | |
var offense = keys[Math.floor(Math.random()*keys.length)]; | |
var defense = keys[Math.floor(Math.random()*keys.length)]; | |
if (defense == offense) { | |
defense = keys[Math.floor(Math.random()*keys.length)]; | |
} | |
db.mget('image:' + offense + ':location', 'image:' + offense + ':rating', | |
'image:' + defense + ':location', 'image:' + defense + ':rating', |
A list of resources that aspiring Rails developers can use to learn Rails and other relevant technologies. This list includes some resources that I see recommended all over the web--not all of which I like--as well as some hidden gems that I've found valuable. This list is intended to supplement my blog post here.
UPDATE 2016-12-01: Please refer to the official guide instead of this process.
UPDATE 2014-12-21: RubyGems 1.8.30, 2.0.15 and 2.2.3 have been released. It requires manual installation, please see instructions below.
Hello,