# 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 ->
View jsonview-duotone-dark-sea-theme.css
body {
white-space: pre;
font-family: monospace;
font-size: 14px;
line-height: 1.5;
background: hsl(212, 25%, 12%);
color: hsl(213, 18%, 66%);
margin: 1rem;

alternatively use:


The value of this variable describes what color to use for which attribute when colors are enabled with CLICOLOR. This string is a concatenation of pairs of the format fb, where f is the foreground color and b is the background color.

The color designators are as follows:

a     black
View js.txt
> new Date(Infinity)
< Invalid Date

Debugging AngularJS from console

Note: In Chrome Console, instead of document.querySelector, you can use $0 - $4 to access the last 5 DOM elements selected in the inspector window.

Access Scopes

var fooCtrl = angular.element(document.querySelector('[ng-controller*="fooCtrl"]')).scope();

Illustrator tips & tricks

Some smart moves to make up for missing functionalities.

Circle through two points

Result: circle of given radius that is going exacly through two anchor points.


View atom-snippets.cson
# Your snippets
# Atom snippets allow you to enter a simple prefix in the editor and hit tab to
# expand the prefix into a larger code block with templated values.
# You can create a new snippet in this file by typing "snip" and then hitting tab.
# CoffeScript

Atom Keyboard Shortcuts


shift + ⌘ + p -- toggle command palette

⌘ + / -- toggle line/selection comment

alt + shift + s -- show available snippets