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 |
| language: node_js | |
| node_js: | |
| - '6' | |
| before_script: # before running scripts | |
| - 'npm install' | |
| - 'npm install -g grunt-cli' | |
| script: # run these scripts | |
| - 'grunt nag' | |
| - 'grunt test' | |
| # whitelist |
| (verbose) | |
| remark README.md -u remark-lint -r ./.remarkrc | |
| (shorthand) | |
| remark <file> |
| 'use strict'; | |
| const app = require('../app-data'); | |
| const signIn = (success, failure, data) => { | |
| $.ajax({ | |
| method: "POST", | |
| url: app.server.api + '/sign-in', | |
| data, | |
| }) |
| 'use strict'; | |
| const authApi = require('./api-user'); | |
| // const authApiNodes = require('./api-nodes'); Not being used ATM | |
| const authUi = require('./ui-user'); | |
| const app = require('../app-data'); | |
| 'use strict'; | |
| const app = require('../app-data'); | |
| const apiNodes = require('./api-nodes.js'); | |
| const display = require('../display'); | |
| const authApi = require('./api-user'); | |
| const success = (data) => { | |
| console.log(data); | |
| }; |
| # 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() |