I’ve been using Apple’s native mail application since the day I bought my first iPhone. Its set up with my gmail using google exchange. Everything seemed perfect, I was able to read emails, reply to them, add pictures, open attachments, it looked complete. So far so good!
Then came Gmail official iPhone application, that made me realize what I have been missing so far. It was having most of the features which I like about its web counterpart. It had great message display, better representation for email thread, above all its search actually worked.
In last couple of years you must have seen countless examples of responsive designs. Most of the websites are either already responsive or are planing for a responsive re-design. As we see more and more devies, this trend is likely to continue in near future as well. Pete Cashmore from Mashable has already declared 2013 as the year of Responsive Designs.
- Its has got an easy api to let us draw shapes, group them together with layering support
- Collection of rich examples, showcase of each feature give quick understanding
- Currently under active development, so we can assume timely updates and quick issue resolution
For one of my project I had to use social connect buttons, with Facebook, Twitter, and Instapaper. I tried searching for any buttons that fits my bill, but that went in vain. Later I created these buttons myself using Photoshop. I am releasing these buttons source, may be it’ll save others time.
What is the first solution comes to your mind, when someone asks you
The obvious solutions to this is to set “display” style to “none”. Something like this:
document.getElementById('element').style.display = 'none';
This will surely work, but is it the correct way to do so? May be not, as you would face problems in showing that element again. The problem in showing that element is that you don’t know the original display property of that element.
Git is a very popular distributed revision control system with an emphasis on speed. Recently for my projects I need to setup up a private Git Setup on Webfaction Server. So here is the way to Install and start using Git on Webfaction.
How to Install Git on Webfaction
- Log into your Webfaction Control Panel
- Navigate toÂ Domains/Websites Â» Applications
- ClickÂ Add New
- EnterÂ git as the application name in theÂ Name field
- SelectÂ git from theÂ App category menu
- Enter a password for the default user in theÂ Extra Info field
- Click theÂ Create button
The Git application provides a subdirectory,Â bin, which contains the Git executables.
Photo Credit : Helen Morgan
The Third and final problem of the Facebook Qualification 2011 Round was Studious Student. The problem goes like this:
You’ve been given a list of words to study and memorize. Being a diligent student of language and the arts, you’ve decided to not study them at all and instead make up pointless games based on them. One game you’ve come up with is to see how you can concatenate the words to generate the lexicographically lowest possible string.
Continuing with my earlier solution of the First Problem â€œDouble Squareâ€, here is solution and analysis for Second Problem â€œPeg Gameâ€
At the arcade, you can play a simple game where a ball is dropped into the top of the game, from a position of your choosing. There are a number of pegs that the ball will bounce off of as it drops through the game. Whenever the ball hits a peg, it will bounce to the left with probability 0.5 and to the right with probability 0.5.
A lot of people have participated and qualified in Qualification Round of Facebook Hacker Cup. Luckily I am also qualified for First Round. Facebook Hacker Cup Qualification Round consisted 3 problems. All of these problems were programmatically easy but tricky. Lots of people made very simple mistakes while solving these problem(including me).
First Problem of the round was:
A double-square number is an integer X which can be expressed as the sum of two perfect squares. For example, 10 is a double-square because 10 = 32+ 12.