Cleaning up your calibre library
Just found an interesting thing, evidently Calibre does not cleanup old directories when you rename authors. So I used some pretty standard *nix commands to help save the day here. First find your empty directories > find calibre-library -type d -empty If you are on Mac, like me, you will…
Quick Unix helper for updating Jazz profile*.ini files
When you are deploying to WebSphere there are a number of paths that need to be configured as fully qualified or absolute paths, since the JVM is now running from the WebSphere directory instead of the local Tomcat install.
Installing OpenBSD 4.8 on a Soekris 5501
I tried to do the install via a direct install to the CF via a USB media reader on my laptop, that gave me the runaround for a bit, turns out most USB style CF card readers work but I managed to find one that does not.
Bash hates people who use spaces
Ok so I have lots of files… I can’t be responsible for keeping weird characters and spaces out of all of them can I?
So what is a space using loser like me to do, well after penance, jump through hoops to make it work.
So naively expecting this to work, instead I get this crap.
sgw@terd /store/ebooks/pdfs $ for i in `ls ../*.rar`; do echo "$i"; done ../PDF Ebook Guide BSD Hacks 100 .
Using RAID in OpenBSD
Well anyone who is worth their oats is running raid right?
I guess that depends on your definition of anyone, what a bunch of nub sauces. Ok so it’s my first real attempt at doing it, I only have two disks and most of my media however much I may not think so right now is disposable.
Compile a new kernel since Theo leaves raid out by default:
$ cd /usr/src/sys/arch/amd64/conf/ $ cat /usr/src/sys/arch/amd64/conf/GENERIC.