If you use Pidgin as an MSN instant messenger you might have recently started to get the “omega.contacts.msn.com could not be validated. The certificate chain presented is invalid” error. It seems that MSN certificate has expired for Pidgin; so a new certificate needs to be imported into Pidgin for it to work. There are a few different ways to get the new certificate, the following outlines a couple solutions that i have found to work.
Option #1 – Delete the current certificate and let Pidgin import the new one automatically
- From within Pidgin, navigate to Tools > Certificate
- In the list of certificates, find the omega.contacts.msn.com certificate and Delete it
- Quit and Restart Pidgin
- Pidgin should import the new certificate automatically and you should now be able to login. If not, follow the steps in Option #2 to download and import the certificate manually.
Option #2 – Delete the current certificate and download/import the certificate manually
- Download the following file – http://files.andreineculau.com/projects/pidgin/omega.contacts.msn.com.txt
- Remote the .txt extention at the end of the file name so you end up with omega.contacts.msn.com
- From within Pidgin, navigate to Tools > Certificate
- In the list of certificates, find the omega.contacts.msn.com certificate and Delete it
- Now click the Add button to import the certificate you just downloaded, Navigate to the omega.contacts.msn.com file
- Quit and Restart Pidgin
- You should now be able to login
When I’m working in Windows I tend to use the Ctrl + Shift + Esc shortcut a lot to bring up the task manager. Since I’ve switched my primary OS over to Ubuntu i still find myself trying to open up a task manager (or system monitor) with the aforementioned shortcut, which isn’t configured by default. To overcome this I simply created a custom keyboard shortcut to open the gnome-system-monitor with the Ctrl + Shift + Esc key combination.
This short tutorial will show you how to create a custom keyboard shortcut for the system monitor in Ubuntu 10.04.
- Under System > Preferences open up Keyboard Shortcuts
- Click on Add, to add a new action
- Enter a name for your shortcut, I’ve named my System Monitor.
- Enter the command gnome-system-monitor

- Click Apply
- You should now see your new Action under Custom Shortcuts in the list
- Click on the shortcut column of your new action (which should say Disabled)
- The shortcut text should change to New Shortcut, now press the Ctrl + Shift + Esc key combination.
- The shortcut column will change once again to your new key combination.

- Click Close to exit the Keyboard Shortcuts window
- Now you can use your new shortcut to open up the System Monitor
That’s all there is to it. Enjoy and have fun.
There are times when you might want to show a piece of code within a WordPress post. If you try to put the code snippet directly into the editor you’ll find that WordPress doesn’t exactly display how you’d like it to. The problem is that WordPress will assume that the code is intended to be read as code and not plain text so the readers can view it properly.
The easiest way to combat this issue is to use a plugin so that when you past code in your post WordPress knows not to see the code as code but as text. One plugin that i have found is called SyntaxHighlighter Evolved, written by viper007bond, which is based on the original project by Alex Gorbatchev.
For a list of supported languages see the WordPress.com support document.
Using the plugin
Whenever you want to display code you will need to wrap your snippet with the shortcode tags of the corresponding language.
1
1
1
There are also several options available that you can use in your shortcode to tweak the display. The list of tweaks can be seen at the bottom of the Syntax Highlighter Options page. If you wanted to highlight lines 4 and 12 of your php code you could do the following:
1
Sample output:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>PHP Code Example</title>
</head>
<body>
<h1>PHP Code Example</h1>
<p><?php echo 'Hello World!'; ?></p>
<p>This line is highlighted.</p>
<div>
This is an
example of smart
tabs.
</div>
<p><a href="http://wordpress.org/">WordPress</a></p>
</body>
</html>
JeffPollreisz.com has just been relaunched. Let me know what you think.
Recent Comments