Skip to content

Instantly share code, notes, and snippets.

@quietvoid
quietvoid / pgen_client.py
Last active May 26, 2023 17:21
PGenerator client to send patches manually
import argparse
import socket
import math
def send_cmd(cmd):
client_socket.send(cmd.encode() + PGEN_CMD_END_BYTES)
res_bytes = client_socket.recv(1024)
end_idx = res_bytes.find(PGEN_CMD_END_BYTES)
@quietvoid
quietvoid / generate-routing.py
Created August 1, 2023 00:25
Download Wahoo routing tiles from bounding box
#!/usr/bin/python
from collections import defaultdict
from pathlib import Path
import requests
valhalla_tiles = [{'level': 2, 'size': 0.25}]
@quietvoid
quietvoid / PKGBUILD
Last active February 14, 2024 12:48
vapoursynth-plugin-bm3dhip-git
# Maintainer: Gustavo Alvarez <[email protected]>
# Maintainer: quietvoid <[email protected]>
_plug=bm3dhip
pkgname="vapoursynth-plugin-${_plug}-git"
pkgver=2.13.15.g2c18cfa
pkgrel=1
pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)"
arch=('x86_64')
url='https://github.com/WolframRhodium/VapourSynth-BM3DCUDA'