Skip to content

Instantly share code, notes, and snippets.

View xploreout's full-sized avatar

Tan Lui xploreout

  • Amsterdam, Netherlands
View GitHub Profile
@xploreout
xploreout / vscodekeys.json
Last active March 31, 2020 13:48
mac vscode key shortcut
{
"subtitle": "Keyboard shortcuts for Mac",
"types": [
{
"title": "General",
"list": [
{ "key": "⇧⌘P, F1", "caption": "Show Command Palette" },
{ "key": "⌘P", "caption": "Quick Open" },
{ "key": "⇧⌘N", "caption": "New window/instance" },
{ "key": "⌘W", "caption": "Close window/instance" }

Rails naming conventions

General Ruby conventions

Class names are CamelCase.

Methods and variables are snake_case.

Methods with a ? suffix will return a boolean.