Skip to content

Instantly share code, notes, and snippets.

View AlexAllocated's full-sized avatar

Alex Ford AlexAllocated

View GitHub Profile
@AlexAllocated
AlexAllocated / niri-idle-renderer-cache-cleanup.patch
Created October 27, 2026 08:39
Niri idle renderer-cache cleanup: unchanged mirror of RiversJin's patch from PR #4550 (commit 4da66421fe745aed1d6442b844ff20aa3ac7ebe6).
From 4da66421fe745aed1d6442b844ff20aa3ac7ebe6 Mon Sep 17 00:00:00 2001
From: RiversJin <riversjin1999@gmail.com>
Date: Tue, 8 Sep 2026 14:00:28 +0800
Subject: [PATCH] Clean up renderer caches from the fallback timer
---
src/backend/mod.rs | 19 ++++++++
src/backend/tty.rs | 26 ++++++++++-
src/niri.rs | 5 +++
src/tests/mod.rs | 1 +
/**
* Calculates the date of Easter Sunday for a given year in the Gregorian calendar.
*
* The method used is the Anonymous Gregorian algorithm (also known as Computus),
* which calculates Easter as the first Sunday after the first ecclesiastical full moon
* that occurs on or after March 21.
*
* @param year The year for which to calculate Easter Sunday (e.g., 2024).
* @returns A Date object representing Easter Sunday for the given year.
*/
const axios = require("axios");
const dotenv = require("dotenv");
dotenv.config();
const baseUrl = "https://api.stackexchange.com/2.3";
const key = process.env.KEY;
const accessToken = process.env.ACCESS_TOKEN;
const myUserId = // your stack user ID
const targetUserId = // editor user ID;
@AlexAllocated
AlexAllocated / WebGL-WebGPU-frameworks-libraries.md
Last active September 27, 2022 08:15 — forked from dmnsgn/WebGL-WebGPU-frameworks-libraries.md
A collection of WebGL and WebGPU frameworks and libraries

A non-exhaustive list of WebGL and WebGPU frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are wip/outdated/not maintained anymore.

Engines and libraries

Name Stars Last Commit Description
three.js ![GitHub Rep

Myco is an accidental traveller to The City. His creator Stamets, an artificer, had become quite adept at the arcane arts via the use of technology and had begun experimenting with arcane power cores that could provide the energy needed to run sophisticated cognitive algorithms. After 46 tries he was confident the 47th would finally live up to his expectations for a truly self-aware and self-sustaining arcane android. Stamets was enamored with nature and ensuring that technological progress was made only in harmony with the surrounding environment. MYCOBOT-47 was to be the first true marriage of arcane technology and an inherent appreciation of nature and all living things.

Stamets walked into his lab to find his newly-forged mycobot chassis standing motionless in the center of the room. It's tall but sleek and slender frame shimmered beneath the whirling lights of arcane energy housed in the lab's arcane containment unit above. Ready to revolutionize the scientific community Stamets threw the switch! A huge

Texas Hold'em Terminology

ACTION

  • One's turn to act during a hand.
  • To bet or raise.
  • Used to describe a game in which there is a lot of betting and raising.

ALL-IN
A bet that places all of a player's chips into the pot.

[alias]
st = status -sb
ci = commit
br = branch
co = checkout
df = diff
ready = rebase -i @{u}
lg = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'
standup = log --pretty=format:'%Cred%h%Creset -%Creset %s %Cgreen(%cD) %C(bold blue)<%an>%Creset' --since yesterday --author Alex
purr = pull --rebase

Starting Level: 3

Playable Races

  • Aasimar (only one and comes with a catch)
  • Changeling (only one and comes with a catch)
  • Dragonborn
  • Dwarf
  • Elf
  • Firbolg

Create new object called Referral_Submission__c

Fields:

  • Referrer__c

    Referrer__r relationship to Referrer__c object.

  • Lead__c

    Lead__r relationship to Lead object.

  • Opportunity__c > Opportunity__r relationship to Opportunity object.

Campaign Rules

1. Be Respectful & Pay Attention

Please remember that your Game Master has put in time and effort (probably more than you realize) into the campaign you asked to participate in. Be respectful and pay attention. If you are playing other games, browsing social media, chatting, etc. it's more obvious than you probably think and it detracts from everyone's experience. A player being absent is less distracting than a player who can be heard typing in the background for long periods or consistently has no idea what is going on in the game. We understand that people have responsibilities such as kids, partners, work calls, etc. that may need your attention suddenly and that's not an issue unless it happens frequently and you are in a [STRICT] campaign (see rule 2).

2. Respect the [STRICT] Tag

We have different campaign styles and are pretty relaxed in most of them. However, sometimes we want to take a campaign more seriously, particularly if it's an official adventure module. Loo