Filename: snake_case
, orders_controller.rb
Classes: CamelCase
, ApplicationController
, 'PropertiesController'
Variables: snake_case
, order_amount
, total
, var1
Methods: snake_case
, index
, create
, save!
(operates destructively or raise an exception instead of failing), empty?
(returns bool value)
Database Tables: snake_case
plural: users
, orders
, bigfoot_sightings
Model: CamelCase
singular: User
, Order
, BigfootSighting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!comment: This is a list of the top 100,000 most frequently-used English words | |
#!comment: according to Wiktionary. | |
#!comment: | |
#!comment: It was compiled in August 2005 and coalesced into a handy list for | |
#!comment: use in John the Ripper. | |
#!comment: | |
#!comment: | |
#!comment: Pull date: Sun Jan 15 22:03:54 2012 GMT | |
#!comment: | |
#!comment: Sources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows Registry Editor Version 5.00 | |
; For folders. | |
[HKEY_CLASSES_ROOT\Directory\shell\sublime] | |
@="&Open folder with Sublime Text" | |
"Icon"="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\",0" | |
[HKEY_CLASSES_ROOT\Directory\shell\sublime\command] | |
@="\"C:\\Program Files\\Sublime Text\\sublime_text.exe\" \"%1\"" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"auto_complete": true, | |
"auto_complete_commit_on_tab": true, | |
"auto_convert_line_endings_to": "Unix", | |
"bold_folder_labels": true, | |
"default_line_ending": "unix", | |
"ensure_newline_at_eof_on_save": true, | |
"font_size": 17, | |
"highlight_line": true, | |
"highlight_modified_tabs": true, |
List of Packages:
- Sass
- Bracket Highlighter
- JavaScript & NodeJS Snippets
- DocBlockr
- SublimeCodeIntel
- Sublime Linter, SublimeLinter-Ruby, and SublimeLinter-rubocop
- SublimeERB
- DashDoc
- akamud.vscode-theme-onedark
- aki77.rails-db-schema
- aliariff.vscode-erb-beautify
- azemoh.one-monokai
- bung87.rails
- bung87.vscode-gemfile
- castwide.solargraph
- deerawan.vscode-dash
- dsznajder.es7-react-js-snippets
- eamodio.gitlens
Go to https://myaccount.google.com/apppasswords and generate an App Password
In terminal open the rails credentials
rails credentials:edit
Save the following info:
OlderNewer