Skip to content

Instantly share code, notes, and snippets.

View srl295's full-sized avatar
:octocat:
`git bisect run make -j${CORES-1}`

Steven R. Loomis srl295

:octocat:
`git bisect run make -j${CORES-1}`
View GitHub Profile
@srl295
srl295 / subtypemap.txt
Last active April 19, 2024 18:17
CLDR Subtype Map
# -*- BEGIN CheckCLDR.Subtype Mapping -*-
# Format is URL "http..." followed by Subtype values, the latter separated by whitespace (linebreaks or spaces). commas are ignored.
# Trailing commas are allowed and ignored
# Each of the Subtypes is covered by documentation at that URL.
# Comment lines must START with a #, because # is used for HTML fragments.

|| type || code || status || count || codes || ||--------||------||--------||-------||-------|| || region || region || officially_assigned || 249 || AD-AG AI AL-AM AO AQ-AU AW-AX AZ BA-BB BD-BJ BL-BO BQ-BT BV-BW BY-BZ CA CC-CD CF-CI CK-CO CR CU-CZ DE DJ-DK DM DO DZ EC EE EG-EH ER-ET FI-FK FM FO FR GA-GB GD-GI GL-GN GP-GU GW GY HK HM-HN HR HT-HU ID-IE IL-IO IQ-IT JE JM JO-JP KE KG-KI KM-KN KP KR KW KY-KZ LA-LC LI LK LR-LV LY MA MC-MH MK-MZ NA NC NE-NG NI NL NO-NP NR NU NZ OM PA PE-PH PK-PN PR-PT PW PY QA RE RO RS RU RW SA-SE SG-SO SR-ST SV SX-SZ TC-TD TF-TH TJ-TO TR TT TV-TW TZ UA UG UM US UY-UZ VA VC VE VG VI VN VU WF WS YE YT ZA ZM ZW || || region || region || exceptionally_reserved || 7 || AC CP-CQ DG EA IC TA || || region || privateUse || private_use || 2 || XK ZZ || || macroregion || region || exceptionally_reserved || 3 || EU EZ UN || || mac

@srl295
srl295 / configuration.nix
Created December 29, 2023 18:04
disko-images test
# configuration.nix
{ config, modulesPath, pkgs, lib, ... }:
{
## imports = [ (modulesPath + "/profiles/qemu-guest.nix") ];
# networking.hostName = "nix";
networking.useDHCP = true;
boot.kernelParams = ["console=ttyAMA0,115200n8" "console=tty0"];
boot.consoleLogLevel = lib.mkDefault 7;
@srl295
srl295 / scancodes.json
Created September 29, 2023 00:01
scancodes for #9615
[
{
"scan": "0A",
"vname": "K_9",
"vcode": 57
},
{
"scan": "0B",
"vname": "K_0",
"vcode": 48
@srl295
srl295 / TestSanity.java
Created July 19, 2023 19:26
Crazy broken file
/*
*
This project is released under the free and open-source [Unicode License](./LICENSE), also known as _Unicode, Inc. License Agreement - Data Files and Software_. Note that some CLDR tools depend on libraries managed via Maven; use of these libraries is governed by separate license agreements.
SPDX-License-Identifier: Unicode-DFS-2016
### Copyright
Copyright © 1991-2023 Unicode, Inc.
All rights reserved.
@srl295
srl295 / failure.txt
Created March 2, 2023 16:28
failed upgrade from mysql 8.0.30 to 8.0.32
$ mysqld --upgrade=FORCE
[System] [MY-010116] [Server] /usr/local/Cellar/mysql/8.0.32/bin/mysqld (mysqld 8.0.32) starting as process 43318
[System] [MY-013577] [InnoDB] InnoDB initialization has ended.
[System] [MY-013381] [Server] Server upgrade from '80030' to '80032' started.
[Warning] [MY-011836] [InnoDB] sdi_delete failed: Record Doesn't exist: tablespace_id: 1 Key: 1 5997
[ERROR] [MY-013178] [Server] Execution of server-side SQL statement '-- Copyright (c) 2018, 2022, Oracle and/or its affiliates. -- -- This program is free software; you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation; version 2 of the License. -- -- This program is distributed in the hope that it will be useful, -- but WITHOUT ANY WARRANTY; without even the implied warranty of -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -- GNU General Public License for more details. -- -- You should have received a copy of the GNU General Pub
@srl295
srl295 / v43_known_issues.md
Last active February 15, 2023 16:54
CLDR v43 Known Issues CLDR-14587
@srl295
srl295 / diffs.diff
Created January 28, 2023 01:59
Generated diff with cldrmodify -fR skipping copyright
This file has been truncated, but you can view the full file.
diff --git a/common/main/af.xml b/common/main/af.xml
index 6297cf97e6..f01053b02d 100644
--- a/common/main/af.xml
+++ b/common/main/af.xml
@@ -9455,157 +9455,157 @@ Warnings: All cp values have U+FE0F characters removed. See /annotationsDerived/
</typographicNames>
<personNames>
<nameOrderLocales order="givenFirst">und af</nameOrderLocales>
- <nameOrderLocales order="surnameFirst">ja ko vi yue zh</nameOrderLocales>
- <foreignSpaceReplacement xml:space="preserve"> </foreignSpaceReplacement>
@srl295
srl295 / mt-resolved.xml
Created December 30, 2022 00:32
resolved Maltese for testing
<?xml version="1.0" encoding="UTF-8" standalone="no"?><keyboard conformsTo="techpreview" locale="mt">
<locales>
<!-- English is also an official language in Malta.-->
<locale id="en"/>
</locales>
<info author="Steven R. Loomis" indicator="MT" layout="QWERTY" normalization="NFC"/>
<names>
<name value="Maltese (48-key)"/>
<!-- <name value="MSA 100:2002" /> -->
@srl295
srl295 / Dockerfile
Created August 23, 2022 16:53
Build keyman core on linux via docker
FROM --platform=amd64 ubuntu:latest
USER root
ENV HOME /home/build
ENV DEBIAN_FRONTEND noninteractive
RUN useradd -c "Build user" -d $HOME -m build
RUN apt-get -q -y update && apt-get -q -y upgrade
RUN apt-get -q -y install devscripts equivs
# TODO: assume that linux/debian/control was copied into the same directory
COPY control /tmp/control