Total Commander Custom Command

TOTALCMD#BAR#DATA
c:\Program Files (x86)\Beyond Compare 3\BCompare.exe 
%Z %P %T
C:\Program Files (x86)\Beyond Compare 3\BCompare.exe
Compare Us


-1
TOTALCMD#BAR#DATA
cmd /c
mklink /J %T%N %P%N
%Commander_Path%\wciconex.dll,53
MKLINK JUNCTION


-1
/cmd cmd "-new_console:t:%P"
TOTALCMD#BAR#DATA
c:\Program Files (x86)\Vim\vim74\gvim.exe
--remote-tab-silent "%P\%N"
C:\Program Files (x86)\Vim\vim74\gvim.exe
VIM


-1

TOTALCMD#BAR#DATA
c:\Program Files\ConEmu\ConEmu64.exe
/cmd e:\Program Files\PyCmd\PyCmd.exe"-new_console:t:%P"




-1
TOTALCMD#BAR#DATA
c:\Program Files\ConEmu\ConEmu64.exe
/cmd E:\CYGWIN_BIN\bin\bash.exe


.

-1

TOTALCMD#BAR#DATA
c:\Program Files\ConEmu\ConEmu64.exe
-new_console:t:%P"




-1

TOTALCMD#BAR#DATA
e:\Program Files\cmder\Cmder.exe
/START %P -new_console:t:%P




-1

TOTALCMD#BAR#DATA
c:\Program Files\Everything\Everything.exe
-p "%P"

Everything


-1
open_folder_command2=$exec("%TOTALCOMMANDERPATH%\totalcmd64.exe" /O /T "%1") 
open_file_command2=$exec("%TOTALCOMMANDERPATH%\totalcmd64.exe" /O /T /L="%P" "%1")
open_path_command2=$exec("%TOTALCOMMANDERPATH%\totalcmd64.exe" /O /T "$parent(%1)")

Remote Lock Unlock Linux from ssh

$ ssh -X user@server “export DISPLAY=:0; gnome-screensaver; gnome-screensaver-command -l;”

You may use that command without “-X” option if you have X forwarding enabled (ForwardX11 yes) on your ssh configuration. But you need to remember with “export DISPLAY=:0”, without this the command will give the lock screen on your computer, not your remote computer.

To unlock the screen on your remote computer, type this command on your computer :

$ ssh -X user@server “export DISPLAY=:0; gnome-screensaver; gnome-screensaver-command -d;”

sumber : http://z-computer-z.blogspot.com/2010/01/remote-lock-screen-and-remote-unlock.html

raise_application_error

You can throw user-defined error messages from PL/SQL code. Error codes between -20000 until -20999 are reserved for user specified error messages. You do so by calling the raise_application_error function within your PL/SQL:
raise_application_error(-20001, ‘Your error code message here’);
This will be propagated just like normal Oracle errors.

sumber : http://stackoverflow.com/questions/1544035/throwing-specific-error-messages-in-plsql-oracle-catching-in-hibernate