XSCF>
Display all 150 possibilities? (y or n)
XSCF> showdomainstatus -a
DID Domain Status
00 Running
01 -
XSCF> console -d 00
Connect to DomainID 0?[y|n] :
20101213
xscf: accessing console
20101130
view and increase semaphores on "solaris 9"
# sysdef | grep -i s[eh]mto edit, edit the
/etc/system and reboot.
20101122
20101121
Failed to retrieve method context for the ... method of instance... Could not interpret ... property.
Nov 22 06:41:42 myhost inetd[27129]: [ID 702911 daemon.error] Failed to retrieve method context for the inetd_start method of instance svc:/network/omni/tcp:default: Could not interpret group property.
# svcprop network/omni/tcp | grep group
inetd_start/group astring root
# grep root /etc/group
other::1:root
bin::2:root,daemon
sys::3:root,bin,adm
adm::4:root,daemon
mail::6:root
tty::7:root,adm
lp::8:root,adm
daemon::12:rootroot group is missing, so simply append to the 1st line..
root::0:
20101114
20101104
write: you have write permission turned off
root@aidil:~# mesg
is n
root@aidil:~# mesg y
root@aidil:~# mesg
is y
20101012
20100831
HPUX identify the 9th lun
| tail | grep Instance
Instance = 83
N1# scsimgr get_attr -C lunpath -I 83 -a lunid \
| grep '#'
current =0x4009000000000000 (LUN # 9, Flat Space Addressing)
N1# ioscan -m dsf /dev/rdisk/disk88
Persistent DSF Legacy DSF(s)
========================================
/dev/rdisk/disk88 /dev/rdsk/c5t1d1
/dev/rdsk/c7t1d1
/dev/rdsk/c9t1d1
/dev/rdsk/c11t1d1
/dev/rdsk/c13t1d1
/dev/rdsk/c15t1d1
/dev/rdsk/c17t1d1
/dev/rdsk/c19t1d1
20100824
Kerajaan jimat RM200 juta guna perisian sumber terbuka
Sent to you via Google Reader
Kerajaan jimat RM200 juta guna perisian sumber terbuka
KEPALA BATAS 23 Ogos – Kerajaan menjimatkan sehingga RM200 juta selepas lebih 95 peratus agensi kerajaan mengaplikasikan perisian sumber terbuka (OSS) sektor awam sejak dilancarkan pada 2004.20100819
What do you call a Unix guy who loves Microsoft Outlook? :-P
"Unix guy with no dignity? Wakaka"
20100818
20100816
20100813
windows uptime
Statistics since 1/1/1980 12:00:00 AM
use net statistics workstation
20100729
I need a few more brains.
20100713
Some alteration to Mike's Sidebar Login code
Not to disrespect, but I want it to look more compact and clean. So I made some modification to the input text area. It would be nice if the labels are inside the text area and disappear when they are clicked upon.
20100712
Customize Time Machine Intervals

20100513
Linux Ubuntu & Maxis Broadband Huawei E220 or E1762
usb-modeswitch/etc/usb_modeswitch.conf must exists & contain everything below:DefaultVendor= 0x12d1
;DefaultProduct= 0x1003
DefaultProduct= 0x1446
;DetachStorageOnly=1
;HuaweiMode=1
MessageEndpoint=0x01
MessageContent="55534243000000000000000000000011060000000000000000000000000000"/etc/udev/rules.d/15-huawei-e1762.rule also must exists with this content:SUBSYSTEM=="usb", SYSFS{idProduct}=="1446", SYSFS{idVendor}=="12d1", RUN+="/usr/sbin/usb_modeswitch"finally, run usb_modeswitch
Flash doesn't work in Ubuntu Chromium
sudo apt-get install flashplugin-nonfreemake sure
libflashplayer.so sits inside /usr/lib/chromium-browser/plugins/
Ubuntu 10.04 Lucid Lynx on HP Mini 5101 Setup
This week I 'ubuntunized' - there goes a new word! - my sister's netbook. She frowned about the viruses. I spilled the offer. Time has come baby!
20091229
http://www.catcheye.com.my/?r=40432
20091116
Linked Text Hover Tips
a:hover {text-decoration:underline; color:#036;}
20090928
HP-UX ping source quench
20090912
20090808
Privilege separation user sshd does not exist
/sbin/init.d # ./secsh start
Privilege separation user sshd does not exist
EXIT CODE: 255so...
/sbin/init.d # useradd -u 103 -c "sshd privsep" -d /var/empty -s /bin/false sshdif you want to specify group, -g yourproblem
20090802
20090714
Fusion Can Explode
20090709
20090528
./isempty.sh[3]: test: Specify a parameter with this command.
isempty()
{
NAME=$1
if [ -n $NAME ]; then echo not empty!
else echo it is empty!
fi
}
echo "name: \c"
read name
isempty $name
I feel there is a proper way than to append 2>/dev/null
20090526
Color Code
STYLE = {
"default" : "\033[m",
# styles
"bold" : "\033[1m",
"underline" : "\033[4m",
"blink" : "\033[5m",
"reverse" : "\033[7m",
"concealed" : "\033[8m",
# font colors
"black" : "\033[30m",
"red" : "\033[31m",
"green" : "\033[32m",
"yellow" : "\033[33m",
"blue" : "\033[34m",
"magenta" : "\033[35m",
"cyan" : "\033[36m",
"white" : "\033[37m",
# background colors
"on_black" : "\033[40m",
"on_red" : "\033[41m",
"on_green" : "\033[42m",
"on_yellow" : "\033[43m",
"on_blue" : "\033[44m",
"on_magenta" : "\033[45m",
"on_cyan" : "\033[46m",
"on_white" : "\033[47m"
}
20090525
echo escape sequences
\a write an alert character
\b backspace
\c print line without appending a new-line
\f form-feed
\n new-line
\r carriage return
\t tab
\v vertical tab
\\ backslash
\n the 8-bit character whose ASCII code is the 1-, 2-, 3-
or 4-digit octal number n, whose first character must
be a zero.
\0num write an 8-bit value that is the zero-, one-, two- or
three-digit octal number num
Adding Space to an ESX Server Virtual Disk
# vmkfstools -X 60G virtualdiskiwanttoextend.vmdkRefer here. Careful with the number you choose. Above example means change the disk capacity to 60GB, not by 60GB.
20090512
How you guys partition 1TB disk?
1. Backup
2. Disc image, a size of DL DVD
3. Documents
4. VMs
Thank you for your support!
20090510
Enable Appear Offline / Invisible in Office Communicator 2007
DWORD name is EnableAppearOffline, type is REG_DWORD and location is My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Communicator.
20090407
I Love Shortcuts!
Annotation - ALT+CTRL+M
Auto Format - ALT+CTRL+K
Auto Text - F3 or ALT+CTRL+V
Bold - CTRL+B or CTRL+SHIFT+B
Bookmark - CTRL+SHIFT+F5
Copy - CTRL+C or CTRL+INSERT
Copy Format - CTRL+SHIFT+C
Copy Text - SHIFT+F2
Create Auto Text - ALT+F3
Date Field - ALT+SHIFT+D
Delete Back Word - CTRL+BACKSPACE
Delete Word - CTRL+DELETE
Dictionary - ALT+SHIFT+F7
Do Field Click - ALT+SHIFT+F9
Doc Maximize - CTRL+F10
Doc Move - CTRL+F7
Doc Restore - CTRL+F5
Doc Size - CTRL+F8
Grow Font - CTRL+SHIFT+.
Grow Font One Point - CTRL+]
Hanging Indent - CTRL+T
Header Footer Link - ALT+SHIFT+R
Help - F1
Hidden - CTRL+SHIFT+H
Hyperlink - CTRL+K
Indent - CTRL+M
Italic - CTRL+I or CTRL+SHIFT+I
Justify Para - CTRL+J
Left Para - CTRL+L
Line Up Extend - SHIFT+UP
List Num Field - ALT+CTRL+L
Outline - ALT+CTRL+O
Outline Collapse - ALT+SHIFT+- or ALT+SHIFT+NUM -
Outline Demote - ALT+SHIFT+RIGHT
Outline Expand - ALT+SHIFT+=
Outline Expand - ALT+SHIFT+NUM +
Outline Move Down - ALT+SHIFT+DOWN
Outline Move Up - ALT+SHIFT+UP
Outline Promote - ALT+SHIFT+LEFT
Outline Show First Line - ALT+SHIFT+L
Lock Fields - CTRL+3 or CTRL+F11
Web Go Back - ALT+LEFT
Web Go Forward - ALT+RIGHT
Word Left - CTRL+LEFT
Word Left Extend - CTRL+SHIFT+LEFT
Word Right - CTRL+RIGHT
20090401
SSH through SOCKS proxy
Host * ProxyCommand connect -S socks.proxy.la %h %pSSH through SOCKS proxy
Host * ProxyCommand connect -S socks.proxy.la %h %piPhone Tethering
- establish wifi connection (comp + iphone)
- run socks (3proxy) from mobileterminal
- surf anything from mobile safari to establish EDGE
- set browser's socks proxy with iphone IP address & port 1080
- if firefox, additional step: set network.proxy.socks_remote_dns to true
How to change MySQL user password
mysql>" prompt, type:set password = password("yournewpassword");*I always forget this, I need to jot down*
20090224
Clippy! I miss thou!!
They have replaced the way to show copy & paste button to by holding
[123] even for copying an sms, you need to hold them. Thank God Clippy
is back!
Sent from my iPhone
20090220
promoting solution to run Windows on VirtualBox. The catch is of
course, less virus threat & VB snapshot. Compiz effect also gives
bonus to attraction.
P/s: mood is unhappy because my huge hfs filesystem is corrupt due to
improper usb removal
20090202
backup-sms.sh
20090201
Aperture: A tiny thing that saves a lot of time.

Just for expressing an excitement. A new thing I just discovered and love about Aperture.
I have a lot of pictures and my last trip to Langkawi produced more than 1700 shots - and my mother wants them ALL! So as I started to export hundreds of pictures, I went through one by one to reject bad photos - even the exporting is still running (right now). Suddenly I came to a photo that attracts me. After a simple edit, I decided to upload it to Flickr and this is the good part. I don't have to wait for the earlier exporting process to complete before exporting a new picture. It really saves my time.
What a good software design in customer point of view!
20081202
Intrepid On Acer Aspire 4720
was surprised of how cool & beautiful Linux these days. It is even
easier to setup comparing to old days. I also compared Ubuntu with
Fedora Core 10 on my VirtualBox. I have to agree, I like pre-installed
Ubuntu better. Picasa also works great.
Now, with VirtualBox, she keep a copy of an uninfected Windows. She
still need it I for her iPod because iTunes doesn't work well with
Wine. But still a few issue she face - USB & Shared Folder in
VirtualBox.
20081125
20081120
20081118
Convert plist binary to xml, back and forth.
plutil -convert xml1 some_file.plistplutil -convert binary1 some_other_file.plist
To check, use file something.plist
Leopard Re Installation: Part 2
Leopard Re Installation: Backup & Restore Issue
Restoring using Time Machine right after Leopard Installation is not as I expected. There will be folders like 'System (from old mac)', 'Applications (from old mac)'. For me, this is not neat.
Your OSX filesystem must have the same format as your Time Machine backup filesystem. I'm using HFS Journaled with Case Sensitive, but my external hard disk is using HFS Journaled NOT with Case Sensitive. I have to reformat either my OS X partition, or my external hard disk.
Restoring files from Time Machine is strict because of UID. My user uses 501 as UID but my last Server system was using 1000 as UID. So restoring could get complicated.
Right now I'm going to change my UID and reboot and see what will happen.
20080927
Phone Number Fix on iPhone (localization)
Replace PhoneNumberTemplates.plist
in the /System/Library/PrivateFrameworks/AppSupport.framework
*Best to just backup/rename than to remove.
Custom Ringtones on iPhone
Fix Youtube on iPhone
to /private/var/root/Library/Lockdown and remove pair_records folder.
*Best to just backup/rename than to remove.
20080917
Shell Auto-completion
EDITOR=`which vi`; export EDITORFew servers gave me hard times on stty important function. So I:
echo "stty erase ^H
stty kill ^U
stty intr ^C
TERM=vt100
EDITOR=`which vi`
export TERM EDITOR" >> ~/.profile
20080910
Use putty to access vnc using ssh tunnel
Hostname: ssh_server
X display location: localhost:0
Source port: 5901
Destination: vnc_server:5900On vnc, connect to
localhost:1
20080822
...in more simpler format, let say httpd-access.log, a tool
that can analyze it and gives number of connection for each
unique source, ...that is just an idea
16:10 < geek00l> codept, we call it - awk, sed, sort, uniq, grep and fuck
20080813
Be Gentle With Your Keyboard
Think before you type. Think again before you press enter. Avoid typing too fast (because there are kids who think typing fast shows that they're good). Type slow not too slow, sit back and relax. Enjoy the cleanliness of your terminal output.
p/s: Yeah, I've worked with business critical environment... and I did screw up a few times :-p And this came to my mind while I was watching a 'really good' but not sys admin guy, typing neatly.
20080812
Start postgresql, create database and access it
# su - pgsql
$ initdb -D /usr/local/pgsql/data (if only doesn't exist)
$ postgres -D /usr/local/pgsql/data >logfile 2>&1 &
$ createdb test
$ psql testInstall: using ports
Binary location:
/usr/local/binDon't forget to modify
rc.conf
20080807
httpd.conf | php module
20080725
20080720
Failed to enable the 'httpready' Accept Filter
[bambino@bambino ~]$ sudo apachectl start
[Mon Jul 21 14:42:39 2008] [warn] (2)No such file or directory: Failed to enable the 'httpready' Accept Filter
[bambino@bambino ~]$ sudo kldload accf_http
[bambino@bambino ~]$ sudo apachectl restart
[bambino@bambino ~]$
20080719
streamyx settings for ADSL wireless router
- enter correct username and password
- vpi : 0 (zaro or 8 if you want)
- vci : 35
using command line mail
$
mail RECIPIENTEnter subject, press enter, and type mail content. Ctrl + D to finish.
To include content from a text file, for example, msg.txt, simply enter ~r ./msg.txt at the first line of the mail content.
$
mail RECIPIENT -c CCPERSONTo list mail headers in inbox
$
mail -HTo list mail saved msg headers in mailbox (~/mbox)
$
mail -FInside mail console (don't really know what to call exactly), you can use h to list again mail headers, and enter any number to read specific mail.
RCS | Revision Control System
- mkdir RCS (ignore if folder already exists)
- rlog example.conf
- if rlog returns no file or dir, check in the file and enter description:
ci -u example.conf - if rlog returns information, check out the file to edit:
co -l example.conf - if it's not locked, you may edit the file with your favorite editor and save it.
- check in the file and write a log:
ci -u example.conf - you may check the information using rlog again.
Please make sure you understand before doing it. Google for RCS.
20080718
Set mysql root password
$ mysqladmin -u root password NEWPASSWORDTo change password:
$ mysqladmin -u root -p OLDPASSWORD NEWPASSWORDTo login with password:
$ mysql -u root -p PASSWORDTo change password mysql sql command:
mysql> use mysql;
mysql> update user set password=OLDPASSWORD("NEWPASSWORD") where User='USERNAME';
mysql> flush privileges;
mysql> quit
20080716
Unresponsive Dock and Finder
But user fast switch is enabled. I logged in as administrator and used terminal to kill other's Dock process.
PS=`ps aux | awk '{if($1="amanyus") print}' | grep -i dock`; kill $PS
PS is temporary shell variable to hold a value. This value is coming from a ps command after few filtering with awk and grep. Awk only print lines that match the first column with user amanyus, which result in all amanyus' processes. Next with grep, only match insensitive case dock rather that all processes under user amanyus because we only want to find Dock process and put in the PS variable. Up to this point, PS variable will hold the process number of amanyus' Dock. After the semicolon, the process will be killed.
Silly is you just can simply use
ps aux | grep amanyus | grep Dock and kill the Dock's process without bothering with awk command =pp/s: Hey, I forgot about spotlight at the first time to search Terminal, but not sure if it would work.
20080604
20080603
20080526
Screwed Up: Open Directory Part 3
drwx------+ 6 diradmin staff 204 May 25 16:36 Desktop
drwx------+ 22 diradmin staff 748 May 19 09:45 Documents
drwx------+ 109 diradmin staff 3706 May 25 18:52 Downloads
drwx------+ 42 diradmin staff 1428 May 19 09:18 Library
drwx------+ 9 diradmin staff 306 May 25 17:13 Movies
drwx------+ 5 diradmin staff 170 May 13 13:00 Music
drwx------+ 11 diradmin staff 374 May 25 15:40 Pictures
drwxr-xr-x+ 5 diradmin staff 170 May 14 08:58 Public
drwxr-xr-x+ 11 diradmin staff 374 May 23 00:06 Sites
drwxr-xr-x@ 314 diradmin staff 10676 May 26 09:47 mp3The owner of my original home folder gave me a clue. They are all owned by directory admin. And I remember last time when I changed the Open Directory role to the Directory Master, we need to set password and verified it. There is also a username already written there as diradmin. So what I did is I set the role to standalone and set it back again to Directory Master. This time I replace the diradmin as my original account name. I backed up before commit to prevent any loss or the potential of my home folder be overwritten. Fortunately it doesn't. No files affected. The owner also automatically changed. And once again, the day is saved thanks to the powerpuff mac :-P
drwx------+ 6 amanyus staff 204 May 25 16:36 Desktop
drwx------+ 22 amanyus staff 748 May 19 09:45 Documents
drwx------+ 109 amanyus staff 3706 May 25 18:52 Downloads
drwx------+ 42 amanyus staff 1428 May 19 09:18 Library
drwx------+ 9 amanyus staff 306 May 25 17:13 Movies
drwx------+ 5 amanyus staff 170 May 13 13:00 Music
drwx------+ 11 amanyus staff 374 May 25 15:40 Pictures
drwxr-xr-x+ 5 amanyus staff 170 May 14 08:58 Public
drwxr-xr-x+ 11 amanyus staff 374 May 23 00:06 Sites
drwxr-xr-x@ 314 amanyus staff 10676 May 26 09:47 mp3
Screwed Up: Open Directory Part 2
amanyus:log root# host amanyus.puj52
;; connection timed out; no servers could be reachedAfter few smacks on the head lol, I played around with DNS service on the Server. I created a zone, named it and added machine record in it. That solved my problem.
amanyus:log root# nslookup amanyus.puj52
Server: 127.0.0.1
Address: 127.0.0.1#53
Name: amanyus.puj52
Address: 192.168.1.14
amanyus:log root# host amanyus.puj52
amanyus.puj52 has address 192.168.1.14
Since the DNS is clean, Kerberos finally running. But the my usual login still doesn't show up :-(
20080525
Screwed Up: Open Directory
Tonight something went wrong which I don't have any clue why. Failed to login even after few reboots. So I suspect the authentication system - which I'm not sure LDAP or Kerberos - might not running or maybe not even started. So I logged in as root and check the System Preferences where I found out that my usual account is gone. Now that really bothers me. I checked my home directory and fortunately it's there.
Server Admin show LDAP and Kerberos stopped. I've checked through numerous posts on the internet. There's one instruction that says to set the Open Directory role as standalone. I followed without knowing what I'm doing. And that is where I screwed up. I can't change back to the original role.
Now I have to figure out what the heck is happening. A lot messages in the logs like has got something to do with DNS. Hope someone tells me how to make the changeip happy.
amanyus:etc root# sudo changeip -checkhostname
Primary address = 192.168.1.12
Current HostName = amanyus.puj52
The DNS hostname is not available, please repair DNS and re-run this tool.
20080523
PHP and Leopard Server : mach-o, but wrong architecture
May 22 19:33:34 amanyus org.apache.httpd[96895]: httpd: Syntax error on line 143 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd[96895]): Exited with exit code: 1
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
Insert installation disc. Open up terminal.
$ cd /Volumes/Mac\ OS\ X\ Server\ Install\ Disc/System/Installation/Packages/
$ open .
Run Essentials.pkg and install it to an empty filesystem or empty folder. the libphp.so will be inside [install_dir]/usr/libexec/apache2 directory.
Screwed Up: Apache2 & PHP Part 2
At last I solve it with the Server Installation disc. But you can't find it simply by Finder. Even if you use Finder to look into the package contents, still you won't find the packages used to install all the Server components. I spawned up my terminal and go through the installation disc. There are a lot of packages and I have to install one by one on an empty filesystem so that I will know what each package for. And I found what package installs the libphp.so - the fix is in the next post.
It is fixed. What a relief.
20080522
Screwed Up: Apache2 & PHP
May 22 19:33:34 amanyus org.apache.httpd[96895]: httpd: Syntax error on line 143 of /private/etc/apache2/httpd.conf: Cannot load /usr/libexec/apache2/libphp5.so into server: dlopen(/usr/libexec/apache2/libphp5.so, 10): no suitable image found. Did find:\n\t/usr/libexec/apache2/libphp5.so: mach-o, but wrong architecture
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd[96895]): Exited with exit code: 1
May 22 19:33:34 amanyus com.apple.launchd[1] (org.apache.httpd): Throttling respawn: Will start in 10 seconds
Edit: I suspect that the libphp5.so not compiled to match the correctly architecture. So to make the apache running, I hashed out 2 lines that load php module inside
/private/etc/apache2/httpd.conf. It runs but without php support. So localhost:80 show a nice Server webpage. I also notice that my computer automatically downloads a php source hehe. Because it is un-identifiable.
20080520
Keyboard Volume Control
Size Comparison between TIFF, JPEG & PNG

These are file info for 3 images with different format. It occur to me when I was wondering which format have the best optimization for size, regardless of the quality. Grab application (in Utilities) save snapshots to a TIFF format. I agree Grab made for quality but in a web arena, size does matter. Bandwidth affect a lot of things. Web hosting limited bandwidth, download time and most importantly, our browser cache - performance. So why wait, create an automator plugin

For decoration only.
But it is a different case for screenshot shortcut key. By default it will automatically save to your Desktop as PNG format. Surprisingly, JPEG size is a lot better.

ps | view list of shortcuts key at the System Preferences > Keyboard & Mouse
20080519
Make Blogger Text Justified

By default, blogspot doesn't give you the option to justify text. It looks ugly if its not. So go to you blogger setting and edit the HTML. Insert this line under the Posts section.

Then you will get justified text like what you see on my every posts here. "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum."
Access iPhone using Finder
For what? iPhone as your wireless external disk drive.
20080516
Get Automated

I take digital photo experience as an example. When we take pictures using the digital camera, it normally save the file using a combination of letters and sequential number, right?

Let say we want to rename all image files so they will be more meaningful. Automator lets you rename all of them once without you rename each file one by one.

You can save every workflow you created as a plugin. Plugin can help you run workflow directly from your Finder so that you don't have to create the same workflow each time you come to a same task.
Infrared Apple Remote Does Work, FrontRow Can't Find iTunes Songs

Infrared remote is disabled by default on Server. You can find the option under Security section in System Preferences. Then you will discover that FrontRow would not be able to find songs in your iTunes. Thanks to appleguru1, he repackaged the original update and made it available for download.
If you want to backup your original files before upgrading, copy your:
/System/Library/CoreServices/Front Row.app
/System/Library/PrivateFrameworks/BackRow.framework
/System/Library/LaunchAgents/com.apple.RemoteUI.plist

Window minimize disabled. I wonder when Apple will solve this. It's been bugging me since Tiger.
It intrigues people when...
May 16 15:13:59 amanyus ReportCrash[6560]: Formulating crash report for process Finder[226]
May 16 15:13:59 amanyus com.apple.launchd[207] ([0x0-0xb00b].com.apple.finder[226]): Exited abnormally: Segmentation fault
May 16 15:14:02 amanyus mDNSResponder[30]: SetupAddr invalid sa_family 0
May 16 15:14:03: --- last message repeated 1 time ---
May 16 15:14:03 amanyus ReportCrash[6560]: Saved crashreport to /Users/amanyus/Library/Logs/CrashReporter/Finder_2008-05-16-151352_amanyus.crash using uid: 1000 gid: 20, euid: 1000 egid: 20...because it is rare. At least it didn't take any other application down. Just auto-relaunch Finder.
20080515
Shortcut : Empty Trash
shift + command + delete when your Finder is active.I accidently discovered this few weeks ago. Sometimes we are in the mood of keeping the trash clean. But it is safe to keep trashed files before we realized our now-it-is-important thing gone.
Spotlight Doesn't Search a Thing
sudo mdutil -a -iThis command will turn on indexing on all volumes except impossible volumes such as DVD volumes and unsupported filesystems volumes. mdutil command is a command to manage the metadata stores used by Spotlight. Every volumes are separated-ly managed. Means for example you can turn on indexing on /home only instead of all volumes.
You can check the status first before simply turning on by running this command:
sudo mdutil -a -sThere is a good side for enabling indexing on few Volumes. It will narrow down search with the area that we want. Definitely we don't have to go through / to search documents in /Volumes/ExternalDisk.
PS: Volumes is not mount points. Volumes can be seen on your desktop. The hard disk icon, Macintosh HD is a volume.
Once you turn on indexing, you can see a slow blinking dot at the spotlight button at the top right corner of your Mac.
20080514
Thank You
Since my girlfriend had the privilege to buy Apple product for cheaper price, I asked her a favor. She was very lucky to purchase a MacBook Pro at insanely good price. You'll dropped your jaw if I tell you :-D
I let my girl use it for a couple of days. She is so happy I can tell. She never really have the chance to really feel owning a laptop in her room. And for few days, we had wonderful time.
Yes, MacBook Pro is a sleek and beautiful machine. But when my girlfriend handed it to me, I did not turn it on right away. I had personal problem that day, and even the problem disappeared, the machines didn't really interest me. At that night, when I was so boring and my girlfriend seems a bit disappointed when she knows I didn't even take it out from the bag, I light it up. Yeah. It is Leopard. My mom have a MacBook and I've played with Leopard so looking at my MacBook Pro still nothing to me. The nice metallic machine didn't captivate me at all because I have experience my PowerBook for 5 years.
Until I started to USE it. Yes. I admit. Software captivates me a lot. Every button, every option and every menu I explore on Leopard, they sit perfectly. Apple programmer really knows how to balance the need and not need. They have added so much features and most of them I craved on when I use Tiger last time.
But that didn't fully satisfied me. With dual core, this machines wasn't really do much work. Guess, what is my attempt on my PowerBook last time? PowerBook running Leopard Server. Yes. It didn't work. My PowerBook can't read dual layer disc. There are few workaround I used, but no avail. The next day I went to my bachelor house - is this what people call? :-p - and grab the dual layer disc and install Leopard Server. Hehe. It feels like I'm rocketing to the sky! I have used all names of server - Solaris, HP-UX, Linux, FreeBSD - but this is the NEATEST UNIX SERVER EVER!
Since this post is not about Server, I will stop now. I'm sure I got a lot coming. Only software excites me. And only that excitement can lead me to blogging :-)
PS: I want to thank my girl. You are a wonderful person. Take a good care of my tiger, baby.
❖ Boot Camp : Ignore the Installation Guide

Yes, ignore it. You don't need it. What you need for boot camp setup is this post :-p which have I kindly made you a list. You need:
1. Windows Installation CD for installation of course.
2. Leopard Installation CD that will take care the drivers for you.
3. Gut. Which you don't really need because Boot Camp will cause you no pain.
During the journey you should:
1. Format the prepared partition named BOOTCAMP. Just choose (quick) because you can't wait to see Windows on your mac right? I choose FAT32 so that I can write files to it when I'm running Leopard. But if you want the more advance NTFS, no problem.
2. When Windows is installed, you may find that the eject button on your mac keyboard is not working. Simply go to My Computer and right click on the D: drive. Choose eject from there. Then insert your Leopard installation disc and you'll be surprise that the setup is just in one click.
I got a hiccup during my first and second attempt, so I advise you to use a good version of XP or Vista.
PS: I love mac. I have to use Windows because people pay me to.
20071221
streams pipes and redirects
10:26 < kaeru> 0 stdin 1 stdout 2 stderror
10:26 < kaeru> & = make copy
20071215
NFS compound failed for server foosvr: error 7 (RPC: Authentication error)
mount -F nfs -o vers=3 foosvr:/home/foo /mnt/foo/
20071213
20071202
/dev/rmt/0
m taped density is medium
l taped density is low
b bsd behaviour
n no rewind
c compression mode
20071201
ld.so.1: : fatal: libstdc++.so.6: open failed: No such file or directory
export LD_LIBRARY_PATH=/usr/local/lib
















