UPWORK/ODESK guru: Tips and Tricks for clients

skype: odesk.by / upwork.link , email: [email protected]/upwork.link

Archive for May, 2014

Wake-on-LAN and systemd

without comments

To use systemd – create a new service unit file /etc/systemd/system/wol@.service:

Read the rest of this entry »

Written by spectre

May 27th, 2014 at 8:53 am

Posted in Tips and Tricks

Thunderbird: via IMAP search does not work no-latin characters on all letters.

without comments

Enable search in all folders at once: settings -> further, editor settings – there adjust the: intl.charset.default in utf-8

Written by spectre

May 26th, 2014 at 12:02 am

Posted in Tips and Tricks

Protected: Work with Git (RU-Ether)

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

May 24th, 2014 at 9:36 pm

Posted in Tips and Tricks

Apahce: Restriction for browser with SetEnvif.

without comments

SetEnvIf User-Agent ^Browser\ v3\.14 found_it
<Directory /var/www/restricted>
  Order Deny,Allow
  Deny from all
  Allow from env=found_it
</Directory>

Written by spectre

May 24th, 2014 at 2:02 pm

Posted in Apache2

Tmux compilation – EVBUFFER_EOL_LF undeclared

without comments

if you got:

control.c: In function ‘control_callback’:
control.c:64: warning: implicit declaration of function ‘evbuffer_readln’
control.c:64: error: ‘EVBUFFER_EOL_LF’ undeclared (first use in this function)
control.c:64: error: (Each undeclared identifier is reported only once
control.c:64: error: for each function it appears in.)
control.c:64: warning: assignment makes pointer from integer without a cast
make: *** [control.o] Error 1

Read the rest of this entry »

Written by spectre

May 14th, 2014 at 6:05 pm

Posted in Tips and Tricks

URL Rewriting doesn’t seem to work in .htaccess – Apache2 ))

without comments

Did you check directives in your DocumentRoot ? )))

    Options Indexes FollowSymLinks MultiViews
    AllowOverride all #This was 'None' before, change it to 'all'
    Order allow,deny
    allow from all

Written by spectre

May 13th, 2014 at 3:59 pm

Posted in Apache2

Log Subject Lines in Postfix

without comments

Postfix does allow you to add logging messages for subject lines, and so we’ll use this to simply log a warning message for any subject line. It’s a bit of a ‘hack’, but works and doesn’t cause any problems (Postfix doesn’t block or alter the emails).

Read the rest of this entry »

Written by spectre

May 12th, 2014 at 12:11 pm

Posted in Postfix & Amavis

Postfix: A self signed certificate or CSR.

without comments

To create a certificate to be used by Postfix use:

openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/postfix.pem -keyout /etc/ssl/private/postfix.pem

Read the rest of this entry »

Written by spectre

May 10th, 2014 at 5:37 pm

Posted in Postfix & Amavis

Command to create a Dovecot certificate – self signed, CSR request.

without comments

openssl req -new -x509 -days 3650 -nodes -out /etc/ssl/certs/dovecot.pem -keyout /etc/ssl/private/dovecot.pem

Read the rest of this entry »

Written by spectre

May 10th, 2014 at 5:25 pm

Posted in Tips and Tricks

shntool [split]: error: m:ss.ff format can only be used with CD-quality files

without comments

” INDEX
Indicates an index (position) within the current FILE. The position is specified in mm:ss:ff (minute-second-frame) format. There are 75 such frames per second of audio. In the context of cue sheets, “frames” refer to CD sectors, despite a different, lower-level structure in CDs also being known as frames.[5] INDEX 01 is required and denotes the start of the track, while INDEX 00 is optional and denotes the pregap. The pregap of Track 1 is used for Hidden Track One Audio (HTOA). Optional higher-numbered indexes (02 through 99) are also allowed.

Read the rest of this entry »

Written by spectre

May 4th, 2014 at 1:45 pm

Posted in Tips and Tricks