This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
===================================================================/etc/postfix/main.cf========== | |
# See /usr/share/postfix/main.cf.dist for a commented, more complete version | |
append_dot_mydomain = no | |
command_directory = /usr/sbin | |
config_directory = /etc/postfix | |
daemon_directory = /usr/lib/postfix | |
data_directory = /var/lib/postfix | |
inet_interfaces = localhost | |
mydomain = ********************** | |
myhostname = ********************** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -z "$1" ]; then | |
exit 1 | |
fi | |
echo "/* Using less-cache */" | |
id="$(sha512sum "$1" | cut -d' ' -f1)" | |
file="/tmp/less.${id}.css" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="//d3js.org/d3.v3.min.js"></script> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
</body> | |
<script src="script.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
p.sk_ID, | |
IFNULL( | |
IF( | |
!ISNULL(c.sk_ID), | |
c.sk_Verantwortlich, | |
p.sk_Verantwortlich | |
), | |
-1 | |
) AS verantwortlich, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# using the instructions from http://golang.org/doc/code.html | |
# either use the first command line argument or read the test directory | |
if [ $# -gt 0 ]; then | |
dir=$1; | |
else | |
read -p "test directory: " dir | |
fi | |
############################### |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
IF(a <=> NULL, 1, a), | |
IF( a IS NULL, 1, a ), | |
IF( a IS NOT NULL, a, 1 ), | |
IF( ISNULL(a), 1, a ), | |
IF( !ISNULL(a), a, 1 ), | |
IF( !!ISNULL(a), 1, a ), | |
IFNULL( a, 1 ) | |
FROM | |
(SELECT 1 as a) as tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<meta charset="utf-8"> | |
<style> | |
/* CSS goes here */ | |
</style> | |
<body> | |
<script src="http://d3js.org/d3.v3.min.js" charset="utf-8"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# history | |
HISTFILE=~/.zsh/histfile | |
HISTSIZE=1000 | |
SAVEHIST=1000 | |
setopt appendhistory | |
setopt hist_expire_dups_first hist_ignore_space share_history | |
setopt autocd beep extendedglob nomatch notify | |
autoload -Uz up-line-or-beginning-search |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
## VM Clone ## | |
VM="$1" # "MeinRechner" | |
System="Debian_64" | |
isoFolder="$2" #"/root/VirtualBox VMs/MeinRechner" | |
strgCtl="sata" | |
VBM="/usr/bin/VBoxManage" | |
$VBM createvm --name $VM --ostype $System --register | |
$VBM storagectl $VM --name $strgCtl --add sata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bool candiesThrownGotChocolateBar=true, bool candyBoxBoxOpened=false, bool castleBigRoomHovenHappy=true, bool castleRoom2LitFire=true, bool castleRoom2TookObject=true, bool castleTowerFirstVisitDone=true, bool castleTowerPStoneDone=false, bool castleTowerLStoneDone=true, bool castleTowerAStoneDone=false, bool castleTowerYStoneDone=false, bool castleTowerTookTalkingCandy=false, bool castleKilledNougatMonster=true, bool cellarDone=true, bool dragonDone=true, bool dragonUnlockedCyclops=true, bool forgeFoundLollipop=false, bool forgeBoughtWoodenSword=true, bool forgeBoughtIronAxe=true, bool forgeBoughtPolishedSilverSword=true, bool forgeBoughtLightweightBodyArmour=true, bool forgeBoughtScythe=false, bool fortressRoom1ChestFound=true, bool fortressRoom3ChestFound=true, bool fourthHouseFoundLollipopOnCupboard=true, bool gameDebug=false, bool gameInvertedColors=true, bool lighthousePuzzleDone=false, bool lollipopFarmPlant1LollipopButtonUnlocked=true, bool lollipopFarmPlant10LollipopsButtonUnlocked=true, bool lollipo |
OlderNewer