# A new understanding: XUL and .app

After talking to some guys in the #xulrunner channel on IRC, I foundout that my Mac applications were setup all wrong.  At first I was like, why would they do that?  But after getting it to work, I figured that it was pure genius!  First of all, I was simply copying over my XUL … Continue reading

# Networking Services…IPv6 and a Corrupt Database

All I wanted to do is install the Peer to Peer Networking Service for Windows XP.  A process I have done many times.  For some reason I have never installed it on my home computer (which has Windows Media Center Edition 2005), I guess because I usually use that computer to play games, rather than … Continue reading

I just wasted about 2 hours trying to figure out why my java servet won’t compile.  The answer was actually very simple, so I want to save people that time, which I wasted. The error: package javax.servlet does not exist import javax.servlet.*; ^ 1 error This caused about 10 other errors, all related.  You must … Continue reading

# The Keyboard is mightier than the Mouse

I find that at least 80% of the time when I am on the computer, my hands are on the keyboard, and I use my mouse for only rudimentary tasks, like starting a program, finding a file, or clicking a weblink.  I pretty much use the keyboard for everything else, changing windows, paging through text, … Continue reading

# XUL File I/O: Write Files

Writing files in XUL isn’t that much harder than reading a file, in fact its very similar.  What a relief.  In my example I am appending the data “Appending Data” to my file. function writeFile() { var data = “Appending Data”; var filePath = “C:\\text.txt”; var file = Components.classes[“@mozilla.org/file/local;1”] .createInstance(Components.interfaces.nsILocalFile); var foStream = Components.classes[“@mozilla.org/network/file-output-stream;1”]    … Continue reading

# How-to: Read Files in XUL

After some weeks of procrastination and going nuts over other projects, I’m getting back to XUL and my XRap program.  I’ve been asked to change my current XRap code (currently the 0.1 is in C#) to XUL, which would increase its portability, and it just makes sense to make a XULRunner Packager in XUL.  Unfortunately, … Continue reading

# Installing PHPUnit on Ubuntu 8.04

You need to get the latest release of PHP $sudo apt-get install php5 To get PHPUnit you need to get the PEAR installer, which is part of PHP$sudo apt-get install php-pear Once you have PEAR installed you must register the PEAR channel with the PEAR environment \$sudo pear channel-discover pear.phpunit.de The and the last … Continue reading