Skip to content

Instantly share code, notes, and snippets.

View LrWm3's full-sized avatar

LrWm LrWm3

  • ReelData AI
  • Halifax, Nova Scotia
View GitHub Profile
@LrWm3
LrWm3 / install-webos-homebrew.sh
Created September 14, 2024 17:11
WebOS Homebrew Channel Installation script (unofficial)
#!/bin/bash
##
# set-up a webOS device with homebrew channel
##
# Created because I found the steps were somewhat fragmented, probably out of date.
##
# requires ares-cli
# install via: npm install -g @webos-tools/cli
# ref: https://webostv.developer.lge.com/develop/tools/cli-installation
##
@LrWm3
LrWm3 / DebounceFilterPlugin.java
Last active September 6, 2024 13:45
Log4j2 debounce filter example (untested)
import org.apache.logging.log4j.core.config.plugins.Plugin;
import org.apache.logging.log4j.core.config.plugins.PluginAttribute;
import org.apache.logging.log4j.core.config.plugins.PluginFactory;
// Register the plugin to allow it to be used later
@Plugin(name = "DebounceFilter", category = "Core", elementType = "filter", printObject = true)
public class DebounceFilterPlugin extends DebounceFilter {
// Factory method for creating the filter from configuration
@PluginFactory
@LrWm3
LrWm3 / .dockerignore
Last active January 4, 2024 22:10
DeepStream SDK 6.2 x86 and Jetson docker image pyds and gst-python configured
__pycache__