This should apply to RHEL5 as well, but I haven’t verified yet.
The easiest solution I’ve found is to simply install Ruby and it’s dependencies and then install RubyGems from source.
I’ve written a small script which installs Ruby and it’s dependencies. It then grabs the RubyGems source tarball and installs Gems from source. As I wrote this to get a working Chef install, it also adds an opscode gems source.
I just stumbled across a Mozilla Labs project called Personas. It’s light-weight theming for Firefox that can be changed without restarting the browser. After you install Personas, you get a new menu entry Tools->Personas for Firefox, where you can quickly change the persona you are using. From what I can tell, Personas seem to change the your browser toolbar and menu font colors and usually add a lightweight background picture. According to the website, the project has been going since Dec 2007, so there’s a lot of Personas to choose from. I guess I’m a little slow sometimes.
One thing that is really cool is you can visit the personas gallery and see a bunch of different personas and when you hover your cursor over a persona, your browser will temporarily use that persona. If you want to use that persona now, just click on it and it’s your active persona.
Here’s a quick little clip that shows what Personas does.
I really had a hard time getting pure-ftpd 1.0.22 to compile properly witih mysql support on a RHEL5 x86_64 server. It turns out that the mysql libraries path in the configure script is incorrect. I’m not sure if this is just a problem with my particular configuration or with the way pure-ftpd tries to figure out where the mysql libraries are. In any case, I modified the configure script to use mysql_config with appropriate options to set the mysql include paths and lib paths as appropriate. Assuming mysql_config is in your path, I wouldn’t expect this to ever fail.
If anyone else has this problem, just apply the following patch to the configure script:
Wow, I wonder if any of our server have been bitten by this nasty Perl bug. It’s hard to believe that RedHat has taken so long to provide a fix for this problem.
Just found this website tonight for playing music online for free. It’s a community based service where you can have friends to share music with. It’s kind of like Last.fm and Pandora, but with a much nicer interface. It seems to load very quickly and the music seems like decent quality.
I saw a posting today on one of the Gentoo listservs about the recent lack of newsletters and website updates. Unfortunately, the lack of updates isn’t unusual, but I did pickup an interesting bit of information.
It looks like there is a new index page coming soon to the Gentoo website. It looks like it’s just a matter of when it gets committed. The new page appears to provide automated news updates with information such as:
Latest GLSA’s
compilation of dev blog posts from p.g.o
latest package additions
The look of the page is pretty much the same as the old page.
A user had 2 partitions on different hard drives that he wanted to combine the space on. Ok, well the interesting part was one persons reply about a new fuse filesystem called mhddfs. He pointed out an article on debian.net that explained a bit about this new filesystem and how to use it.
Sure, there’s multiple ways to combine the two drives, but this one is pretty intesting. You can use mhddfs to combine 2 partitions into one virtual partition. Mhddfs will automatically merge (overlay) the contents of both partitions so it looks like one big partition.
The advantages are:
No need to move and backup existing data on the partitions.
Easily implemented in fuse.
Allows a regular user to mount and unmount the filesystem.
According to the forum thread poster, his tests show there is virtually no speed difference when using mhddfs, which is very surprising. My experience with using fuse in the past with NTFS, was that it was painfully slow. I’m sure things have matured greatly since I tried it a few years ago.
So, I found myself tweaking my Conky rc file today. I’ve been using mocp for playing music becuase it’s a really lightweight, versatile and can run detached from the console. I really wanted to see my currently playing music info on my desktop in Conky, but Conky’s documentation shows no mention of any support for moc and thier are no mention of variables to use for the config.
So, in doing some googling, I found a website that has a patch for moc support and also mentions that it’s been in Conky since September 28th! I guess they haven’t updated the documentation yet.
Here’s a list of the new variables you can use in your conkyrc file to add moc support.
$moc_state: Current state of MOC; playing, stopped etc.
$moc_file: File name of the current MOC song.
$moc_title: Title of the current MOC song.
$moc_artist: Artist of the current MOC song.
$moc_song: The current song name being played in MOC.
$moc_album: Album of the current MOC song.
$moc_totaltime: Total length of the current MOC song.
$moc_timeleft: Time left in the current MOC song
$moc_curtime: Current time of the current MOC song.