Skip to content

Instantly share code, notes, and snippets.

View cisoun's full-sized avatar

Cyriaque Skrapits cisoun

View GitHub Profile
@cisoun
cisoun / gimp.css
Created June 23, 2025 21:14
GIMP Tailwind theme
/* ~/Library/Application Support/GIMP/3.1/gimp.css */
/*
* Tailwind colors
* https://tailwindcolor.com
*/
@define-color stone-0 #0c0a09;
@define-color stone-1 #1c1917;
@define-color stone-2 #292524;
@define-color stone-3 #44403b;
@cisoun
cisoun / mockup-php-api.md
Created June 24, 2025 20:39
Mockup PHP API

Mockup PHP API

Serve a fake customer API as /api/customer/:id with Apache and some PHP.

/srv/http/api/customer/index.php:

<?php
// Simple customer array (simulate a database)
$customers = [
@cisoun
cisoun / coffee-brewers.md
Last active April 29, 2026 12:24
Coffees from Switzerland and elsewhere
@cisoun
cisoun / server.js
Created August 26, 2026 16:54
Minimal Node.js server with JSON support
/**
* Minimal Node.js server with JSON support.
*
* Usage: node server.js
* Client: curl -i -d '{}' 127.0.0.1:8000
*
* NOTES:
* - `Request` and `Response` classes can be extended. For instance, you can
* extend `Request` to override `json` function in order to raise a
* specific custom error on parsing failure. You'll need then to reconfigure