Skip to content

Instantly share code, notes, and snippets.

@aconz2
aconz2 / lldbtest.py
Created August 8, 2021 17:20
Example using the lldb Python bindings to create breakpoints, run a program, and step through programatically
import lldb
import os
import sys
symbol_types = {}
for x in dir(lldb):
if x.startswith('eSymbolType'):
symbol_types[getattr(lldb, x)] = x[len('eSymbolType'):]
dbg = lldb.SBDebugger.Create()
@Vankalif
Vankalif / mosaic.vlm
Last active May 5, 2024 02:06
VLC 6 ip cameras mosaic config via RTSP
# Runs on windows by command -> vlc --vlm-conf path_to_file.vlm
# Background options
new bg broadcast enabled
# bg just plain black background jpg image
setup bg input "C:\Users\full_path_to\back.jpg"
setup bg option image-duration=-1
setup bg output #transcode{sfilter=mosaic{width=1920,height=960,cols=3,rows=2,position=1,order="1,2,3,4,5,6",keep-aspect-ratio=enabled,keep-picture=1,mosaic-align=5},vcodec=mp4v,vb=2000,fps=15}:duplicate{dst=display}
# Input options
@xenogenesi
xenogenesi / Makefile
Last active November 19, 2021 03:28
create self signed certificates
DOMAIN ?= mydomain.com
COUNTRY := IT
STATE := IT
COMPANY := Evil Corp.
# credits to: https://gist.github.com/fntlnz/cf14feb5a46b2eda428e000157447309
# usage: