When you try to add using ’08’ or ’09’ in bash you will encounter this issue.

This will happen if you are taking input from ‘date +%S’ function. For example,

s=$(date +%S);


if $s is ’08’ or ’09’, you will see the above error.


s=$(date +%-S);

Add a minus before “S”. That’s it.

rotten tomatoes python script



Another necessity that lead to some invention.

github link

Necessity : Some of my friends have troves of movies in their hard disks. I am always at a loss of finding what are good among them. So today I wrote a python script which if given with the names of the movies files, produces a file that contains the rating of critics and audience from rottentomatoes.com

Let me know if anyone else found this useful

The below solution works for Unicode writing in Photoshop also.



The reason why this error comes is because there is no dynamic loader in an android system. Everything is statically compiled. So the application you are running is most definitely a dynamically linked application.

Compile the app into statically linked and it will run,

1) Under Settings/Filters scroll to the bottom of the page and click “Create a new filter”
2) In the pop up box that appears, enter is:chat under the heading “Has the words”.
3) Click “Create filter with this search”
4) Click “Ok” in the warning box that appears
5) Select “Skip the inbox (Archive it)”
6) Select “Delete it”
7) Select “Also apply filter to XX matching conversations.”

Since most of the executable that comes with Android SDK 64 bit is still 32-bit, you need to have 32-bit compatibility libs added to your ubuntu. To do that execute the following in that order.

sudo dpkg –add-architecture i386
sudo apt-get -qqy update
sudo apt-get -qqy install libncurses5:i386 libstdc++6:i386 zlib1g:i386

Relaunch Eclipse IDE after this.

| WindowManager.LayoutParams.FLAG_DISMISS_KEYGUARD
| WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON
| WindowManager.LayoutParams.FLAG_TURN_SCREEN_ON);

Read this stackoverflow post for details – link


Use the above code.

I had tried everything known to stackoverflow but finally stumbled across a solution by accident.

To get a separator to appear after the last ListView entry also, you need to set the layout as <LinearLayout>. For some reason, <RelativeLayout> and other kind of layouts doesn’t produce this effect.

Here is the XML that worked for me.

<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”
tools:ignore=”MergeRootFrame” >

android:layout_height=”match_parent” >


The lines marked in bold are important. Don’t ask me why. I don’t know. But when I find out I will blog about it.

How Old Are You Android App Poster

I authored a non-sense Android app recently. It is called – How Old Are You. A common app idea but executed with a difference.

It tells you how much seconds have elapsed since you were born.

Generally in your 31st year, your heart would have beaten for a minimum of 1 Billion times.

App Store link – https://play.google.com/store/apps/details?id=com.aneeskA.howoldareyou