Skip to main content

Posts

How to revert back to google docs from google drive?

Many of us must have faced issues of corporate firewall blocking URL's like drive.google.com, dropbox etc. I changed from google docs to google drive recently and found that my company have blocked "drive.google.com". Whatever you try, google redirects your URL to "drive.google.com" and there is NO HELP from our network adminstrator. My scenario is 1. Google Drive -> blocked 2. Google docs (docs.google.com) -> OK 3. Google won't allow to switch back to old google docs URL  (Hence using Temporarily classic looks fails) !! I couldn't find a technical solution yet. But found a workaround .. a)  Create a new gmail address or use another gmail address but DO NOT enable google Drive. Hence use old google docs in that.  (let's say  SECONDACC ) From your original (problem facing) google drive, create a new folder and share the folder and its contents with SECONDACC . This needs to be done at somewhere you have complete access outside corporate fir...

Stacktraces from leading websites

I'll try to put in the stacktraces from various important websites, so that it gives a clue on how their online structures are designed.   This is what I got once i browsed "thehindu.com" type  Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception neo.xredsys.api.PersistentStoreException: java.sql.SQLException: Too many concurrent update operations (/neo/io/services/DatabaseUpdateThrottleService.maximumConcurrent) neo.xredsys.api.IOObjectLoader.getPublication(IOObjectLoader.java:1206) com.escenic.servlet.EscenicAPIResolverImpl.getPublication(EscenicAPIResolverImpl.java:72) sun.reflect.GeneratedMethodAccessor99.invoke(Unknown Source) sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) java.lang.reflect.Method.invoke(Method.java:585) com.escenic.servlet.CacheInvocationHandler.invoke(CacheInvocationHandler.java:68) $Proxy3.getPublication(Unknown Source) com....

iOS6 Features in a nutshell

iOS6 Beta Features and enhancements Just to reduce the clutter and put the important/useful ios6 features from WWDC 2012 The improvements are OK, but not huge as hyped by other sites. 1. Some major changes to Siri like auto launch apps, lot of integration (twitter, rotten tomatoes etc..), more language support and more localised information I liked the SIRI integration piece with the in-car systems which could be game changer 2. Big jump in facebook integration. (allowing contacts, calendar, location etc..) I'm not a big fan of over posting your data into facebook and its all about that !! 3. Phone and call enhancements Do Not Disturb Mode will still allow calls to be received, but won't ring or light up. But settings can be done if the caller calls twice as it can be urgent. Options to text-back or call later if you are busy or driving. I liked these enhancements which were present in Android using external apps. 4. Maps enhancements The major change is iOS6 no m...

Financial Newspapers without ads

I follow quite lot of Business News.  Though the news are so much manipulated, it gives an overall idea of what's going around the business world around you.  I like Bloomberg's ipad application as its very intuitive. Financial Times (www.ft.com) is unfortunately paid. "Economic Times" is good to get news at macro Level, but unfortunately its flooded by Ads !! So you all might know how to read these news papers without ads? Bloomberg is decent, so not worth the effort to remove ads Financial times trick is to use google cache.  For clues on various tags use their RSS  -  http://www.ft.com/rss/home/uk   and use the meta information to search in another window of google. Then click on cache to read the article. (eg Search in google for  site:ft.com Mon, 04 June 2012) Economic times is based in India but they too have RSS feeds which is good.  Use the link  http://economictimes.indiatimes.com/rss.cms   to the news without ads. In general, if you get the link ...

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