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 | |
# | |
# munin plugin for monitoring zfs memory consumption on solaris | |
# | |
#%# family=auto | |
#%# capabilities=autoconf | |
NAWK="/usr/bin/nawk" | |
KSTAT="/usr/bin/kstat" |
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
wget -r -N -k -H -l1 -e robots=off --no-cache \ | |
-w 2 -p --html-extension -P ./website-backup \ | |
http://www.example.com |
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
<?xml version="1.0"?> | |
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1"> | |
<service_bundle type='manifest' name='puppet'> | |
<service | |
name='network/puppet/client' | |
type='service' | |
version='1'> | |
<create_default_instance enabled='false' /> |
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
-- https://github.com/zopyx/addressbook2snom | |
set resultText to "" | |
set currentLine to "" | |
set numPhones to 0 | |
tell application "Contacts" | |
-- Find the maximum number of phone numbers | |
repeat with x from 1 to the count of people | |
set thePerson to person x |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.qutic.backup_fms_databases</string> | |
<key>LowPriorityIO</key> | |
<true/> | |
<key>ProgramArguments</key> | |
<array> |
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
# Version for Safari 11 | |
javascript:function%20startAdBlockDetectionWithDelay()%20{};$('.ua-detected').hide();$('#wrapper-content').css('opacity',1).css('filter','none').css('pointer-events','auto') | |
# Version for Safari 10 | |
javascript:function%20startAdBlockDetectionWithDelay()%20{};$('.ua-detected').hide(); |
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 | |
##################################################### | |
## (c) 2014-2017 Stefan Husch, qutic development ## | |
## ## | |
## Backup FileMaker-Datenbanken in die ownCloud ## | |
## ## | |
## !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ## | |
## !!!!! Verwendung des Skipts ohne Gewähr !!!!! ## | |
## !!!!! und auf eigenes Risiko !!!!! ## | |
## !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! ## |
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 | |
# Build OpenVPN on Nexenta NCP 3.0.1 | |
# (c) 2010 qutic development | |
# Make sure only root can run this script | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" 1>&2 | |
exit 1 | |
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
-- This script enables the macOS Contact-Application to dial a phone-number | |
-- via a SNOM hardware phone by clicking on the phone label. | |
-- | |
-- (C) 2008 David Kreitschmann, K3com Kommunikationstechnik http://www.k3com.de | |
-- (C) 2017 Modification for SNOM 715 by Stefan Husch, https://qutic.com | |
-- | |
-- Copy this script to ~/Library/Application\ Scripts/com.apple.AddressBook | |
-- on your macOS 10.11+ and change the phoneURL to your needs. | |
-- | |
-- A chmod 0600 ~/Library/Application\ Scripts/com.apple.AddressBook/Snom.scpt |
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
##################################### | |
# Postfix | |
# | |
if [type] == "redis-input" and "postfix" in [@tags] { | |
grok { | |
match => [ "@message", "%{PF}" ] | |
add_tag => [ "postfix", "grokked" ] | |
patterns_dir => [ "/opt/logstash/patterns-extensions/" ] | |
} | |