Skip to main content
Programming

Programming #

todo: move from Programming - loikein’s notes

Shortcut for commenting #

References:

Matlab #

Ref: Add Comments to Code - MATLAB & Simulink

Comment
command+/
Uncomment
command+option+/

RStudio #

Ref: 4.17 Comment out text | R Markdown Cookbook

Toggle comment
command+shift+C

Spyder #

Ref: Shortcut key for commenting out lines of Python code in Spyder - Stack Overflow

Toggle comment
(Windows) Ctrl+1

Stata #

Toggle comment
command+/

Sublime Text; VS Code #

Toggle comment
command+/

CLI commands for version #

brew -v[--version]
hugo version
git  version
npm  version
node -v[--version]
pdflatex -v[--version]  # TeX Life

# Ruby's OpenSSL version
# https://stackoverflow.com/a/13957635
ruby -ropenssl -e "puts OpenSSL::VERSION"

(Maybe) Useful resources #

Readings #

Trainings #