Skip to content

Instantly share code, notes, and snippets.

View dterracino's full-sized avatar
🐢
I may be slow to respond…

David Terracino dterracino

🐢
I may be slow to respond…
  • Disabled
  • Middletown, NY
  • 06:26 (UTC -05:00)
View GitHub Profile
@dterracino
dterracino / TautulliWebhookParams.md
Created July 2, 2019 03:42
Tautulli Notification Parameters

Notification Parameters If the value for a selected parameter cannot be provided, it will display as blank.

Global {tautulli_version} The current version of Tautulli. {tautulli_remote} The current git remote of Tautulli. {tautulli_branch} The current git branch of Tautulli. {tautulli_commit} The current git commit hash of Tautulli. {server_name} The name of your Plex Server. {server_ip} The connection IP address for your Plex Server.

@dterracino
dterracino / TautulliNotificationInfo.html
Created July 2, 2019 03:54
Tautulli Notification Info
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Tautulli - Settings | GameDrop&#39;s Server</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
@dterracino
dterracino / TautulliGitHardReset.cmd
Last active July 2, 2019 04:02
Tautulli Git Hard Reset
@ECHO OFF
REM Source: https://github.com/Tautulli/Tautulli-Wiki/wiki/Frequently-Asked-Questions#general-q5
REM Having trouble with upgrading Tautulli? Try this...
git remote set-url origin https://github.com/Tautulli/Tautulli.git
git fetch origin
git checkout master
git branch -u origin/master
git reset --hard origin/master
git pull
@dterracino
dterracino / MailMergeSaveEachRecordToFile.vba
Created July 2, 2019 04:03 — forked from oliveratgithub/MailMergeSaveEachRecordToFile.vba
VBA macro for Microsoft Word (Mac + Windows) to Mail Merge each record into separate documents. Execute the following VBA Macro on your Office Word Mail Merge template to have Word generate & save every record into a single file. More information: https://swissmacuser.ch/microsoft-word-mail-merge-into-single-documents/
'More information & instructions:
'https://swissmacuser.ch/microsoft-word-mail-merge-into-single-documents/
Option Explicit
Sub MailMergeSaveEachRecordToFile()
'
' Save each single Mail Merge Record into a seperate Document
'
Dim rec, lastRecord As Integer
Dim docNameField, strDocName, savePath As String
@dterracino
dterracino / profiles.json
Created August 21, 2019 02:39
Windows Terminal profiles.json
{
"globals" :
{
"alwaysShowTabs" : true,
"defaultProfile" : "{61c54bbd-c2c6-5271-96e7-009a87ff44bf}",
"initialCols" : 120,
"initialRows" : 30,
"keybindings" :
[
{
@dterracino
dterracino / gard-grass-1.p8
Created September 4, 2019 21:05 — forked from rostok/gard-grass-1.p8
Initial version of "Evening summer breeze" tweetcart
pico-8 cartridge // http://www.pico-8.com
version 16
__lua__
-- make it 400 bytes long
k={1,2,4,8,9,10,7}
-- k={9,9,9,9,10,10,7}
-- k={0,5,6,7,15,14,8,2,4,9,10,11,3,12,13}
-- k={0,0,0,0,0,1,1,1,1,12,12,7}
-- k={5,6,15,9,7}
s=sin
// Unity C# Cheat Sheet
// I made these examples for students with prior exerience working with C# and Unity.
// Too much? Try Unity's very good tutorials to get up to speed: https://unity3d.com/learn/tutorials/topics/scripting
@dterracino
dterracino / google-ocr.py
Created October 1, 2019 15:45 — forked from anthrotype/google-ocr.py
Script to run Google Drive's OCR on a batch of image files
import argparse
from datetime import datetime
import os
import subprocess
import logging
FILE_EXTENSIONS = {".jpg", ".png", ".pdf"}
@dterracino
dterracino / createiso-demo.ps1
Created October 27, 2019 06:48 — forked from marnix/createiso-demo.ps1
Demo for PowerShell script to create ISO using IMAPI COM component, as a simplification for StackOverflow answer http://stackoverflow.com/a/8325316/223837
# Inspiration from
#
# http://blogs.msdn.com/b/opticalstorage/archive/2010/08/13/writing-optical-discs-using-imapi-2-in-powershell.aspx
#
# and
#
# http://tools.start-automating.com/Install-ExportISOCommand/
#
# with help from
#
@dterracino
dterracino / ads_block_detect.js
Created January 29, 2020 06:59 — forked from maztch/ads_block_detect.js
Detects ads blockers
var adBlockEnabled = false;
var testAd = document.createElement('div');
testAd.innerHTML = '&nbsp;';
testAd.className = 'adsbox';
document.body.appendChild(testAd);
window.setTimeout(function() {
if (testAd.offsetHeight === 0) {
adBlockEnabled = true;
}
testAd.remove();