zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

PowerPoint Progress-Bar Macro

May 31, 2011 by Igor Drobot 1 Comment

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.
[Read more…]

Filed Under: Windows Tagged With: PowerPoint, PP2007, Windows

Create LVM Snapshot

May 27, 2011 by Igor Drobot Leave a Comment

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

I have my KVM virtual machine (/dev/vg0/Webserver) and want to upgrade it, before I go on, I want to create a LVM snapshot. In worst case it can change back to this state.

1
lvcreate -L 5000 -s -n "7.9_wheezy" /dev/vg0/devel.drobot.de

lvcreate -L 5000 -s -n "7.9_wheezy" /dev/vg0/devel.drobot.de

– L 5000 is the size in MB
-s flag is to create a snapshot
-n 7.9_wheezy is the name of new logical volume

If something goes wrong, go back to previously created snapshot:

1
2
3
lvchange -a n /dev/vg0/devel.drobot.de
lvconvert --merge /dev/vg0/7.9_wheezy
lvchange -a y /dev/vg0/devel.drobot.de

lvchange -a n /dev/vg0/devel.drobot.de lvconvert --merge /dev/vg0/7.9_wheezy lvchange -a y /dev/vg0/devel.drobot.de

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

Filed Under: Debian, Linux Tagged With: lvchange, lvconvert, lvcreate, LVM, restore lvm, Snapshot

Nginx and php5-fpm combination

May 26, 2011 by Igor Drobot 1 Comment

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: [Read more…]

Filed Under: Debian, IPv6, Linux, Networking Tagged With: apache vs nginx, Debian 6, Debian squeeze, Dotdeb, if is evil, Nginx, php-fpm, Webserver setup

RGB LED Lamp

May 20, 2011 by Igor Drobot Leave a Comment


It was another great weekend with DIY idea:)
Its a kind of mini lamp for the desk with nice colors.
[Read more…]

Filed Under: DIY, Fun Tagged With: DIY, LED, RGB Lamp

Exim stop Newsletter crap

May 19, 2011 by Igor Drobot Leave a Comment

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

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

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

Restart or reload of exim is not required.

Filed Under: Debian, Linux, Mailing, Networking Tagged With: Exim4, MTA, SPAM

  • « Previous Page
  • 1
  • …
  • 36
  • 37
  • 38
  • 39
  • 40
  • …
  • 74
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok