<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-13658254</id><updated>2011-07-08T05:10:06.103+09:00</updated><title type='text'>My Hacking Journal</title><subtitle type='html'>That is, my journal of quick hacks, fixes I discover daily. Some of the posts deserve more detailed how-to articles. Sooner (or later) they might be added to my collection of notes. (See the Links sidebar).</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>58</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13658254.post-2193106050913190484</id><published>2009-06-07T16:14:00.002+09:00</published><updated>2009-06-07T16:18:50.806+09:00</updated><title type='text'>Moving to wordpress</title><summary type='text'>This blog has moved to a new location: http://titan2x.wordpress.com/.

Please update your links, thanks!</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/2193106050913190484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=2193106050913190484' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2193106050913190484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2193106050913190484'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2009/06/moving-to-wordpress.html' title='Moving to wordpress'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1176772924251593842</id><published>2009-04-23T14:54:00.001+09:00</published><updated>2009-04-23T14:57:55.273+09:00</updated><title type='text'>problems with getenv in Solaris</title><summary type='text'>Had a strange issue just now. Although the output of getenv was not NULL, any attempts to access the memory pointed to by the returned pointer resulted in segmentation fault. 
The cause was the missing #include &lt;stdio.h&gt; line, which is pretty easy to spot if you look at the build output.</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1176772924251593842/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1176772924251593842' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1176772924251593842'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1176772924251593842'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2009/04/problems-with-getenv-in-solaris.html' title='problems with getenv in Solaris'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-8297971230770800735</id><published>2009-03-13T09:00:00.001+09:00</published><updated>2009-03-13T09:00:31.248+09:00</updated><title type='text'>distrowatch</title><summary type='text'>Vyatta software is a complete, ready-to-use, Debian-based distribution that is designed to transform standard x86 hardware into an enterprise-class router / firewall.

http://distrowatch.com/table.php?distribution=vyatta</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/8297971230770800735/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=8297971230770800735' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/8297971230770800735'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/8297971230770800735'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2009/03/distrowatch.html' title='distrowatch'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-6709733115946135781</id><published>2009-02-02T10:50:00.003+09:00</published><updated>2009-02-02T11:05:11.510+09:00</updated><title type='text'>Weird errors in Windows</title><summary type='text'>When trying to uninstall an application (called FarPoint, a sleek spreadsheet development platform), I got an error that I need .NET framework 2.0 or higher to use this uninstaller. Which is weird, because I do have .NET 2.0, and the software would not work without it anyway in the first place. 

The solution was, I had to run the uninstaller as administrator. Even though the application was not </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/6709733115946135781/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=6709733115946135781' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6709733115946135781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6709733115946135781'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2009/02/weird-errors-in-windows.html' title='Weird errors in Windows'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1141494560428419353</id><published>2008-12-25T09:46:00.002+09:00</published><updated>2008-12-25T09:48:22.680+09:00</updated><title type='text'>Interesting uses for a USB LED screen</title><summary type='text'>
# Time since last paycheck
# Time until next paycheck
# Salary graph tracking COL index
# Company stock price
# Current project status (your own little twitter)
# Sharon: Not that I'm asking for a date, but you're totally hot. Just so you know.
# Yes, I'd like a donut, thank you
# Anyone know where the specification has gotten off to?
# Can I bring my cat to work?
# The perfume level today is </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1141494560428419353/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1141494560428419353' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1141494560428419353'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1141494560428419353'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/12/interesting-uses-for-usb-led-screen.html' title='Interesting uses for a USB LED screen'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1463138434923615521</id><published>2008-11-28T05:25:00.008+09:00</published><updated>2008-11-28T06:43:57.936+09:00</updated><title type='text'>Moving away from Ubuntu</title><summary type='text'>I stopped using Ubuntu/Gnome on my home desktop about half a year ago, to see how the other distros and KDE are doing, and to become skilled at using them too and reach a comfort level similar to that of Ubuntu/Gnome. Below is the summary of my experiences and impressions so far. But first, it is important to mention my basic expectations from a system.


Responsive, snappy, doesn't crash
Audio </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1463138434923615521/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1463138434923615521' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1463138434923615521'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1463138434923615521'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/11/moving-away-from-ubuntu.html' title='Moving away from Ubuntu'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-3394075754005144345</id><published>2008-11-16T19:09:00.002+09:00</published><updated>2008-11-16T19:10:24.828+09:00</updated><title type='text'>Search and replace in all buffers in vim</title><summary type='text'>:bufdo %s/pattern/substitution/ge | update</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/3394075754005144345/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=3394075754005144345' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3394075754005144345'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3394075754005144345'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/11/search-and-replace-in-all-buffers-in.html' title='Search and replace in all buffers in vim'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7475307185265799028</id><published>2008-10-24T23:33:00.003+09:00</published><updated>2008-10-24T23:35:36.266+09:00</updated><title type='text'>flashcards</title><summary type='text'>Finally I released my flashcards project. Here it is:

http://flashcards.titan2x.com/

The signup function is the only missing piece. By the time google finds the site, it should be ready. After that, I will optimize and enhance it gradually, and based on user growth.

Get up your ass and go build your vocabulary!</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7475307185265799028/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7475307185265799028' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7475307185265799028'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7475307185265799028'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/flashcards.html' title='flashcards'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7333042007681053286</id><published>2008-10-19T22:44:00.001+09:00</published><updated>2008-10-19T22:46:41.618+09:00</updated><title type='text'>dvd burning from the command line</title><summary type='text'>
sudo apt-get install dvd+rw-tools
growisofs -dvd-compat -Z /dev/scd0 -R -J -pad path_to_dir
</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7333042007681053286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7333042007681053286' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7333042007681053286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7333042007681053286'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/dvd-burning-from-command-line.html' title='dvd burning from the command line'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-6283485402570150859</id><published>2008-10-17T18:28:00.003+09:00</published><updated>2008-10-17T18:35:49.919+09:00</updated><title type='text'>Converting-mounting daa files with wine</title><summary type='text'>Downloaded a bunch of c++ books but the files were in DAA. Found a neat utility called daa2iso developed by some dude, but it didn't work. The only alternative at the moment was PowerISO, a windows tool. I thought it's time to give wine a shot. And it worked brilliantly too.


Installed wine (didn't have it yet)
Ran: wine PowerISO38.exe. A window popped up, looking like a regular windows </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/6283485402570150859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=6283485402570150859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6283485402570150859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6283485402570150859'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/converting-mounting-daa-files-with-wine.html' title='Converting-mounting daa files with wine'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-5172148997872607508</id><published>2008-10-15T18:41:00.005+09:00</published><updated>2008-10-15T22:38:46.269+09:00</updated><title type='text'>My terabyte raid1</title><summary type='text'>My raid1 array with two 120G disks was getting filled up lately, so when usage reached 90% I decided it's time to upgrade. To my great surprise prices have gone much lower than I expected: I got two 1T disks for the same price as the old 120G disks -- $100 apiece.

It's been a long time since I setup my raid1 array so I had to read up on man mdadm and mdadm --help.


Created a full backup of the </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/5172148997872607508/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=5172148997872607508' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/5172148997872607508'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/5172148997872607508'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/my-terabyte-raid1.html' title='My terabyte raid1'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1903492447249313979</id><published>2008-10-12T10:29:00.001+09:00</published><updated>2008-10-12T10:31:07.899+09:00</updated><title type='text'>Howto reset mediawiki password in mysql</title><summary type='text'>update user set user_password = md5(concat(user_id, '-', md5('kiew7eiT'))) where user_name = 'WikiSysop';</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1903492447249313979/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1903492447249313979' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1903492447249313979'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1903492447249313979'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/howto-reset-mediawiki-password-in-mysql.html' title='Howto reset mediawiki password in mysql'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-321639657716622487</id><published>2008-10-12T08:33:00.002+09:00</published><updated>2008-10-12T08:48:09.526+09:00</updated><title type='text'>Installing Plone in hardy</title><summary type='text'>I've installed Plone in Ubuntu dozens of times. Ever since hoary (possibly even from warty), this was a matter of apt-get install plone-site. Something is broken in hardy because this step doesn't create a Zope instance (the container instance for Plone) but it should. That is, the directories /var/lib/zope2.9/instance/ and /var/lib/zope2.10/instance/ were both empty, so when starting zope, it </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/321639657716622487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=321639657716622487' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/321639657716622487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/321639657716622487'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/installing-plone-in-hardy.html' title='Installing Plone in hardy'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1638981631615641141</id><published>2008-10-12T08:12:00.001+09:00</published><updated>2008-10-12T08:12:56.010+09:00</updated><title type='text'>Adding a user to Zope</title><summary type='text'>/var/lib/zope2.9/instance/plone-site/bin/zopectl adduser user password</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1638981631615641141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1638981631615641141' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1638981631615641141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1638981631615641141'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/adding-user-to-zope.html' title='Adding a user to Zope'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-4144951076227354168</id><published>2008-10-04T00:25:00.002+09:00</published><updated>2008-10-04T00:46:32.261+09:00</updated><title type='text'>archive and restore with cpio</title><summary type='text'>Create archive:
1. cd to the directory that you want to archive
2. find . -xdev -print0 | cpio -oa0V | gzip &gt; path_to_save.cpio.gz


Restore from archive:
1. cd to the directory into which you want to restore the files
2. gzip -cd path_to_save.cpio.gz | cpio -imV

See? Easy as abc ;-)</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/4144951076227354168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=4144951076227354168' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4144951076227354168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4144951076227354168'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/archive-and-restore-with-cpio.html' title='archive and restore with cpio'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-684914359129389821</id><published>2008-10-03T16:07:00.003+09:00</published><updated>2008-10-03T16:11:51.743+09:00</updated><title type='text'>Mouse wheel in vmware</title><summary type='text'>I used to have these lines saved back in the days when mice with wheel were new and did not work out of the box. In the past 5+ years the notes became perfectly unnecessary so I even deleted them. Now the issue is back! In vmware, mouse wheel sometimes doesn't work. The good old fix in /etc/X11/xorg.conf is:
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/684914359129389821/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=684914359129389821' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/684914359129389821'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/684914359129389821'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/10/mouse-wheel-in-vmware.html' title='Mouse wheel in vmware'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7426605415137473031</id><published>2008-09-25T10:46:00.002+09:00</published><updated>2008-09-25T10:48:58.978+09:00</updated><title type='text'>Fun stuff from today's slashdot assortment</title><summary type='text'>cd /usr/src/linux &amp;&amp; grep -Eri 'fuck|shit'

404 error page. I'm going to change the http error pages to this on my websites.</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7426605415137473031/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7426605415137473031' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7426605415137473031'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7426605415137473031'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/09/fun-stuff-from-todays-slashdot.html' title='Fun stuff from today&apos;s slashdot assortment'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-3755524266063236110</id><published>2008-08-29T14:57:00.002+09:00</published><updated>2008-08-29T14:59:45.554+09:00</updated><title type='text'>Bazaar 1.6</title><summary type='text'>The Bazaar for windows is uber-cool. It includes TortoiseBZR, with nicer folder icons than all the other Tortoise***. Come to think of it, I should write an article Version Control with Bazaar for one of the linux magazines.</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/3755524266063236110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=3755524266063236110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3755524266063236110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3755524266063236110'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/08/bazaar-16.html' title='Bazaar 1.6'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-3695998468938684190</id><published>2008-08-28T17:00:00.002+09:00</published><updated>2008-08-28T17:04:59.961+09:00</updated><title type='text'>bzr-xmloutput install problems</title><summary type='text'>I needed a newer version of the xmloutput plugin for the Eclipse Bazaar plugin. I installed Bazaar 1.6 with the standalone installer, which has a bug and the bzr.exe in it doesn't include some required files. There are two workarounds.

1. Re-install Bazaar with the python installer, that is, download the source, untar, and python setup.py install

2. Copy [python]/lib/SimpleXMLRPCServer.py to </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/3695998468938684190/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=3695998468938684190' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3695998468938684190'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3695998468938684190'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/08/bzr-xmloutput-install-problems.html' title='bzr-xmloutput install problems'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-937004139380077211</id><published>2008-08-26T13:37:00.007+09:00</published><updated>2008-08-26T13:57:51.066+09:00</updated><title type='text'>ImageMagick tips</title><summary type='text'>Recently I started playing around with WordPress. 
http://tokyodinner.titan2x.com/

The free WordPress themes are absolutely cool. I picked modmat for the above blog. Although the theme was pretty cool by itself, it was not perfect for my purposes. Mainly, I wanted to change the 2-column sidebar into 1-column. Soon it became clear that css tweaking won't be enough, I need to slice and dice the </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/937004139380077211/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=937004139380077211' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/937004139380077211'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/937004139380077211'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/08/imagemagick-tips.html' title='ImageMagick tips'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-5447115121264226077</id><published>2008-07-06T12:35:00.003+09:00</published><updated>2008-07-06T12:56:01.645+09:00</updated><title type='text'>Ubuntu upgrade hell</title><summary type='text'>I'm deeply disappointed.

My GF booted into her feisty system after a fairly long time. It was expected that there would be a lot of package upgrades, there were 80. Nothing wrong with that so far, though it took more than an hour, while I've seen several of my other ubuntu systems dist-upgrade over 100 packages in a matter of minutes, but whatever.

After the package upgrades a reboot was </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/5447115121264226077/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=5447115121264226077' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/5447115121264226077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/5447115121264226077'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/07/ubuntu-upgrade-hell.html' title='Ubuntu upgrade hell'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-2800413754882491158</id><published>2008-07-05T10:57:00.002+09:00</published><updated>2008-07-05T10:58:48.625+09:00</updated><title type='text'>Force gmail in English</title><summary type='text'>Recently Gmail shows up in Japanese. (Because I'm in Japan.) To force English language append to the URL &amp;hl=en</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/2800413754882491158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=2800413754882491158' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2800413754882491158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2800413754882491158'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/07/force-gmail-in-english.html' title='Force gmail in English'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7293686725332007524</id><published>2008-07-01T18:04:00.004+09:00</published><updated>2008-07-01T18:12:48.638+09:00</updated><title type='text'>Updating files in /dev after partition manipulations</title><summary type='text'>
After editing the partition table, to have the proper device files created under /dev, run: partprobe. (It is in parted package.)

After creating filesystems, to have the proper files created under /dev/disk/by-uuid, run: /etc/init.d/udev restart.

To find the uuid of filesystems, run: blkid. (In ubuntu.)

</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7293686725332007524/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7293686725332007524' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7293686725332007524'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7293686725332007524'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/07/updating-files-in-dev-after-partition.html' title='Updating files in /dev after partition manipulations'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7610234679287500556</id><published>2008-07-01T13:27:00.002+09:00</published><updated>2008-07-01T13:30:12.776+09:00</updated><title type='text'></title><summary type='text'>
bMighty.com
Cloud Computing's Strengths Play To Smaller Companies' Needs
June 24, 2008
If cloud computing offers significant benefits to IT departments in the enterprise, it's an absolute godsend to small and midsize companies. Instead of making do with a small, under-resourced IT staff trying to emulate the productivity of billion-dollar IT outfits, smaller companies can now access </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7610234679287500556/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7610234679287500556' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7610234679287500556'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7610234679287500556'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/07/bmighty.html' title=''/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-6261574847407436715</id><published>2008-06-28T08:49:00.001+09:00</published><updated>2008-06-28T08:51:17.512+09:00</updated><title type='text'>Set the default JRE in Ubuntu</title><summary type='text'>sudo update-alternatives --config java

(And in case you forgot, java packages are called like sun-java6-jdk.)</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/6261574847407436715/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=6261574847407436715' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6261574847407436715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6261574847407436715'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/06/set-default-jre-in-ubuntu.html' title='Set the default JRE in Ubuntu'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-4749037262928083228</id><published>2008-06-28T08:43:00.003+09:00</published><updated>2008-06-28T08:48:57.395+09:00</updated><title type='text'>Hosting Bazaar projects on Launchpad 3</title><summary type='text'>Adding to the previous posts...

Earlier I pushed one of my repositories to my Bazaar account like this:
bzr push lp:~janos-gyerik/scripts/software-cache

As a result of that, the following page got created too:
https://code.launchpad.net/scripts

At first I thought that's a little creepy. But well, it's good public exposure, I guess...</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/4749037262928083228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=4749037262928083228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4749037262928083228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4749037262928083228'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/06/hosting-bazaar-projects-on-launchpad-3.html' title='Hosting Bazaar projects on Launchpad 3'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-613878827356361732</id><published>2008-06-15T17:23:00.003+09:00</published><updated>2008-06-15T17:27:16.835+09:00</updated><title type='text'>Hosting Bazaar projects on Launchpad 2</title><summary type='text'>Wow. Actually, you don't need to go through all that stuff I wrote in the last post. If you have a Launchpad account, and configured SSH public keys, you can simply push to Launchpad, anywhere! Like this:

bzr push lp:~janos-gyerik/scripts/software-cache

It takes a while for Launchpad to pick up the changes. So wait a little, and then you can fill in project details.</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/613878827356361732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=613878827356361732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/613878827356361732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/613878827356361732'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/06/hosting-bazaar-projects-on-launchpad-2.html' title='Hosting Bazaar projects on Launchpad 2'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-2441898392640512550</id><published>2008-06-15T08:38:00.003+09:00</published><updated>2008-06-15T14:22:47.481+09:00</updated><title type='text'>Hosting Bazaar projects on Launchpad</title><summary type='text'>What is Launchpad?

Launchpad is a free software hosting and development website. We make it easy to collaborate across multiple projects.


You can use it to 

Develop your custom Ubuntu packages.
Host your projects in the Bazaar VCS.


Of course, all the projects you host there will be public. Write operations are accomplished using SSH public keys. 

Setup steps:

Login to Launchpad, go to the</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/2441898392640512550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=2441898392640512550' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2441898392640512550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2441898392640512550'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/06/hosting-bazaar-projects-on-launchpad.html' title='Hosting Bazaar projects on Launchpad'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7323618118360025158</id><published>2008-06-04T17:12:00.004+09:00</published><updated>2008-06-15T14:20:46.067+09:00</updated><title type='text'>BzrEclipse/Installation</title><summary type='text'>The instructions on Launchpad are excellent, of course.
http://bazaar-vcs.org/BzrEclipse/Installation

To check out a Bazaar project and make an Eclipse project from it:

In Eclipse create a blank Java projectCheckout the Bazaar project in the Eclipse project directoryIn Eclipse refresh the project tree display with F5</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7323618118360025158/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7323618118360025158' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7323618118360025158'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7323618118360025158'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/06/bzreclipseinstallation.html' title='BzrEclipse/Installation'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1097781188644108990</id><published>2008-06-04T17:02:00.000+09:00</published><updated>2008-06-04T17:03:01.672+09:00</updated><title type='text'>rm -fr equivalent in dos</title><summary type='text'>rmdir /s/q</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1097781188644108990/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1097781188644108990' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1097781188644108990'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1097781188644108990'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/06/rm-fr-equivalent-in-dos.html' title='rm -fr equivalent in dos'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-664108343186790518</id><published>2008-05-21T11:27:00.005+09:00</published><updated>2008-06-15T14:26:16.899+09:00</updated><title type='text'>How to wget in the right language</title><summary type='text'>Some websites are smart and depending on your location they make assumption on the interface language. For example I'm in Japan and so when I go to google for the first time the page will be in Japanese. 

The same thing happens with this command:
wget http://www.timeanddate.com/calendar/index.html?year=2008&amp;country=26 -O calendar.html

The output will be in Japanese, which is really wonderful </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/664108343186790518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=664108343186790518' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/664108343186790518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/664108343186790518'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/05/howto-wget-in-right-language.html' title='How to wget in the right language'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-4703374864885791493</id><published>2008-05-20T11:30:00.002+09:00</published><updated>2008-05-20T11:33:18.149+09:00</updated><title type='text'>Lilo configuration when root on lvm in Sabayon</title><summary type='text'>image=/boot/kernel-genkernel-x86-2.6.22-sabayon
        label=gentoo
        read-only
        root=/dev/ram0
        append="dolvm2 root=/dev/ram0 ramdisk=8192 real_root=/dev/lvg/sabayon  quiet  init=/linuxrc splash=silent,theme:sabayon CONSOLE=/dev/tty1 pci=nomsi"
        initrd=/boot/initramfs-genkernel-x86-2.6.22-sabayon
</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/4703374864885791493/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=4703374864885791493' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4703374864885791493'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4703374864885791493'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/05/lilo-configuration-when-root-on-lvm-in.html' title='Lilo configuration when root on lvm in Sabayon'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7772696081487339251</id><published>2008-05-15T17:52:00.008+09:00</published><updated>2008-08-15T13:23:55.760+09:00</updated><title type='text'>Installing VMware Server 1.0.x in hardy</title><summary type='text'>Of course you need the usual requirements:


linux-headers-FLAVOR where FLAVOR is for example generic, server, etc. Instead of flavor it can be the exact kernel version (uname -r).
gcc and g++ and inetd or xinetd
On 64-bit platforms ia32-libs too, as this version of VMware is a 32-bit app.

With the above and the vmware server tarball you usually would be able to build the vmware modules. </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7772696081487339251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7772696081487339251' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7772696081487339251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7772696081487339251'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/05/installing-vmware-server-in-hardy.html' title='Installing VMware Server 1.0.x in hardy'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7585426103400706009</id><published>2008-05-12T14:09:00.006+09:00</published><updated>2008-06-15T14:28:32.768+09:00</updated><title type='text'>Installing bzr-svn in gutsy</title><summary type='text'>I already added the gutsy repository for bzr, but since the latest version of bzr-svn lives only in gutsy-backports for now, I had to add that as well, so I had these extra lines in /etc/apt/sources.list for these two packages:

deb http://jp.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted universe multiverse
deb-src http://jp.archive.ubuntu.com/ubuntu/ gutsy-backports main restricted </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7585426103400706009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7585426103400706009' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7585426103400706009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7585426103400706009'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/05/installing-bzr-svn-in-gutsy.html' title='Installing bzr-svn in gutsy'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1792126379987011451</id><published>2008-05-08T13:30:00.002+09:00</published><updated>2008-05-08T13:34:37.207+09:00</updated><title type='text'>grep in windows</title><summary type='text'>findstr in windows works similarly to grep in unix. For example you can do this:
netstat -a | findstr 8000</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1792126379987011451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1792126379987011451' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1792126379987011451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1792126379987011451'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/05/grep-in-windows.html' title='grep in windows'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-6943699790753833024</id><published>2008-05-05T11:11:00.002+09:00</published><updated>2008-05-05T11:26:08.908+09:00</updated><title type='text'>VMware Server NAT nameserver</title><summary type='text'>Occasionally VMs configured with NAT interface in VMware server lose connectivity to the name server. The fix is to restart the "VMware NAT Service", after that DNS requests are forwarded correctly to the nameserver.</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/6943699790753833024/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=6943699790753833024' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6943699790753833024'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6943699790753833024'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/05/vmware-server-nat-nameserver.html' title='VMware Server NAT nameserver'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1191267505371586281</id><published>2008-04-23T14:13:00.003+09:00</published><updated>2008-06-15T14:29:15.381+09:00</updated><title type='text'>python, wow</title><summary type='text'>I'm learning Python now. Beautiful syntax. Powerfully expressive, and that in an intuitive way. Being a seasoned programmer well-versed in a score of languages I looked down at the idea of reading tutorials, but the Python tutorial turned out to be a very interesting reading, and definitely the best starting point. Check it out!

Python Tutorial

Python:notes in my wiki</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1191267505371586281/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1191267505371586281' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1191267505371586281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1191267505371586281'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/04/python-wow.html' title='python, wow'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-4842240190938701068</id><published>2008-04-23T11:11:00.003+09:00</published><updated>2008-06-15T14:31:54.716+09:00</updated><title type='text'>Bazaar VS Subversion</title><summary type='text'>A Bazaar repository check-out contains the complete revision history. This has the advantage that the check-out itself can act as a repository and the disadvantage of more network data transfer during initial check-out.

In Bazaar you cannot check-out subtrees of a repository. You always have to check-out the entire tree. This implies that Bazaar operations are more atomic than in Subversion. An </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/4842240190938701068/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=4842240190938701068' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4842240190938701068'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4842240190938701068'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/04/bazaar-vs-subversion.html' title='Bazaar VS Subversion'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1393865337632921743</id><published>2008-04-09T10:55:00.000+09:00</published><updated>2008-04-09T10:56:13.739+09:00</updated><title type='text'>Set locale when running java programs</title><summary type='text'>java -Duser.language=ja MyClass</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1393865337632921743/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1393865337632921743' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1393865337632921743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1393865337632921743'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/04/set-locale-when-running-java-programs.html' title='Set locale when running java programs'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1649700837558515523</id><published>2008-04-02T13:39:00.002+09:00</published><updated>2008-04-02T13:45:09.743+09:00</updated><title type='text'>cifs</title><summary type='text'>Recently we installed a network drive. I mounted it as smbfs from a Linux system, but strangely after about an hour the mount fell apart and started to give me IO errors. An umount/mount temporarily fixed the problem but only for another hour.

Then I got this tip to mount it as cifs. Worked fantastic hurray!</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1649700837558515523/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1649700837558515523' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1649700837558515523'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1649700837558515523'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/04/cifs.html' title='cifs'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-8380378691843336012</id><published>2008-04-01T15:21:00.003+09:00</published><updated>2008-04-01T15:30:02.900+09:00</updated><title type='text'>rsync - copy with progress monitor</title><summary type='text'>I always wanted to see the progress of a cp command. For example it can be quite frustrating when you copy huge files like VMware machines and the screen doesn't show anything for long minutes or hours. I really should get my ass up and learn how to use rsync, but for the time being simply copying files with progress monitor is good enough.

These are two equivalent ways of recursively copying a </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/8380378691843336012/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=8380378691843336012' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/8380378691843336012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/8380378691843336012'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/04/rsync-copy-with-progress-monitor.html' title='rsync - copy with progress monitor'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-2578764653758113368</id><published>2008-03-19T13:23:00.003+09:00</published><updated>2008-03-19T14:10:16.239+09:00</updated><title type='text'>Ubuntu crapping out on me (crypt on raid)</title><summary type='text'>Shocker. Installing Gutsy 64-bit now to replace Windows 2003 Server. The installer looked pretty good. I was impressed by the option to create software raid partitions and encrypted partitions. I thought to myself: it can't be this easy.

Yeap, sadly, it wasn't. Upon first boot, gutsy crapped out on me and dumped me into the rescue shell. The issue:
fsck.ext3: No such file or directory while </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/2578764653758113368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=2578764653758113368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2578764653758113368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2578764653758113368'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/03/ubuntu-crapping-out-on-me.html' title='Ubuntu crapping out on me (crypt on raid)'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-2371432391973418035</id><published>2008-03-18T22:46:00.005+09:00</published><updated>2008-10-03T16:28:08.547+09:00</updated><title type='text'>Installing java and setting JAVA_HOME in Ubuntu</title><summary type='text'>Install Java 6 like this: (Note: the package is in multiverse)
sudo apt-get install sun-java6-jdk

Edit /etc/jvm, add this line to the top of the list: /usr/lib/jvm/java-6-sun

Thanks to the above step, the java executable will find the right version of java. You can confirm this with java -version. However, setting JAVA_HOME is a completely different matter.

These commands will detect set and </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/2371432391973418035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=2371432391973418035' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2371432391973418035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/2371432391973418035'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/03/installing-java-and-setting-javahome-in.html' title='Installing java and setting JAVA_HOME in Ubuntu'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-3565997076474597038</id><published>2008-03-18T22:30:00.002+09:00</published><updated>2008-03-18T22:45:58.129+09:00</updated><title type='text'>bazaar</title><summary type='text'>What is Bazaar? Bazaar is a distributed version control system that Just Works and adapts to the workflows you want to use.

I read about this a few months back, but I quickly dismissed the idea. I simply didn't think it was feasible. Or useful to me. Until I read this on the Bazaar homepage:

The purpose of decentralized revision control systems is to break the chain between the developer and </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/3565997076474597038/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=3565997076474597038' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3565997076474597038'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3565997076474597038'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/03/bazaar.html' title='bazaar'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-1564527219436762034</id><published>2008-03-17T09:59:00.001+09:00</published><updated>2008-03-17T10:01:17.557+09:00</updated><title type='text'>fping</title><summary type='text'>Flood ping. You specify the list of addresses on the command line. To generate the list of IP adresses you can use the -g flag and targets with netmask or significant bits like this.

fping -g 192.168.11.0/24</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/1564527219436762034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=1564527219436762034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1564527219436762034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/1564527219436762034'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/03/fping.html' title='fping'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7943313398477229713</id><published>2008-03-06T02:41:00.005+09:00</published><updated>2008-09-07T13:10:47.131+09:00</updated><title type='text'>Synchronize subversion repositories with svnsync</title><summary type='text'>I backup my svn repositories using svnadmin dump. From a dump like that a repository can be fully restored at any location via svnadmin load.

I'm playing with the idea of hosting some of my repositories on Google, but then I won't be able to use svnadmin dump, my trusty backup method. However, snvsync looks promising as a suitable replacement.

1. Create a target repository with svnadmin create </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7943313398477229713/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7943313398477229713' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7943313398477229713'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7943313398477229713'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/03/using-svnsync.html' title='Synchronize subversion repositories with svnsync'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-6165654667081928119</id><published>2008-03-05T10:20:00.003+09:00</published><updated>2008-03-05T10:24:47.933+09:00</updated><title type='text'>Firefox in Gutsy</title><summary type='text'>In previous Ubuntu releases you could open different firefox profiles withfirefox -P your_other_profile_name

As of Gutsy Gibbon, you accomplish the same by firefox -P your_other_profile_name -no-remote</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/6165654667081928119/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=6165654667081928119' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6165654667081928119'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/6165654667081928119'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/03/firefox-in-gutsy.html' title='Firefox in Gutsy'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-3743692784963146870</id><published>2008-02-29T13:39:00.005+09:00</published><updated>2008-09-07T13:12:07.244+09:00</updated><title type='text'>Productivity tips...</title><summary type='text'>You can actually have Subversion repositories hosted on google for free... One thing to note though is that you cannot disable anonymous access. Suitable for open source projects though. I've been looking for a hassle-free way of giving anonymous access to some of my private repositories, this might be it!

You can get started here:

http://code.google.com/

While at it, also found some super </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/3743692784963146870/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=3743692784963146870' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3743692784963146870'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/3743692784963146870'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/02/productivity-tips.html' title='Productivity tips...'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-4747637875454229924</id><published>2008-02-03T01:11:00.001+09:00</published><updated>2008-09-07T13:13:02.058+09:00</updated><title type='text'>Desktop cube in Compiz-Fusion on Ubuntu</title><summary type='text'>I've been using Beryl for some time now, until Feisty, to be exact. To my surprise Gutsy no longer had packages for Beryl. Luckily it has Compiz. 

To access advanced settings such as the wonderful desktop cube, apt-get install compizconfig-settings-manager. This will enable the menu option: System | Preferences | Advanced Desktop Effects Settings. 

Also notable that after enabling the desktop </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/4747637875454229924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=4747637875454229924' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4747637875454229924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4747637875454229924'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2008/02/desktop-cube-in-compiz-fusion-on-ubuntu.html' title='Desktop cube in Compiz-Fusion on Ubuntu'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-272554230084674744</id><published>2007-11-12T10:16:00.001+09:00</published><updated>2008-09-07T13:15:18.760+09:00</updated><title type='text'>Postfix+Amavis+ClamAV+SpamAssassin setup in FreeBSD</title><summary type='text'>A friend's sysadmin went missing so was left with a broken mail server that did not deliver anything. There are plenty of articles on doing this in Linux, the challenge was doing it in FreeBSD 5.4, when the latest stable version is 6.2.

An excellent first reading: 

Linux Journal - Adding Clam Antivirus to Your Postfix Server

Although an article for Linux, it explains well the setup steps that </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/272554230084674744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=272554230084674744' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/272554230084674744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/272554230084674744'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2007/11/amavisclamavspamassassin-setup-in.html' title='Postfix+Amavis+ClamAV+SpamAssassin setup in FreeBSD'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-8322117114541291386</id><published>2007-06-14T09:52:00.001+09:00</published><updated>2008-09-07T13:17:42.382+09:00</updated><title type='text'>Acrobat crashes a few seconds after opening a PDF...</title><summary type='text'>
Scenario
Acrobat crashes a few seconds after opening a PDF.

Cause
the acrobat updater...

Resolution
cd to acrobat plug-in directory (c:\program files\adobe\acrobat 8.0\acrobat\plug_ins) and rename updater.api to something else.

</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/8322117114541291386/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=8322117114541291386' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/8322117114541291386'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/8322117114541291386'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2007/06/acrobat-crash.html' title='Acrobat crashes a few seconds after opening a PDF...'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7046839896470310963</id><published>2007-06-07T10:40:00.001+09:00</published><updated>2008-09-07T13:18:29.483+09:00</updated><title type='text'>svn+ssh:// in windows revisited</title><summary type='text'>Oh well, SVN_SSH="c:/program files/putty/plink.exe" didn't work very well for me for two reasons:


Every time a console window would pop up, that's kind of ugly.
After some time it simply stopped working, somehow it could not connect to the repository server anymore, no idea why.


So i downloaded TortoiseSVN for its tortoiseplink.exe file. The reason why I didn't start with this step is that I </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7046839896470310963/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7046839896470310963' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7046839896470310963'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7046839896470310963'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2007/06/svnssh-in-windows-revisited.html' title='svn+ssh:// in windows revisited'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-7307503362833431788</id><published>2007-05-18T17:31:00.002+09:00</published><updated>2008-09-07T13:19:08.447+09:00</updated><title type='text'>svn+ssh:// in windows</title><summary type='text'>Whether I tried from a client like RapidSVN or from the command line, this is the error I got:

svn: Can't create tunnel: The system cannot find the file specified.

It would have been helpful if the message mentioned what file it was looking for, but whatever...
...even more surprisingly, google-ing didn't turn up a solution either...

Luckily I remembered something about plink.exe ...

The </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/7307503362833431788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=7307503362833431788' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7307503362833431788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/7307503362833431788'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2007/05/svnssh-in-windows.html' title='svn+ssh:// in windows'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-4808441343019214689</id><published>2007-02-27T14:27:00.002+09:00</published><updated>2008-09-07T13:51:15.592+09:00</updated><title type='text'>Oracle Tips</title><summary type='text'>Environmental variables


    Essential
      
          ORACLE_HOME
          ORACLE_SID
      
    
    How to set them?
      
          If you don't know what these are supposed to be, take a look at /etc/oratab. A line like this: orcl:/opt/oracle/product/10.2.0/db_1:N means
            
                ORACLE_SID=orcl
                ORACLE_HOME=/opt/oracle/product/10.2.0/db_1
            
</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/4808441343019214689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=4808441343019214689' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4808441343019214689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/4808441343019214689'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2007/02/oracle-tips.html' title='Oracle Tips'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-116118576683023936</id><published>2006-10-19T00:27:00.000+09:00</published><updated>2007-07-04T20:17:10.524+09:00</updated><title type='text'>Installing Oracle in RHEL4</title><summary type='text'>Note: If you get stuck at any point, see bottom for troubleshooting tips!

1. up2date xorg-x11-deprecated-libs : libXp.so.6 is required by the installer
2. up2date gcc gcc-c++ libaio libstdc++-devel compat-libstdc++-33 sysstat : required by Oracle

Create the oracle groups and user account:

groupadd oinstall
groupadd dba
useradd -m -g oinstall -G dba oracle
mkdir /opt/oracle
chown </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/116118576683023936/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=116118576683023936' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/116118576683023936'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/116118576683023936'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2006/10/installing-oracle-in-rhel4.html' title='Installing Oracle in RHEL4'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-116103972134353053</id><published>2006-10-17T07:56:00.000+09:00</published><updated>2006-10-17T08:02:01.343+09:00</updated><title type='text'>Installing RHEL4 in vmware</title><summary type='text'>The catch was that the RHEL4 installer needs two CDs and i wanted to use the downloaded images without burning them to physical CDs. So i created the virtual machine with two CDROMs linked to the two ISO images. It worked! The installer successfully found the second CD!</summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/116103972134353053/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=116103972134353053' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/116103972134353053'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/116103972134353053'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2006/10/installing-rhel4-in-vmware.html' title='Installing RHEL4 in vmware'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-116101915223051504</id><published>2006-10-17T02:01:00.000+09:00</published><updated>2006-10-20T12:12:44.663+09:00</updated><title type='text'>Replacing the hard drive of a G4 iBook and recovering user data</title><summary type='text'>It was my friend Joe's iBook. He kept it running all the time. But one day it just froze. (Btw, this happened shortly after he upgraded to iTunes7... Coincidence?) After restarting, the system wouldn't come up. So he took it to Mac. They said the hard drive is busted. They can replace it for $500. You would think it's natural that they either recover your data or return your busted hard drive, </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/116101915223051504/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=116101915223051504' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/116101915223051504'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/116101915223051504'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2006/10/replacing-hard-drive-of-g4-ibook-and.html' title='Replacing the hard drive of a G4 iBook and recovering user data'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13658254.post-115116697974780725</id><published>2006-06-25T01:03:00.000+09:00</published><updated>2006-06-25T02:15:30.830+09:00</updated><title type='text'>etch -&gt; dapper</title><summary type='text'>At last i decided it was time to migrate my thinkpad x31 from breezy badger to crazy crapper, err, dapper drake. Rather than doing a simple apt-get dist-upgrade, i chose a somewhat more difficult way. Since i don't have a cdrom, and since ubuntu stopped including a netboot folder in dapper's installer, i opted for an etch/debian netinstall and from there a apt-get dist-upgrade to dapper. Here's </summary><link rel='replies' type='application/atom+xml' href='http://my-hacking-journal.blogspot.com/feeds/115116697974780725/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13658254&amp;postID=115116697974780725' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/115116697974780725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13658254/posts/default/115116697974780725'/><link rel='alternate' type='text/html' href='http://my-hacking-journal.blogspot.com/2006/06/etch-dapper.html' title='etch -&gt; dapper'/><author><name>janos</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
