Skip to content

Commit

Permalink
Copyleft information updated
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Kujau <[email protected]>
  • Loading branch information
ckujau committed May 1, 2016
1 parent f89a9ec commit 4146af0
Show file tree
Hide file tree
Showing 31 changed files with 45 additions and 40 deletions.
9 changes: 5 additions & 4 deletions backup-mysql.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/bin/sh
#
# (C)2009 [email protected]
# (c)2009 Christian Kujau <[email protected]>
#
# We once had a one-liner to backup all our databases:
#
# $ mysqldump -AcfFl --flush-privileges | pbzip2 -c > backup.sql.bz2
#
# However, most of the databases do not change much or do not change at
# over the day, yet the resulting .bz2 had to be generated every day,
# *did* change and, worst of all: had to be transferred in full over a
# However, most of the databases do not change much or do not change at all
# over the day, yet the resulting .bz2 had to be generated every day. The
# compressed result _did_ change however and to be transferred in full over a
# 128 kbps line to our backup host. This one is slightly more complicated,
# but should suffice.
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/compress-test.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (C)2011 Christian Kujau <[email protected]>
# (c)2011 Christian Kujau <[email protected]>
#
# Compress a file with different programs and see how long it took to do this.
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/cryptsetup_benchmark.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (C)2013, [email protected]
# (c)2013 Christian Kujau <[email protected]>
# Poor wo/man's dm-crypt benchmark
#

Expand Down
5 changes: 1 addition & 4 deletions benchmarks/cryptsetup_ciphertest.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/bin/sh
#
# (C)2013, [email protected]
<<<<<<< HEAD
# (c)2013 Christian Kujau <[email protected]>
# Create dm-crypt devices with different combinations of ciphers, modes, hash
# alorithms and key sizes.
#
Expand All @@ -20,11 +19,9 @@
#
# $ find /lib/modules/$(uname -r)/ -type f -path "*kernel/crypto*" -printf "%f\n" \
# | sed 's/\.ko$//' | while read a; do modprobe -v $a; done
=======
#
# Test different cipher, mode and hash combinations. The output can be
# used by cryptsetup_benchmark.sh later on.
>>>>>>> 26eb66da4963b20b77f74384716447dfbcb3e5dc
#

# unset me!
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/fs-bench.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#
# (c) 2009-2011 Christian Kujau <[email protected]>
# (c)2009 Christian Kujau <[email protected]>
#
# fs-bench.conf, to be used by fs-bench.sh
#
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/fs-bench.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c) 2009-2011 Christian Kujau <[email protected]>
# (c)2009 Christian Kujau <[email protected]>
#
# Yet another filesystem benchmark script
#
Expand Down
3 changes: 2 additions & 1 deletion benchmarks/test-digests.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
#
# (c) Christian Kujau <[email protected]>
# (c)2015 Christian Kujau <[email protected]>
#
# Benchmark various checksum programs
#
# Example:
Expand Down
2 changes: 1 addition & 1 deletion checksum_file.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c) 2013, Christian Kujau <[email protected]>
# (c)2013 Christian Kujau <[email protected]>
#
# Generate checksums of files and store them
# via Extended Attributes
Expand Down
2 changes: 1 addition & 1 deletion convert-music.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (C) Christian Kujau <[email protected]>
# (c)2014 Christian Kujau <[email protected]>
#
# Convert music from/to various formats
#
Expand Down
2 changes: 1 addition & 1 deletion count.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl
#
# (c) 2011, [email protected]
# (c)2011 Christian Kujau <[email protected]>
# Make Perl count :-)
#
use strict;
Expand Down
1 change: 0 additions & 1 deletion diff2html.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# (C) Mitch Frazier, 2008-08-27
# http://www.linuxjournal.com/content/convert-diff-output-colorized-html
#

cat <<XX
<html>
<head>
Expand Down
7 changes: 3 additions & 4 deletions expect/change-passwords.exp
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,10 @@
# Visit http://bash.cyberciti.biz/ for more information.
# --------------------------------------------------------------
#
# (C)2011, [email protected]
# - hostname added
# - removed the 'run as root' part
# (c)2011 Christian Kujau <[email protected]>
# * hostname added
# * removed the 'run as root' part
#

if {$argc!=3} {
send_user "Usage: $argv0 \[user@\]target user password\n"
exit
Expand Down
6 changes: 4 additions & 2 deletions expect/e2fsck.exp
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#!/usr/bin/expect -f
#
# (c) 2009, [email protected]
# Run e2fsck via expect, see http://nerdbynature.de/s9y/?128
# (c)2009 Christian Kujau <[email protected]>
#
# Run e2fsck via expect, see
# http://nerdbynature.de/s9y/2009/10/18/e2fsck-expect
#
set timeout -1
spawn /sbin/e2fsck -v $argv
Expand Down
4 changes: 2 additions & 2 deletions expect/rpb-ts.exp
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env expect -f
#
# (c) 2011, [email protected]
# (c)2011 Christian Kujau <[email protected]>
#
# 1) Login to a terminalserver (Bay Networks Remote Annex 2000)
# 2) Execute a command on a Remote Power Boot Switch (WTI RPB+)
#

if {$argc!=4} {
send_user " Usage: $argv0 \[server\] \[port\] \[password\] \[command\]\n"
send_user "Commands: /s /d /\[1-5\]\[on|off|boot\]\n"
Expand Down
4 changes: 3 additions & 1 deletion funiq.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/bin/sh
#
# Get percentage of similarity from -s command line option, or 85 for default
# (C) David Lambert, 2008-10-01
# Fuzzy uniq (or Parsing Connect:Direct stats part 3)
# http://cdunix.blogspot.com/2008/10/fuzzy-uniq-or-parsing-connectdirect.html
#
# Get percentage of similarity from -s command line option, or 85 for default
#

# Percentage of similarity
if [ "$1" = "-s" -a -n "$2" ]; then
Expand Down
4 changes: 2 additions & 2 deletions impressum.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
/*
* (c) [email protected]
* Generate a German imprint for websites.
* (c)2014 Christian Kujau <[email protected]>
*
* Generate a German imprint for websites.
* Note: the MDStV (Staatsvertrag ueber Mediendienste) has been decommisioned
* on 2008-03-01 and has been replaced with the TMG (Telemediengesetz).
*
Expand Down
2 changes: 1 addition & 1 deletion ip.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/*
* (c)2009 [email protected]
* (c)2009 Christian Kujau <[email protected]>
* Display REMOTE_ADDR, HTTP_X_FORWARDED_FOR, HTTP_USER_AGENT of the client
*
*/
Expand Down
2 changes: 1 addition & 1 deletion kerninst.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c)2010, [email protected]
# (c)2010 Christian Kujau <[email protected]>
#
# Install a new kernel, System.map and .config,
# but not via the usual "make install" routine
Expand Down
2 changes: 1 addition & 1 deletion munin/plugins/adt746x_
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c)2009, Christian Kujau <[email protected]>
# (c)2009 Christian Kujau <[email protected]>
#
# The therm_adt746x kernel module is not using standard i2c routines
# and we cannot use lm_sensors to request fan or temperature status.
Expand Down
2 changes: 1 addition & 1 deletion munin/plugins/du_multidirs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c)2009, Christian Kujau <[email protected]>
# (c)2009 Christian Kujau <[email protected]>
# Based on the 'homedirs' plugin, initially written in Perl by Philipp Gruber <[email protected]>
#
# We still need a cronjob to update CACHEFILE once in a while, e.g.:
Expand Down
2 changes: 1 addition & 1 deletion munin/plugins/tor_traffic
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c)2010 [email protected]
# (c)2010 Christian Kujau <[email protected]>
# Get accounting information from a running Tor server.
#
# More info:
Expand Down
1 change: 1 addition & 0 deletions port-mgmt.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/sh
#
# (c)2014 Christian Kujau <[email protected]>
# MacPorts cleanup
#
PATH=/bin:/usr/bin:/opt/local/bin
Expand Down
1 change: 1 addition & 0 deletions print-authorized-keys.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/bin/sh
#
# (c)2013 Christian Kujau <[email protected]>
#
# There's currently no way to list the fingerprints of all the keys in
# authorized_keys separately. This may be useful to see if a certain
# public key is listed in authorized_keys.
Expand Down
2 changes: 2 additions & 0 deletions qemu-tap → qemu-tap.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh
#
# (c)2015 Christian Kujau <[email protected]>
#
# Based on:
# https://superuser.com/questions/596095/how-do-i-bridge-a-connection-from-wi-fi-to-tap-on-mac-os-x-for-the-emulator-qe
# http://en.blog.guylhem.net/post/88201449689/running-qemu-with-tap0-and-nat-under-osx-10-9-maverick
Expand Down
2 changes: 1 addition & 1 deletion rsnapshot/rsnapshot-ready.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c) 2009 Christian Kujau <[email protected]>
# (c)2009 Christian Kujau <[email protected]>
#
# Check for certain directories to be in place. If they are,
# create a file which says that we're ready to be backed up.
Expand Down
2 changes: 1 addition & 1 deletion rsnapshot/rsnapshot-rotate.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c) 2011 Christian Kujau <[email protected]>
# (c)2011 Christian Kujau <[email protected]>
#
# Forcefully rotate rsnapshot backups, intentionally discard older copies
#
Expand Down
2 changes: 1 addition & 1 deletion rsnapshot/rsnapshot-wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c) 2009 Christian Kujau <[email protected]>
# (c)2009 Christian Kujau <[email protected]>
#
# Rsnapshot wrapper script. For this to work, the rsnapshot.conf
# file for each host must include the following directives:
Expand Down
2 changes: 1 addition & 1 deletion security_checks.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c) 2010 [email protected]
# (c)2010 Christian Kujau <[email protected]>
#
# Execute a few security checks, keep state across runs.
# rkhunter: http://www.rootkit.nl/projects/rootkit_hunter.html
Expand Down
2 changes: 1 addition & 1 deletion sensors_adt746x.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c) 2009, [email protected]
# (c)2009 Christian Kujau <[email protected]>
# therm_adt746x cannot be queried via i2c, so
# we're not using lm_sensors but this little script
#
Expand Down
2 changes: 1 addition & 1 deletion ternet/flop.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash
#!/usr/bin/ksh
#
# (C) Mule, 2009-08-07
# The Lolcats, they are everywhere!
Expand Down
2 changes: 1 addition & 1 deletion vbox-sysrq.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh
#
# (c)2011 [email protected]
# (c)2011 Christian Kujau <[email protected]>
# Send SysRq to VirtualBox virtual machines
#
# The schema for sending sysrq keycodes is:
Expand Down

0 comments on commit 4146af0

Please sign in to comment.