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
<?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
#!/bin/bash | |
# create a virtual switch | |
dladm create-etherstub vswitch0 | |
# create a virtual nic connected to a physical nic | |
dladm create-vnic -l e1000g0 vnic_ext0 # dns | |
# create virtual nics connected to a virtual switch | |
dladm create-vnic -l vswitch0 vnic_int0 # dns |
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
#!/usr/bin/ruby | |
require "rubygems" | |
require "apachelogregex" | |
require "resolv.rb" | |
require "mysql" | |
require 'parsedate' | |
###################################### | |
# Database parameters |
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
#!/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
#!/usr/bin/ruby | |
# passenger_status.rb | |
def output_config | |
puts <<-END | |
graph_category App | |
graph_title passenger status | |
graph_vlabel count | |
sessions.label sessions |
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
#!/usr/perl5/bin/perl | |
# | |
# CDDL HEADER START | |
# | |
# The contents of this file are subject to the terms of the | |
# Common Development and Distribution License (the "License"). | |
# You may not use this file except in compliance with the License. | |
# | |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE | |
# or http://www.opensolaris.org/os/licensing. |
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 | |
# memcached build script for nexenta ncp3 (no package available) | |
cd /usr/local/src | |
# get libevent library | |
/usr/bin/wget http://www.monkey.org/~provos/libevent-1.4.14b-stable.tar.gz | |
/usr/sbin/tar xzf libevent-1.4.14b-stable.tar.gz | |
cd libevent-1.4.14b-stable | |
./configure |