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/sh | |
# Copyright 2013 Typomedia Foundation. All rights reserved. | |
# Released under GPL version 3. | |
# | |
# ZFS Status Report Mailer v1.2 | |
mailx -t \ | |
<<EOF | |
MIME-Version: 1.0 | |
FROM:Fileserver <server@domain.tld> |
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
# /etc/default/rsync.exclude.list | |
# Copyright 2013 Typomedia Foundation. All rights reserved. | |
# Use is subject to license terms. | |
# | |
# Rsync Exclude List v1.0 | |
#/boot | |
/cdrom | |
/dev | |
/lost+found |
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/sh | |
# Copyright 2013 Typomedia Foundation. All rights reserved. | |
# Use is subject to license terms. | |
# | |
# Rsync Backup Script v1.3 | |
EXEC=/usr/bin/rsync | |
SOURCEPATH=/mnt/dpool | |
DIRECTORIES=( media share works ) | |
EXCLUDELIST=/etc/scripts/rsync.exclude.list |
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/sh | |
### BEGIN INIT INFO | |
# Provides: btsync | |
# Required-Start: $local_fs $remote_fs $network | |
# Required-Stop: $local_fs $remote_fs $network | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: BitTorrent Sync | |
# Description: Automatically sync files via secure, distributed technology | |
# Author: Typomedia Foundation |
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/sh | |
# Copyright 2014 Typomedia Foundation. All rights reserved. | |
# Released under GPL version 3. | |
# | |
# FFMPEG Transcoder Script v1.2 | |
EXEC=/usr/bin/ffmpeg | |
INPUT=/mnt/media/Movies | |
FTYPE=*.rip.mkv | |
SUFFIX=.h264.mkv |
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 | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
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/sh | |
# Copyright 2013 Typomedia Foundation. All rights reserved. | |
# Released under GPL version 3. | |
# | |
# MySQL Dump Script v1.0 | |
DBHOST=localhost | |
DBUSER=root | |
PASSWORD=****** | |
DATE=`date '+%Y%m%d'` |
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/sh | |
# Copyright 2015 Typomedia Foundation. All rights reserved. | |
# Use is subject to license terms. | |
# | |
# Postgres Dump Script v1.0 | |
DBHOST=127.0.0.1 | |
DBUSER=dbmaster | |
PASSWORD=****** | |
DATE=`date '+%Y%m%d'` |
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
server { | |
listen 80; | |
server_name domain.tld; | |
set $root_path '/usr/share/nginx/domain.tld/public'; | |
root $root_path; | |
expires 1M; | |
access_log /var/log/nginx/$host-access.log; | |
error_log /var/log/nginx/$host-error.log error; |
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
<VirtualHost *:80> | |
ServerName domain.tld | |
ServerAlias www.domain.tld *.domain.tld | |
ServerAdmin webmaster@domain.tld | |
DocumentRoot /var/www/domain.tld | |
<Directory /var/www/domain.tld/> | |
Options FollowSymLinks MultiViews |