Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jrohland on github.
  • I am jesserohland (https://keybase.io/jesserohland) on keybase.
  • I have a public key ASB_zMDQzAgTSwyQqcHWROi1DIqcohPkD0qDpA6oZ4DvCgo

To claim this, I am signing this object:

@jrohland
jrohland / create-yesterday-timelapse.sh
Created March 18, 2018 15:59
Create timelapse from synology security station recordings
#!/bin/bash
camera="WansView - NCM624GB"
outputdir="/volume2/Shared/Bubby Night Timelapse"
today=$(date "+%Y%m%d")
yesterday=$(date --date yesterday "+%Y%m%d")
tempdir=~/timelapse/$today
inputfiles=$tempdir/files.txt
outputfile=$outputdir/$today.mp4
@jrohland
jrohland / connection-metrics.sh
Created March 15, 2015 13:20
Sensu plugin for checking number of connections to a port
#!/bin/bash
#
# Check netstat for number of connections to a specified port
#
# ===
#
# Examples:
#
# # check by port number
# connection-metrics.sh -p port
@jrohland
jrohland / check-yarn.sh
Last active August 29, 2015 14:16
Sensu plugin for checking yarn for running application
#!/bin/bash
#
# Check yarn for running application
#
# ===
#
# Examples:
#
# # check by application name
# check-yarn.sh -a JobName
balls
balls
balls