Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#---------------------------
# Name: delete_recordings.py
# Python Script
# Author: Raymond Wagner
# Purpose
# This python script provides a command line tool to search and
# delete recordings.
#---------------------------
@managementboy
managementboy / theeventscalendar.diff
Created April 10, 2014 11:14
The Events Calendar Wordpress Plugin patch to add free Google Calendar link feature
--- lib/template-classes/list.php Sat Jan 25 01:41:12 2014
+++ lib/template-classes/list.php Tue Apr 08 17:32:06 2014
@@ -26,4 +26,19 @@
}
}
}
+ /**
+ * Google Calendar Link
+ *
+ * Returns an add to Google Calendar link. Must be used in the loop
@managementboy
managementboy / gist:9463425
Last active August 29, 2015 13:57
Sync Facebook Events
<?php
/*
Plugin Name: Sync Facebook Events
Plugin URI: http://pdxt.com
Description: Sync Facebook Events to The Events Calendar Plugin
Author: Mark Nelson
Version: 1.0.8
Author URI: http://pdxt.com
*/
/var/lib/mythtv/recordings3/1359263080_Real.Time.With.Bill.Maher.2013.01.25.Overtime.mp4
/var/lib/mythtv/recordings3/1360074171_BBC.Horizon.2010.Pill.Poppers.PDTV.XviD.AC3.MVGroup.org.avi
/var/lib/mythtv/recordings3/1363970246_National.Geographic.Inside.Rio.Carnival.PDTV.XviD.MP3.MVGroup.org.avi
/var/lib/mythtv/recordings3/1369935315_4209737.flv
/var/lib/mythtv/recordings3/1369935317_4209737.flv
/var/lib/mythtv/recordings3/1372178120_Real_college_amateur_teen_naked_shower_pussy_play-2856760.flv
/var/lib/mythtv/recordings3/1374860126_Teens_masturbate-3946058.flv
/var/lib/mythtv/recordings3/1375007714_Hot_teen_pornmix_by_Mr.NiceGuy-4187872.flv
/var/lib/mythtv/recordings3/1375238150_BBC.The.Mystery.of.Romes.X.Tomb.720p.HDTV.x264.AAC.MVGroup.org.mkv
/var/lib/mythtv/recordings3/1375238162_PBS.The.Buddha.720p.x264.AAC.MVGroup.org.mp4
#!/bin/bash
LOG=/tmp/mylog.log
SECONDS=3600
EMAIL=
managementboy@gmail.com
for i in $@; do
echo "$i-UP!" > $LOG.$i
#!/bin/perl
use Mail::Util qw(read_mbox);
use Mail::Header;
%nmon = (
'Jan' => 1,
'Feb' => 2,
'Mar' => 3,
'Apr' => 4,
@managementboy
managementboy / cyrus2mbox.pl
Last active December 20, 2015 09:49
http://fenux.net/story/cyrustombox/print Converting Cryus mail directories to MBOXes
#cyrus2mbox.pl
#!/usr/bin/perl
# cyrus2mbox.pl
##################
# This program converts cyrus style mail directories into mbox files.
#
# Written by Jason Burgess of HolosTek, Inc.
#
# This program is provided under the "I don't really care what you do with it,
@managementboy
managementboy / fritzXMLfromCSV.php
Created April 1, 2013 17:37
FritzBox Adressbook convert from CSV to XML
<?php
// Konvertiert CSV Dateien ins FRITZ!Box XML Telefonbuchdateien
// Copyleft 2011, tomix
// 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
// any later version.
// This program is distributed in the hope that it will be useful,
@managementboy
managementboy / gist:4642109
Created January 26, 2013 12:46
// Konvertiert CSV Dateien ins FRITZ!Box XML Telefonbuchdateien // Copyleft 2011, tomix // 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 // any later version. // This program is distr…
<?php
// Konvertiert CSV Dateien ins FRITZ!Box XML Telefonbuchdateien
// Copyleft 2011, tomix
// 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
// any later version.
// This program is distributed in the hope that it will be useful,
@managementboy
managementboy / mythlink.pl
Created December 3, 2012 13:34
mythlink.pl with episodes and seasons