Skip to content

Instantly share code, notes, and snippets.

View goneri's full-sized avatar
🇺🇦

Gonéri Le Bouder goneri

🇺🇦
View GitHub Profile
@generic-internet-user
generic-internet-user / wlcursor.md
Last active May 9, 2025 11:18
Wayland Cursor Lag

Wayland Cursor Lag: Just give me a break already...

I no longer consider any of this to be valid, and consider this entire adventure so far to have been intellectually dishonest and filled with questionable assumptions about everything, so, please, if you're reading this and got linked here, stop reading this and tell whoever linked you here to shut the f**k up already.

UPDATE: This (and, therefore, the promised bug reports) has been put on hold until I get around to getting actual evidence with the herein-mentioned RPi Pico + photoresistor setup, which is itself "delayed until further notice" because I simply have better and more important stuff to do[^1] right now.

UPDATE 2: Some madlad actually did it, only for GNOME though but that's still amazing

*UPDATE 3: Apparently, it's like this on purpose, at least

@sallyom
sallyom / local-registry-10-yr-cert-with-SAN.sh
Last active August 15, 2022 17:43
set up a local registry at localhost:5000 (or gcp hostname if in gcp instance uncomment L5, comment L6) with SAN cert good for 10yrs
#!/bin/bash
set -euxo pipefail
trap "rm -rf create-registry-certs" EXIT
# Set up local registry with long-lived certs with SAN
# if in gcp instance
#HOSTNAME=$(curl "http://metadata.google.internal/computeMetadata/v1/instance/hostname" -H "Metadata-Flavor: Google")
HOSTNAME=localhost
sudo dnf -y install podman httpd httpd-tools make
(mazer_0.4.0_py36) [newswoop:F29:jborean-windows]$ mazer list --full
alikins.collection_inspect,0.0.47
alikins.collection_ntp,0.1.182
alikins.collection_reqs_test,2.1113.57
(mazer_0.4.0_py36) [newswoop:F29:jborean-windows]$ mazer list --full --content
alikins.collection_inspect,0.0.47
- roles
- alikins.collection_inspect.test_collection_inspect
- modules
- alikins.collection_inspect.collection_inspect_no_module_utils
@jpbarto
jpbarto / aws_lambda_self_destruct.py
Created December 7, 2016 23:46
AWS Lambda function that deletes itself
import os
import boto3
lclient = boto3.client ('lambda')
print ('function loaded')
def lambda_handler(event, context):
lclient.delete_function (FunctionName = context.function_name)
print ('I am deleted')
return True