How to change linux default gateway / route

May 24th, 2007

If you have to internet connexion and want to switch from one router to the other just issue:

<code>ip route add default via 192.168.X.X</code>


We’re pleased to announce the official release of Xen 3.1!

May 18th, 2007

This represents a major milestone in the Xen project containing performance
and stability enhancements, additional features for all architectures, and a
brand new management API. Highlights of this release include:

- XenAPI 1.0 support
- XML configuration files for virtual machines;
- VM life-cycle management operations; and
- Secure on- or off-box XML-RPC with bindings for many languages
- Preliminary save/restore/migrate support for HVM (e.g. Windows) VMs;
- Dynamic memory control for HVM guests;
- 32-on-64 PV guest support (run PAE PV VMs on a 64-bit Xen!); and
- Blktap copy-on-write disk support.

You can get the source using mercurial from:
xenbits.xensource.com<wbr>/xen-3.1-testing.hg

Source and binary tarballs, and RPMs, are available from:
www.xensource.com<wbr>/download/index_oss.html


Play audio cd with xmms

May 17th, 2007

To play audio cd with xmms, do a yum install (or apt-get) xmms-cdread,
then go in xmms, option -> preferences, in the “Audio I/O Plugins” choose AudioCD Reader, make sure to enable it then click on configure. You can activate/de-activate the CDDB (to get the songs titles from internet database). In the outpu tab, select Read Digital CD Audio”.

Save the settings, you are now ready to play audio cd with xmms!

Go in “Play file” then type /dev/cdrom or go select it, that should be it.

Linux: Send attachment from the command line with MUTT

May 11th, 2007

If you need to send a binary file from the command line, you can do it very easily with mutt:

  • mutt -s “subject” someone@domain.com -a mypicture.jpg mypicture2.jpg < mymessage.txt

JAJAH Gets $20 Million Investment Boost from Intel !

May 9th, 2007

This is a great news for this inovative company that allows to connect 2 users by phone around the globe at the cheapest price.

Modulis-voip can help you to integrate systems like Jajah into your own website our voip application !


Extension for clear all page cache for the clients

April 26th, 2007

There is an extension that was posted in the Typo3.org. This extention enable the no admin client to clear the cash of a specific page or the whole site.

Extension: tc2l_modclearcache

Centos 5 is released

April 20th, 2007

Was reading a review of their new release. There are several new features I find intriguing - clustering support and and Xen inclusion.

Was reading a review of their new release. There are several new features I find intriguing - clustering support and and Xen inclusion.

You can read about it here.

Add new CSS to tt_news

March 29th, 2007

The tt_news extension comes with a few templates styles located in tt_news/static folder. If you don’t want to use them and to define your own template setup, here’s how I did it:

add the following line to tt_news/ext_tables.php : t3lib_extMgm::addStaticFile($_EXTKEY,’static/modulis_css/’,'CRM tt-news CSS’);

Then just copy/paste one of the other template setups (such as tt_news/static/css/setup.txt) and modify it as you see fit. From here, simply add  your custom static template setup as you would to one of their own.

Samsung Officially Unveils Vista Compatible Hybrid Hard Drives; Consumers can better understand Flash Applications on PC

March 13th, 2007

Samsung has officially begun supplying built-in Flash Hybrid Hard Drives (HHD) to OEMs. The model, which is dubbed MH80, is a 2.5 inch HHD that comes in 80GB, 120GB and 160Gb densities. Each type carries 128 or 256MB of OneNAND Flash.

Hybrid Hard Drives are the newest Flash application, which is supportable of the ReadyDrive feature of the Vista Operating System. According to the Microsoft’s official website, the Flash memory is used primarily as a so-called “buffer zone” for the OS boot up process or commonly used programs. More power is saved, as it allows less access time to the mechanical HDD. In addition, when the PC is in sleep mode, it lets the PC return faster to its normal operations, along with boosting the reliability of relevant data accessing.

According to Samsung’s official data, the MH80 HHD can cut down the computer boot time by 50%. In addition, it can save up to 70%-90% of power consumption, when compared to traditional HDDs. When used on the Notebook, it can extend the battery life approximately 30 minutes. Although Samsung’s HHD employs both 128MB and 256MB of OneNAND Flash, it does not contribute to the NAND Flash demand. However, the HHD can be used to educate the public on a new Flash application on PCs. Through Vista’s ReadyDrive function, users can clearly see how the Flash memory can boost the overall PC performance. In the near future, we also expect other HHD suppliers in introducing built-in NAND Flash HDD, which will most certainly become a new source in NAND Flash consumption. Needless to say, when the manufacturing costs of the NAND Flash based Solid State Disk drops to a more acceptable level, consumers will be even more willing to buy an NB equipped with an SSD.

Using vim/gvim remotely

March 8th, 2007

Using an editor after sshing to a remote server can be a pain especially when dealing with extra restrictions and behaviours inherited from the terminal. The most annoying one, for instance, would be that you would need the editor installed on the server itself.

Instead of using the server’s editors, you can opt to use your local vim or gvim to remotely connect to the server using scp.

To do so, make or edit the .vimrc or .gvimrc file in your home directory to have this line:
let g:netrw_scp_cmd = “scp -P 22 -q”

If you use RSA or DSA key pairs, simply add your key inside the command.

The above can thus be modified to:
let g:netrw_scp_cmd = “scp -P 22 -q -i ~/.ssh/private_key_name”

Notice I have have added the “-P22″ option. This refers to the port used by scp, which is 22 by default.

Once this is done, do “source .vimrc” or “source .gvimrc” on the terminal to update its settings.

The last step is to open the file remotely.

To do this, simply run this command from the terminal:
vim scp://johnny(at)some-website.com//home/johnny/somefile

The same command applies to gvim as well.