Wednesday, September 20, 2017

Monday, September 11, 2017

Git add changes to last commit

It will be rebasing last commit with a new one.

git add .
git commit --amend --no-edit
git push -f

Wednesday, September 6, 2017

uptime periodic print

while(true); do uptime | sed -E 's/\s*up\s*([0-9]* day[s]*,\s*[0-9]*:[0-9]*|[0-9]*:[0-9]*),\s*[0-9]* user[s]*,\s*load average:\s/, /'; sleep 3; done




while(true); do uptime | cut -d':' -f4; sleep 3; done

Friday, September 1, 2017

Grep Console for Eclipse console highlights

http://marian.schedenig.name/projects/grep-console/installation/