Skip to content

Instantly share code, notes, and snippets.

@jremus
jremus / vtaped.sh
Last active August 29, 2015 13:57 — forked from jremus/suse-java-daemon.sh
A SUSE Linux start/stop script for the IBM VSE Virtual Tape Server based on the SUSE Linux start/stop script for Java daemons by Christian d'Heureuse.
#!/bin/sh
#
# A SUSE Linux start/stop script for the VSE Virtual Tape Server based on the SUSE Linux start/stop script for Java daemons by Christian d'Heureuse.
#
# Home page: http://www.source-code.biz
# License: GNU/LGPL V2.1 (http://www.gnu.org/licenses/lgpl.html)
# Copyright 2006 Christian d'Heureuse, Inventec Informatik AG, Switzerland.
#
# History:
# 2006-06-27 Christian d'Heureuse: Script created.
@jremus
jremus / README.md
Last active March 30, 2021 12:56
My aria2 configuration and init script for Raspbian.

Description

Installation

File Locations

  • aria2.conf as /etc/aria2.conf
  • aria2.sh as /etc/init.d/aria
@jremus
jremus / suse-java-daemon.sh
Created May 14, 2013 08:57
A SUSE Linux start/stop script for Java daemons by Christian d'Heureuse. Source: http://www.source-code.biz/snippets/java/7.htm
#!/bin/sh
#
# A SUSE Linux start/stop script for Java daemons.
#
# Home page: http://www.source-code.biz
# License: GNU/LGPL V2.1 (http://www.gnu.org/licenses/lgpl.html)
# Copyright 2006 Christian d'Heureuse, Inventec Informatik AG, Switzerland.
#
# History:
# 2006-06-27 Christian d'Heureuse: Script created.
@jremus
jremus / AutoStitchMetadataFix.py
Created April 8, 2013 19:30
Fixes the missing EXIF metadata in the JPEGs from an iOS AutoStitch export.
from argparse import ArgumentParser, ArgumentTypeError
import os.path
import fnmatch
from plistlib import readPlist
import exiftool
def directory(value):
if not os.path.isdir(value) or not os.path.exists(value):
msg = "'%s' is not a valid directory" % value
raise ArgumentTypeError(msg)