Tuesday, April 2, 2013

How to kill 'screen' tab or session

Window
1. C-a 
2. :kill 
3. Enter

Session
screen -S 23534 -X quit

Screen reference can be found here

Thursday, March 21, 2013

Delete Git branches (local or remote)

git fetch -p # sync local branches with remote
git branch -D my_branch # Local delete
git push origin :my_brach # remove branch remotely

Wednesday, March 13, 2013

Coursera: An Introduction to the U.S. Food System: Perspectives from Public Health

I earned 97.9% grade on "An Introduction to the U.S. Food System: Perspectives from Public Health". The couse was interesting and informative for me. I have "Statement of Accomplishment".

Wednesday (4 lines)

Thursday, March 7, 2013

Sunday, February 24, 2013

Food words (meaning and origin)

I was watching lecture on Coursera "An Introduction to the U.S. Food System" and stumble upon 3 words that I found interesting:
 - trivia (tri - three, via - road). Trivia originated in ancient Rome
 - companion (com - with, panion - bread).
 - board (Viking word means table) 

Monday, February 4, 2013

Condominium (3 Years!)

I just realized that 3 years ago I purchased my condominium. I went through very difficult time dealing with NYC Department of Buildings. I like my apartment and the area.

Thursday, January 31, 2013

Average File Size in Directory

find print/ -type f -print0 | xargs -0 ls -l | gawk \ '{sum += $5; n++;} END {print "Total Size: " sum/1024/1024 " MB : Avg Size: " sum/n/1024 " KB : Total Files: " n ;}'