Skip to content

Instantly share code, notes, and snippets.

@kodfodrasz
kodfodrasz / 01_build.sh
Created October 18, 2024 07:02 — forked from Arnavion/01_build.sh
steam in podman container
# ~/src/non-oss-container/build.sh
#!/bin/bash
set -euo pipefail
mkdir -p ~/non-oss-root/
podman image rm --force localhost/non-oss || :
@kodfodrasz
kodfodrasz / install.ps1
Last active May 7, 2024 15:46
basic tools to instal on a new machine
# Define a here-string with package names, including some commented lines
$packageList = @"
### COMMUNICATIONS ###
Google.Chrome
Mozilla.Firefox
Mozilla.Thunderbird
Telegram.TelegramDesktop
### OFFICE PRODUCTIVITY ###
SumatraPDF.SumatraPDF

Keybase proof

I hereby claim:

  • I am kodfodrasz on github.
  • I am kodfodrasz (https://keybase.io/kodfodrasz) on keybase.
  • I have a public key ASAWwi9CN5kdxNgzd4VhIH9bM9sUY0trhs4qsSNln35-fgo

To claim this, I am signing this object:

@kodfodrasz
kodfodrasz / effective-fsharp.md
Created February 27, 2021 18:15 — forked from swlaschin/effective-fsharp.md
Effective F#, tips and tricks

Architecture

  • Use Onion architecture

    • Dependencies go inwards. That is, the Core domain doesn't know about outside layers
  • Use pipeline model to implement workflows/use-cases/stories

    • Business logic makes decisions
    • IO does storage with minimal logic
    • Keep Business logic and IO separate
  • Keep IO at edges