Sunday, December 30, 2012

Measure Wi-Fi Strength from OS X

To get raw Wi-Fi strength numbers including noise measurements, OS X provides an in built tool with Lion.

1. Go To - /System/Library/CoreServices/ [From Finder Go->Go To Folder-]
2. Run Wi-Fi diagnostics

If you have a laptop, walk around the house and see the values change or move the router (adjust its location) for optimum strength in your frequently used locations.


Monday, December 17, 2012

Hard Resetting Samsung Galaxy Player

If you have forgotten your passcode lock and want to simply reset the device here are instructions

1. Power Down the device
2. Hold Power and Volume UP buttons at the same time
3. Once you see the Samsung logo, let go of the Power button but continue holding the Volume UP button
4. Soon device goes into a screen that gives you the option to restore factory settings
5. On the factory reset screen, I had to select the reset option twice because the first time around it asked for my password, which ofcourse was wrong. Selecting Reset again wiped the device.
6. Reboot device after wipe is complete

Android version was Gingerbread


Wednesday, June 20, 2012

XCode and Folder Resources

The latest version of Xcode 4.3 has a serious bug that frustrated me quite a bit recently. If your project has Folder resources in it and these have sub folders with same names in the folder hierarchy, app compiles / builds fine but fails to submit with a completely unrelated error.

Finally had to download an old version 4.2, compile and submit using that. 

Monday, March 12, 2012

REST Client for Firefox

Found this recently and think this is a great plugin to test web services before writing code. Quite flexible with letting you create requests and I've used it against different services already.

https://addons.mozilla.org/en-US/firefox/addon/restclient/

Typepad Recent Blogs API

Simple non-authenticated call to get Recent blog posts as JSON -

http://api.typepad.com/blogs/{BLOG_ID}/post-assets/@published/@recent.json?max-results={N}

{BLOG_ID} - The unique identifier for the blog. You can get this by loading the blog in the web browser and looking at the source code. The id is part of the RSS HTML element.

{N} - Number of results to return

@recent.json can be changed to @recent.js to get the JSON data wrapped in a Javascript callback(...) function

For more details on their API - http://www.typepad.com/services/apidocs

Int size on Apple Watch (watchOS)

  Even though Apple Watch chipset is 64-bits, Int is still 32-bit. To get 64 bit behavior you have to explicitly use Int64 https:// jeffver...