I hereby claim:
- I am jasonmadigan on github.
- I am jasonmadigan (https://keybase.io/jasonmadigan) on keybase.
- I have a public key whose fingerprint is EF06 149D 1472 7CDE CA2C 7848 932D 1F08 FEDB 52CF
To claim this, I am signing this object:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> | |
<html lang="en"> | |
<head> | |
<title> | |
Websocket Test | |
</title> | |
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js' type="text/javascript"></script> | |
<script type="text/javascript"> | |
$(document).ready(function() { | |
function debug(str){ $("#debug").append("<p>" + str + "<\/p>"); }; |
#!/usr/bin/ruby | |
require 'socket.so' | |
class UDPServer | |
def initialize(port) | |
@port = port | |
end | |
def start | |
@socket = UDPSocket.new |
#!/usr/bin/perl | |
use Getopt::Long; | |
my $verbose; | |
my $overwrite; | |
my $renamenew; | |
my $append; | |
my $help; |
[ | |
{ "keys": ["alt+shift+up"], "command": "select_lines", "args": {"forward": false} }, | |
{ "keys": ["alt+shift+down"], "command": "select_lines", "args": {"forward": true} } | |
] |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
#!/usr/bin/env ruby | |
# Simple 404 finder | |
require 'rubygems' | |
require 'anemone' | |
url = ARGV[0] | |
if url.nil? |
I hereby claim:
To claim this, I am signing this object:
{ | |
"users": [{ | |
"gender": "female", | |
"name": { | |
"title": "miss", | |
"first": "alison", | |
"last": "reid" | |
}, | |
"location": { | |
"street": "1097 the avenue", |
// https://www.jasonmadigan.com/2017/07/03/declining-google-calendar-events-en-masse/ | |
function GCalHoliday() { | |
var fromDate = new Date('July 17, 2017 00:00:00 +0100'); | |
var toDate = new Date('August 8, 2017 23:30:00 +0100'); | |
var calendarName = '<Your Calendar - e.g. [email protected]>'; | |
var calendar = CalendarApp.getCalendarsByName(calendarName)[0]; | |
var events = calendar.getEvents(fromDate, toDate, {}); | |
Logger.log('Events: ' + events.length); |
To tune Frigate, it can sometimes be useful to input saved clips in order to see how detection works. I've found the easiest way to accomplish this is by grabbing a clip (say, from your NVR), and streaming this on a loop via RTSP to Frigate. This will let you tune settings with an existing configuration, which is a bit different to using process_clip.py
that's included with Frigate.
ffmpeg
(.mp4
is good)ffmpeg
install. I'm using a mac, so I typically install via Brew: brew install ffmpeg