Shin Code log

Logs of solution for code

Articles


Show branch name in terminal

A way to know which current branch in terminal screen

Show branch name in terminal

Run command inside a docker-compose image running

A way to execute somethings inside a docker-compose

Run command inside a docker-compose image running

Precompile assets of RoR project on mode production

Command use to compile assets for production evironment

Precompile assets of RoR project on mode production

Command connect vps

Command connect to a computer using ssh

Rails memoization

Fast way to cache in rails

Ssh without password

SSH Login Without Password Using ssh-keygen & ssh-copy-id

Clear assets of RoR project

delete all public/assets folder of ruby on rails project

Fix git error file is empty

When you meet "error: object file .git/xx/* is empty; fatal: loose object"

Check total disk

Check total disk size on linux OS