[How to] Write a code to score 39 with 3 stars in Google doodle basketball (cheat sheet)
2Today again it was pleasant surprise by Google on Basketball day, they posted a doodle to let us play basket ball. And again I thought to use the same code which I used yesterday [see here]
So my best score achieved with manual results was “33″, and with my code my best was “39″.
Here goes my code:
#include <X11/Xlib.h>
#include <X11/keysym.h>
#include <X11/extensions/XTest.h>
Display *display;
unsigned int… Continue reading
[How to] Write a code to win Google doodle hurdle game (Cheat sheet)
14Today it was exciting day when I saw everyone playing Google doodle game “Hurdle” So I also tried and got my best as 10.7.
But then I realized that if I can automate keypress events I can reduce lots of efforts, Thus I started writing and finally came up with following code
#include <X11/Xlib.h>
#include <X11/keysym.h>
#include <X11/extensions/XTest.h>
#define PRESS_UP 0
#define PRESS_DOWN 1… Continue reading
[Review] Terminator – The Tab’s Alternative
1Bad Bad Tabs!
I think the Gnome-terminal developers thought, “Well, if browsers can have tabs, why not a terminal”. I wanna ask them “But boss! What’s the use?”.
Tabs are cool, but they are cool just for the browsers, where I do not have to monitor the activities on several web pages at once. But that’s not the case with the terminal. I will go nuts… Continue reading
[Programming] Solving Facebook’s Hacker cup 2012 Alphabet soup
2This particular question was easy yet many people failed to do this correctly. So that motivated me to upload my solution on this blog.
You can go and visit http://www.facebook.com/hackercup/ for solutions online of other participants.
As Said:
The Facebook Hacker Cup is an annual worldwide programming competition where hackers compete against each other for fame, fortune, glory and a shot at the coveted Hacker Cup.
 … Continue reading
[Programming] Solving Facebook’s Hacker cup 2012 Billboards problem
5As we know that Facebook’s online programming contest known as “Hacker Cup” is going on. I solved first question yesterday and wanted to share the algorithm with you. I will certainly not share the code until the Contest ends. I will edit the same post once the contest gets over.
But For now I can tell you that I have used brute force algorithm with an optimization… Continue reading
[How to] Create awesome applications for Ubuntu(and other Linux distributions) in 10 minutes
0I can easily remember initial days of my Linux use, when I was naive and just started getting the feel of open source. As soon as I understood the concept I wanted Contribute back to the community. Or may be at least find my own problems and make an app to solve them.
I wanted something which was easy to code and fast to develop/deploy. While searching I came… Continue reading
[Tip] Record your desktop in Linux using two easy commands in your preferred format
0Which is best Desktop recording app ?? is it Record my Desktop ?… NAE! Is it RecordItNow? … NAE!
The best desktop session recorder are these two commands which can help you record your desktop in any format.
Command 1: To Record desktop session use ffmpeg
ffmpeg -r 30 -s 1366×768 -f x11grab -i :0.0 -vcodec msmpeg4v2 -qscale 2 test.avi|arecord > test.wav … Continue reading
[Android Game of the Week] – TRIAL XTREME 2
1Ever had an experience of riding bike on deadly obstacles???
If your answer is ‘NO’ then you must play this game, with scintillating graphics and deadly combination of obstacles, this bike ride will rush your ADRENALINE to xtreme level.
Our rating of this app: [rating: 4/5]
Want to see TX2 in action without even trying it – http://goo.gl/HHCxP
It is available as free… Continue reading
[Android App of the Week] Reading lyrics on any music player – musiXmatch Lyrics plugin
0Ever wanted to sing along with a song? And you can’t understand the lyrics or not remember upcoming lines.
We have a solution for you called “musiXmatch”.
Our rating of this application is: [rating: 4.5/5]
Install this app using this Download Link - http://goo.gl/Ay2wa
QR Code (scan this code from QR code scanner on your phone)
A very useful help for music listeners. This application … Continue reading




