Technology – Wordpress – Free Wordpress Themes


How-To

How to insert text in multiple lines in vi editor

Jan 25th, 2010 | By Steve Soe | Category: How-To, Unix

In the vi editor, if you want to add the text before some keywords in the multiple lines,  you can use this awk script.

For example: I have this file name called “/root/temp” and I want to add the word “sddl” in front of the words “Device: -r”.  I wrote my awk script like this:
awk ‘ [...]



How to Compress / Archive or Decompress / Unarchive / extract with Gzip, Zip, and Tar

Dec 16th, 2009 | By Steve Soe | Category: How-To, Unix

When the compressed files are downloaded on unix or linux, their extension are somtimes different like gz, zip, tar,  tar.gz. The commands to extract / decompress / unarchive these files are different, so here is the guide:

How to compress /archive  files with “zip”
zip -r filename.zip file1 file2 file2
How to decompress / unarchive / extract .zip [...]



How to install VMware ESX vib zip extension driver

Dec 12th, 2009 | By Steve Soe | Category: How-To, VMware ESX

In normal situation, VMware driver update is quite simple if you are installing the driver from VMware driver CD/ ISO image by doing the following three steps:

Mount the driver CD or ISO image
Go to the VMupdates/RPMS/ on the driver CD.
Run the “esxupdate update” command.

However,  some vendors may provide VIB or bundle zip files and  [...]



How to create a file in Windows

Oct 11th, 2009 | By steve soe | Category: How-To

If you want to create or generate a file of a certain size in Windows XP, Server, Vista or later versions or MS-DOS, you can use the Fsutil command . Here is the instruction:

- Log in as user name with Administrator privileges

- Open command line CMD and type in:

“fsutil file createnew <location\name of file> [...]



How to make Wordpress categories & pages into horizontal menu

Sep 19th, 2009 | By steve soe | Category: How-To, Wordpress

Some of my readers asked me how I created my horizontal menu using Wordpress WP-Categories & WP-Pages. The short answer is — I added the following two code in header.php page.

<?php wp_list_pages(‘title_li=&depth=1&exclude=’); ?>  /* For Pages */

<?php wp_list_categories(’sort_column=name&sort_order=asc&style=list&children=true&hierarchical=true&title_li=0′); ?>   /* For Categories */

Most of the Wordpress Themes have CSS tags for menu [...]



How to find out HP EVA model

Sep 15th, 2009 | By Steve Soe | Category: How-To, Server Storage

Here is the table regarding EVA models:

Model IOSCAN output
EVA3000 HSV100(A/P) or HSV101(A/A)
EVA5000 HSV110(A/P) or HSV111(A/A)
EVA4xxx/6xxx HSV200
EVA8xxx HSV210
EVA4400 HSV300

Note:
A/P – Active/Passive, for VCS 3.xxx
A/A – Active/Active, for VCS 4.xxx
VCS – Virtual Controller Software (i.e., EVA firmware)
HSV – Hierarchical Storage Virtualization (controller)

If you have HP-UX OS, use diskinfo -v to get the f/w revision.