Script listing all the keys on a memcache server March 21, 2013
Antre du Tryphon
Search

Script listing all the keys on a memcache server

This script lists all the keys on a memcache server.

Ralink RT5572 based WiFi Usb Dongle setup on Ubuntu 12.04

The WiFi USB dongles based on the newest RT5572 chip set do not work out of the box on Ubuntu.  Unex DNUR-V72, D-Link DWA-160 Rev B and TP-Link TL-WDN3200 dongles are based on this chipset. You will need to compile the source code of the driver to make it work.  Do not leave this page!  This involves only a few easy steps. 1. Save this page's link.  You will have to reboot and come back to it. 2. Un-plug the WiFi USB dongle from your computer. 3. Reboot your computer. 4. Download the driver's source code from the manufacturer website. Alternatively, you can download a version of this file from this site. Files have been already edited. Steps 9, 10 and 11 are then unnecessary. Note that the filename is slightly different (DPO\_RT5572\_LinuxSTA\_2.6.0.1\_20120629\_EDITED.tar.bz2.bz2). 5. Open a terminal window. 6. Change to the directory that contains the driver's source code downloaded previously.  For example,

Recording a terminal session under Linux

It is possible to record a terminal session under Linux with ttyrec. It also records vi, emacs, etc. sessions. Fisrt, install ttyrec

Masquerading or replacing outgoing SMTP email address with Postfix

August 1, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu postfix
Postfix can replace an outgoing email address by another one. To do so, you must perform these steps: Add in /etc/postfix/main.cf the following line

Create an ext3 or an ext4 partition without a journal

July 16, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu
Most of the time, having a journal for ext3 and ext4 partitions is pretty useful. Nevertheless, you can prevent creating a journal by adding the option ^has\_journal. For example:

Initializing a brand new disk with "parted"

June 16, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04 Ubuntu
"parted" is a replacement for "fdisk" of Linux.  It can handle disks larger than 2 TB.  Issue this command to launch "parted" where /dev/sdL is the disk you want to initialize.

How to use the loop device on Unix?

January 22, 2012 · admin Ubuntu 11.10 Unix Ubuntu 11.04
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 step, create a file that will be used as a disk.

How to control the brightness of the display from command line?

January 17, 2012 · admin Ubuntu 11.10 Ubuntu 11.04
You can set the brightness of the display by issuing this command within a shell

How to restore the normal scroll bars in Ubuntu 11?

January 11, 2012 · admin Ubuntu 11.10 Ubuntu 11.04 Eclipse
Simply create a file named /etc/X11/Xsession.d/80overlayscrollbars and put into it the following line:

SSH login without password

November 10, 2011 · admin Ubuntu 11.10 Unix Ubuntu 11.04 SSH
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 flavor of Unix. On the client machine, open a shell window and execute the following command to create your private and your public key.