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 | |
# Frigate Export Script | |
# By Kenny Stier (kstr.us) | |
# Based on https://github.com/blakeblackshear/frigate/issues/2369#issuecomment-1268359613 | |
# Menu taken from https://stackoverflow.com/a/28326129 | |
URL='http://192.168.0.14:5000' | |
OUTDIR='./archive' |
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
<?php | |
// Show all information, defaults to INFO_ALL | |
phpinfo(); | |
?> |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Caddy works!</title> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="icon" href="data:,"> | |
<style> | |
* { | |
box-sizing: border-box; |
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
<?php | |
$date = date("mdY"); | |
$upspage = file_get_contents("https://www.ups.com/maps/printerfriendly?loc=en_US&usmDateCalendar=".$date."&stype=O&zip=47240"); | |
preg_match('/\/using.*\.gif/', $upspage, $output_array); | |
header('Content-type: image/png'); |
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 | |
ls dafang/*/*/*.jpg | sed "s/^/file '/;s/$/'/" > files.txt | |
ffmpeg -r 45 -f concat -i files.txt -s hd720 -vcodec libx264 timelapse_$(date +%F).mp4 |
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/env bash | |
# TODO: replace your-hostname-here.com | |
server="your-hostname-here.com" | |
if [ $# -lt 1 ] ; then | |
echo "usage: rwget URL" | |
exit 1 | |
fi |
I hereby claim:
- I am kennystier61 on github.
- I am mtdev (https://keybase.io/mtdev) on keybase.
- I have a public key ASCLXDxf57cfhoEk4ZVhWetUZyY9mBBft1sGGXdzj-vmOAo
To claim this, I am signing this object:
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 | |
# | |
# Written by Kenny Stier for Trenta.io | |
# | |
# Rainier Automatic Raster Resizer (RARR) | |
# Copyright (C) 2017 Trenta.io | |
# | |
# This program is free software: you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License as published by | |
# the Free Software Foundation, either version 3 of the License, or |
NewerOlder