Archive for January 2010

Simple Facebook Connect Integration

I found an interesting plugin for this wordpress blog when I was going through my RSS feeds a couple of weeks ago. Simple Facebook Connect allows blog commenters to post using their Facebook accounts for authentication. Not only that, it leaves a link back to their profile as well as showing their avatar (depending on privacy settings). I’ve installed the plugin on this blog, which you can try out by going to a post, and selecting “Connect with Facebook” on the sidebar.

I did note, however, that the FB avatar wasn’t being displayed correctly (alignment was broken) with the current theme, Fluid Blue. Needed to edit “simple-facebook-connect/sfc-comments.php” and replace the two relevant blocks that generates the picture displaying HTML with:

$avatar = "";

Clipboard Monitor

When I’m ingame with games such as Left 4 Dead 2, I often want to save chat from game lobbies, or during the game itself. However, it’s often incredibly difficult, requiring alt-tabbing out of the game, and this isn’t really feasible when in the middle of a round.

I’ve written this program, which monitors the contents of the Windows Clipboard, and saves any new content automatically. The idea being, you start the application before you launch a game, and let it run in the background. When ingame, you simply copy chat into your clipboard. The program will then automatically log it, and every minute, write to a log file on the hard drive. That way, there is no need to alt-tab or otherwise leave the game.

When finished, simply close the program, and access/read the log file. I’ve been testing this for the last day or so, and it seems to work fine without any crashes. I should note that it uses an MD5 implementation available here. I’m keeping the program closed-source for now, but if people want the code to verify there isn’t anything malicious going on, I may release it later.

EDIT: Source is available.

Download:

Binary
Source

Macro Photography

I haven’t really used the macro mode on my Canon IXUS 80 IS much since I bought it so, out of boredom, I’ve decided to test it out and post up some photographs I took. The first photo is of the fan on my Xigmatek HDT-S1283 Red Scorpion. The second photo is from the control pod for my Logitech G51 speakers.