Skip to content

Instantly share code, notes, and snippets.

Martijn van Dijk martijnvandijk

Block or report user

Report or block martijnvandijk

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Last active Aug 29, 2015
Fedora Twitch broadcast status checker
# A simple twitch notifier for fedora.
# I only tested this on fedora but maby it works on other distributions as well.
# The syntax is : "python scriptname streamer".
# It will make a sound if the streamer goes on-air.
import urllib2
import json
import sys
View pass-autotype
#!/usr/bin/env bash
set -ue
if ! command -v xdotool &> /dev/null; then
printf "You need to install xdotool.\n" 1>&2
exit 1
output="$(pass $@)"
mendelgusmao / btsync
Last active Sep 10, 2017
init.d script for btsync (based on another script built to run dropbox)
View btsync
# Provides: btsync
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Multi-user daemonized version of btsync.
You can’t perform that action at this time.