Skip to content

Instantly share code, notes, and snippets.

View Eastwooder's full-sized avatar

Mario Fleischhacker Eastwooder

View GitHub Profile
@Eastwooder
Eastwooder / cargo_no_wasm
Created January 13, 2025 18:52 — forked from dgerrells/cargo_no_wasm
how fast is rust
[package]
name = "how_fast_is_rust"
version = "0.1.0"
edition = "2021"
[dependencies]
minifb = "0.27"
rand = "0.8"
wasm-bindgen = "0.2.95"
@Eastwooder
Eastwooder / Cargo.toml
Created January 6, 2025 21:49
Using Starlark as plugin language for rust
[package]
name = "starlark-playground"
version = "0.1.0"
edition = "2021"
[dependencies]
allocative = "0.3.4"
indoc = "2.0.5"
starlark = "0.13.0"
@Eastwooder
Eastwooder / a_help-osx-borked-my-nix.md
Created September 21, 2023 11:43 — forked from meeech/a_help-osx-borked-my-nix.md
Some steps to (hopefully) help you fix your Nix install on OS X after an upgrade.

Apple Borked my Nix!

Ok, so you've had nix (home-manager) working fine. Then Apple tells you it's time to update.

Ok. Reboot. Oops. It has now broken your Nix setup. Here's some stuff to work through. YMMV.

Note: This is what worked for me, who was just using nix + home-manager. The upgrade that I last did that caused all these issues was 12.3.X > 12.4

Useful Links

@Eastwooder
Eastwooder / conventional_commit_messages.md
Created September 21, 2023 04:04 — forked from qoomon/conventional-commits-cheatsheet.md
Conventional Commit Messages

Conventional Commit Messages

See how a minor change to your commit message style can make a difference. Examples

Have a look at CLI util git-conventional-commits to ensure this conventions and generate changelogs

Commit Formats

Default

/**
* MIT License
*
* Copyright (c) 2018 Chris Passarello <www.insecurity.co>
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is