Solved: unable to disable screen pinning

I’m using MIUI

I occasionally press the screen pinning

A simple solution was to not click the Got it button or any other buttons, but press the power button so that the screen locks. On unlocking, the screen pinning option is not presented!

Hope this helps reduce your frustration…

In case you pin the screen, the worst case solution is to reboot…

SL4A on Andriod 5.1.1 or more

Head here:

Get the apks for both the SL4A and Python. Install them and test it


Solved : Remote control of SL4A from computer

I setup the remote control SL4A environment.

C:\Windows\system32>set AP_PORT=9999

C:\Windows\system32>adb forward tcp:9999 tcp:55407

When trying to import android from the command line python interface I got this error

Python 2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)] on win
Type “help”, “copyright”, “credits” or “license” for more information.
>>> import android
Traceback (most recent call last):
File “<stdin>”, line 1, in <module>
ImportError: No module named android

I then JUST downloaded the file as suggested in the SL4A wiki and pasted it in the python installation directory C:/Python27. This solved the problem and import android executes without a problem!

>>> import android



[Solved]: Importing huge DB

When importing a file using bigdump.php on my Ubuntu, I got this error :

Can’t open table.sql for import

Please, check that your dump file name contains only alphanumerical characters, and rename it accordingly, for example: table.sql.
Or, specify $filename in bigdump.php with the full filename.
Or, you have to upload the table.sql to the server first.

The problem was that the file was not readable.

Simply chmod the file temporarily to 777, allowed the database to be imported.

[SOLVED] gtk-recordMyDesktop, no sound – on Ubuntu 10.04

I am on Ubuntu 10.04

I installed gtk-recordmydesktop and recorded the screen. I could not record the audio though.

I followed this link :

I set my

  • Sound preferences > Hardware
    • SetProfile = Analog Stereo Output
    • (it was earlier Analog stereo duplex)

It Works!

Solved : 404 error while changing Permalink Settings in WordPress on Ubuntu + Apache2

I am using Ubuntu 11.04 and LAMP (Apache2)

I did a fresh installation on WordPress and tried changing the Permalink settings from default to Post name option. But when I navigated to the posts, I used to get a 404 – Page not found error

Doing this solved the problem.

Making sure that the Mod_rewrite is enabled using this post and this post.

Then restart apache. Then update the permalink once more (so that it contains the Wordpres rules)

Then reload the sample-page. It works!


Solved : Failed to save main TiddlyWiki file. Your changes have not been saved

This usually means that the disk is full. Try deleting/moving some files from the drive and then resave the Wiki!

This however does not revive the Wiki though. So have some backup measures.


Solved : How to fix: PHP Deprecated: Comments starting with ‘#’ are deprecated in /etc/php5/cli/conf.d/ming.ini on line 1 in Unknown on line 0

Running Php from command-line-interface i ran something php related in the console i get this strange error:


PHP Deprecated: Comments starting with ‘#’

are deprecated in /etc/php5/cli/conf.d/ming.ini

on line 1 in Unknown on line 0


I googled for some minutes and found why is that happening and how to fix it. The solution is open the file:

[code]vi /etc/php5/cli/conf.d/ming.ini[/code]

and replace the “#” in the first line with “;” and that will fix the “warning”.

 The same worked for 
PHP Deprecated:  Comments starting with '#' 
are deprecated in /etc/php5/cli/conf.d/sqlite3.ini
on line 1 in Unknown on line 0