notepad++ auto update deaktivieren

you have several options to disable auto-update in notepad++.
Note: you are disabling updates on your own! Be safe!

First option to reinstall notepad++ and un-check "Auto-Updater"


Second option to uncheck "Notify of plugin updates at startup" in Plugin Manager.


Enjoy!

OTRS - move ticket in another queue and reopen it


I wrote already how to disable to move closed tickets. Oppositely sometimes you need to move ticket in another department (queue) and change state to open (reopen), but by default OTRS keeps current state.

Simplest way to search in SysConfig for AgentTicketMove and edit Frontend::Agent::Ticket::ViewMove

Ticket::Frontend::MoveType => NewWindow

Ticket::Frontend::AgentTicketMove###State => Yes



Then combo box will be replaced with menu item "Change Queue" and will appears popup window.


Enjoy!

Wordpad++ download

Q: Где скачать бесплатно wordpad++
A: Загрузить

PS: wordpad++ это не notepad++ !!!

Notepad++: a free source code editor which supports several programming languages running under the MS Windows environment. Download

Linux - change resolution in text mode on LCD screen


if you watch small about 80 chars terminal output in the middle of yours gigantic LCD screen..


you should try to change screen resolution. It depends on your distribution (Fedora, Ubuntu or Red Hat) and boot manager.
I am using Fedora Project 17 on VMWare with GRUB2.
Lets modify /etc/default/grub


#try to set native monitor resolution

GRUB_GFXMODE=1024x768

#force to keep graphic mode

GRUB_GFXPAYLOAD_LINUX=keep


Yes, that's right, modern terminals running text mode over graphic gfxterm

to apply changes lets execute

 
grub2-mkconfig -o /boot/grub2/grub.cfg


and reboot

Now you should see the text in entire screen.


Enjoy!



mysql errno 1251 Client does not support authentication protocol requested by server

mysql errno 1251 Client does not support authentication protocol requested by server
OR
unable to connect database server in my php 4.4.9 script.

I have spent some time before found out that php 4.4 isn't compatible any more with mysqld 5.1
Some thought you can find here. Solution of the problem is simple. You must correct user's password and save it in old style.


mysql> SET PASSWORD FOR
    -> 'some_user'@'some_host' = OLD_PASSWORD('newpwd');

Enjoy!

apache: main default host is not accessible

I have added VirtualHost and can't access main DocumentRoot from httpd.conf :(
According to RTFM

Main host goes away

If you are adding virtual hosts to an existing web server, you must also create a <VirtualHost> block for the existing host. The ServerNameand DocumentRoot included in this virtual host should be the same as the global ServerName and DocumentRoot. List this virtual host first in the configuration file so that it will act as the default host.

Ok, i have added VirtualHost directly to httpd.conf and it doesn't help me at all. Why?
Because above of VirtualHost Directive was Include ..\conf.d\*
Hmmm...  Who says you can't teach a old fox new tricks?...

Just add new config file in conf.d directory and it must be first file.
Let's create conf.d/aaaa_default.conf file with content

#first VirtualHost is default

<VirtualHost *:80>

    ServerAdmin webmaster@firsthost.tdl
    DocumentRoot /var/www/html
    ServerName firsthost.tdl:80
    ServerAlias localhost

    ErrorLog  /var/log/httpd/error_log
    CustomLog /var/log/httpd/access_log common

</VirtualHost>


Whoops!!!! The file is loaded first because name(!) and corresponds to my default path.

Some useful settings in LogFormat are
 %f - local filename
%v - virtualhost name


LogFormat "%v %l %u %t \"%r\" %>s %b %f" common


Please note that i am using apache as httpd rpm from fedora core. Other distributive can be slightly different.

Enjoy!

OTRS Cannot find current script 'httpd' at FindBin.pm


i have installed recent OTRS 3.1 and appears message in error_log Cannot find current script 'httpd' at /usr/share/perl5/FindBin.pm
I have found that exists patched FindBin.pm Version 1.51

Enjoy!

Asterisk AST_SORCERY function

 AST_SORCERY gets a field from a sorcery object. Sorcery is always created for PJSIP aors, endpoints and identifies in asterisk. It allows y...