OTRS how to enable auto complete for To field?

have you any idea how to remove autocomplete=off in text fields of AgentTicketCompose ?
i would like to use cached email addresses in browser instead of instant database request via AJAX and spent some time to find just the piece of code!

Thus you should open AgentCustomerSearch.dtl file and comment out only one string:
        

//    Core.Agent.CustomerSearch.Init($("#CustomerAutoComplete"), $QData{"ActiveAutoComplete"});


Done!

Similar: how to disable autocomplete  on logon page.

PV-WAVE Program And Function List in notepad++


Following instruction can be applied for first installation of Notepad++ on Windows 7.

- get keywords and FunctionList Plugin config here.
- unpack from archive into %APPDATA%\Notepad++\ directory
CAUTION!: it will be userDefineLang.xml and FunctionListRules.xml files overwritten!!

- OR -

you can find userDefineLang.xml file and insert    <UserLang name="pvwave" ext=""> section into it,
also find FunctionListRules.xml file and insert  <Language name="pvwave" imagelistpath=""> section.

Resulting screenshot:

Enjoy it!

HOWTO: send mail using perl on windows without sendmail

Q: How to send mail using perl on windows without sendmail?
A: You need Mail::Sender module and available SMTP Server

e.g.
Simple single part message
        $sender = new Mail::Sender {
                smtp => 'mail.yourISP.com',
                from => 'somebody@somewhere.com',
                on_errors => undef,
        }
                or die "Can't create the Mail::Sender object\n";
        $sender->Open({
                to => 'mama@home.org, papa@work.com',
                cc => 'somebody@somewhere.com',
                subject => 'Sorry, I\'ll come later.'
        })
                or die "Can't open the message: $sender->{'error_msg'}\n";
        $sender->SendLineEnc("I'm sorry, but thanks to the lusers,
                I'll come at 10pm at best.");
        $sender->SendLineEnc("\nHi, Jenda");
        $sender->Close()
                or die "Failed to send the message: $sender->{'error_msg'}\n";


read more here

yet another good option is Email::Sender module
usage:

  my $message = Email::MIME->create( ... );
  # produce an Email::Abstract compatible message object,
  # e.g. produced by Email::Simple, Email::MIME, Email::Stuff

  use Email::Sender::Simple qw(sendmail);
  use Email::Sender::Transport::SMTP qw();
  use Try::Tiny;

  try {
    sendmail(
      $message,
      {
        from => $SMTP_ENVELOPE_FROM_ADDRESS,
        transport => Email::Sender::Transport::SMTP->new({
            host => $SMTP_HOSTNAME,
            port => $SMTP_PORT,
        })
      }
    );
  } catch {
      warn "sending failed: $_";
  };

apache: gif png jpg css gif etc is not executable; ensure interpreted scripts have

If appears error message in apache XXX  is not executable; ensure interpreted scripts have "#!"
you should checks that in script or cgi-bin directory only scripts are stored otherwise Apache will try to execute file.
Just move file to ..\images\ or ..\css\ directory and correct links.


and check also config section, you will find tip here.

PeopleSoft SQR Language and Function List in Notepad 5

First of all I have found funny bug in Notepad++, if you want to use FunctionList plugin with User Defined Language then you should switch off "language menu compact" mode and disable some languages.


Next step to add user defined language SQR
Open User Language Dialog and and create new language SQR.
You can add some keywords, comments and nice formatting. Look here for details.


After that we can define Language Parsing Rule for Function List plugin.
But keep in mind, that SQR script has a lot nameless blocks, so function list could not show any text.
Recommended workaround to add some descriptive comment after begin word, e.g.
begin-program !my first app


Lets add new Group PROGRAMM and RegEx



and of course we need PROCEDURE group with 2 rules!
Rule 1.


Rule 2.



Press OK and enjoy with end result


Keywords for SQR  have been taken here. Many thanks to Iouri Chadour!


Sincerely yours,
R

SQL Server ODBC Driver for Linux

In this morning’s keynote address at the Professional Association of SQL Server (PASS) Summit 2011, Quentin Clark (Corporate Vice President at Microsoft) announced that a preview of the Microsoft SQL Server ODBC Driver for Linux will soon be widely available to customers. Yes, you read that right. Microsoft plans to release a driver that provides 1st class access to SQL Server from Linux/Unix operating systems. Recently, Microsoft has been working closely with a handful of partners to get feedback on private releases of the driver. A publicly available preview release of the driver is planned for later this fall.
read more...

and download link

notepad++ 5.9, php and functionlist plugin

Notepad++ 5.9.4, PHP and FunctionList plugin collaborate with each other without any issues or troubles.
After update notepad++ will always move FunctionList plugin into \Notepad++\plugins\disabled\ folder and you need to copy FunctionList.dll back into \Notepad++\plugins\ directory.

After new start function list appears again.
Enjoy!


IIS 8 and express

Windows 8 with Metro is available! Also you can try right now Internet Information Server (IIS) 8.0 Download link: http://windows.microsoft.com/en-US/windows-8/iso
ASP.NET 4.5 Beta is also included...

and of course you need Visual Studio 11 Beta

Alternative you can try IIS 8.0 Express

HAVE FUN!

HOWTO list all my functions in CSharp (C#) using Reflection

It's easy to list all methods (functions) directly in C#, below you will find code sample. And working example you can take here.

If you are looking for static methods, you should replace BindingFlags.Instance with BindingFlags.Static
class Program

{

private int PrivateMethod() { return 0; }

protected bool ProtectedMethod() {return true; }

public void IAmFunction(object param1, Array param2) { }

static void Main(string[] args)

{

Type myType = typeof(Program);

// Get the public methods.

MethodInfo[] myMethods = myType.GetMethods(BindingFlags.Instance |

BindingFlags.DeclaredOnly|

BindingFlags.Public |

BindingFlags.NonPublic );



Console.WriteLine("i have found {0} methods of Type {1}: \n", myMethods.Length, myType.FullName);

// Display all the methods.

foreach (MethodInfo m in myMethods) {

Console.WriteLine("Name: {0}", m.Name);

Console.WriteLine("Return Type: {0}", m.ReturnType.ToString());

ParameterInfo[] parameters = m.GetParameters();

Console.WriteLine("I have {0} input parameter(s):", parameters.Length);

foreach (ParameterInfo pi in parameters) {

Console.WriteLine(" Name: {0}", pi.Name);

Console.WriteLine(" Type: {0}", pi.ParameterType.ToString());

Console.WriteLine("");

}

Console.WriteLine("------------------------------------------\n");

}

Console.WriteLine("==========================================\n");

}

}

Proxy Toggle

Proxy toggle allows you to switch on/off windows proxy settings with one click.
After install it will be available as Tools | Toggle proxy menu item in IE and desktop shortcut.
In Windows 7 you can even pin shortcut to taskbar.

Pros: light, fast, zero memory footprint.

Installer is available here.

If you have to enable/ disable proxy in Internet Exlporer, Chrome or Safari  just click one button. As a result it will be (un-)checked box mentioned on the picture below.

Solution for Firefox you can take here and here tip for Opera.
It isn't multiproxy switch or selector tool. Just simple toggle (on/off) for MS Windows.
You won't find here SwitchProxy  v 1.3.4 and you don't need proxy switcher anymore if you use proxy toggle.

Please leave below yours opinion, suggestion or criticism:

Win XP, Vista IE and Chrome quick/quickly/quickest way to switch or toggle proxy on/off

Simplemail for Windows

I need sometimes to send email from windows command line. I could not find appropriate light sendmail utility and has developed own simple tool. It requires at least  .NET 2.0 installed on the system.
simplemail is available here

Usage:
simplemail.exe [-a file] [-F file] [-H file] [-s subj] [-b addr] [-c addr] addr [...]

OPTIONS
-a file
Attach a file to your message using MIME.

-b address
Specify a blind-carbon-copy (BCC) recipient

-c address
Specify a carbon-copy (CC) recipient

-F config
Specify an initialization file to read

-h Show help.

-H draft
Specify a draft file which contains header and body
to use to send a message.

-s subject
Specify the subject of the message.

-v Show version.


If you are looking how to install SMTP (Simple Mail Transfer Protocol) in Windows answer is here.

SimpleMail für Windows - DE


Ich brauche manchmal E-Mails von Windows-Befehlszeile zu senden. ich konnte icht finden entsprechende einfache sendmail Dienstprogramm und entwickelte eigene einfaches Werkzeug. Es soll mindestens .NET 2.0 auf dem System installiert werden.
SimpleMail ist hier erhältlich


Verbrauch:
simplemail.exe [-a Datei] [-F Datei] [-H Datei] [-s Betreff] [-b E-mail] [-c E-Mail] E-mail [...]


OPTIONS
-a Datei
Anfügen einer Datei an Ihre Nachricht mit MIME.


-b Adresse
Geben Sie ein Blind-Carbon-Copy (BCC) Empfänger


-c Adresse
Geben Sie eine Carbon-Copy (CC) Empfänger


-F Konfig
Geben Sie eine Initialisierungsdatei zu lesen


-h Hilfe anzeigen.


-H Entwurf
Geben Sie einen Entwurf Datei, die Header und Body enthält
zu verwenden, um eine Nachricht zu senden.


-s Betreff
Geben Sie den Betreff der Nachricht.


-v Version anzeigen.




Wenn Sie schauen, wie SMTP (Simple Mail Transfer Protocol) in Windows installieren Antwort ist hier.

SimpleMail para Windows - ES

Necesito a veces para enviar correo electrónico desde la línea de comandos de Windows. No he podido encontrar utilidad adecuada sendmail simple y sencilla herramienta se ha desarrollado propia. Se requiere por lo menos NET 2.0 instalado en el sistema.
SimpleMail está disponible aquí.

Uso:
simplemail.exe [-a archivo] [-F archivo] [-H archivo] [-s asunto ] [-b destinatario] [-C destinatario] destinatario[...]


OPCIONES
-a archivo
Adjuntar un archivo a su mensaje utilizando MIME.


-b dirección
Especifique un ciego-en copia (BCC) destinatario


-c dirección
Especifique una copia (CC) destinatario


-F config
Especificar un archivo de inicialización de leer


-h Mostrar ayuda.


-H proyecto de texto 
Especifique un archivo que contiene el proyecto de cabecera y el cuerpo utilizar para enviar un mensaje.


-s asunto del mensaje
Especifique el asunto del mensaje.


-v Muestra la versión.


Si usted está buscando cómo instalar SMTP (Simple Mail Transfer Protocol) en Windows respuesta está aquí.

FunctionList and perl subs

I was not really happy how  functionlist plugin lists perl subs by default.


Original settings


I have modified rules as you can see on picture below.
Modified regexp

Here is assumed, that sub word stays at the begin of string! (^sub).
You can remove ^ to accept all free-standing subs.

HOWTO: Repair Logitech M325 Mouse

FixIt says that you will find single screw under CE label. It isn't always true.