Was looking for a way to grep for something in a subdirectory and stopped by this short but usefull Solaris How To list.
The grep item works with unix / linux boxes as well.
http://jeffnester.com/howtos/solaris/solaris.html
enjoy the power of shell
Was looking for a way to grep for something in a subdirectory and stopped by this short but usefull Solaris How To list.
The grep item works with unix / linux boxes as well.
http://jeffnester.com/howtos/solaris/solaris.html
enjoy the power of shell
After upgrading from Ubuntu 9.10 to 10.4, I had some issues getting Java to work with Firefox, after checking the software center, I found that the Java plugin has been removed.
To get this fixed, I simply followed the steps in here http://ubuntuforums.org/showpost.php?p=9008918&postcount=32 and it worked well after that.
After updating to Ubuntu 9.10 “Karmic Koala”, i had some problems with Zend Studio GUI, some buttons when clicked appear to be pressed, but no action follows.
After searching for a while i found this fix in Zend support pages, and it solved the issue
here is the link for the fix :
http://kb.zend.com/index.php?View=entry&EntryID=435
I have been developing some tools for the media production lately, i found a neat way to add or subtract certain amount of seconds to a given time code.
for example i have a video that starts from 12:45:05 and i want to add 59 seconds to it and use the new time.
from datetime import datetime from datetime import timedelta time = datetime(2009, 1, 1, 12, 45, 05, 0) diff = timedelta(seconds = 59) final_time = time + diff
Very nice article about Ubuntu 9.04 “Jaunty”, posted by Adam Overa yesterday on tomshardware.com
Click here to read : http://www.tomshardware.com/reviews/ubuntu-linux-guide,2293.html
Highlights :
Enjoy reading & feel the freedom, Long live Ubuntu
IEEE has organized an open source week in Cairo University, for Engineering Students, i have been happy to be recommended to present the first day.
http://www.ieee-cusb.org/home/index.php?option=com_content&view=article&id=78:open-source-week
I started with a presentation about Open Source, definitions and different lisences, and what is the whole story about, then a presnentation about Ubuntu and a live Demonstration, then installation session where more than 150 Ubuntu CD was distributed.
The audience was about 200 student, and some graduates also, was a great day, it is such a pleasure to help people kiss the blue screen of death Goodbye
The remote desktop function in ubuntu is a nice handy one, to enable it from terminal
first ssh to the server you wanna remote desktop, then install tightvncserver
sudo apt-get install tightvncserver
then run it
tightvncserver
it will ask you to set a password for using this option and it will return the x desktop id.
Now go to Applications -> Internet ->Remote Desktop Viewer, and enter the address of the machine followed by the x desktop id like this :
servername:1
where 1 is the x server id.
—-
In my company they purchased some software from Autodesk that comes on Redhat Enterprise 4, i needed to install some packages on the system for the use of some internal applications, instead of installing packages and all the dependencies, i though using automatic installer like yum would be better, below is the steps to have yum installed on your RHEL4 machine :
1. Install rhel4
2. Download Yum rpm package
wget http://gd.tuwien.ac.at/opsys/linux/yum/2.0/yum-2.0.5-1.noarch.rpm
3. Install the package
rpm -Uvh yum-2.0.5-1.noarch.rpm
4. Edit repositories location
nano /etc/yum.conf
Change the baseurl in [base] to
http://mirror.centos.org/centos/4/os/$basearch/
Change the baseurl in [updates] to
http://mirror.centos.org/centos/4/updates/$basearch/
5- Install the full yum with all its dependencies.
yum install yumwell, sometimes i want to execute commands as super user without being asked for password each time to do that
to do that its pretty easy
open the terminal and type this command :
sudo visudoand uncomment the following line :
# %sudo ALL=NOPASSWD: ALL
save the file by pressing escape then typing :wq and pressing enter.
from now on you will not be asked when executing the command as super user using sudo.