Skip to content

Instantly share code, notes, and snippets.

Working on changing the world.

Anthony Eden anthonyeden

Working on changing the world.
Block or report user

Report or block anthonyeden

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
anthonyeden / countdown_5mins.txt
Created Jul 21, 2019
Adobe After Effects - Countdown Expressions
View countdown_5mins.txt
st = 300;
t = st - time;
c = timeToTimecode(t);
c = c.substring(4,8)
anthonyeden /
Created Dec 30, 2018
Google Analytics Realtime Data
from apiclient.discovery import build
from oauth2client.service_account import ServiceAccountCredentials
import httplib2
VIEW_ID = 'ga:123456789'
def get_service(api_name, api_version, scope, key_file_location,
"""Get a service that communicates to a Google API.
anthonyeden / Responsive-YouTube-Embed-Wordpress-Filters.php
Last active Jul 13, 2019
Responsive YouTube Embeds in Wordpress
View Responsive-YouTube-Embed-Wordpress-Filters.php
add_filter('the_content', function($content) {
return str_replace(array("<iframe", "</iframe>"), array('<div class="iframe-container"><iframe', "</iframe></div>"), $content);
add_filter('embed_oembed_html', function ($html, $url, $attr, $post_id) {
if(strpos($html, '') !== false || strpos($html, '') !== false){
return '<div class="embed-responsive embed-responsive-16by9">' . $html . '</div>';
} else {
anthonyeden / Windows-10-Basic-Cleanup.ps1
Created Dec 18, 2018
Windows 10 Basic Cleanup - Powershell
View Windows-10-Basic-Cleanup.ps1
Get-AppxPackage -allusers *messaging* | Remove-AppxPackage
Get-AppxPackage -allusers *WindowsMaps* | Remove-AppxPackage
Get-AppxPackage -allusers *bing* | Remove-AppxPackage
Get-AppxPackage -allusers *zune* | Remove-AppxPackage
get-appxpackage -allusers *officehub* | remove-appxpackage
get-appxpackage -allusers *skype* | remove-appxpackage
get-appxpackage -allusers *people* | remove-appxpackage
get-appxpackage -allusers *solitaire* | remove-appxpackage
get-appxpackage -allusers *xbox* | remove-appxpackage
Get-AppxPackage -allusers *windowscommunicationsapps* | Remove-AppxPackage
anthonyeden / XML-Sample2.lua
Created Nov 6, 2018
Telos ZipStream - Sample XML Metadata Filter
View XML-Sample2.lua
-- ------------------------------------------------------------------
-- MetaData Filter. Copyright (C) 2011 Tls Corporation
-- Author: Ioan L. Rus
-- Lines that start with two dashes (like this line) are comments.
-- Metadata filters are written in a very simple programming
-- language named Lua. Additional information about the language
-- and it's syntax can be found at
anthonyeden /
Created Oct 19, 2018
Zetta to Powergold Asset Import
This script is designed to export all music from a specific Zetta category to a text file, ready for Powergold to import.
Written by Anthony Eden (
import os
import sys
import json
import pypyodbc
import io
anthonyeden / license.txt
Last active Dec 8, 2018
Livewire CLI License
View license.txt
License Agreement for Livewire CLI
Preamble: This Agreement, governs the relationship between You, a Business Entity, (hereinafter: Licensee) and Media Realm, whose principal place of business is PO Box 295, Winston Hills, NSW, 2153 (hereinafter: Licensor). This Agreement sets the terms, rights, restrictions and obligations on using Livewire CLI (hereinafter: The Software) created and owned by Licensor, as detailed herein
License Grant: Licensor hereby grants Licensee a Personal, Non-assignable & non-transferable, Commercial with terms, Without the rights to create derivative works, Non-exclusive license, all with accordance with the terms set forth and other legal restrictions set forth in 3rd party software used while running Software.
Limited: Licensee may use Software for the purpose of:
Running Software on Licensee's Server[s], directly controlling the equipment of one radio station;
View Livewire-Control-CLI-Usage.txt
usage: Livewire-Control-CLI.exe [-h] [--get_showprofile] [--get_showprofiles]
[--set_showprofile SET_SHOWPROFILE]
[--fadernum FADERNUM]
[--faderlivewire FADERLIVEWIRE]
[--get_sourceprofile] [--get_sourceprofiles]
[--set_sourceprofile SET_SOURCEPROFILE]
[--set_channelstate {ON,OFF}]
[--set_fadergain SET_FADERGAIN]
anthonyeden / MetaRadio-RadioDJ.xml
Created Sep 28, 2018
MetaRadio RadioDJ XML Template
View MetaRadio-RadioDJ.xml
<startTime>$now-year$-$now-month$-$now-day$ $now-hour$:$now-minute$:$now-second$</startTime>
anthonyeden / config-sample-delaycontrol.json
Created Sep 12, 2018
Example Config for lwSDS - Profanity Delay Remote Control
View config-sample-delaycontrol.json
"Title": "Livewire Simple Delay Control",
"DeviceIP": "",
"DevicePassword": "",
"DeviceOutputNum": 1,
"Columns": 1,
"CheckUpdatesAuto": true,
"GPI_DeviceIP": "",
"GPI_DevicePassword": "",
"Sources": [
You can’t perform that action at this time.