Archive for March, 2008

My ultimate iPod Touch mania: offline Wikipedia!

Wednesday, March 26th, 2008

I have a true love for Wikipedia: I always wanted to take the power of information with in my pocket. My good old iPod, which i bought in 2005 was not good enough for the task: you’d need to install a linux on it to get the work done - well, Linux is fine on the Desktop, but not my gadgets! :D

The world had to wait until 2008, when Mr Patric Collison came out with the ultimate software, an interface to the wikipedia bulk xml based database dump. On his site, you can find all information on installing Wikipedia on your iPod Touch or iPhone.

I advise you to download the English dump file via The Pirate Bay, the best torrent tracker on Planet Earth.

I created a dummy video about my progress:


My ultimate iPod Touch mania: custom web icon for websites

Wednesday, March 26th, 2008

I got my iPod Touch as a gift from my previous company for Christmas, and I’m so happy with it - thank you guys again :D

Being a geek myself, of course I found a way to hack it; and optimized my sites and stuff to be usable on the new platform: Apple Safari Mobile.
With the new 1.1.4 software upgrade, you can add nice webicon to the Touch’s interface:

All you need to do is to create a custom PNG image like this one:  and reference it in the parent webpage’s header section:


<link href=”/img/apple-icon.png” rel=”apple-touch-icon” type=”image/png” />


Set a Network Interface to full duplex 100Mbit mode

Wednesday, March 26th, 2008

Create a new file in init.d (i like nano for file editing):

nano /etc/init.d/makefull100mode

type in:

ethtool -s eth0 speed 100 duplex full autoneg off

exit. in shell, type:

chmod +x /etc/makefull100mode
update-rc.d makefull100mode defaults

when you reboot the machine or restart the network stack, the interface will come up with true full duplex.


Visual Studio: File type xxx conflicts with imported type: xxx

Wednesday, March 26th, 2008

I like to use my own User Controls and Web Controls in my web projects, and when I was building the current one on a lovely morning at 4am, Visual Studio 2005 bombed me with 365 warnings (one for each day of the year:))  stating there’s a type conflict in my project. What the hell?:)

I really hate errors and warning messages, so I checked what happened:  when i created a web control in my project, and dropped the control to a webpage in design view, visual studio 2005 added the /bin/projectname.dll as a reference to the project itself - and when i was building, the two dlls (the old and the new) had the same types. the solution was to remove the self-reference…

update: i found the same error reported on Microsoft Connect.


Create an ISO image under Ubuntu

Wednesday, March 26th, 2008

The other day I tried to create an ISO under Ubuntu, finally I found out how:

mkisofs --cap -o myVolume.iso /home/balint/archive

With cdrecord, you can write it to disk, and if you want to eject the disk (as i did with my slot-loader drive):

cdrecord -eject myVolume.iso


New outfit for techblog

Wednesday, March 26th, 2008

I took some time on the Easter-weekend, and redesigned the blog css to be similar to the skaelede.hu main page.
After some tweeking, it was working superb on all OS X browsers, but when i watched the site under Windows, IE simply got mad from the semi-transparent alpha-blending which i use on the homepage as well - without error: but here it simply ate up all CPU, and you were forced to quit the browser. A big sorry to everyone who saw this error :D