Skip to content

Instantly share code, notes, and snippets.

View alexonpeace's full-sized avatar

Alex alexonpeace

View GitHub Profile
@NateMeyer
NateMeyer / frigate-v0.13-maxwell-workaround.md
Created March 3, 2024 19:35
Frigate v0.13 TensorRT Maxwell-GPU Workaround

Using NVidia Maxwell GPUs w/ Frigate v0.13

There was a problem discovered wit hthe library shipped with v0.13 of Frigate that didn't include the correct instructions for Maxwell GPUs with CUDA Compute-level 5.0. This document describes how to rebuild this library and map it into Frigate v0.13.

Rebuild libyolo_layer.so

The library needs to be rebuilt with the correct compute-level

@echo off
NET SESSION >nul 2>&1
IF %ERRORLEVEL% NEQ 0 GOTO ELEVATE >nul
GOTO ADMINTASKS
:ELEVATE
CD /d %~dp0 >nul
MSHTA "javascript: var shell = new ActiveXObject('shell.application'); shell.ShellExecute('%~nx0', '', '', 'runas', 1);close();" >nul
EXIT
@snakecase
snakecase / Beep on replay buffer save.lua
Last active May 9, 2025 17:34 — forked from upgradeQ/beep.lua
OBS Lua: Sound notification on replay buffer save [Windows]
local obs = obslua
local ffi = require("ffi")
local winmm = ffi.load("Winmm")
-- Put a sound of your choosing next to "Beep on replay save.lua" and don't forget to match its name either in code below or rename your file.
PROP_AUDIO_FILEPATH = script_path() .. "sound_npc_scanner_scanner_photo1.wav"
ffi.cdef[[
bool PlaySound(const char *pszSound, void *hmod, uint32_t fdwSound);
]]
@coldfire7
coldfire7 / Valorant Asia Pacific Servers & Ports
Last active May 4, 2025 18:37
Valorant Asia Pacific Servers & Ports
# Valorant Asia Pacific Servers
# Note most of the servers are AWS Global Accelerator anycast IP addresses
# https://aws.amazon.com/global-accelerator/features/#Static_anycast_IP_addresses
# https://en.wikipedia.org/wiki/Anycast
# Last Update: 2023-01-09
# ~CO7DFiRE
# All Asia Pacific Servers
13.248.193.101
13.248.197.71
@alexonpeace
alexonpeace / Lib.py
Last active January 30, 2019 08:32
CS Project
import os
import pickle
import time
width = "150"
height = "50"
os.system("mode con cols="+width+"lines="+height)
######ADD CODE FOR SPECIAL EFFECTS
##
##os.system('COLOR F0')
@TreavVasu
TreavVasu / Lib.py
Last active April 18, 2020 04:14
Library Project
import os
import pickle
import time
width = "150"
height = "50"
os.system("mode con cols="+width+"lines="+height)
######ADD CODE FOR SPECIAL EFFECTS
##
##os.system('COLOR F0')