September 2010
M T W T F S S
« Feb    
 12345
6789101112
13141516171819
20212223242526
27282930  

Export mysql to file

select * into outfile ‘/tmp/outfile.txt’ fields terminated by ‘,’ from my_table_name;

Add Arabic keyboard to linux (Gentoo)

I’ve never thought that some day I’ll use an Arabic Keyboard on linux but I CHOOOOKED it is very simple, just edit your Xorg file and add arabic code in addition to (ALT+SHIFT) key, below is Configuration file - part keyboard :

Section “InputDevice”
Identifier “Keyboard0″
Driver “kbd”
Option “XkbLayout” “us,ar”
Option “XKbOptions” “grp:alt_shift_toggle”
EndSection
[...]

LAMP on Gentoo

LAMP
{
L=LINUX
A=APACHE
M=MYSQL
P=PHP
}
Install and configure on gentoo
1- emerge apahce2
1.1 vim /etc/conf.d/apache2
1.2 APACHE2_OPTS=”-D PHP5″
2- emerge mysql
3- emerge php
4- restart apache2

Ref #1
Ref #2

Delete Oracle trace file in linux Os

This is the simplest way to delete oracle trace files :

find -name \*.trc -exec rm {} \;
dh -sh .

Gentoo [emerge system]

What is Gentoo?

Gentoo is a free operating system based on either Linux or FreeBSD that can be automatically optimized and customized for just about any application or need. Extreme configurability, performance and a top-notch user and developer community are all hallmarks of the Gentoo experience.

Thanks to a technology called Portage, Gentoo can [...]