Skip to content

Instantly share code, notes, and snippets.

https://atom.io/users/atom
https://atomlinter.github.io/
https://www.youtube.com/watch?v=hPC6keUUiTA
UI Theme: One Dark
Syntax Them: One Dark
advanced-open-file = cmd + alt + o
atom-alignment
atom-beautify
[
{ "keys": ["super+v"], "command": "paste_and_indent" },
{ "keys": ["super+shift+v"], "command": "paste" },
{ "keys": ["super+shift+r"], "command": "reindent" , "args": {"single_line": false}},
{ "keys": ["super+shift+."], "command": "erb" }
]
@naterexw
naterexw / 0_reuse_code.js
Created February 5, 2016 10:05
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
=============
= Git setup =
=============
git config --global user.name "Your Name"
git config --global user.email your.email@example.com
git config --global push.default matching #ensure forward-compatibility with upcoming releases of Git
git config -l = show list of git configurations
===========
= Aliases =
================
= Heroku fonts =
================
Remember to use HTTPS when importing fonts onto SASS stylesheets in Rails
example: @import url(https://...);
heroku help
heroku help [command]
heroku apps:create [name]
Behavior Driven Development (BDD)
User Acceptance test (capybara)
Unit test (rspec)
Integration test
Stress test
Partial => Views
Helper =>
Method => Controller
=====================
= TERMINAL COMMANDS =
=====================
. = current directory
.. = back one directory
$_ = last thing typed in last command
mk dir [name] = make directory [name]
touch [filename.extension] = make file with extension