Tag Archives: software

Extracting M2TS length from a BDMV directory in Linux

I was having the hardest time getting various programs to echo the runtime of m2ts files in Linux, and it turns out someone wrote a parser for the files in the BDMV/PLAYLIST directory, which have all of this information. Get bdtools. I got Version 1.4. You can find it here. ./configure && make && sudo [...]

Installing PARI-GP under OpenSUSE 11.2

I have no idea why this package isn’t in the default community repositories. I highly recommend they add it. Use the following commands to add the repository and install the package: sudo zypper ar ftp://ftp5.gwdg.de/pub/opensuse/repositories/home:/mkng:/science/openSUSE_11.1/ PARI sudo zypper in pari-gp

Calibre with the Nook on Ubuntu

Calibre is about the best thing since sliced bread. It is able to convert basically any type of Ebook format into EPUB, which is what my Nook reads natively. It seamlessly syncs with the Nook as well, which is a huge plus, and all of this happens in Linux. I highly recommend this software. Just [...]

Fixing italics in Calibre EPUB output

I converted an ebook from TXT to EPUB today using Calibre, and found that the italics (which in the TXT file are annotated /like this/) are not converted into the HTML equivalent.  I did the following to fix this: unzip ebook.epub -d tmpbook cd tmpbook perl -i.bak -pe ‘s/([\s-,.;\'?:]+)\/(.+?)\/([\s-,.;\'?:]+)/$1<i>$2<\/i>$3/sg;’ *html That will create.bak files just [...]

Making WordPress live in a subdirectory

I found an interesting article today about WordPress.  It was how to make it live in another directory. I needed that, so I followed the instructions, and it worked. WordPress is so much easier to install and configure than Mephisto.  It’s even easier to use than Mephisto.  I can see almost no reason anyone would [...]

Macbook Air hacked in under 2 minutes

So, at the PWN2OWN contest, a MacBook Air was hacked in under 2 minutes. A Vista machine was also hacked a little later, but the Ubuntu machine stood strong despite various attempts. Just goes to show that Macs are definitely not as invincible as many people keep saying they are…

HP Uses FBI’s Software?

Installing windows from an OEM recovery CD has never been something I would try, but apparently my friend is brave enough to do it. While he was in his 9th hour of installing today, he decided to come to his senses and just put Ubuntu back on. Lo and behold, he could not cancel the [...]