Idea Blade/ZTE Blade comes with 167 MB usable memory. Their is no way you can install CyanogenMod9/10 in such a low RAM. However I took a chance and installed CM9 and it slogs like hell. Swapper2 can be used to add swap, but it adds another memory and space constraint. drewhill77 came up with an excellent way to add swap without installing swapper2. This is a simple way using which a swap is added in typical UNIX system.
Author Archives: sachin Patil
Fix MySQL problem after dist-upgrade
Often after doing dist-upgrade
on Ubuntu using a command,
sudo apt-get dist-upgrade
MySQL server fails to start throwing an error message,
sudo service mysql start
error: start: Job failed to start
How to patch the source code or revert it back?
We often have the situation of testing or applying someones patch or to remove the changes made by a patch. It may happen that a patch is not correctly applied and result into to dirty source code. This simple bit of information will help you to carefully apply the patch to your source code and also revert the changes back to original state if required. I’m using linux kernel version 3.0.42+ as example and Elan Touch Screen patch file(patch-linux-3.0.42+_elan_ts.patch).
Hack android pattern lock
How to bypass pattern lock on Android if you have made `too many attempts`
Note: This is tested on Aakash(AllWinner A13) but you may find the scripts and reference useful
Situation: The attempt to unlock pattern was exceeded, so with no Internet connection and no adb
access how to delete the database entries
Working with chroot environment
What is chroot ?
As its man page says, “it is used to run commands or an interactive shell with special root directory“. It provides an environment to test new packages in a secured way without touching an actual system. It can be called as a virtual system with a new as an root(/) directory.
Command-line Android
We often use Eclipse for Android programming. Of-course creating an Android project is simple and easy for a beginner and advance user using Eclipse. Eclipse creates a file hierarchy needed for an Android project. Also building and running an apk
is even simpler. But for those who don’t want to switch to GUI or who want to stick to the terminal for Android programming, read on ..
Insert time-stamp from GNU/Emacs
Often you need to insert a time-stamp within a file while working in GNU/Emacs. One way of doing it is to type
C-u C-! date
which will print a string something like
Sun Feb 24 00:11:59 IST 2013
using pdftk
merging
suppose I have some pdf pages like
front.pdf, toc.pdf, auth_colo.pdf, part1.pdf, chap01.pdf, chap02.pdf, part2.pdf, chap03.pdf, chap04.pdf, chap05.pdf, part3.pdf, app_A.pdf, app_B.pdf, and, index.pdf
what is Emacs?
Well a straight answer to this question is “GNU/Emacs is a text editor” which can be easily extended and customized. But I would say its an Operating system in which one can do anything from managing other processes, files, folders, check mails, browse web and even listen to music apart from just editing text and writing codes. For developers and coders it acts as an full fledged IDE.
what is Git?
Git is a version control software used to manage documents and source-code of a software program over time and between people. As we know that the software changes with time with many updates and BUG fixes. Sometimes it happens such that the latest changes implemented in a source-code makes it completely unusable, and if the copy of the previous working code is not kept safely, all the work is in vain.