I’m back again, after a bit of a unscheduled ‘break’ in my normal work
life. After a couple of days away for work on the Gold Coast, then the
sad passing of my Grandfather and his memorial, then being sick over the
last weekend from what I can only guess was a nasty 24-hour bug, I’m
back. And whilst a little worse for wear still today, it’s life pretty
much as normal.
Today’s fun and games was on a server we use that uses LDAP
authentication for its users. Nothing special, except that today I
Wow, ffmpeg is really great for converting multimedia. Unfortunately,
the support for MP3 audio doesn’t appear available by default. Sure, it
can decode MP3 audio and write to an MP3 container, but what about
having an actual MP3 codec available?
As a little bonus, there’s a number of other codecs that come along with
it too (xvid etc). I’m not too fussed on them but now I can use
-acodec libmp3lame as my audio codec and have the FLV outputted with
MP3 audio …
Today’s interesting post concerns finding and replacing terms across
multiple files via a simple command. Thanks to this great blog post,
it all comes down to one single line. I had found a previously-useful
line of code, but the problem with that one was the fact that it used
the find command. The problem with that is that if you do a
wildcard search for * in a directory, it’ll give you back ‘.’ as a
result. Trying to work with that just wasn’t happening.
So, without further ado, the command (replacing ‘search’ with your
search term and ‘target …
Because I still haven’t remembered to set myself up with a
limited-access account for blogging on my new site, I’m back here again.
(EDIT: Migrated from old site)
This time is a lot of fun and games with removing an “open” logical
volume from within a CentOS environment. The dom0 machine has a set of
logical volumes in a volume group for each of the VMs and one of them
went and failed dismally, and after its xen destruction (xm destory foo)
its LV was left with it being “open”.
Today’s puzzle: how to get Ubuntu (specifically GNOME Panels as it turns
out) to use my new dual-monitor setup and show only the tasks from one
monitor on that monitor’s panel. Sure, people had mentioned that it was
possible (everywhere) but noone actually seemed to take the time to
mention how. That’s when I found this:
so cheers go to Lloyd there. Still works (and should be fine on any
version from at least now on):
Right click on anywhere on the launchbar, click “New Panel”
Well, it’s a sad state of affairs when simply unplugging your set of USB
headphones causes your Intrepid Ibex install of Ubuntu to crap itself.
Even with the same set of headphones plugged back into the same port not
10 seconds later. Painful.
But, the good news is that after a few hours of pain, PulseAudio works
and it’s magical in comparison to the older audio systems (3 apps
playing audio at once..wow).