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 | |
# | |
# ubuntu-touch-tester.sh | |
# | |
# A simple script to cache and install available | |
# Ubuntu Touch images on select Nexus devices. | |
# | |
# For more info see: | |
# https://developer.ubuntu.com/en/start/ubuntu-for-devices/devices/ | |
# |
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
#!/usr/bin/perl | |
# | |
use strict; | |
use warnings; | |
my $tf = $ARGV[0]; # Temperature in degrees Fahrenheit | |
my $rh = $ARGV[1]; # Abs. Relative Humidity | |
my $hi = -42.379 + 2.04901523 * $tf | |
+ 10.14333127 * $rh |
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
#!/usr/bin/perl | |
# | |
# AWS Route 53 Dynamic DNS Updater | |
# (c)2014 Mark Page [[email protected]] | |
# Wed Dec 31 08:35:56 CST 2014 | |
# | |
use strict; | |
use warnings; | |
use LWP::Simple qw(!head); | |
use WebService::Amazon::Route53; |
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
module("auto_therm", package.seeall) | |
-- | |
-- LUUP: AutoTherm - auto_therm.lua | |
-- Set Thermostats by Inside/Outside Temp, Humidity, and Time of Day | |
-- | |
-- Authored: Mark Page [m.e.page_at_gmail.com] | |
-- Modified: Sat Mar 21 21:22:37 CDT 2015 | |
-- | |
-- Tested on Vera Lite - UI7 Version 7.0.2 (1.7.439) | |
-- Tested on Vera Edge - UI7 Version 7.0.5 (1.7.1018) |
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
#!/usr/bin/perl -w | |
# | |
# Shallalist to DNS RPZ | |
# Author: Mark Page [m.e.page_at_gmail.com] | |
# Modified: Sun May 11 06:19:05 CDT 2014 | |
# | |
# Examples: | |
# perl make-shalla-rpz.pl (no arg, creates NXDOMAIN CNAME ".") | |
# perl make-shalla-rpz.pl A 192.168.2.1 (creates "A" redirect) | |
# perl make-shalla-rpz.pl CNAME nowhere.local (creates "CNAME" redirect) |
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
# | |
# nxfilter.conf - NxFilter Upstart Config | |
# modified: Sun Apr 27 15:59:13 CDT 2014 | |
# Mark Page [m.e.page_at_gmail.com] | |
# | |
description "NxFilter" | |
author "Mark Page [m.e.page_at_gmail.com]" | |
# | |
# Note: Upstart event logging for most Debian-based |
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 | |
# | |
# NxFilter Stateful Backup | |
# Mark Page [m.e.page_at_gmail.com] | |
# modified: Sat May 3 07:40:51 CDT 2014 | |
# | |
# This script will create a datestamped LZMA2 tarball | |
# of the current NxFilter state suitable for long-term | |
# backups, disaster recovery, or software upgrades. | |
# |
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 | |
# | |
# Shallalist Downloader for NxFilter | |
# Mark Page [m.e.page_at_gmail.com] | |
# modified: Mon Apr 28 20:34:59 CDT 2014 | |
# | |
# This script will download the current blacklist | |
# tarball from Shalla, extract it, stop NxFilter, | |
# call the nxd.ShallaUpdate import, restart the | |
# service, and clean up the mess. |
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
#!/usr/bin/perl -w | |
# | |
# File: monit-tweet.pl | |
# App Version: 0.0.2.2a | |
# Created: Sat Nov 22 23:48:18 CDT 2010 | |
# Modified: Thu Nov 17 20:38:06 CST 2011 | |
# Authored: mark page [[email protected]] | |
# | |
# This is a simple script fired from the 'exec' function | |
# in monit [http://mmonit.com/monit/] that will scrape |
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
#!/usr/bin/perl -w | |
# | |
my $app = { | |
'name' => 'img2epub', | |
'desc' => 'Create ebook (EPUB) from PNG, JPG, or GIF images', | |
'modified' => 'Mon Aug 15 06:03:05 CDT 2011', | |
'author' => 'mark page [[email protected]]', | |
'version' => '0.0.1.4b', | |
}; |