Complete documentation for accessing camera streams from PT-DR1A08G-K1 DVR system.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='UTF-8' ?> | |
<opml version="2.0"> | |
<head> | |
<title>Read You</title> | |
<dateCreated>Thu Jul 31 23:04:43 GMT+05:30 2025</dateCreated> | |
</head> | |
<body> | |
<outline isDefault="true" text="Default" title="Default"> | |
</outline> | |
<outline isDefault="false" text="Engineering" title="Engineering"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
bitcoind: | |
image: ruimarinho/bitcoin-core:latest | |
container_name: bitcoin-node | |
restart: always | |
ports: | |
- "8332:8332" # RPC port (keep for your scripts) | |
volumes: | |
- bitcoin-data:/home/bitcoin/.bitcoin | |
command: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import socket, time, struct, hashlib, threading | |
from io import BytesIO | |
import dns.resolver | |
TESTNET_MAGIC = b'\x0b\x11\x09\x07' | |
PORT = 18333 | |
# DNS seeds | |
DNS_SEEDS = [ | |
"testnet-seed.bitcoin.jonasschnelli.ch", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { writeFileSync } from "fs"; | |
const originalFetch = globalThis.fetch.bind(globalThis); | |
function safeStringifyDeep(obj, seen = new WeakSet()) { | |
if (obj === null || typeof obj !== 'object') return obj; | |
if (seen.has(obj)) return "<<Circular>>"; | |
seen.add(obj); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { Injectable, OnModuleInit } from '@nestjs/common'; | |
import { InjectRedis } from '@liaoliaots/nestjs-redis'; | |
import { Redis } from 'ioredis'; | |
import { v4 as uuidv4 } from 'uuid'; | |
@Injectable() | |
export class RedisService implements OnModuleInit { | |
private redisSubscriber: Redis; | |
constructor(@InjectRedis() private readonly redis: Redis) {} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Acronym | Full Form | |
---|---|---|
AFAIK | As Far As I Know | |
AMA | Ask Me Anything | |
CMV | Change My View | |
DAE | Does Anyone Else | |
ELI5 | Explain Like I'm 5 | |
ETA | Edited To Add | |
FTFY | Fixed That For You | |
FWIW | For What It's Worth | |
IANAD | I Am Not A Doctor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yt-dlp https://www.youtube.com/watch?v=6T46sgty4Mk -o test-2 | |
mkdir img | |
git clone https://github.com/LexCybermac/smlr | |
ffmpeg -i test-2.mp4 -vf "fps=1" img/frame_%04d.png | |
pip install torch torchvision numpy Pillow transformers tqdm pathlib annoy scipy | |
python .\smlr.py --image_directory .\img\ --clip_model openai/clip-vit-base-patch16 --threshold 0.22 --batch_size 192 | |
Or (didn't try) | |
https://colab.research.google.com/github/roboflow-ai/notebooks/blob/main/notebooks/image_embeddings_analysis_part_1.ipynb |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import cv2 | |
import numpy as np | |
from PIL import Image, ImageDraw, ImageFont | |
import os | |
import shutil | |
debug = False | |
# UI using ShadCN, fast iteraation, learn how to do streaming UIs though |
NewerOlder