Skip to content

Instantly share code, notes, and snippets.

https://www.reddit.com/r/veganfitness/comments/1370nr6/vegans_had_higher_testosterone_levels_than_meat/
https://twitter.com/consciousmuscle
https://twitter.com/AlexOsti
https://twitter.com/vegan_logic
https://www.reddit.com/r/veganfitness/comments/12vveq8/9_years_vegan_next_month/
@Buccaneersdan
Buccaneersdan / mousewheeldragscrollX11.py
Created January 31, 2023 17:13
Enable scrollwheel-click to scroll via dragging und X11 (requires python lib plumbum and linux binary xinput)
from plumbum import local
class Candidate:
name = ""
id = -1
def __init__(self, name, id):
self.name = name
@Buccaneersdan
Buccaneersdan / CamelCaseJson.php
Last active August 8, 2022 22:49
A middleware that transforms columns in Laravel-JsonResponses from snake-case to camel-case recursively
<?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Http\JsonResponse;
use stdClass;
use Illuminate\Support\Str;
class CamelCaseJson
# ==============================================
# Install cert-manager with a self-signed-issuer
# In response to the medium-article of Loïc Fache
# about how to install k3s+traefic2:
# https://medium.com/@fache.loic/k3s-traefik-2-9b4646393a1c
# ==============================================
# -------------------------------------------------
# I was so bold to collect the below commands from