woo-sang.com

home   |   curriculum vitae   |   the daily bread   |   papers   |   www

Thursday, April 29, 2010

Blogger discontinues FTP publishing support

Before May 1st I had to migrate my blog from using Blogger FTP support. Among other things my whose problems where to make it XHTML 1.1 compliant and remove the Blogger NavBar. However, the solution where simple.

Disable the Blogger NavBar while maintaining XHTML 1.1 compliance
Put

<script type='text/javascript'><![CDATA[//>/*
</head>
*/<!]]></script>


inside the head section, and

<!--
<body>
-->


just before the body section.

Labels: ,

Thursday, December 24, 2009

A christmas check up of my parents computers

Symbolic link in Windows
I just realized that you are able to make symbolic links of directories on NTFS systems. On Windows 2000 and XP you can use junktion. While you can use mklink on Vista and Window 7 systems.

Ubuntu
I have for the past two years or so tried to make my parents switch to Linux. Now, I have just installed Ubuntu 9.10 on my mom's (yeaier). However, a new wireless adapter was needed. I choice a D-link DWL-G510 ver. C2 pci adapter, and was pleased to see that WPA worked out of the box.

Printing
My parents have a D-link DI-524UP rounter with print server. In ubuntu add a printer as 'Network Printer -> LPD/LPR Host or Printer'. Put 192.168.0.1 as Host and lp1 (this should be the Queue Name under 'Status -> Printer Info' when you log on the router) as Queue.

Merry christmas!

Labels: ,

Tuesday, December 22, 2009

Server backup via DropBox

This is a simplification of the official setup for an Ubuntu server. Before you start you need to have an account at DropBox.
  1. Set up your repository (/etc/apt-get/source.list), and install the package 'nautilus-dropbox'.
  2. Make a directory at '~/Dropbox'.
  3. Run the command 'dropbox start -i'. This will download the DropBox deamon.
  4. Download mk_dropbox_stub.py (you can use 'wget') and run it by 'python mk_dropbox_stub.py'. This will give a url (something like 'https://www.getdropbox.com/cli_link?host_id=########################')
  5. Open the url in a browser and log into your DropBox account. This will link the server to your account.
  6. Start Dropbox by 'dropbox start'.

Labels: ,

Wednesday, November 4, 2009

Upgrading to Ubuntu 9.10: Karmic Koala

This weekend the new version of Ubuntu hit the street and even Flash is working nicely. I most say that I like it. However, I had to do two small tweaks.

Disable the login sound
When the new gdm login window appears, you get a drum sound. There is no real way of disable the sound (see https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/437429). Though, there is a simpel workaround. Just rename the file '/usr/share/sounds/ubuntu/stereo/dialog-question.ogg', say dialog-question.ogg.bak.

Update: A better way of doing this, is to open a terminal and run the command

> sudo gconf-editor

Now unmark 'desktop -> gnome -> sound -> event_sounds'.

Update: Seems that an update from Ubuntu just made the last method obsolete.

Disable the blutooth device at startup
I rarely use the bluetooth device on my laptop, so why have it use up the battery. I solved this by adding the line 'echo disable > /proc/acpi/ibm/bluetooth' to the file '/etc/init.d/rc.local'. The bluetooth-applet will still load, and you can enable the device via it.

Labels: ,

Saturday, August 15, 2009

Birthday calendar based on Google contacts http://www.woo-sang.com/google/

I have made a small web application. It's still a bit rough, however, you will be able to import your Google contact's birthdays via iCal to your Google calendar (or any iCal calendar for that matter).

The only downside is, that the iCal calendar will be public. But don't worry, I have masked the public link.

Check it out at http://www.woo-sang.com/google/.

Labels: ,

top
Valid XHTML 1.1! Valid CSS! Atom feed