Posts Tagged ‘Scripts’

WP-UN: WordPress version update notification with cron

Posted in Administration, Linux, Security on January 29th, 2010 by Philipp C. Heckel – Be the first to comment

WordPress is a very popular open-source blog software and is used widely throughout the Internet. However, with great success comes great attack potential: like any other wide spread open-source software, WordPress is target for frequent hacking attacks and spam-bots. All the more important is it to always update the distribution to the latest release.

As Debian/Ubuntu user, I am spoiled when it comes to update management: apt-get updates most of my software, and apticron notifies me when updates are available. For WordPress however, the packaged versions of Debian/Ubuntu are really old and less adjustable which unfortunately makes a manual installation inevitable. While there are several automated WordPress update mechanisms out there, I couldn’t find a simple notify-on-update tool.

This post introduces the WordPress Update Notifier (WP-UN), a simple script that frequently compares the installed WordPress version with the latest available one. If a new version is available, it sends an e-mail to a given address.

read more »

Copy videos from Youtube & Co. to your iPod Video with Ubuntu

Posted in Linux, Multimedia on July 29th, 2008 by Philipp C. Heckel – 4 Comments

Since nearly everybody in the US and more and more Europeans have an iPod and the whole world loves Youtube, wouldn’t it be nice to copy these flash streaming videos (flv-files) to your iPod Video? — Yes, it is possible. And I will tell you how.

read more »

Launch Nautilus in the current working directory

Posted in Office on May 16th, 2008 by Philipp C. Heckel – 3 Comments

Working on the console is sometimes tiring, especially when you have to rename files. Using Nautilus is much quicker for these types of actions. The problem is, that if you’re working in a deep depth of your file tree and your path is very long, it may take you some extra seconds to open this path in the Nautilus browser. So wouldn’t it be much easier to simply type naut on the console to open Nautilus with the current working directory?

read more »

Roundcube login via PHP script

Posted in Programming on May 16th, 2008 by Philipp C. Heckel – 41 Comments

Roundcube is an AJAX/PHP based e-mail application which is really flexible and easy to use in comparison to other free web based solutions.

For the customer interface of Silversun, I wanted to use RC as the internal web mail application and therefore had to embed it into my system. To avoid that the customer has to log in twice (customer interface and Roundcube), I had to simulate the login request with a PHP script.

read more »

Switch off sound on Ubuntu before login

Posted in Linux on May 15th, 2008 by Philipp C. Heckel – Be the first to comment

Most of the Ubuntu users know the situation: You’re sitting in a public place, let’s say a lecture or a cafĂ©, and you forgot to switch off the sound of your laptop. Unfortunately, you can’t avoid the first short drumming. But by using the following command, it is at least possible to switch off the longer welcome melody of Ubuntu before you actually log in.

read more »