This file contains hidden or 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 | |
# | |
# Monitor a web page and notify changes | |
# | |
# requires wget, diff and sendmail | |
# for sendmail I use ssmtp | |
# | |
TITLE="Example Offers" | |
WWW="http://www.example.com/offers.html" |
This file contains hidden or 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
#!/usr/bin/perl | |
# | |
# rpitemp - Rasberry Pi Temperature Monitoring | |
# | |
=pod | |
=head1 NAME | |
rpitemp: Raspberry Pi Temperature Monitoring |
This file contains hidden or 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
#!/usr/bin/perl | |
# | |
# csv | |
# | |
# csv - convert text to CSV fields | |
use warnings; | |
use strict; | |
use Pod::Usage; |
This file contains hidden or 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 | |
# cnv2gif | |
# Credit for ffmpeg commands to | |
# http://superuser.com/a/556031 | |
if [ "$#" -eq 5 ]; then | |
ffmpeg -y -ss $2 -t $3 -i "$1" -vf fps=$4,scale=320:-1:flags=lanczos,palettegen palette.png | |
ffmpeg -ss $2 -t $3 -i "$1" -i palette.png -filter_complex \ | |
"fps=$4,scale=320:-1:flags=lanczos[x];[x][1:v]paletteuse" "$5.gif" | |
rm palette.png |
This file contains hidden or 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
#!/usr/bin/perl | |
# | |
# md2pdf | |
use warnings; | |
use strict; | |
if (! defined $ARGV[0]) { | |
print "Please provide a filename to process.\n"; | |
print "e.g. md2pdf sample.md\n"; |