2005-05-02 |
||||||||||||
|
Someone create a hotlink to the images in my site. With google
and good keywords I found a lot of solution.
RewriteEngine on
RewriteCond %{http_referer}!^$
RewriteCond %{http_referer}!^http://(www.)?yoursite.com [NC]
rewriterule .(gif?jpe?g)$ - [NC,F]
See this
or this
for more detail.
|
||||||||||||
2005-01-05 |
||||||||||||
|
Someone at the company ask me Can we send/read an SMS from the computer?
It is possible, if your phone support Extended ETSI Hayes AT command parameters for SMS. Most of new mobile-phone (which include my Nokia 6230) support it. To send SMS, just connect your mobie phone via serial connection and send the series of AT commands. This is the example for sending the SMS:/usr/local/bin/ircomm -d /dev/cuaa1 -y /dev/ptypv & #Use IrDA to connect to the phone minicom -p /dev/ttypv AT+CMGF=1 AT+CMGS="destination-number" Your text message here. Can be multilines <ESC> #Press ESC key to end the text ATHWarning: the pseudo device name for minicom is ttypv which is differ from the name (ptypv) you give to ircomm. |
||||||||||||
2004-12-01 | ||||||||||||
|
Install qemu(
| ||||||||||||
2004-11-30 | ||||||||||||
|
To day, I found a LinkSys Wireless-G PCMCIA lays unused in my office. I desire to try to make it works with my notebook (IBM T42).
|
||||||||||||
2004-11-28 | ||||||||||||
|
Write a small php script that show hyper text man page
as the one on FreeBSD Hypertext Man Pages. The only major difference between my code and man.cgi is that
my code is written in PHP while the FreeBSD one is a sh-shell script cgi.
|
||||||||||||
2004-11-06 | ||||||||||||
|
Use vim/gvim on samba share and got this error
Vim tries to create a file called .FILENAME.swp when you edit FILENAME.
The leading dot is probably what breaks the way vim works on Samba
shares. You can force vim to write its swap files in another
location, i.e. in `/var/tmp' with this the line |
||||||||||||
2004-10-28 | ||||||||||||
|
Finally fix mozila error
| ||||||||||||
2004-10-20 | ||||||||||||
After some problems with Satellite Pro6100. The company buy IBM ThinkPad T42 for me and move the Satellite Pro to another not so demand work. So , I add new page for setting up the IBM ThinkPad T42 |
||||||||||||
2004-09-25 | ||||||||||||
|
What is the gcc optimization flags should be used in building port in FreeBSD?.
The standard FreeBSD optimization
is "-O -pipe " but some suggest "-O2 -pipe -funroll-loops -ffast-math"
So, does it worth to use -O2 instead of -O? |
||||||||||||
2004-08-21 | ||||||||||||
|
Try to update NVIDIA driver to 6113 but I can not make it work in 1400x1050 mode on my Satellite Pro 6100. Anyways, this driver is better than 4365 becase it does not hang when I try to disable SoftEDID to run 1400x1050 but it give me a garbage screen (just as when you misconfig HSync and VSync) -- the best mode I got is 1372x1050. Therefore, I still use 3203 on this Satellite Pro 6100. |
||||||||||||
2004-08-18 | ||||||||||||
|
I have just got the Satellite Pro 6100 back yesterday after 2 weeks of repare.
This is the 3rd time for last 6 months of this 3 years machine.
I was very happy of this notebook for the last 2 years (except for the baterry that can last only one and a half hours). It work greates with FreeBSD , but when it come to support (at least in Thailand) and durability (compare to its price tag) -- I may try another brand for the next one. |
||||||||||||
2004-07-28 | ||||||||||||
|
Found tons of old games at www.the-underdogs.org. |
||||||||||||
2004-07-03 | ||||||||||||
Install xplanet (astro/xplanet) and write a small perl script
"xplanet-gnome.pl" to rotate the earth image
every 30 minutes. To run the script, put it in gnome "Startup Programs". The
setting can be accessed from the menu
|
||||||||||||
2004-40-08 | ||||||||||||
|
Try to install mozilla-1.6_3 from package (I normally use ports tree but due to the size of
mozilla source,
--- 10M package compare to 30M source --- I tried the package this time). Everything looked fine until
I tried to load the flash and java plugin.
So, don't mix between packages and ports. If you use packages , never use ports and vice versa. |
||||||||||||
2004-04-03 (2) | ||||||||||||
|
Add new APOD 1400x1050 desktop background collection | ||||||||||||
2004-04-03 (1) | ||||||||||||
|
Fix build error when make FreeBSD documents (/usr/doc).
Today, when I try to update FreeBSD document in /usr/doc, I got
this error AFPL Ghostscript 8.14: Unrecoverable error, exit code 1 pnmtopng: bad magic number - not a ppm, pgm, or pbm fileAfter investigation, the problem is caused by peps and AFPL Ghostscript (don't sure which one need to be fixed) It seems that AFPL Ghostscript can not handle the command send by peps when peps is called with the eps that is not in the current directory i.e. ( peps -p -r 100 -o network.png /tmp/networks.eps)To fix this problem. I move /usr/local/bin/peps to /usr/local/bin/peps.real and write the small perl script , to replace the real peps. |
||||||||||||
2004-02-24 | ||||||||||||
Finished a Win32 DICT client. For XFree86/gnome there is gdict (or kdict if you use KDE) but for Win32 the one that exists , Magical Jellybean Dictionary, does not full fill my need. So I write one myself and call it MiracleDict. |
||||||||||||
2004-10-18 | ||||||||||||
|
Change gnome2 icon themes to Crytal from art.gnome.org |
||||||||||||
2004-02-14 | ||||||||||||
Install FreeBSD 5.2 , see Setup Page for update information. |
||||||||||||
2004-02-10 | ||||||||||||
|
Spend an hour find out why chown/chgrp/passwd give me a core dump after
my machine hang and need a reboot (nVidia related) |
||||||||||||
2004-01-02 | ||||||||||||
|
Ctrl-Alt-Fx does not switch to a text mode console in gnome2 !!
|
||||||||||||
2003-07-18 | ||||||||||||
|
Format the hard disk and reinstall everything :( |
||||||||||||
2003-07-10 | ||||||||||||
|
Change gtk2 and metacity themes
|
||||||||||||
2003-05-17 | ||||||||||||
|
Upgrate the to FreeBSD 4.8,gnome 2.2 and XFree 4.3. For details click here |
||||||||||||
2003-04-30 | ||||||||||||
Change the notebook background to
M17: A Hubble Close-Up
|
||||||||||||
2004-03-20 | ||||||||||||
2003-02-11 | ||||||||||||
... | ||||||||||||