How to download Android source codeHow to download Android source code
Source code of Android can be downloaded by following these steps: $ mkdir ~/bin $ PATH=~/bin:$PATH $ curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo $ chmod a+x ~/bin/repo $ mkdir WORKING_DIRECTORY $ cd
Installing the Android Development Environment for Windows 7Installing the Android Development Environment for Windows 7
This post lists the main steps in order to install an Android development environment for Windows 7. The developement environment relies on Eclipse. Download a JDK (7u3) from the following
How to unmount an encrypted partition?How to unmount an encrypted partition?
Unmount the partition umount /mnt Unmap the partition cryptsetup luksClose securebackup
How to mount an encrypted partition?How to mount an encrypted partition?
Map the partition cryptsetup luksOpen /dev/sdXN securebackup Mount the partition mount /dev/mapper/securebackup /mnt
How to setup partition encryption?How to setup partition encryption?
To setup partition encryption on Ubuntu, perform the following steps: Install the required software apt-get install cryptsetup For more security, erase the partition you want to encrypt with one of
How to backup and restore Windows 7 activation filesHow to backup and restore Windows 7 activation files
It is possible to backup and restore the activation status of Windows 7 Backing up the activation files To backup the activation status, backup the following files. Administrator access rights
Ubuntu 11.04 Ubuntu 11.10 Unix
How to use the loop device on Unix?How to use the loop device on Unix?
The loop device on Unix lets access a file as a block device. Disks are block devices. So, it is possible to use a file as a disk. The first
Ubuntu 11.04 Ubuntu 11.10
How to control the brightness of the display from command line?How to control the brightness of the display from command line?
You can set the brightness of the display by issuing this command within a shell echo 3 > /sys/class/backlight/acpi_video0/brightness where 3 is the brightness level. Its value is from 0
Eclipse Ubuntu 11.04 Ubuntu 11.10
How to restore the normal scroll bars in Ubuntu 11?How to restore the normal scroll bars in Ubuntu 11?
Simply create a file named /etc/X11/Xsession.d/80overlayscrollbars and put into it the following line: export LIBOVERLAY_SCROLLBAR=0 or simply execute the following command echo "export LIBOVERLAY_SCROLLBAR=0" > /etc/X11/Xsession.d/80overlayscrollbars You need to do
Install Ice Cream Sandwich on a Google Nexus SInstall Ice Cream Sandwich on a Google Nexus S
I have installed Ice Cream Sandwich (ICS) on a Google Nexus S. It works perfectly. The process is not complicated but requires some basic technical skills. What’s interesting about the process
Converting a certificate from DER to PEM or PEM to DERConverting a certificate from DER to PEM or PEM to DER
openssl x509 –in input.pem –inform PEM -out output.der –outform DER openssl x509 –in input.der –inform DER -out output.pem –outform PEM
How to remove the passphrase on a private keyHow to remove the passphrase on a private key
To remove a passphrase on a private key, simple execute this command. openssl rsa -in server.key -out server.unprotected.key Since it is a private key, make sure that it is well
Creating a certificate for a serverCreating a certificate for a server
Creating a server certificate involves only a few steps. To do so, execute the following commands. This post assumes that “OpenSSL initial configuration” and “Creating a ca’s self signed certificate”
Creating a ca’s self signed certificateCreating a ca’s self signed certificate
In order to create your own certificates, you need a CA (certificate authority) certificate. This certificate will be used to sign every certificate you will create. To do so, execute
Tomcat and MySQL benchmarksTomcat and MySQL benchmarks
Benkmarks made using a Tomcat and a MySQL database. These figures are provided to give you an idea of the performance you should expect. The tests were done in the
OpenSSL initial configurationOpenSSL initial configuration
This initial configuration procedure assumes that you are executing it on Linux Create a special user named ‘ca’. Its home directory will hold the data. It must protected carefully. For
How to change the signature of a diskHow to change the signature of a disk
To change the signature of a disk under Windows 7, follow these steps are: Run the command line utility diskpart as the administrator user Execute the command “list disk” to locate
Installation of the AVR toolchain on Ubuntu to develop for the Arduino PlatformInstallation of the AVR toolchain on Ubuntu to develop for the Arduino Platform
Install Eclipse using “Ubuntu Software Center” Install the AVR Eclipse Plugin using Help >> Install New Software. The source link is http://avr-eclipse.sourceforge.net/updatesite/ Install the gcc toolchain apt-get install avrdude binutils-avr
SSH Ubuntu 11.04 Ubuntu 11.10 Unix
SSH login without passwordSSH login without password
It is possible to securely connect to a SSH server without a password. To do so, you must perform the following steps. It assumes that both machine are running a
SSH Ubuntu 11.04 Ubuntu 11.10 Unix
How to create a SSH tunnelHow to create a SSH tunnel
You can connect to a remote host [remote-host] using another machine [proxy-host]. This can be accomplished if the [proxy-host] as an SSH server running. To do so, logon to the