Maik Liebschner

Sonstiges

Maik ist per ICQ unter 55412241 http://status.icq.com/online.gif?icq=55412241&img=21&.jpg

Geburtstage Outlook

Makro um alle Geburtstage aus den Kontakten in den Kalender einzutragen

Sub Birthday()

Dim olFolder As MAPIFolder

Set olFolder = Application.ActiveExplorer.CurrentFolder
'On Error Resume Next
If olFolder.DefaultItemType = olContactItem Then
    For x = 1 To olFolder.Items.Count
        If olFolder.Items(x).Class = 69 Then GoTo weiter
            If olFolder.Items(x).Birthday = "01.01.4501" Then GoTo weiter
                olFolder.Items(x).Display
                datum = olFolder.Items(x).Birthday
                olFolder.Items(x).Birthday = "01.01.4501"
                olFolder.Items(x).Save
                olFolder.Items(x).Birthday = datum
                olFolder.Items(x).Save
                olFolder.Items(x).Close (olSave)
weiter:
    Next x
Else
    MsgBox "Sie sind nicht im Kontakte-Ordner"
End If

End Sub

MYSQL Multi

Passwort ändern

mysqladmin --socket=/vol1/mysql/33060.sock -u root password xxx

Passwrt bei verlusst ändern

  1. MySQL beenden
  2. MySQL starten

    /bin/sh /usr/bin/mysqld_safe --port=33070 --datadir=/vol2/xxx --pid-file=/var/lib/mysql/xxx.pid --socket=/var/lib/mysql/xxx.sock --user=mysql --skip-grant-tables 
  3. Einloggen mit

    mysql --socket=/var/lib/mysql/xxx.sock -u root -p 
  4. Passwort neu setzen:

    UPDATE mysql.user SET Password=PASSWORD('meinpasswirt') WHERE User='root'; 
  5. Flushen:

    FLUSH PRIVILEGES; 

Win 7 Key ändern

cmd
SLMGR.VBS -IPK <key>
SLMGR.VBS -ATO

Win 7 Starthilfe deaktivieren

bcdedit /set {default} bootstatuspolicy ignoreallfailures
bcdedit /set {default} bootstatuspolicy displayallfailures

win7 Filesystem checken

sfc /scannow 

http://steve-parker.org/sh/exitcodes.shtml

MaikLiebschner (last edited 2012-02-13 18:42:03 by MaikLiebschner)