Theme:
- atom-dark-ui
- atom-solarized-dark
- plus custom styles.less rules
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
#!/bin/sh | |
set -e | |
set -x | |
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) | |
do | |
npm -g install "$package" | |
done |
# Open up your atom's init script file and add the following lines, then restart atom. | |
path = require 'path' | |
endLine = (insertNewLine) -> | |
editor = atom.workspace.activePaneItem | |
if path.extname(editor.getPath()) is '.js' | |
editor.getCursors().forEach((cursor) -> | |
editor.moveCursorToEndOfLine() | |
line = cursor.getCurrentBufferLine().trim() |
People
:bowtie: |
😄 :smile: |
😆 :laughing: |
---|---|---|
😊 :blush: |
😃 :smiley: |
:relaxed: |
😏 :smirk: |
😍 :heart_eyes: |
😘 :kissing_heart: |
😚 :kissing_closed_eyes: |
😳 :flushed: |
😌 :relieved: |
😆 :satisfied: |
😁 :grin: |
😉 :wink: |
😜 :stuck_out_tongue_winking_eye: |
😝 :stuck_out_tongue_closed_eyes: |
😀 :grinning: |
😗 :kissing: |
😙 :kissing_smiling_eyes: |
😛 :stuck_out_tongue: |
[diff] | |
tool = diffmerge | |
[difftool "diffmerge"] | |
cmd = diffmerge \"$LOCAL\" \"$REMOTE\" | |
[merge] | |
tool = diffmerge | |
[mergetool "diffmerge"] | |
cmd = "diffmerge --merge --result=\"$MERGED\" \"$LOCAL\" \"$(if test -f \"$BASE\"; then echo \"$BASE\"; else echo \"$LOCAL\"; fi)\" \"$REMOTE\"" | |
trustExitCode = true |
Install Package Control for easy package management.
Ctrl+`
// Promise.all is good for executing many promises at once | |
Promise.all([ | |
promise1, | |
promise2 | |
]); | |
// Promise.resolve is good for wrapping synchronous code | |
Promise.resolve().then(function () { | |
if (somethingIsNotRight()) { | |
throw new Error("I will be rejected asynchronously!"); |
" show hidden characters in Vim | |
:set list | |
" settings for hidden chars | |
" what particular chars they are displayed with | |
:set lcs=tab:▒░,trail:▓ | |
" or | |
:set listchars=tab:▒░,trail:▓ | |
" used \u2592\u2591 for tab and \u2593 for trailing spaces in line. | |
" In Vim help they suggest using ">-" for tab and "-" for trail. |
" show hidden characters in Vim | |
:set list | |
" settings for hidden chars | |
" what particular chars they are displayed with | |
:set lcs=tab:▒░,trail:▓ | |
" or | |
:set listchars=tab:▒░,trail:▓ | |
" used \u2592\u2591 for tab and \u2593 for trailing spaces in line. | |
" In Vim help they suggest using ">-" for tab and "-" for trail. |