Skip to content

Instantly share code, notes, and snippets.

View ggd543's full-sized avatar

刘永健 ggd543

  • UC
  • 中国广州
View GitHub Profile
@ggd543
ggd543 / gist:1343074
Created November 6, 2011 16:02 — forked from notyy/gist:1343063
logger mixin
abstract class BizService {
def doIt()
}
class Worker extends BizService {
def doIt() {println("I am working")}
}
trait Logger extends BizService {
abstract override def doIt() {println("logMe first");super.doIt()}
@ggd543
ggd543 / node-command-line-options.txt
Created February 22, 2016 03:24 — forked from listochkin/node-command-line-options.txt
Node V8 GC-related options
--log_gc (Log heap samples on garbage collection for the hp2ps tool.)
type: bool default: false
--expose_gc (expose gc extension)
type: bool default: false
--max_new_space_size (max size of the new generation (in kBytes))
type: int default: 0
--max_old_space_size (max size of the old generation (in Mbytes))
type: int default: 0
--max_executable_size (max size of executable memory (in Mbytes))
type: int default: 0