Freitag, 28. März 2014

Dienstag, 25. Februar 2014

Notepad++ Makro Generator "Find In Files"

1:  SET SERVEROUTPUT ON;  
2:  SET LINES 256  
3:  SET TRIMOUT ON  
4:  SET SPACE 1  
5:  SET tab OFF  
6:  DECLARE  
7:   dummy  NUMBER;  
8:  BEGIN  
9:   FOR n IN (SELECT 'A.B' func FROM DUAL  
10:        UNION ALL  
11:        SELECT 'A.C' func FROM DUAL) LOOP  
12:    DBMS_OUTPUT.put_line ('<Action type="3" message="1700" wParam="0" lParam="0" sParam="" />');  
13:    DBMS_OUTPUT.put_line ('<Action type="3" message="1601" wParam="0" lParam="0" sParam="' || n.func || '" />');  
14:    DBMS_OUTPUT.put_line ('<Action type="3" message="1625" wParam="0" lParam="0" sParam="" />');  
15:    DBMS_OUTPUT.put_line ('<Action type="3" message="1653" wParam="0" lParam="0" sParam="C:\repo_facts\branches\" />');  
16:    DBMS_OUTPUT.put_line ('<Action type="3" message="1652" wParam="0" lParam="0" sParam="*.*" />');  
17:    DBMS_OUTPUT.put_line ('<Action type="3" message="1702" wParam="0" lParam="32" sParam="" />');  
18:    DBMS_OUTPUT.put_line ('<Action type="3" message="1701" wParam="0" lParam="1656" sParam="" />');  
19:   END LOOP;  
20:  EXCEPTION  
21:   WHEN NO_DATA_FOUND THEN  
22:    NULL;  
23:   WHEN OTHERS THEN  
24:    NULL;  
25:  END;  
26:  /  

Samstag, 25. Januar 2014

Code Formatter for Blogspot

http://codeformatter.blogspot.ch

unrar all files in a directory

Ohne Passwort
  nohup find . -regex \.\*part[0]?[0]?1.rar -exec unrar x -inul {} \; & 

Mit Passwort
  nohup find . -regex \.\*part[0]?[0]?1.rar -exec unrar x -inul -pPASSWORD {} \; &


Mittwoch, 22. Januar 2014

pyLoad@nas doesn't unpack after download

be shure that you have installed unrar and unzip

then go into /bin

cd /bin

find the location of unrar an unzip:

find / -iname unrar
find / -iname unzip

now create two symlink:

ln -s /opt/bin/unrar
ln -s /opt/bin/unzip

Now pyLoad should extract after finish downloading a package


PL/SQL Generate Range of number

I had the problem to select a number field with leading blanks.. this is my solution:


SELECT LPAD (
             LEVEL + doc_num_from - 1
            ,12
            ,' '
            )
         AS rnum
  FROM DUAL
CONNECT BY LEVEL < doc_num_to - doc_num_from + 2

Freitag, 30. August 2013

RegExp Snippets

Insert Statements in Oracle SQL:

INSERT\s+INTO\s+(cache|cache_bootstrap|cache_field|cache_form)[^\;]+

Freitag, 21. Juni 2013

Word: Inhaltsverzeichnis zusätzliche Ebene einfügen



Inhaltsverzeichnis markieren

alt+f9 drücken

An der Stelle des Inhaltsverzeichnisses wo 1-3 steht, einfach 1-4 eintragen.

Danach wieder alt+f9 drücken

dann das gesamte Inhaltsverzeichnis aktualisieren

Montag, 4. März 2013

OWB getting started Tipps

Alle Objekte minimieren:
. CTRL+A -> Graph -> Minimize

Vogelperspektive
. View -> Birds-Eye

Mittwoch, 9. Januar 2013

SSRS Kopfzeile beim Scrollen fixieren

Advanced Mode:



 Row Groups:





Es wird die erste Zelle Markiert


Im Properties Menu:


Nun bleibt die erste Zeile beim Scrollen sichtbar.

Donnerstag, 27. Dezember 2012

SSRS Seitenumbrüche in Reports entfernen

Damit ein Report auf einer Seite Dargestellt wird, muss folgende Einstellung gemacht werden: