http://simianuprising.com/2010/03/15/mac-osx-setting-a-keyboard-shortcut-for-maximizeresize-window-green-jewel/
A cool place for techies to connect to other techies and share notes! My Personal blog is at http://bschandramohan.blogspot.com
Thursday, September 6, 2012
Maximize window shortcut in Mac OS X
http://simianuprising.com/2010/03/15/mac-osx-setting-a-keyboard-shortcut-for-maximizeresize-window-green-jewel/
Monday, May 7, 2012
Mac OS X Lion Tweaks Tool
http://ifredrik.com/applications/download_step.html
Saturday, May 5, 2012
F5 and F6 on MAC OS X
I was always thinking that laptop was intelligent enough to figure out when to light up the keyboard and when not to (depending on the surrounding lights) but looks like it can't :(. That is disappointing :D :)
Friday, April 20, 2012
XCode 4.3.2 install fails
If you get an error stating mobile device framework has to be installed, but errors out when trying to install it, then try the following:
Right click on the xcode.app file and click on show package contents.
Goto Contents/Resources/Packages/ and open MobileDevices.pkg
Try launching xcode after installing above and it should go ahead fine now.
Wednesday, January 4, 2012
Associating file types to an app in MAC
There doesn't seem to be one place like windows registry classes subclass or the file associations application where you can set the application to open a file of certain extension in Mac OS X.
If you select one file and click open with and select an App, it's associated to open that file only even if you select "Always open with". It doesn't set the open with app association for all files with that extension.
Easiest way (or is it the only way?) to do that seems to be this way:
Open File Info of a file of that extension. For e.g., to set all .sh to open in macvim, select any .sh file in Finder. Then Click Command I or right click -> File Info.
In the Open With section, select the app to open the file with
And importantly select the option "Change All". That's it - This should do.
Saturday, December 17, 2011
Quick Calc on Mac
- Click on Apps icon - Select calculator Or open spotlight, type calculator and select the first option to launch calculator. Type in your numbers and operators to get the result, seems to be the most used one.
- You can also use Dashboard (by pressing F4) and calculator should be there by default.
- BUt the easiest of them if your data isn't very complex is just open spotlight (cmd-space) and type in your data there... For e.g., 3^4*2 and the first result is your answer. :)
Saturday, December 10, 2011
Android/Java Static Code Analysis Tools
Just thought about trying free Static Code Analysis Tools and found the below 2:
Cross posted from: http://bschandramohan.blogspot.com/2011/12/androidjava-static-code-analysis-tools.html
Tuesday, November 1, 2011
Open Terminal window here - Mac OS X
https://sites.google.com/site/michaelsafyan/software-engineering/open-in-terminal
Chose the one with customized terminal window icon.
If the folder Finder doesn't exist in your 'Application Support' directory, then do create it.
If you have any other easy ways of doing this, let me know.
Mac DVD Not visible in Finder
In some rare cases, even after you inserted a drive, the disk might not be visible in finder and since there is no eject hardware button near the DVD, there doesn't seem to be a way for removing the disk.
Browsing around, found the following ways (from multiple sources) to eject the disk and re-insert it:
- Force restart finder.
- Open disk utilities (Applications/Utilities/DiskUtility) and the drive should be available there. Right click on it and select eject.
- Command line always rocks. Run the following in a terminal: drutil tray eject
Wednesday, April 20, 2011
Eclipse: Removing Todo: Auto-Generated comments
However in a team environment, it's not easy to make people delete the line and add the code. Task remains and it becomes difficult to delete it at the end.
To remove the auto addition of that comment line, you have to follow the below steps:
Goto Window -> Preferences -> Java -> Code Style -> Code Templates
Click on Method Body.
Click Edit.
Remove the commented line. (Something like: // ${todo} Auto-generated method stub)
Click Apply.
Repeat the steps for other elements.
Click save.
Monday, April 4, 2011
Tuesday, March 1, 2011
Open javadoc in external browser - Eclipse
http://stackoverflow.com/questions/4413883/how-to-open-attached-javadoc-in-external-browser
Should we do this for each workspace?
Function key on aluminium keyboards - MAC
Solution: There IS a function key in the keyboard. Not in the place we expect it though. Look for the key under F13. :-)
Opening multiple instances of Eclipse on mac.
Cd to the place where you unzipped eclipse.
For .e.g, Eclipse/Eclipse.app/Contents/MacOS/
Then run eclipse &. (& makes sure you run eclipse in background, so that you can kill the terminal window.).
Friday, November 19, 2010
passportindia site using weak public key?
I got this error in chrome but it happily went through in IE.
Server has a weak ephemeral Diffie-Hellman public key
This error can occur when connecting to a secure (HTTPS) server. It means that the server is trying to setup a secure connection but, due to a disastrous misconfiguration, the connection wouldn’t be secure at all!
In this case the server needs to be fixed. Chrome won’t use insecure connections in order to protect your privacy.
Thursday, November 4, 2010
Tuesday, November 2, 2010
Printing Wikipedia articles
Typically we copy contents from wikipedia articles – paste it into word documents or other wysiwyg editors. Then format it and print. However after posting the question on facebook questions (http://www.facebook.com/q/Is-there-a-easy-way-to-print-wikipedia-articles-without-the-sidebars-and-see-also-references-etc/10150286691460015?t=1&keep_objects=1), I found that there is an option right there in the sidebar to get printable version or even download it as pdf.
http://techcrunch.com/2009/02/27/print-you-favorite-wikis-as-books-courtesy-of-wikipedia-and-pediapress/ has some more details on new initiatives. We can add multiple chapters into http://en.wikipedia.org/wiki/Special:Book and print out combined articles too.
Thursday, October 14, 2010
BarCamp Bangalore 9th edition
BarCamp Bangalore 9th edition was held in our Intuit Campus (Bellandur, Bangalore). There was a good crowd of around 250 people. Intuit, OrangeScape and FusionCharts were the official sponsors.
Attended the sessions :
- BigTable – Why? & How?
- A killer Mobile App Framework – Sencha Touch
- Open Discussion: Smartphone Platform Wars!
- Would you like something new to listen to?
- Visualizing Government Data
- How you can help Wikipedia
- Android Programming for Desktop Programmers
Also helped Saurabh in presenting the session: Android Programming for Desktop Programmers
Had very informative and entertaining sessions.... Got lots of ideas and web links to check.... Eager to attend the next one :)
Saturday, October 9, 2010
Subscribing to Perforce depot changes
Command line mechanism is mentioned here:
ftp://ftp.perforce.com/perforce/r97.3/doc/cmdguide/html/changere.htm
Details about this are in:
http://stackoverflow.com/questions/588264/perforce-getting-email-on-every-checkin
In Perforce p4v –> Click on Connection –> Edit Current User. In reviews enter the perforce depot directory ending with /… You should be getting emails for the current user email.


