|A1||X||Make projects for tomorrow|
|9:30||11:00||Planner maintenance and mail|
|11:00||11:30||Friendster (sheepish grin)|
|13:00||16:30||Blue Panthers: We will work tom at 1-430... Venue still has to be decided.|
|13:00||16:30||Provide feedback to CS21A students on
|16:30||19:30||Meet with Dr. Sarmenta, Fanny Sy and Christine Amarra regarding the CS21A finals|
|19:30||21:30||Dinner at Jollibee|
|21:30||22:30||Talk to Mario and Nestor|
1. John Wiegley's ledger : 09:49
I've traded 60 Mb on my laptop for 60 Kb. How can you, too, lose three orders of magnitude of fat and waste on your hard drive?
By checking out the incredibly lean and mean "ledger" accounting tool. Written in C++, it parses it only, simplified general ledger file (intended for editing with Emacs), or it can even just parse
GnuCash data files directly. This gives you the easiest way of starting out:
That will print out your
GnuCash XML ledger data into much simpler, text-based "ledger" file.
Below is the code. For reading
GnuCash, you'll need libxmltok1-dev installed (if you're a Debian user). It also uses GNU's multi-precision library (libgmp3-dev) and Perl regular expression library (libpcre3-dev).
2. There's more than one way to do it --- linux : 10:47
Hi, I have a file in this format of words: joe jill bill bob frank tom harry and want to convert the file to this format: joe jill bill bob frank tom harry Is there an easy way to this? The file I have has hundreds of entries. Thanks Mike
Several proposed solutions
for word in `cat file`; do; echo $word; done > new_file for x in `cat file`; do echo $x; done sed -ri 's/[ \t]+/\n/g' file tr ' ' '\012' < infile > outfile fmt -w 1 filename > newfile perl -p040 -l12 -e 'chomp' filename perl -p040 -e 's/\s/\n/' filename
3. NNTP access : 11:23
Apparently the only way you can have access to Usenet these days from here is via groups.google.com. Some years ago, around 1997 or so, I once had a Pacific Internet account and could access Usenet news via news.pacific.net.ph, which apparently was an alias for Pacific's Usenet server in Singapore. Dunno if Pacific still has this service though, but apparently the name still exists and works.
4. Java Games tutorial #3 - Creating a Stand-alone Graphics Application : 16:18
The tutorial uses BlueJ as an environment. Interesting...
I'd love to hear about any questions, comments, suggestions or links that you might have. Your comments will not be posted on this website immediately, but will be e-mailed to me first. You can use this form to get in touch with me, or e-mail me at [email protected] .