When a beginner asks you "when do I use semi-colons?" would you rather say this?
// what people who say "use semicolons!!" say
class Foo {
prop = {
}; // yes
When a beginner asks you "when do I use semi-colons?" would you rather say this?
// what people who say "use semicolons!!" say
class Foo {
prop = {
}; // yes
/* | |
* grunt-subgrunt | |
* http://gruntjs.com/ | |
* | |
* Copyright (c) 2012 "Cowboy" Ben Alman | |
* Licensed under the MIT license. | |
* https://github.com/gruntjs/grunt/blob/master/LICENSE-MIT | |
*/ | |
'use strict'; |
width = 102 # width of rectangle | |
height = 40 # height of rectangle | |
pos_x = 3 # x coordinate for entire grid | |
pos_y = 3 # y coordinate for entire grid | |
y_margin = 3 # vertical space between rectangles | |
x_margin = 3 # horizontal space between rectangles | |
columns = 3 # number of columns | |
rows = 5 # number of rows | |
columns.times do |col| # number of columns |
var fs = require("fs"); | |
var jParser = require("jParser"); | |
var eof = false; | |
fs.readFile("sample.jpg",function(err,data) { | |
if (!err) { | |
var view = new jDataView(data, undefined, undefined, false); | |
var parser = new jParser(view,{ | |
// JPG |
# Allow text selection in Quick Look | |
defaults write com.apple.finder QLEnableTextSelection -bool true |