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
@airbreather
airbreather / arch-server-install.md
Last active April 21, 2024 01:47
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>
using System;
using System.Numerics;
// <PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="4.4.0" />
using static System.Runtime.CompilerServices.Unsafe;
namespace TheAbyss
{
class Program
{
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace AirBreather.Madness
{
[StructLayout(LayoutKind.Sequential, Pack = 1)]
public struct SlenderList<T>
{
private const int MAX_CNT = 4;
using System;
using System.ComponentModel;
using GeoAPI;
using GeoAPI.Geometries;
using NetTopologySuite.Geometries;
using NetTopologySuite.IO;
namespace ConsoleApp1
{