Skip to content

Instantly share code, notes, and snippets.

View sokai's full-sized avatar
💭
I may be slothy, while looking on 🐑

sokai

💭
I may be slothy, while looking on 🐑
View GitHub Profile
@sokai
sokai / 4872.php
Last active June 18, 2025 10:14
LibreSign: Issue Helper Script
<?php declare(strict_types=1);
/**
* Some CHECKs and TESTS for https://github.com/LibreSign/libresign/issues/4872
* FYI: this code is very hacky …!
*
* SETUP
* 1. Put this script/file on your server, so it is available by your PHP CLI user and in the browser
* * Example (= $SCRIPTPATH): $NCROOTPATH/4872.php
* 2. Change the CONFIG part in this script: