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
my @autoreplyDomains = qw( | |
example.com | |
); | |
my $transactionType = $self->TransactionObj->Type; | |
my $transactionContent = $self->TransactionOnj->Message->First; | |
my $ticketRequestor = lc($self->TicketObj->RequestorAddresses); | |
if ($transactionType eq 'Create' && $transactionContent) { |
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>PayloadContent</key> | |
<array> | |
<dict> | |
<key>PayloadDisplayName</key> | |
<string>Google Calendar</string> | |
<key>PayloadEnabled</key> |
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 table_schema, | |
table_name, | |
data_type, | |
( CASE data_type | |
WHEN 'tinyint' THEN 255 | |
WHEN 'smallint' THEN 65535 | |
WHEN 'mediumint' THEN 16777215 | |
WHEN 'int' THEN 4294967295 | |
WHEN 'bigint' THEN 18446744073709551615 | |
end >> IF(Locate('unsigned', column_type) > 0, 0, 1) ) AS MAX_VALUE, |
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
"Status","Date and Time","Response Time (ms)","Error","Location" | |
"unconfirmed_down","27.04.2015. 20:19:33","","HTTP Error 503","Atlanta (GA)" | |
"down","27.04.2015. 18:08:39","","Timeout (> 30s)","Las Vegas 5 (NV)" | |
"unconfirmed_down","27.04.2015. 18:08:33","","HTTP Error 502","Paris (France)" | |
"unconfirmed_down","27.04.2015. 18:00:33","","HTTP Error 502","Montreal (Canada)" | |
"unconfirmed_down","27.04.2015. 17:35:33","","HTTP Error 503","Amsterdam (Netherlands)" | |
"unconfirmed_down","27.04.2015. 17:31:33","","HTTP Error 503","Toronto 5 (Canada)" | |
"down","27.04.2015. 17:29:02","","Timeout (> 30s)","Amsterdam (Netherlands)" | |
"unconfirmed_down","27.04.2015. 17:28:33","","HTTP Error 502","Paris (France)" | |
"unconfirmed_down","27.04.2015. 17:27:33","","HTTP Error 503","Frankfurt 2 (Germany)" |
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
# 1 WARNING ; 2 CRITICAL | |
apt_repository_severity = { | |
'Debian-Security' : 2, | |
'debian-volatile' : 1, | |
'Unofficial' : 1 | |
} | |
apt_cache_max_age = 3600 | |
def inventory_apt(checkname, info): |
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 | |
if [[ -e /etc/debian_version && `which apt-get` ]] &>/dev/null ; then | |
cache_time_ref=/var/cache/apt/pkgcache.bin | |
delta=0 | |
# Only try to manually update the cache, if cron-apt is not installed. | |
if [[ `dpkg-query -W -f='${Status}\n' cron-apt` != "install ok installed" ]] &>/dev/null ; then | |
now=`date +%s` |
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
/* (c) 2012, Stefan Schlesinger - http://sts.ono.at | |
* | |
* My first version of a Javascript Levenshtein distance implementation. | |
* http://en.wikipedia.org/wiki/Levenshtein_distance | |
*/ | |
function unpack(str) { | |
var bytes = []; | |
for(var i = 0; i < str.length; i++) { | |
var char = str.charCodeAt(i); |
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
require 'base64' | |
require 'RMagick' | |
include Magick | |
module Imager | |
class << self | |
def registered(app) | |
app.send :include, InstanceMethods | |
app.ready do |
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
{ | |
"template" : "syslog-1-*", | |
"settings" : { | |
"index.refresh_interval" : "5s" | |
}, | |
"aliases": { | |
"syslog": {} | |
}, | |
"mappings" : { | |
"_default_" : { |
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
/Library/WebServer/Documents/munki -> /Library/WebServer/Documents/munki-releases/distribution-20130423195006 | |
/Library/WebServer/Documents/munki-releases | |
/Library/WebServer/Documents/munki-releases/distribution-20130423195006/catalogs | |
/Library/WebServer/Documents/munki-releases/distribution-20130423195006/catalogs/all | |
/Library/WebServer/Documents/munki-releases/distribution-20130423195006/catalogs/testing | |
/Library/WebServer/Documents/munki-releases/distribution-20130423195006/manifests | |
/Library/WebServer/Documents/munki-releases/distribution-20130423195006/pkgs | |
/Library/WebServer/Documents/munki-releases/distribution-20130423195006/pkgs/jenkins |
OlderNewer