Skip to content

Instantly share code, notes, and snippets.

@michalhosna
michalhosna / Cargo.toml
Last active November 12, 2025 11:00
Nanlite nRF24 Intesity+CCT control Rust minimal example
[package]
name = "nanlite-nrf24"
version = "0.1.0"
edition = "2021"
[dependencies]
rf24-rs = { version = "0.3.1" , features = ["std"]}
linux-embedded-hal = { version = "0.4.0", features = ["spi", "gpio-cdev"]}
@michalhosna
michalhosna / configuration.master.nix
Last active April 6, 2020 19:20
Nix for kubernetes
{ config, pkgs, ... }:
let
kubeMasterHostname = "master.boson";
kubeMasterAPIServerPort = 8443;
in
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
@michalhosna
michalhosna / .vimrc
Last active February 25, 2020 22:34
Public version of .zshrc
" Gotta be first
set nocompatible
" --- General settings ---
set backspace=indent,eol,start
set ruler
set number
set showcmd
set incsearch
set hlsearch

Keybase proof

I hereby claim:

  • I am michalhosna on github.
  • I am michalhosna (https://keybase.io/michalhosna) on keybase.
  • I have a public key ASDG6y6ljNn3Og--cQf-I4ChxhRpYXRixmFMQTR4MAbo7Qo

To claim this, I am signing this object: