Skip to content

Instantly share code, notes, and snippets.

View airbreather's full-sized avatar
💭
Wondering why there's a "Set status" button.

Joe Amenta airbreather

💭
Wondering why there's a "Set status" button.
  • Urban Science Applications, Inc.
  • Sterling Heights, Michigan, USA
View GitHub Profile
{
"ignition": {
"version": "3.5.0"
},
"passwd": {
"users": [
{
"name": "core",
"passwordHash": "$y$j9T$XNXhsDOqU0yjoZ6fag8iU0$vtrw716XlFnq4HkvD7RLLCr0A8Q1vPD7bKqlwdwRVC7",
"sshAuthorizedKeys": [
@airbreather
airbreather / plan.md
Last active December 19, 2024 14:35
coreos server install

Rebuild on Fedora CoreOS

https://docs.fedoraproject.org/en-US/fedora-coreos/getting-started

Basics

  1. Base system is immutable by default.
    • /etc is read-write, but the project strongly discourages doing the stupid crap that needs not be mentioned here.
    • /var is read-write, and the place where the magic is expected to happen.
  • /home and /srv are symlinked to locations under /var.
@airbreather
airbreather / worker-stuff.ts
Created August 10, 2024 17:45
Promisify a Web Worker?
type Serializable =
| void
| undefined
| null
| number
| bigint
| string
| boolean
| ReadonlyArray<Serializable>
| Readonly<{ [key: string]: Serializable }>
@airbreather
airbreather / arch-server-install.md
Last active December 28, 2024 19:59
arch-server-install

My Arch Server Install

Based on https://wiki.archlinux.org/title/Installation_guide, retrieved 2024-01-27.

This file will document any changes or details that I make for my own purpose(s).

Minimum needed to get out of console redirection

Important note: this same root password will be used for the system.

@airbreather
airbreather / arch-postinstall
Last active March 10, 2024 15:37
Reminder of things to set up after installing a new Arch-like
assumes a basic desktop environment has been configured.
------------------------------------------------
if there's an applicable backup of my /home, restore:
this file
.zsh_history
.zshrc WITH A RENAME
.gitconfig
.emacs BUT DOUBLE-CHECK NO LOCAL PACKAGE CRAP IS HARDCODED
@airbreather
airbreather / ConsoleApp0.csproj
Last active May 2, 2019 11:05
Testing fetching strings via switch, dictionary and enum attribute
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.2</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="BenchmarkDotNet" Version="0.11.5" />
</ItemGroup>
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net472</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Reference Include="PresentationFramework" />
<Reference Include="System.Xaml" />
@airbreather
airbreather / CLA_NTS.md
Last active October 10, 2018 00:19 — forked from FObermaier/CLA_NTS.md
CLA_NTS

NetTopologySuite Contributor License Agreement

The document below clarifies the terms under which You (the copyright owner or legal entity authorized by the copyright owner), may make "The Contributions" (software, bug fixes, configuration changes, documentation, or any other materials) to "The Work" (one or more projects within the NetTopologySuite organization). This license protects You, "The Company" (NetTopologySuite-Team) and licensees; it does not change your rights to use your own contributions for any other purpose.
Please read and confirm the following information about You and The Contributions. If you have questions about these terms, please contact us at GitHub

You and "The Company" (NetTopologySuite-Team) agree:

  • You grant to "The Company" (NetTopologySuite-Team) a non-exclusive, irrevocable, worldwide, royalty-free, sublicenseable, relicenseable, transferable license under all of Your relevant intellectual property rights, to use,
using System;
using System.Collections.Generic;
namespace M
{
public sealed class MemoizerBuilder<T1, T2, T3, T4, TOut>
{
private readonly Func<T1, T2, T3, T4, TOut> func;
private IEqualityComparer<T1> equalityComparer1;
@airbreather
airbreather / ConsoleApp0.csproj
Last active July 16, 2018 12:34
Does the .NET garbage collector REALLY move tenured objects around? I mean, REALLY?
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net471</TargetFramework>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
</PropertyGroup>
</Project>