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 / 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__