Archiv

Archiv für die Kategorie ‘Linux’

svn Cheat Sheet

KategorienLinux Tags: , ,

git Cheat Sheet

KategorienLinux Tags: , ,

Updating all Servers to the 13.0 (2013) Profile

19. Februar 2013 Keine Kommentare
KategorienLinux Tags:

Restore Gentoo Linux Backup

12. Februar 2013 Keine Kommentare
KategorienLinux Tags: , ,

Resend Maildir

for f in $MAILDIR/new/*
do
	sendmail user@domain <$f
done
KategorienLinux Tags: ,

Create a MD5 Checksum

  • dd if=/dev/cdrom of=image.iso
  • md5sum image.iso
  • 3b5e9861910463374bb0d4ba9025bbb1 image.iso
  • md5sum -c image.md5
KategorienLinux Tags: , ,

How to Log POP, IMAP and SMTP Traffic in Mozilla Thunderbird

Logging is for the industrious developer alone — and for the curious user, of course. In addition to finding out what’s going on behind the scenes of email exchanges in Mozilla Thunderbird yourself (especially if that which is going on is not going right), you can help those helping you with problems enormously if you’re able to send them a log of what’s happening when you try to send or receive mail. Mehr…

KategorienLinux, Thunderbird, Windows Tags: ,

DNS Einträge im laufenden Betrieb ändern

Um DNS Einträge im laufenden Betrieb zu Ändern kann man mit Hilfe von rndc eine geänderte Zone ohne Störungen Aktualisieren. Dazu wird die Zone mit rndc Eingefroren, Neugeladen und wieder Aufgetaut.

  1. Zonendatei für die Zone Ändern.
  2. Zone Aktualisieren mit Hilfe von rndc.

rndc freeze <zonenname>
rndc reload <zonenname>
rndc thaw <zonenname>

Hilfe zu diesem Thema findet man unter „Die Verwendung von rndc„.

KategorienLinux Tags: , , , ,

Bash Colors

3. September 2010 Keine Kommentare

Bash Color Escape Codes

You can echo (echo -e) the following escape codes inside \e[ESCAPECODEm to colorize the text in your bash console:

  • Black 0;30
  • Dark Gray 1;30
  • Red 0;31
  • Light Red 1;31
  • Green 0;32
  • Light Green 1;32
  • Brown 0;33
  • Yellow 1;33
  • Blue 0;34
  • Light Blue 1;34
  • Purple 0;35
  • Light Purple 1;35
  • Cyan 0;36
  • Light Cyan 1;36
  • Light Gray 0;37
  • White 1;37

Make sure you use „echo -e“ to enable the interpretation of the backslash escapes:

bash$ echo -e "This is bright green -> \e[01;32mGREENCOLOREDTEXT\e[00m"

Remove the Color

Echo \e[00m to remove the  color modifications from the text:

bash$ echo -n '\e[00m'

Look how the colors appear on your system:

Copy the code into an new created shell script for example colors.sh and make it executable (chmod +x colors.sh).

#!/bin/bash
echo -e "This is \e[00;30mBlack\e[00m 0;30"
echo -e "This is \e[01;30mDark Gray\e[00m 1;30"
echo -e "This is \e[00;31mRed\e[00m 0;31"
echo -e "This is \e[01;31mLight\e[00m Red 1;31"
echo -e "This is \e[00;32mGreen\e[00m 0;32"
echo -e "This is \e[01;32mLight Green\e[00m 1;32"
echo -e "This is \e[00;33mBrown\e[00m 0;33"
echo -e "This is \e[01;33mYellow\e[00m 1;33"
echo -e "This is \e[00;34mBlue\e[00m 0;34"
echo -e "This is \e[01;34mLight Blue\e[00m 1;34"
echo -e "This is \e[00;36mCyan\e[00m 0;36"
echo -e "This is \e[01;36mLight Cyan\e[00m 1;36"
echo -e "This is \e[00;35mPurple\e[00m 0;35"
echo -e "This is \e[01;35mLight\e[00m Purple 1;35"
echo -e "This is \e[00;37mLight\e[00m Gray 0;37"
echo -e "This is \e[01;37mWhite\e[00m 1;37"

Execute the script (./colors.sh) and it should be look similar to this:

Further informations: ANSI escape code – Colors

KategorienLinux Tags: ,

Icons for AutoKey (GTK UI) 0.71.0

5. August 2010 2 Kommentare

Change your Autokey Notification Icon, so it fits your Theme!

Screenshot of the Ambiance Theme

 

Screenshot of the Radiance Theme

 

Download your desired icon file and open the target folder.

Press the keys ALT + F2 and enter

gksu nautilus /usr/share/pixmaps

Overwrite the akicon-status.png this folder with your desired icon file.

In the „AutoKey – Preferences“ for „Notification icon style:“ you need to select „Grayscale“.

In order to see the new icon you need to restart AutoKey.

Downloads

Icon for the Ambiance Theme

Icon for the Radiance Theme