Skip to content

Instantly share code, notes, and snippets.

View reworkhow's full-sized avatar

Hao Cheng reworkhow

View GitHub Profile
# Your init script
#
# Atom will evaluate this file each time a new window is opened. It is run
# after packages are loaded/activated and after the previous editor state
# has been restored.
#
# An example hack to log to the console when each text editor is saved.
#
# atom.workspace.observeTextEditors (editor) ->
# editor.onDidSave ->
@reworkhow
reworkhow / 0_reuse_code.js
Created March 30, 2016 04:58
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console