Skip to content

Instantly share code, notes, and snippets.

View imunteanu's full-sized avatar

Munteanu Ionut imunteanu

View GitHub Profile
@imunteanu
imunteanu / yardoc_cheatsheet.md
Created October 10, 2021 10:03 — forked from chetan/yardoc_cheatsheet.md
YARD cheatsheet
@imunteanu
imunteanu / rails http status codes
Created October 10, 2021 08:45 — forked from mlanett/rails http status codes
HTTP status code symbols for Rails
HTTP status code symbols for Rails
Thanks to Cody Fauser for this list of HTTP responce codes and their Ruby on Rails symbol mappings.
Status Code Symbol
1xx Informational
100 :continue
101 :switching_protocols
102 :processing
@imunteanu
imunteanu / fix-libv8-mac.txt
Created October 7, 2021 08:04 — forked from fernandoaleman/fix-libv8-mac.txt
Fixing libv8 and therubyracer on Mac
brew tap homebrew/versions
brew install v8-315
gem install libv8 -v '3.16.14.13' -- --with-system-v8
gem install therubyracer -- --with-v8-dir=/usr/local/opt/v8-315
bundle install
g git gst git status
gl git pull gup git fetch && git rebase
gp git push gc git commit -v
gca git commit -v -a gco git checkout
gcm git checkout master gb git branch
gba git branch -a gcount git shortlog -sn
gcp git cherry-pick glg git log --stat --max-count=5
glgg git log --graph --max-count=5 gss git status -s
ga git add gm git merge
grh git reset HEAD grhh git reset HEAD --hard
@imunteanu
imunteanu / 01.bash_shortcuts_v2.md
Created October 7, 2021 07:49 — forked from tuxfight3r/01.bash_shortcuts_v2.md
Bash keyboard shortcuts

Bash Shortcuts

visual cheetsheet

Moving

command description
ctrl + a Goto BEGINNING of command line
@imunteanu
imunteanu / setup_redis_on_mac.md
Last active January 17, 2021 04:40
Setup redis on mac

Install via brew:

brew update
brew install redis

To launch it when system starts:

brew services start redis