Nov 29, 2012

How to use Google Drive as a free web hosting

Do you know that you can host your website for free using Google Drive? There are 4 simple steps you should follow in order to do that:
  1. Go to your Google Drive and create a new folder.
  2. Make this folder public, by selecting it on the list and clicking the Share button. Then choose Public on the web and click Save.
  3. Upload your HTML, CSS, JS files and images to this folder. You can create subfolders too. The file named index.html will become the default page. Note: Google Drive doesn't support PHP, JSP or ASP scripts yet!
  4. Look at the address bar and copy the folder ID, which comes at the end of the URL:

    https://drive.google.com/#folders/0BzEbtMoF6IXbaVN2Qmx1em9qS0k

    Then go to GDriv.es, paste the folder ID there and choose your own short name. After submitting the form, your website will be available under your alias:

    http://gdriv.es/<alias>

    For example:

    http://gdriv.es/cros
The above example is the Cr OS Linux website.

Sep 28, 2012

How to zoom the full page, along with Facebook Comments Box

Ever wanted to zoom in that tiny text in Facebook Comments Box? Ctrl-+ doesn't work in this case, at least in Google Chrome browser. But here is a solution - a nifty bookmarklet, which you can drag to your bookmarks bar and click whenever needed. It uses CSS Transforms and it works in Chrome, Safari, Firefox, IE9+ and Opera.

Drag me to your bookmarks bar: 110%
%

Here is a live demo (change the zoom level first):

Sep 12, 2012

YQL as a free alternative to Google Translate, Google Finance and Google Weather API

Google has closed its free Google Translate API, Google Finance API and the unofficial Google Weather API, which many websites were dependent on. Fortunately, the Yahoo Query Language comes to their rescue. It takes SQL-like statements and provides data from many web services (like SQL tables) in JSON or XML format. You can use the following alternatives for Google APIs:

select * from yahoo.finance.quotes where symbol in ("YHOO","GOOG"); for Yahoo! Finance

select * from weather.bylocation where location='Chicago' and unit='f'; for Yahoo! Weather

select * from wunderground.forecast where location='Chicago'; for Weather Underground

select * from google.translate where q="This is a test" and target="de"; for Google Translate

Tutorials and examples of consuming YQL are provided on Yahoo! website.

Sep 9, 2012

Baidu Browser featuring T5 Engine is a king of HTML5

Chinese company Baidu has launched a new web browser for Android, called Baidu Browser (or Explorer). It claims to be 20% faster than others thanks to the new T5 Engine. I didn't believe it, so I downloaded and tested it on my Android 2.3.

The home page is clean, but in Chinese. The default search engine is of course Baidu. There is a voice search as well. The user agent contains FlyFlow/2.2, which is a codename of Baidu Browser.


T5 Engine is indeed a king of HTML5, it scores 467 points and 8 bonus points out of 500 in the HTML5 Test - far more than current mobile and desktop browsers!


As to performance of Baidu Browser (right), it's beats Dolphin Browser (left) in BrowserMark by 19950 to 22322 points, which is 11%!


As you can see, Chinese can develop very good and standard-complaint browsers! Download Baidu Browser for Android 2.2+ or Windows Phone 7+.

Chrome Browser for Android 2.3/2.2/2.1

As you might already know, Google Chrome browser is available only for Android 4.0 Ice Cream Sandwich devices and newer. However, on the Android.net forum somebody has posted the Chrome browser for Android 2.3 Gingerbread and lower. After downloading and installing the APK file, I could see a very nice UI and feel a blazing fast WebKit engine.


Try it yourself! Download Chrome for Android 2.*

Welcome to Browsing the Net!

Here I will post some interesting discoveries while I'm browsing the internet. It will be websites, web apps, open source apps, OS-es, developer tools, frameworks and stuff like that. Have a nice time!