Shibu Lijack

Software Engineer | Technophile | Music Maniac

How to find direct download links for music and movies using Google? — March 5, 2012

How to find direct download links for music and movies using Google?

Be it music, movies or apps, I love downloading stuffs. But being in a college hostel, I am restricted from using Torrents and also almost all the file sharing sites are blocked. So I began to search for a way to download movies and music without being blocked and the idea of direct download links struck me.

I did a little bit of googling and found that I can use Google search to find those websites which contain direct download links to my search query. Now, here is the trick:
Continue reading

Plagiarism Detection Tool using Citation Analysis — February 22, 2012

Plagiarism Detection Tool using Citation Analysis

I have been doing a project for Compilers lab with my friend Sundar. It involves developing a plagiarism detection tool using citation analysis. Sounds fancy huh? I don’t mean to brag about it, but this is ‘one of a kind’ project. We are still in the beta stages. Looking forward to complete it asap. Meanwhile, this post will be my activity log of the project.

CSS3 Animated Landing page

First of all, I designed a splash page using CSS3 for my project. Actually, the original design was by CoDrops. I just made a few tweaks. *Yeah, I can hear you. It’s a free design, so that doesn’t make me a plagiarist!* ;)

Here is a screenshot:
Continue reading

How to automatically reindent code with Sublime Text 3 — May 11, 2015

How to automatically reindent code with Sublime Text 3

Sublime Text 3 is one of the most popular text editors across platforms. Although a boon for a developer, it lacks a default keyboard shortcut to reindent code automatically. But the good news is, you can create your own key binding for it.

For Mac OSX, Linux, and Windows users, the keybindings settings file can be found under the menu Preferences > Keybindings - User.

Add a JSON object that includes your key(s) and the Sublime Text command. The available key names are listed in the Sublime Text documentation (see the Key Names section).

The general pattern for your settings object looks like this:

[ { "keys": ["KEY(S)"], "command": "COMMAND"} ]

To add a shortcut for automatic indentation, add the following line to the Keybinding:

{"keys": ["command+shift+i"], "command": "reindent", "args": {"single_line": false}}

Voila! Press command + shift + i to automatically reindent your code!

Fade Image Within Sprite — May 7, 2015

Fade Image Within Sprite

Fading an image into another is pretty easy with CSS. Give the element a background-image, then on it’s :hover, change the background-image. It’s best practice to combine both images into one and shift the background-position rather than use two separate images, that’s the idea of CSS sprites.

.sprite-img {
background: url(../images/sprites.png) no-repeat;
background-position: 0 0;
width: 100px;
height: 100px;

.sprite-img:hover {
background: url(../images/sprites.png) no-repeat;
background-position: -100px 0;

But changing the background position will result in a scroll effect. What if you need a fade in-out effect?

Continue reading

How to deploy a PHP app to Heroku — April 19, 2013

How to deploy a PHP app to Heroku

1. Download and install Heroku Toolbelt:

2. Install Heroku Push (because port 22 is blocked by University’s firewall)

heroku plugins:install

1. Create an empty project and Git Repository

mkdir heroku-php
cd heroku-php
git init

2. Commit to Git

Place the PHP files in the created directory

Now add to git:

git add -A

Now commit:

git commit -m "Initial commit"

3. Create your Heroku app

This is the important step. When creating a PHP app on heroku you have to make sure you choose the ‘Cedar’ Stack.

heroku create --stack cedar

The response should look something like:

Creating damp-wildwood-1022... done, stack is cedar |
Git remote heroku added

Now push to the repository:

heroku push

The response should now look a little like:

Checking for app files to sync... done, 1 files needed
Uploading: 100.0%
Launching build process... done
Preparing app for compilation... done
Fetching buildpack... done
Detecting buildpack... done, Buildkit+PHP
Fetching cache... done
Compiling app...
  Compiling for PHP
  Bundling Apache version 2.2.22
  Bundling PHP version 5.3.10
Putting cache... done
Creating slug... done
Uploading slug... done
Success, slug is
Releasing to damp-wildwood-1022... ....done, v11

Test! You’re done

Notice Heroku gives you an auto generated app name. If you look in the first response in step 3, Heroku tells you the URL of your app. Mine is

Now you would definitely want your app name to look tidy. Do this:

heroku apps:rename newname

Once you are done editing all the project files,

heroku open

should take you to your app on a web browser.

Tweaks for TN Government Laptops — March 16, 2013

Tweaks for TN Government Laptops

Windows 7 Pro and Linux BOSS come bundled with the laptops provided by TN Government. Let’s admit it, Linux BOSS occupying an entire partition of 100 GB is just annoying.

To remove Linux BOSS, follow these steps:

  1. Boot the system and press F8
  2. Choose “Repair your computer”
  3. Windows Installer will load the necessary files and display the System Recovery option.
  4. After entering the username and password, a new Window with a list of recovery tools is displayed.
  5. Choose Command Prompt and enter: bootsect /nt60 SYS /mbr
  6. Restart the sytem.
  7. Go to Computer Management->Disk management. Format the drive containing Linux.

Tada! No more Linux BOSS :D

NOTE: Don’t format the drive before updating the bootsect.

proBoot – Bootstrap theme for phpBB3 — December 6, 2012

proBoot – Bootstrap theme for phpBB3

I have used phpBB for quite some time and it has always been my favorite bulletin board software. However, I feel that the UI has not been updated for ages. So I decided to use the Bootstrap framework to spice things up.

Base style: proSilver

Style Version: 2.0

phpBB version: phpBB 3.0.11



Download phpBB Bootstrap theme proBoot: [updated for 3.0.11 on March 22, 2013]


  • HTML5
  • CSS3
  • Responsive
  • Fluid Layout and more..

I would love to hear feedbacks and suggestions :)

The Dark Knight Rises 1080p — November 19, 2012
A Day to remember – Interview with Bally Technologies — October 6, 2012

A Day to remember – Interview with Bally Technologies

What seemed to be a very ordinary day, turned out to be one of the best days of my life.

October 5, 2012. The day I got hired by Bally Technologies. In the hope that my interview experience might help someone in the future, I am sharing this post with you!

Interview Process:

  1. Written Round
  2. Technical Round 1
  3. Technical Round 2
  4. HR Round

Written Round:

This round consisted of

  • General aptitude questions+verbal questions+Data Interpretation(30)
  • Technical skills questions(20).

Time: 75 mins

Check out Indiabix for General Aptitude and Data Interpretation problems. Verbal questions were pretty easy.

Around 120 students wrote the test and 50 got shortlisted to the next round (fortunately, I was in the top three, which helped me a lot coz they evaluate based on the cumulative score of all the rounds.)

Technical Round 1:

The interviewer asked me to solve a few aptitude problems, some of which were asked during the first written round to check if I had really solved it (fluke answers won’t help you here!)

Apart from the aptitude questions, he asked some basic CS questions from Data Structures, OOPS concepts, OS, DBMS and Networks. If you are strong with the basic concepts, this round should be a breeze.

Technical Round 2:

Now this was the round which I found to be very hard, but at the same time, interesting. The interviewer started off with asking about myself. He seemed to be impressed with my open source contribution. Then he asked me to explain my projects. Next came the coding type of questions. He asked about threads in Java. I wrote a basic class which extended Thread class. Then he asked some simple programs related to binary operations and string manipulations. After that, I was asked to debug a small code snippet, which was pretty easy.

And just when I thought the round was over, he started asking some really tough puzzles. He said and I quote,

“I don’t care if the solution is right or wrong. How you approach the problem is what matters!”

He asked about 5 puzzles, two of which I had already known before. It was tough, but I made sure I spoke up often and tried to talk my way through the solutions.

HR Round:

This was probably the easiest of all the rounds. The HR Manager was very friendly. He asked me about my family background, my strengths and weaknesses and hobbies. Then he asked me if I would be able to relocate and discussed the job profile. I kinda enjoyed this round.

After 8 hours of written tests and interviews, the HR manager told me,

“You are done for the day. Results will be announced soon. Thank you.”

At about 10:00 P.M that night, I came to know that I got selected.

It was definitely a day to remember! :)


How to turn off the google safe search filter? — August 22, 2012
The story behind the YouTube hit “Emptiness” — June 26, 2012

The story behind the YouTube hit “Emptiness”

First of all, Emptiness is one of the very few Indian songs which created a sensation in the YouTube.

The story cooked up in the video’s description is as follows:

Rohan Rathore was an IIT Guwahati student, who was suffering from Cancer. He was in love with a girl named Supriya more than anything in his life. But, Supriya refused him only because he was suffering from Cancer. Then, Rohan sung this song for his love, Supriya. But, the bad part is that, after 15 days of recording this awesome song, he died.
“May Rohan’s soul Rest In Peace!

Sounds convincing but, when checked with some IIT Guwahati students it was found out that the story is completely FALSE! Continue reading

How to download YouTube videos on Mac using Safari? — June 24, 2012

How to download YouTube videos on Mac using Safari?

If you’re using Safari, there’s an easy way to download YouTube videos.

  1. Open the page with the movie and press Command-Option-A, which shows the Activity window. [If you’re also loading other sites, you’ll see a list of them: scroll until you find the YouTube page and click on the arrow to show details about what is being loaded]
  2. You will certainly notice an element whose size is over 0.5MB (most of the time, over 5MB). Double-click on it (even if it is still loading), and Safari will download it.
  3. When the download is over, navigate to the file in the Finder and add the extension .flv to its name [if it doesn’t have an extension by default].

Get every new post delivered to your Inbox.

Join 312 other followers