Skip to content

Instantly share code, notes, and snippets.

View zaphodikus's full-sized avatar

Conrad Braam zaphodikus

View GitHub Profile
@ikhramts
ikhramts / performance_counter.h
Last active June 9, 2026 12:08
A simple Windows performance counter in c++
#ifndef PERFORMANCE_COUNTER_H
#define PERFORMANCE_COUNTER_H
/*======================== Performance Counter ==================*/
#include <Windows.h>
#include <stdio.h>
double PCFreq = 0.0;
__int64 CounterStart = 0;
void StartCounter()
@X-Raym
X-Raym / DaVinci Resolve Scripting Doc.txt
Last active June 29, 2026 14:39
DaVinci Resolve Scripting API Doc v21.0
Last Updated: 8 May 2026
-------------------------
In this package, you will find a brief introduction to the Scripting API for DaVinci Resolve Studio. Apart from this README.txt file, this package contains folders containing the basic import
modules for scripting access (DaVinciResolve.py) and some representative examples.
From v16.2.0 onwards, the nodeIndex parameters accepted by SetLUT() and SetCDL() are 1-based instead of 0-based, i.e. 1 <= nodeIndex <= total number of nodes.
Overview
--------
As with Blackmagic Fusion scripts, user scripts written in Lua and Python programming languages are supported. By default, scripts can be invoked from the Console window in the Fusion page,
@Alexufo
Alexufo / simple-https-python-server.py
Last active August 17, 2025 10:04
Simple Python https server example py 3.10+ ( multithread, wasm, gzip )
import http.server
import http.cookiejar
import io
import socket
from http import HTTPStatus
import ssl
import os
import zlib
server_address = ('0.0.0.0', 4443)