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. | |
# | |
# Libav Transcoder Script v1.0beta | |
EXEC=/usr/bin/avconv | |
INPUT=/mnt/media/Movies | |
FTYPE=*.rip.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
*filter | |
:INPUT DROP [0:0] | |
:FORWARD DROP [0:0] | |
:OUTPUT DROP [0:0] | |
-A INPUT -i tun+ -j ACCEPT | |
-A INPUT -i lo -j ACCEPT | |
-A INPUT -p tcp --dport 22 -s 192.168.0.0/24 -j ACCEPT #SSH ONLY FROM LOCAL NET | |
-A INPUT -p udp --dport 53 -j ACCEPT #DNS | |
-A INPUT -p udp --dport 68 -j ACCEPT #DHCP | |
-A INPUT -p udp --dport 123 -j ACCEPT #NTP |
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
@ECHO OFF | |
ECHO Copyright 2014 Typomedia Foundation. All rights reserved. | |
ECHO Released under GPL version 3. | |
ECHO Robocopy Backup Documents 1.0 | |
PAUSE | |
SET user=<username> | |
SET dest="\\SERVER\Share\%user%" | |
ECHO Backup %user%'s documents... |
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
@ECHO OFF | |
ECHO Copyright 2014 Typomedia Foundation. All rights reserved. | |
ECHO Released under GPL version 3. | |
ECHO Libav Transcoding Script 1.0beta | |
PAUSE | |
SET input="\\SERVER\Movies" | |
SET ftype=*.rip.mkv | |
SET 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/sh | |
# Copyright 2014 Typomedia Foundation. All rights reserved. | |
# Released under GPL version 3. | |
# | |
# ZFS Root Dump Script v1.0 | |
HOST=`hostname` | |
DEST=/dpool/backup/OpenIndiana | |
DATE=`date '+%Y%m%d'` | |
# get last snapshot |
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
' Copyright 2013 Typomedia Foundation. All rights reserved. | |
' Released under GPL version 3. | |
' | |
' VBS New Files Mailer v1.1 | |
' Send a mail if files of a specific dir are newer than x minutes | |
Const intMin = 60 'Minutes | |
Set oArgs = WScript.Arguments | |
Set fso = CreateObject("Scripting.FileSystemObject") |
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: bookserver | |
# Required-Start: $all | |
# Required-Stop: $all | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Python Book Server | |
# Description: Python Book Server for Calibre Database | |
# 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 | |
### BEGIN INIT INFO | |
# Provides: syncthing | |
# 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: Syncthing | |
# 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 | |
# Converts a mysqldump file into a Sqlite 3 compatible file. It also extracts the MySQL `KEY xxxxx` from the | |
# CREATE block and create them in separate commands _after_ all the INSERTs. | |
# Awk is choosen because it's fast and portable. You can use gawk, original awk or even the lightning fast mawk. | |
# The mysqldump file is traversed only once. | |
# Usage: $ ./mysql2sqlite mysqldump-opts db-name | sqlite3 database.sqlite | |
# Example: $ ./mysql2sqlite --no-data -u root -pMySecretPassWord myDbase | sqlite3 database.sqlite |
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 |
OlderNewer