bawdo.comへようこそ

G'day There!

オレの漫然な書き物

What The! This site serves one main purpose. To provide a sandbox for me to play in, as such do not expect to find anything of great interest here. I use this site to muck about with php, css, html and so on. In light of this you will find some google maps and geoip stuff here and a few notes (on mainly Linux related stuff).


Previous 8 Articles.... Next 8 Articles

Sort by: Date Created | Date Modified | Title
Keyword Search

Miscellaneous genre. Convert a MySQL DB from utf8 to UTF8


I had a utf8 collated MySQL 4.1 db that contained both English and Japanese text. I dumped the data and then tried to migrate it into my new MySQL 5.0.26 installation. Of course being a bit lazy I did not take the time to check things out properly and was not surprised to find that all Japanese text had become mojibake. I set off on a mission to fix the problem.



Created: 14-02-2007 Last Modified: 15-02-2007

Miscellaneous genre. StarDict - an excellent replacement for gjiten and rikaichan


"Gjiten is [an excellent] Japanese language dictionary program for Gnome". It has served me well for several years, but yesterday I found a better tool - StarDict.



Created: 14-02-2007 Last Modified: 14-02-2007

Miscellaneous genre. SHFS - SHell FileSystem


I have been trialling shfs as a replacement for NFS. Whilst NFS can be lightning fast I'm not a fan of the security options (or lack thereof).

SHFS - SHell FileSystem is a kernel module that allows you to mount remote resources over a normal ssh connection. The remote server does not require any special changes - just sshd.



Created: 14-12-2006 Last Modified: 15-12-2006

Miscellaneous genre. Mystery Tour


Taking the Mystery Tour will see you randomly whisked away to one of over 3.5 million possible destinations.

Created: 12-12-2006 Last Modified: 26-12-2008

Miscellaneous genre. Geek Test


Reading through mate's blog blog the other day I found a reference to a geek test, so I decided to take it.



Created: 08-12-2006 Last Modified: 15-12-2006

Miscellaneous genre. An Exciting Train Video


Testing the creation of a jpeg from a single video frame
A small preview of the full sized flv and a jpeg created by taking one frame from the original mpeg movie.


Created: 28-11-2006 Last Modified: 28-11-2006

Command Line Interface - scripts and so on Automatically reattach to a screen session after logging in via ssh


The following code when added to your .bashrc file will, after logging in via ssh, look for any unattached screen sessions and automatically attach to the first one found. If only attached sessions are found then a list of these will be outputted to std out. Finally, If there are no screen sessions running at all then a new screen session will be created.

Created: 27-11-2006 Last Modified: 13-11-2006

Miscellaneous genre. Random Google Searches


Mucking about with the Google search API and here is what I cam up with. Two random words are pulled from a dictionary file to form a search string.

Created: 26-11-2006 Last Modified: 17-12-2006
Previous 8 Articles.... Next 8 Articles
Wikipedia Affiliate Button

Creative Commons License
This work is licensed under a Creative Commons Attribution-Share Alike 2.5 License