User login |
Installing Windows XPWhile I was installing Windows XP as a VirtualBox guest operating system I got the following error message from the Windows XP installer "No valid system partitions were found. Setup is unable to continue." The solution was to start the installer with the '/syspart:c:' argument. Select Disk 0 Clean Create Partition primary Active Assign Letter=C Detail Disk exit format c: /fs:ntfs /x /q winnt32.exe /syspart:c:
Find base directory for a applicationThe problemWhen executing a application it is not uncommon that you need to be in that applications base directory so it can find its resource files. This is especially true when it comes to Java based applications and games on the Linux platform.
Digest The Tortoies And The HareThe Tortoies And The HareI was looking for a API that could help me create a data driven model for a application I was writting at work. Since it was a Java application I turned my eyes towards Jakarta (a true saviour for us Java coders) and found Jakarta Digester. It seemed to full fill all that I needed. So I took it for a spin. Computer Science TriviaHere are some fun and usefull(?) facts about the Internet and other areas of computer science. First WWW serverThe first WWW server, serving a HTML page over HTTP was named nxoc01.cern.ch. The URL to the document was http://nxoc01.cern.ch/hypertext/WWW/TheProject.html The server was later renamed info.cern.ch which is still available. Sources# Frequently asked questions by the Press - Tim BL # info.cern.ch the website of the world's first-ever web server
Alias arguments in bashUse a function instead.
References* http://my.brandeis.edu/bboard/q-and-a-fetch-msg?msg_id=00046x NWN Dedicated ServerIntroductionNever Winter Nights (NWN) is a RPG computer game created by BioWare Corp.. It was initaly released for Microsoft Windows platform but BioWare has since then also released both servers and clients for both GNU/Linux and Apple Macintoch systems. NWN also allows you to create your own worlds and maps (called modules) so you can extend the experiance of the game.
Linux and Nokia 6680IntroductionI got myself a Nokia 6680 phone and wanted to connect it to my Ubuntu Linux machine. Here are some quick notes on what I had to do to get it running. Connecting using Nokia DKU-2 USB cableThe Nokia 6680 comes with a DKU-2 USB cable which can be used to connect the phone to your computer. USB OBEX HOWTO Transfer filesUsing obexftpWhen I used obexftp I had to use the -F flag to get listings.
SedSed is a very useful program that often is used as a filter in shell scripts. From the sed man page: Sed is a stream editor. A stream editor is used to perform basic text transformations on an input stream (a file or input from a pipeline).
Simple find-and-replace in text fileTo replace all occurrences of the string findme and replace it with the string replcaceme in a file named test.file using sed just use the follwing command.
Unused parameter warningWhen using a wikipedia:API that uses callback functions there is sometimes not necessary to use at all parameters that the callback function prototype declares. A example a API defines a callback function handleEvent as follows. int handleFooEvent(int type, EVENT_T* event_p); In your application you implement this function to see when a Foo Event occurs. Register new protocol handler in FirefoxSometimes you may want to configure Firefox to open links for a special protocol in a external application. There is a quite simple way to do this but it requires knowledge about one of Firefox most usefull "hidden feature" the about:config page. On this page you can view and alter the your Firefox configuration. * Enter about:config |