Pages

Showing posts with label tools. Show all posts
Showing posts with label tools. Show all posts

Reverse scroll mouse and natural scroll Trackpad on Mac

I frequently connect an external Monitor, a mac keyboard and a (non-mac) mouse to my MacBook Pro while code pairing. I love the natural scroll direction on trackpad but not so for the mouse scroll wheel. I happy to live with regular direction for scroll for a mouse.

Unfortunately, Mac OS X (Lion, Mountain Lion) does not allow such setting out of the box. There is a nice utility app called Scroll Reverser, just a few KBs in size, which can do it for you.



With the config shown in the screenshot above, you can set natural scroll for Trackpad and the reverse scroll (which we are used to) for mouse.

ASCII Art Editor in Java

I am Huge fan of README files. When looking at any new library/software, I would at least skim through a README once, if not gulp it thoroughly. So I was writing a README for my project yesterday. I wanted to have a simple diagram in the readme, but it was getting sorta complex to do that with Notepad++, Netbeans or Eclipse. I have always wondered how people make nice ASCII Art Logos (I found that 'it' is called so after some google searches) and diagrams in Text Files.

Anyways, so I found out this cool ASCII Art Editor in java called JavE. And it really helped me to create the desired diagram in the text file. Bonus: I came to know how to create ASCII Banners as well. You have to download optional FIGlet fonts (available on the same website) to create text banners like this one.
 
   _   _      _ _        __        __         _     _
  | | | | ___| | | ___   \ \      / /__  _ __| | __| |
  | |_| |/ _ \ | |/ _ \   \ \ /\ / / _ \| '__| |/ _` |
  |  _  |  __/ | | (_) |   \ V  V / (_) | |  | | (_| |
  |_| |_|\___|_|_|\___/     \_/\_/ \___/|_|  |_|\__,_|