To make a image with colourful subject framed within a black & white scene

I found there’s two ways to do this :

One is using the extract filter in Photoshop CS3

1. Suppose we have two layers of the image, the bottom will be converted to black & white by using the desaturate option; Image> Adjustments>Desaturate (shortcut Ctrl+Shift+U). The upper layer will use extract filter to extract […]

How to: Add a user from the OS X command line

Create a new entry in the local (/) domain under the category /users.dscl / -create /Users/toddharris

Create and set the shell property to bash.dscl / -create /Users/toddharris UserShell /bin/bash

March 31st, 2010 | Tags: | Category: 電腦 | Leave a comment

add printer via command line at macosx

Adding and Removing a Printer

This is done via the lpadmin command. To add a printer, use this format:

lpadmin -p Printer_Name -L “Printer Location” -E -v lpd://x.x.x.x -P /Library/Printers/PPDs/Contents/Resources/en.lproj/Printer_Driver.gz

All you have to do to the above is adjust the settings as necessary. Unfortunately, the tradeoff here is that you can’t use spaces in […]

Use photoshop layer to fix overexposure, underexposure and enhance contrast

1. Fix overexposure

Press ctrl-J to duplicate the background image to new layer Choose “Multiply” layer mode

2. Fix underexposure

Choose “Screen” layer mode

3. Enhance contrast

Choose “Soft light” layer mode

How to avoid Backscatter in Sendmail

Taken from

Your MX servers should reject email for unknown users at the SMTP initial transaction and NOT forward them to internal SMTP servers without a “user check”.

Step1: In MX SERVER, add these 4 lines to your “.mc” file in the right place.. FEATURE(access_db, hash -T<TMPF> /etc/mail/access)dnl FEATURE(`blacklist_recipients’)dnl define(`VIRTUSER_TABLE’, `hash -o /etc/mail/virtusertable’)dnl […]


[Show as slideshow] 1 2 3 ►

行完花卉展就去咗喜來登食tea Buffet

大埔海濱公園 – 三月之花

[Show as slideshow]

Cheap external RAID storage based on eSATA

Sourcing cheap external RAID storage based on eSATA

1. 5 bay 3.5″ SATA external RAID stoarge ($1399)

2. Still sourcing a fast SATA RAID controller with RAID5 and eSATA connection

Installation of VMware ESXi 4 on ASUS P6T machine

The steps are easy. Just download the VMware esxi4 update 1 ISO and install on an USB thumb drive attached on the machine. The only stuff need to twist is the detection of the onboard Realtek 8111C NIC which the original esxi4 doesn’t support.

Following the instructions from, I replaced the /bootbank/oem.tgz with the […]


尋日同呀超,Maggie去大埔鴻星打邊爐, 聽個侍應老點, 叫咗個雜錦鍋, 一上嚟, 即刻知道賴嘢喇. 大佬呀, 我平時都唔食內臟, 佢個雜錦鍋有一半都係D血淋淋嘅內臟, 見到都想嘔呀, 對住佢真係唔會有食慾. 好辛苦咁食完, 拿拿臨走咗去食甜品補數.