Monthly Archive for May, 2011

PowerPoint Progress-Bar Macro

When somebody present something, you are sitting and thinking when is it over.
With this little macro you can visualize the slide/presentation progress with a bar in the bottom of each slide.

How to use this macro:
Press ALT+F11 to open Visual Basic editor
Add a new VBA Modul and paste this code below.
Continue reading ‘PowerPoint Progress-Bar Macro’

Create LVM Snapshot

I want to show you how to create a LVM snapshot on the fly, before you install some nasty updates.

But first things first, I have my KVM virtual machine (/dev/vg0/Webserver) and want to upgrade it.
Before I go on, I create a LVM snapshot to be able to restore the origin data.

1
lvcreate -L 200000 -s -n Webserver_Snapshot /dev/vg0/Webserver

- L 200000 is the size in MB
-s flag is to create a snapshot
-n Webserver_Snapshot is the name of new logical volume

Attention!
If you delete your origin volume your snapshot will be automatically deleted!

Nginx and php5-fpm combination

Some months ago I wrote how to combine Apache2 and php5-fpm, now I want to show you how you could migrate to nginx.

The netcraft webserver survey from May 2011 shows that nginx is still increasing slightly and is currently providing access to 7.35% of all monitored domains:

Selv compiling a bit old-school, that’s why I use packages from Dotdeb: Continue reading ‘Nginx and php5-fpm combination’

RGB LED Lamp


It was another great weekend with DIY idea:)
Its a kind of mini lamp for the desk with nice colors.
Continue reading ‘RGB LED Lamp’

Exim stop Newsletter crap

Exim4

local_sender_blacklist
This is a onboard exim possibility to blacklist special addresses, its only a optional file which contains a list of envelope senders whose messages will be denied;

1
550-sender envelope address noreply@rustock.net is locally blacklisted here

Example of content:

1
2
3
cat /etc/exim4/local_sender_blacklist
noreply@rustock.net
parker.ball@freeemailservice.info

Restart or reload of exim is not required.