Skip to content

Instantly share code, notes, and snippets.

irsend.sendNEC( 0x57E318E7, 32);
// E817 power
// 18E7 power off
// 16E9 power on
// 21DE hdmi1
// 22DD hdmi 2
// 23DC hdmi 3
// F00F vol up
obs = obslua
source_name = ""
last_text = ""
time_format = ""
function set_time_text()
text = os.date(time_format)
if text ~= last_text then
@DDRBoxman
DDRBoxman / TypeTheClipboard.vbs
Created April 7, 2022 00:16 — forked from ericlaw1979/TypeTheClipboard.vbs
Types the contents of the clipboard to the focused text area three seconds after invocation (useful for using sites/apps that block CTRL+V paste). Useful as a script launched from [SlickRun](https://bayden.com/slickrun)
set WshShell = WScript.CreateObject("WScript.Shell")
WScript.Sleep 3000
'Hackery to get the clipboard's contents
Set objHTML = CreateObject("htmlfile")
text = objHTML.ParentWindow.ClipboardData.GetData("text")
WshShell.SendKeys text
@DDRBoxman
DDRBoxman / gist:5235012
Created March 25, 2013 04:54
FFVI victory theme gcode
;ff6_victory
M300 S2349 P53
M300 S0 P53
M300 S2349 P53
M300 S0 P53
M300 S2349 P53
M300 S0 P53
M300 S2349 P428
M300 S932 P428
M300 S2093 P428
@DDRBoxman
DDRBoxman / CMakeLists.txt
Created August 18, 2021 18:51
shader panel
project(shaderpanel)
FIND_LIBRARY(GLESV2 brcmGLESv2 HINTS /opt/vc/lib)
FIND_LIBRARY(EGL brcmEGL HINTS /opt/vc/lib)
FIND_LIBRARY(RGBMATRIX rgbmatrix HINTS ${PROJECT_SOURCE_DIR}/matrix/lib)
include_directories(/opt/vc/include)
include_directories(${PROJECT_SOURCE_DIR}/matrix/include)
add_executable(shaderpanel main.cpp)
@DDRBoxman
DDRBoxman / gist:6cf4b245b36f709e13750d10134c0ad7
Created August 13, 2021 19:19
Generate a Laravel APP_KEY with OpenSSL
echo "base64:$(openssl rand -base64 32)"
@DDRBoxman
DDRBoxman / 0001-Defer-enabling-monitoring.patch
Created December 8, 2020 00:49
defer loading monitoring
From 76d6fd6bd4c16496b27455788922bf2572f59036 Mon Sep 17 00:00:00 2001
From: Colin Edwards <colin@recursivepenguin.com>
Date: Mon, 7 Dec 2020 18:49:00 -0600
Subject: [PATCH] Defer enabling monitoring
---
libobs/obs.c | 35 ++++++++++++++++++++++-------------
1 file changed, 22 insertions(+), 13 deletions(-)
diff --git a/libobs/obs.c b/libobs/obs.c
@DDRBoxman
DDRBoxman / gist:ce033354ac2dd2aac87689ea26adf33e
Created October 6, 2020 21:39
Tasmota IOGEAR 8-Port HDMI Switch with RS-232 Support, GHSW8181
SBaudrate 19200
// read
SSerialSend5 726561640D
// sw i08
SSerialSend5 7377206930380D
// sw i01
SSerialSend5 7377206930310D
@DDRBoxman
DDRBoxman / gist:6f28b34cfff28fe95556a581973bdd15
Last active August 21, 2020 11:11
Sony soundbar IR Codes
irsend.sendSony(0x3A0C, 15);
// sony soundbar
// 540C power
// 4B0D input
// 240C vol up
// 640C vol down
// 140C mute
// power off 7A0C
<!--?xml version="1.0" encoding="UTF-8"?-->
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.device.camera</key>
<true/>
<key>com.apple.security.device.audio-input</key>
<true/>