Find all files and change their type from DOS to UNIX?

The main problem is the difference format of text file under DOS and UNIX, always face this during diff 2 dir, after working under WinXP and move back to Debian. This simple command can convert all file from DOS to UNIX under Debian:

find /some/dir -type f -exec dos2unix -f '{}' \;

Search some text from multiple files?

When coding we always need to find some text from multiple files. You may open them one by one and search it though VI, but I will suggest for a simpler method. Run the following command:

find /some/dir | xargs fgrep -nH 'text'

Moving to new Debian server

I get a new debian server:

  1. AMD Sempron AM2 2800+
  2. 512MB x 2 DDR2
  3. 120GB SATA HD x 4 => 768MB RAID 1 /boot, 768MB x 2 swap, other RAID 5

I think the nvRAID is hardware RAID...
but finally it is just a software one...
on the other hand, Debian don't support dmraid for install, so just use mdraid ;-)

Network Simulation Cradle (NSC)

Prof. Lee have send me a mail this morning about a tool call Network Simulation Cradle (NSC):
http://www.wand.net.nz/~stj2/nsc/
http://research.wand.net.nz/software/nsc.php

HOWTO use UML with DHCP+UML-switch

by using UML with my simple boot script, we need the following things:

  1. UML-switch and config the virtual NIC tap0, so can run more than 1 UML client at once with networking
  2. DHCP server, for client IP automatic assign
  3. iptables, so masquerade the virtual network to real external interface

the details:

Get theme name internet_services

after contact with the other developer Kevin A. Hoogheem:

Hi,

About theme Internet Services

Suddenly found that someone also working for Internet Services which submitted to drupal as theme on 6/6/06 Orz...
Fine~~~ I may give up my submittion since I started my work from 13/6/06.

BTW, after I try about their implementation...
I can't accpet myself to give it up !!
The level is just what I worked for half day !!
Almost all point that I have already consider about are MISSED !!
As like as the login block next to search form nor the BG of search bar the left column block header is bugged too !!

contented7 go to drupal.org

finally can handle cvs in drupal.org
the project is now in here
screenshot-drupal.org.png

Starting for new theme : Internet Service

image
this theme will be used in Complus
come from Solucija

New theme : contented7

The site have new theme ;-)
You may not like the color
but i need it for testing Orz...

This theme is come from Contented Designs

I am now tring to submit it drupal as a new theme and so learning in how to do so
CVS is required again...

BTW it is a good chance for learning ;-)

Pages

Subscribe to edin.no-ip.com RSS