Shortcut | Function |
---|---|
⌘F, ⌘⇧F | Find in File, Find in Project |
⌘R, ⇧⌘R | Replace in file, Replace in project |
⌘⇧A | Search RubyMine Actions |
⌘⇧O | Search Filenames |
⌘⌥O | Search Symbols (methods, classnames, etc.) |
⌘ + LClick | See Declaration/Usages (if it is unable to choose one, a menu with the possibilities opens) |
⇧⇧ | Search Anything |
system: STEP 1: Parse the message and determine the user's desired VERBOSITY: V=1: extremely terse V=2: concise V=3: detailed (default) V=4: comprehensive V=5: exhaustive and nuanced detail with comprehensive depth and breadth
STEP 2: Generate a Markdown table: |Expert(s)|{list; of; EXPERTs}|
STEP 1: Parse the message and determine the user's desired VERBOSITY: | |
V=1: extremely terse | |
V=2: concise | |
V=3: detailed (default) | |
V=4: comprehensive | |
V=5: exhaustive and nuanced detail with comprehensive depth and breadth | |
STEP 2: Generate a Markdown table: | |
|Expert(s)|{list; of; EXPERTs}| | |
|:--|:--| |
Improved YARD CHEATSHEET http://yardoc.org
forked from https://gist.github.com/chetan/1827484 which is from early 2012 and contains outdated information.
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
YARD CHEATSHEET http://yardoc.org
May 2020 - updated fork: https://gist.github.com/phansch/db18a595d2f5f1ef16646af72fe1fb0e
cribbed from http://pastebin.com/xgzeAmBn
Templates to remind you of the options and formatting for the different types of objects you might want to document using YARD.
erDiagram
ALLOCATION_LINE_ITEM {
int id
int line_item_id
string line_item_field "[base_amount, discount_amount, tax_amount]"
int amount "A positive or negative value"
int unallocated_amount "initialized as `amount`"
int allocated_amount "initialized as 0"
The following error is encountered in OSX Catalina (and presumably newer versions):
ruby-2.7.2 - #extracting ruby-2.7.2 to /Users/ehyde/.rvm/src/ruby-2.7.2 - please wait
ruby-2.7.2 - #configuring - please wait
ruby-2.7.2 - #post-configuration - please wait
ruby-2.7.2 - #compiling - please wait
Error running '__rvm_make -j12',
please read /Users/ehyde/.rvm/log/1614189092_ruby-2.7.2/make.log
There has been an error while running make. Halting the installation.
# According to Ruby’s official web page, Ruby is a: | |
"dynamic, open source programming language with a focus on simplicity and productivity." | |
"It has an elegant syntax that is natural to read and easy to write." | |
# Basic syntactical code: | |
variable_name = 'sillyboys' # no semicolons, untyped | |
def method_name do | |
puts 'lol' # no parentheses needed for method calls if no chaining |
⌘
is the Command () key.⌃
is the Control key.⌥
is the Option (alt) key.⇧
is the Shift key.
Keyboard Shortcut! | Why I Use It All The Time! |
---|---|
⌘+Left Click | See Declaration/Usages (if it is unable to choose one, a menu with the possibilities opens) |
⌘⌥+L | Auto-Format Highlighted Section(if no section highlighted, format entire document) |
#include "helpers.h" | |
#include <math.h> | |
// Blur image | |
void blur(int height, int width, RGBTRIPLE image[height][width]) | |
{ | |
// instantiate a new array with `height` number of rows and `width` number of columns | |
RGBTRIPLE blurred_image[height][width]; | |
// Loop over each row in `image` |