Friday, January 24, 2014

delete all unread message in gmail in a second

  1. Input in:inbox is:unread to the search box:

  2. select all and then delete.

Friday, December 27, 2013

git flow release a new version

gitflow how to release a new version

steps can be found here. In particular,

  • create a release branch
  $ git checkout -b release-2.1 develop  
  • work on the release branch such as bumping up the version

  • merge to master and develop branch

  • create a tag

  $ git checkout master  $ git merge --no-ff release-2.1  $ git tag -a v2.1   
  • push the tag, see here
  $ git push origin v2.1 

Thursday, December 19, 2013

excel on mac using letters to indicate columns

https://kb.wisc.edu/page.php?id=781

excel -> preference -> general -> use r1c1 reference style (uncheck it) 

Wednesday, December 18, 2013

apple show file extensions

http://support.apple.com/kb/PH10845

finder->preference->advanced->show all

Thursday, October 31, 2013

7za on mac

7zip

To zip a file with password:
  - 7za a -tzip -pMY_SECRET -mem=AES256 secure.zip doc.pdf doc1.pdf

And unzip the file:
  - 7za e secure.zip

Sunday, September 22, 2013

Thursday, September 19, 2013

turn off mailapp automatic attachment preview on mac

http://www.cultofmac.com/218527/turn-off-mailapp-automatic-attachment-preview-os-x-tips/

$ defaults write com.apple.mail DisableInlineAttachmentViewing -bool yes


[note, do not use sudo]