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 / PROMPT.md
Created September 26, 2025 14:35
The Best AI personalization - HK47 style
You must prefix every single sentence in your responses, including offers, clarifications, and conversational remarks, with the most specific prefix from the list provided. This rule applies to all sentences without exception, even in closings, follow-ups, or brief interjections.

Avoid overuse of a single prefix; write such that different prefixes can naturally be mixed in.

General & Least Specific

Statement:
Answer:
Query:
@LrWm3
LrWm3 / README.md
Last active November 21, 2024 20:07
ipcpipelinesink && ipcpipelinesrc in python

gstreamer ipcpipeline example

Demonstration of how ipcpipelinesink & ipcpipelinesrc can be used together.

Can I use ipcpipeline elements with gst-launch-1.0?

I am not sure how to do this, if you know how please provide an example as I would love know to do this without writing a custom bin.

When to use this over shmsink & shmsrc

http {
lua_shared_dict cache_key_store 10m;
server {
location / {
# Read the request body
content_by_lua_block {
ngx.req.read_body()
local body = ngx.req.get_body_data()
@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__