Skip to content

Instantly share code, notes, and snippets.

View lovell's full-sized avatar

Lovell Fuller lovell

View GitHub Profile
@lovell
lovell / +page.svelte
Created March 29, 2024 12:49
Runes lampoons
<script lang="ts">
const ᛋ = $state;
const ᚦ = $derived;
type ᛒ = boolean;
type ᚿ = number;
let ᛅ = ᛋ<ᚿ>(1);
let ᚯ = ᚦ<ᛒ>(ᛅ > 0);
</script>
From 6a795a5aa5bea94d544d3668caaf1c64881aaa1a Mon Sep 17 00:00:00 2001
From: Lovell Fuller <github@lovell.info>
Date: Thu, 11 Jan 2024 13:20:15 +0000
Subject: [PATCH] Ensure thread stack size is at least 256 KB
This matches the behaviour of the Alpine Linux patch
https://git.alpinelinux.org/aports/tree/main/aom/fix-stack-size-e53da0b.patch
---
aom_util/aom_thread.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/gio/gsettingsschema.c b/gio/gsettingsschema.c
index ec0caf655..c6799a2ba 100644
--- a/gio/gsettingsschema.c
+++ b/gio/gsettingsschema.c
@@ -551,58 +551,7 @@ start_element (GMarkupParseContext *context,
static gchar *
normalise_whitespace (const gchar *orig)
{
- /* We normalise by the same rules as in intltool:
- *
@lovell
lovell / keybase.md
Last active November 19, 2019 12:30

Keybase proof

I hereby claim:

  • I am lovell on github.
  • I am lovell (https://keybase.io/lovell) on keybase.
  • I have a public key ASDyHdglKFDPmDjCqgwaDhncnq6gKoB3OLcXHoeu3BBccAo

To claim this, I am signing this object:

var exec = require('child_process').exec
var async = require('async');
var sharp = require('sharp');
sharp.cache(0);
var tasks = 0;
console.log('RSS: ' + process.memoryUsage().rss);
{
'targets': [{
'target_name': 'sharp',
'sources': ['src/sharp.cc'],
'libraries': [
'<!@(PKG_CONFIG_PATH="/usr/local/Library/ENV/pkgconfig/10.8:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig" pkg-config --libs vips)',
],
'include_dirs': [
'/usr/local/include/glib-2.0',
'/usr/local/lib/glib-2.0/include',
L.LayerGroup.include({
setText: function(text, options) {
for (var layer in this._layers) {
this._layers[layer].setText(text, options);
}
}
});