May 03

Open a registry editor (click Start, click Run, type: regedit and then press Enter).

Navigate to the following key: HKEY_CURRENT_USER \ Software \ Microsoft\ Windows \ CurrentVersion \ Internet Settings \ Zones

There should only be 5 items there, numbered 0 to 4. If you see a different one, especially if you see items that shows up as box, try deleting it.

written by MG \\ tags: , ,

Feb 17

Click on the page that you want to change the orentation of, and then go to the

Page Layout Tab, Page Setup Group, and look in the Breaks menu .

You will see four-five different section breaks you can choose. If you have an existing document, it is best to use the “Continuous” section break.

Try to change the orentation again… you will notice it will change it for the current section (section 2).

Now all the pages after that page are landscape..We just repeat the process to create a third section using the Continuous Section Break, then change the orentation back to where we wanted it to be.

It works in Office Word 2007  and 2010.


written by MG \\ tags: , , ,

Jan 05

A good tutorial:

written by MG \\ tags: ,

Aug 06

//get current month for example

$nr_work_days = getWorkingDays($beginday,$lastday);
echo $nr_work_days;

function getWorkingDays($startDate, $endDate){ Continue reading »

written by MG \\ tags: , ,

Jun 21


dumpe2fs -h /dev/sda1


tune2fs -l /dev/sda1

where /dev/sda1 is you partition, and search for Block size:

written by MG \\ tags: ,

Apr 16

1.  Type about:config in Firefox location bar and press Enter

2.  Double-click on Preference.Name and change the value.

written by MG \\ tags: , , ,

Mar 10

I have qmailtoaster installation so my users are in:


you need two create two file:

first called “mailfilter” can be put wherever you want (this file will be in .qmail file), me  I choose:


so now I have:


second called “.qmail” must be pun in user folder in the same dir with Maildir folder, like this:


File contents are:


|preline /usr/bin/maildrop /home/vpopmail/domains/mailfilter


import EXT
import HOST
logfile “/var/log/maildrop/mailfilter.log”
USERHOME=`/home/vpopmail/bin/vuserinfo -d $EXT@$HOST`
if (/^Subject:.*\[SPAM\]/:h)
log “WE got a SPAM, moving mail to spam directory $USERHOME/Maildir/.Junk”
DUMMY=`test -d $USERHOME/Maildir/.Junk`
#if .Junk folder exists
if ( $RETURNCODE == 0 )
to “$USERHOME/Maildir/.Junk”
log “No Junk directory in $USERHOME/Maildir”
to “$USERHOME/Maildir/”
to “$USERHOME/Maildir/”

This works for users in witch dirs you put .qmail file. If you want for whole domain you must use :

/home/vpopmail/domains/MYDOMAIN.XXX/.qmail-default file instead of .qmail in user directory.

written by MG \\ tags: , , ,