Changing the Thumbnail on a YouTube Video to a Custom Image

The following code will allow you to use a custom image for the thumbnail on a YouTube video. <div style=”float: right; padding: 20px;”><img style=”cursor: pointer;” src=”/wp-content/uploads/2012/10/iframeyoutubevideo.png” alt=”” /></div> <div id=”thevideo” style=”display: none; float: right; padding: 20px;”><object width=”460″ height=”259″ classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″><param name=”allowFullScreen” value=”true” /><param name=”allowscriptaccess” value=”always” /><param name=”src” value=”http://www.youtube.com/v/tX4l7aPoYLU?version=3&amp;hl=en_US&amp;rel=0&amp;autoplay=1&amp;autohide=1″ /><param name=”allowfullscreen” value=”true” /><embed width=”460″ height=”259″ type=”application/x-shockwave-flash” … Read more

WordPress SEO plugin by Yoast

I recently installed the plugin Wordpres SEO by Yoast on my this blog, and others. It was recommended by one of those top 10-20-50 WordPress Plugin posts you find all over the place. You can read more about Yoast and their plugin on their website http://yoast.com/articles/wordpress-seo/ One of the features that comes in handy quite often … Read more

Cheat Sheet for Administrating a PostgreSQL Database/Server

PostgreSQL Interactive Terminal   Postgresql is similar to MySQL in that it uses an interactive terminal. To gain access type the following as root su – postgres -c psql You’re now logged into the Postgresql interactive terminal and interacting with the local server. Common Shell Commands   Dump a database. When dumping and restoring a … Read more

MikroTik – DynDNS Update Script

This is a script for ensuring that your DynDNS hostname is updated when your IP changes on your MikroTik router. Unfortunately the script from the MikroTik Wiki doesn’t work and is broken. http://wiki.mikrotik.com/wiki/Dynamic_DNS_Update_Script_for_dynDNS There is a question mark within the URL that posts the update to members.dyndns.org and it gets removed when you paste and … Read more

MikroTik – Backing Up Your MikroTik & Routerboard Config

Another great script that will email you a copy of your MikroTik/Routerboard device config. You can find the source on the MikroTik Wiki below. http://wiki.mikrotik.com/wiki/Send_Backup_email Some notes about the script on the MikroTik wiki and below. I had to modify the script on the MikroTik website, it had used /tool e-mail set address instead of /tool … Read more

MikroTik – Automatically creating DNS record for each DHCP lease/client

You’ll notice that when you first get your MikroTik router, that it doesn’t create DNS records for each DHCP client that successfully receives a lease. The below article provides the necessary script to create a DNS record for each DHCP Client. I’ve provided a link to the Mikrotik Wiki article so you can see the original source. http://wiki.mikrotik.com/wiki/Setting_static_DNS_record_for_each_DHCP_lease The … Read more

Upgrading Zen Theme Foundation (Confluence) Brand from 3 to 4.1.4

If you have a custom brand for your Zen Theme Foundation plugin, and upgraded the plugin from version 3 to 4.14. You might have noticed that some images are missing, or you might not even noticed them missing because no missing image is displayed. To fix this, I just copied over the missing images from … Read more