pkg install dovecot-pigeonhole
#!/bin/bash | |
configfile=/etc/keepalived/keepalived.conf | |
content=$(egrep '(vrrp_instance|interface|virtual_ipaddress)' -A1 $configfile | egrep -v "(\-\-|track_|virtual_)" | grep -A6 vrrp_); | |
#echo "$content"; | |
instance_1=$(echo "$content" | grep "VI_1" -A4); | |
instance_2=$(echo "$content" | grep "VI_2" -A4); |
#!/usr/bin/env python | |
from Tkinter import * | |
import sys, commands, os | |
root = Tk() | |
root.title('Printer Configuration') | |
root.config(bg="lightblue") | |
def getPrinter(): | |
nIndex = printerList.curselection()[0] |
d-i debian-installer/locale string en_US | |
d-i keymap select de | |
d-i keyboard-configuration/xkb-keymap select de | |
d-i console-setup/ask_detect boolean false | |
d-i keyboard-configuration/layoutcode string de | |
d-i netcfg/choose_interface select auto | |
d-i netcfg/get_hostname string debianhost | |
d-i netcfg/get_domain string mydomain | |
d-i netcfg/wireless_wep string |
PREFIX=~/.vim && mkdir -p $PREFIX/{syntax,ftdetect} && curl https://raw.githubusercontent.com/Icinga/icinga2/ec75e7dcbbf8c5650197a82107969936220707c8/tools/syntax/vim/syntax/icinga2.vim > $PREFIX/syntax/icinga2.vim && curl https://raw.githubusercontent.com/Icinga/icinga2/ec75e7dcbbf8c5650197a82107969936220707c8/tools/syntax/vim/ftdetect/icinga2.vim > $PREFIX/ftdetect/icinga2.vim | |
<?php | |
/** | |
* This file demonstrates using Atlassian Crowd for Single Sign On. | |
*/ | |
$crowd_app_name = 'REMOVED'; | |
$crowd_app_password = 'REMOVED'; | |
$crowd_url = 'http://crowd.REMOVED.com/crowd/services/SecurityServer?wsdl'; | |
// http://pear.php.net/package/Services_Atlassian_Crowd |
#!/bin/bash | |
set -e | |
set -u | |
# hat-tips: | |
# - http://codeghar.wordpress.com/2011/12/14/automated-customized-debian-installation-using-preseed/ | |
# - the gist |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
class Site extends CI_Controller { | |
/** | |
* Index Page for this controller. | |
* | |
* Maps to the following URL | |
* http://example.com/index.php/site | |
* - or - |
# The top level settings are used as module | |
# and system configuration. | |
# A set of users which may be applied and/or used by various modules | |
# when a 'default' entry is found it will reference the 'default_user' | |
# from the distro configuration specified below | |
users: | |
- default | |
# If this is set, 'root' will not be able to ssh in and they |
<?php | |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | |
/* AES implementation in PHP */ | |
/* (c) Chris Veness 2005-2011 www.movable-type.co.uk/scripts */ | |
/* Right of free use is granted for all commercial or non-commercial use providing this */ | |
/* copyright notice is retainded. No warranty of any form is offered. */ | |
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - */ | |
class Aes { | |