Skip to main content

Posts

Yahoo API tryouts

Yahoo API Playground Most of the Yahoo API's deliver data in XML or JSON formats which is very helpful to end users. I was trying out various YAHOO! tools and found Yahoo GeoPlanet useful. The documentation is very detailed and helpful if you are developing something..  Let me give some examples.. If you want to get latitude and longtude of a place or reverse calculate it? Try these directly..  (Thanks to GeoPlanet API's)   http://where.yahooapis.com/geocode?q=19+Howard+Road,+Southampton,+Hampshire http://where.yahooapis.com/geocode?q=50.914716,-1.417612&gflags=R Details of Yahoo Geo tools  (GeoPlanet Guide) http://developer.yahoo.com/geo/geoplanet/guide/concepts.html http://developer.yahoo.com/geo/geoplanet/guide/api_docs.html Where On Earth Identifiers  (WOEID) Its a 32bit identifier, which is unique and non-repeated. This has a parent-child relationship to places, which makes it human understandable in the meantime useful for automated systems. The summary of all...

Yahoo API's and developer network

I aways believed Sun Microsystems gave maximum benefit to the computing world. They developed a lot of technology and made it Open source. Now since Sun is under grip of Oracle, who should take its place? I believe Yahoo is slowly replacing Sun's footprint of donating technology to the world. I came across the developer network of Yahoo!. I can see most of their works are now Open source and very powerful. Take the case of YUI3. Its a marvellous library and framework for web developers. Just listing some of the best Yahoo Developer Tools YUI - User interface, Javascript and CSS library framework Mojito - Free Javascript MVC framework Placefiner - An excellent tool YQL - Yahoo Query language. A great console as well YSlow - Firefox add-on if you are site developer There were other quite few great ones Yahoo! answers was great, but got eclipsed by stackoverflow. Yahoo Messenger - got down due to google gmail plugin You could see all Yahoo Developer offerings here.. http...

Print next line after a pattern

Just had a requirement to print the current line with pattern and next line. This seems to be pretty straight forward with AWK awk '/YOUR_STRING/{c=1;{print}next}c-->0'   <yourFile> if you put c=2, it will print the next two lines   Eg.  sampleData.txt containg.. EmployeeName ABC XYZ QPR LMN awk '/EmployeeName/{c=1;{print}next}c-->0'   sampleData.txt will print.. EmployeeName ABC if you don't want headers.. awk '/EmployeeName/{c=1;next}c-->0'   sampleData.txt  

Siteminder installation into Apache

We had a recent installation of Siteminder (Web Access management tool) into our systems and had to be configured into existing apache installation. Here are some issues which came up and the tips which you could look into: 1. Did you give write permission to "site minder user"? for Apache Conf directory (<apache_root>/apache/conf). Write permission for  "httpd.conf"  file as well. 2. Created directory "/opt/netegrity". Ideally this should be created in separate filesystem as a good practice. This would become much helpful for clustering and promotional model. 3. Add entries in the "load module section" within the Apache "httpd.conf"  file LoadModule sm_module /opt/netegrity/webagent/bin/libmod_sm22.so SmInitFile <location of apache>/conf/WebAgent.conf 4. Manually add handlers # Manually added for siteminder # Add handlers # Siteminder .exe # AddHandler cgi-script .exe # Siteminder .fcc AddHandler smformsauth-handler...

Proxy Server and its uses

I used to use many public proxy servers for accessing sites which are blocked by intranet or restricted sites. But recently the company policy started to block many of the public proxy sites, thus pushing me back to square one. !! I saw a great article from Amit (labnol) , to setup a proxy of your own !! That's really cool. That link gives step by step instructions to setup your own proxy server within "appspot"  , i.e. google app engine site. You could try out one sample at :  http://whatitem.appspot.com (if you really can't setup your own) You could give your URL directly by appending it to the proxy application .. eg  http://whatitem.appspot.com/google.com DON'T try to include keyword Proxy in your app address as most of the intranet filters checks for those keywords.    

Samsung Galaxy S3 Reviews and Technical Details

Samsung Galaxy S3 is one of the most awaited mobile phones for first half of 2012.  Especially the news of Samsung pushing out Nokia and the business strategy of Galaxy products provided the well welcomed Galaxy series (more than 40million handsets sold !!) and S3 being official product for London 2012 Olympics. S3 is perfectly designed to compete with high end phones especially Apple Iphone 4S  (unless Apple comes up with completely innovative 5th Generation) Some technical details though you might not notice everything... !! Metal touch and feel, Curved corners, Slick and thin design. 133g weight. Marble White and Pebble Blue colours available. Exynos 4 Quad Core Processor - ARMv7 - 1.4GHz ARM Cortex A9. Benchmarking here . Further benchmarks 1 GB RAM . External Micro SD storage upto 64GB 4.8 HD Super AMOLED display, 720 x 1280 px (306ppi),  to rival Retina Display which is 326ppi Camera: 8 MPix rear with flash; 1.9 MP front. Various shooting modes like Single Shot, Burst...

Huawei Ascend G300 Phone Reviews and Unlocking

Last year, it was the Orange San Francisco which stole techies heart by being value for money. 2012 has been already hit by another gem "Huawei Ascend G300" Vodafone is having exclusive sale Why G300? 1. Simple comparison of SAMSUNG GALAXY ACE S5830 vs Huawei Ascend G300 Shows how better G300 is !! 2. Pure technical details Keythings with Huawei Ascend G300 aka Huawei U8815 Processor: Qualcomm Snapdragon S1, 1 GHz, MSM7227A RISC 32bit , ARMv7-A, ARM Cortex-A5 GSM 850 / 900 / 1800 / 1900 , GPRS Class 10, and 3G EDGE Class 10, HSDPA 7.2, HSUPA 5.76 RAM: 512 MiB, 393MiB usable (which is very good compared to other phones) ROM: 4GB built in, external SD upto 32GB (microSD, microSDHC) Bluetooth, USB Hi-Speed Micro-B (Micro-USB) connector, Wireless 802.11 b/g/n GPS, FM radio with headset, Geotagging capacitive touch screen, TFT screen, 480 x 800 pixels, 4.0 inches, 232.3 pixel/inch (much better than other rivals) Size: 122.5 x 63 x 10.5 mm and 140g weight Battery...