Apache2 mixed ssl/non-ssl name-based virtual hosting

Uncategorized
Ran into some problems earlier today in trying to bring up a SSL enabled virtual site along side my existing (non-ssl) name-based virtual sites. I needed the SSL enabled vsite for a installation of phpmysqladmin. I ran into a lot of documentations describing how to get the IP based setup working, but almost no info on name based setups. This how-to is geared towards Ubuntu Linux 8.04 LTS and higher. The very first thing you need to do is get your SSL certificate generated and setup. Without this step nothing works. I'm gonna show you self-signed certificate route. Your milage may vary.....Here is how: openssl genrsa -out server.key 1024 openssl req -new -key server.key -out server.csr openssl x509 -req -days 9999 -in server.csr -signkey server.key -out server.crt I did this…
Read More

Tubeify…..It’s Time Machine for your cloud music

Uncategorized
More and more people use youtube now-a-days to get access to instant music. Be it at parties, in the office or on mobile platforms. The hard part is the constant searches you have to do. You want to listen to some 80's tunes. How do you go about creating a playlist......do you even remember the name of those one hit wonders. Well, worry not, Tubeify is here. Tubeify is a new mashup of Last.fm, Billboard and YouTube. The site allows users to search for, discover, play and queue video clips in any web browser. The advanced search capabilities and outstanding usability makes it without a doubt one of the best YouTube jukeboxes around. One of the true gems is the Billboard “timetravel” feature, allowing users to pull up the Billboard…
Read More

Screen resolution fix for Ubuntu 10.10 running in Parallels Desktop 6.0

Linux, Parallels Desktop, Tricks, Tutorial, Ubuntu
If you try to install Ubuntu 10.10 under parallels desktop 6.0 on OSX -- atleast as of the writing of this article -- you'll soon discover that although your entire installation is done in a high (eg: 1920x1080) resolution, as soon as the install is done and you reboot, your VM is stuck at 1024x768. You can install the parallel tools using the menu option and it still won't help -- although it helps with 3D (ie: compiz). Under Gnomes System/Preferences/Monitors the highest resolution available is 1024x768 :-(. After searching around the net for the past week or so and trying just about every remedy -- which did not work -- I was about to give up, then I found the magic command that "makes it go" :-). I've now…
Read More

Fixing Plymouth (boot splash) in Ubuntu 10.10 aka. Maverick Meerkat

Linux, Tutorial, Ubuntu
If you've recently installed Ubuntu 10.10 and have installed Nvidia and/or ATI drivers -- or installed ubuntu under emulation -- you'll end up with a (butt) ugly splash screen. In my case under parallel 6.0 I ended up with a text boot screen that just read "Ubuntu 10.10"......Ughhh. Here is a quick tutorial on how to get a nice splash restored. This procedure also works in 10.04. Keep in mind that I'm doing everything with 1280x1024 screen size. your mileage might vary (ie: you might want 1024x768). You'll need to get a terminal session opened for this: Get the nice splash screen installed sudo apt-get install v86d Edit your grub config file and add the following sudo vi /etc/default/grub Look for this line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" and replace it with this…
Read More

Terminal Tip: Finding information about a mp3 audio file…

Apple, CLI, Macintosh, OSX
Here is a quick tip for you OSX command line fans. If you want to find metadata information about a mp3 file use the "afinfo" command. Very quick and scripting friendly. Here is a example: $ afinfo 08_\ Lily\ Allen\ -\ Fk\ You.mp3 File: 08_ Lily Allen - Fk You.mp3 File type ID: MPG3 Data format: 2 ch, 44100 Hz, '.mp3' (0x00000000) 0 bits/channel, 0 bytes/packet, 1152 frames/packet, 0 bytes/frame no channel layout. estimated duration: 215.249 sec audio bytes: 5167920 audio packets: 8240 audio 9490176 valid frames + 576 priming + 1728 remainder = 9492480 bit rate: 192000 bits per second packet size upper bound: 1052 maximum packet size: 731 audio data file offset: 32353 optimized ----
Read More

How to install Office 2010 on Windows XP x64-bit edition

Microsoft, Tip, Tricks, Windows
Let me guess.....you tried it and it failed. Well, there is a way (probably not sanctioned by MS) to get this done. I've installed it on two separate machines and verified that it works. First you need to download MSXML 6 from Microsofts website. Just go to microsoft.com and search for MSXML. There should be a link to MSXML6.0 download. Download the 64-bit version of the software and install it. Then force a windows update by choosing windows update from the start menu. You will notice a bunch of updates for MSXML. Let it update the files and reboot after that's done. Now you need to get the x86 version of office 2010 off the cd and copy it onto your computer somewhere (I just dragged the folder onto my…
Read More

Quotes and such in WordPress…..

html, wordpress
As nice as wordpress is, it can sometimes turn your life into a bit of a nightmare. Case in point the title in my previous post. I was trying to tell WP that I want straight double quotes (ie: ") and it kept insisting on beautifying it and turning it into curly double quotes. These curly quotes have a different meaning in Unix, so if you're using a "cut-and-paste" unix command in your post title you're kinda out of luck. There is a process called wptexturize that turns simple everyday quotes/doublequotes into what they call smart quotes. Anyways, to work around this you can use the following tables HTML names instead of the actual character when you're writing your post: Symbol HTML Name HTML Number Description " " " Double…
Read More

Map any network drive to Mac OS X that auto mounts after system reboot

Apple, Macintosh, OSX, osx Server, Tip
Here is a quick recipe for making a network drive auto mount on your OSX machine. This works with pretty much any protocol supported by Finders "Connect to Server" option. Here is how you do it: From the Finder, hit Command+K or select Connect to Server from the Go menu. You'll see the following window, enter the relevant information (ie: the network drive location, be it afp:// or smb:// or http://) and hit Connect button. Enter your login/password and click “OK” Make sure your Finder Preferences are set so Network Drives are visible on your desktop: At this point you should have a icon like on your desktop Now go to System Preferences under the Apple menu Click on the Accounts icon under System and select Login Items tab (you…
Read More