Skip to content

Instantly share code, notes, and snippets.

View sphaugh's full-sized avatar
🕉️
幸せになりなさい

Sean Haugh sphaugh

🕉️
幸せになりなさい
  • Austin, TX
View GitHub Profile
@sphaugh
sphaugh / cata.ts
Created September 12, 2024 03:19
import { Covariant } from "@effect/typeclass";
import { absurd, dual } from "effect/Function";
import { Kind, TypeLambda } from "effect/HKT";
type Algebra<F extends TypeLambda, R, O, E, A> = (fa: Kind<F, R, O, E, A>) => A;
class Fix<F extends TypeLambda, R, O, E, A> {
constructor(public unfix: Kind<F, R, O, E, Fix<F, R, O, E, A>>) {}
}
@sphaugh
sphaugh / scratch.md
Created April 3, 2025 16:28
Slack vs. Teams
Category Slack (✅ Pros / ❌ Cons) Microsoft Teams (✅ Pros / ❌ Cons)
Cost ❌ Additional cost (not included in MS365) ✅ Included in MS365 (no extra cost)
User Experience (UX) ✅ Clean, intuitive interface; especially good for tech teams ❌ Clunky, can be confusing or slow for new users
Integrations ✅ Best-in-class third-party app ecosystem (GitHub, GCP, etc.) ❌ Weaker support for some third-party integrations

To completely disable a service in systemd (so it doesn't start automatically and can't be started by dependencies), follow these steps:


🔧 1. Disable the service

This stops it from starting automatically on boot:

sudo systemctl disable <service-name>