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="export"> | |
<service name="network/openvpn" type="service" version="0"> | |
<create_default_instance enabled="true"/> | |
<single_instance/> | |
<dependency name="fs" grouping="require_all" restart_on="none" type="service"> | |
<service_fmri value="svc:/system/filesystem/local"/> | |
</dependency> | |
<dependency name="net" grouping="require_all" restart_on="none" type="service"> |
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 | |
PATH=/opt/local/sbin:/opt/local/bin:$PATH | |
INPUT=/mnt/media/Movies | |
FTYPE=*.1080.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
#!/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
@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
' 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 | |
# Copyright 2014 Typomedia Foundation. All rights reserved. | |
# Released under GPL version 3. | |
# | |
# Pkgin Repo Update Script v1.0alpha | |
# Update repositories.conf for pkgin, and set $PKG_PATH for pkg_add | |
export PKG_PATH=http://pkgsrc.joyent.com/packages/SmartOS/2014Q1/x86_64/All | |
echo $PKG_PATH > /opt/local/etc/pkgin/repositories.conf |
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
server { | |
listen 80; | |
server_name domain.tld; | |
root /usr/share/nginx/domain.tld/Web; | |
autoindex off; | |
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
#!/bin/bash | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
OlderNewer