This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| { | |
| "name": "Rust Development", | |
| "image": "mcr.microsoft.com/devcontainers/rust:1-bookworm", | |
| "customizations": { | |
| "vscode": { | |
| "extensions": [ | |
| "anthropic.claude-code", | |
| "rust-lang.rust-analyzer", | |
| "tamasfe.even-better-toml", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| outputs = { self, ... }: { | |
| homeManagerModules.zsh = import ./zsh.nix; | |
| }; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _: | |
| [ | |
| # Development Tools | |
| claude | |
| visual-studio-code | |
| warp | |
| docker-desktop | |
| # Communication Tools |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| """Adding a forecasting and amortization feature to Beancount via a plugin | |
| see https://github.com/beancount/beancount/blob/ab3fdc613fd408e5f6d8039b2fe7eb37c0b31a5e/experiments/plugins/forecast.py | |
| also https://github.com/beancount/beancount/blob/d841487ccdda04c159de86b1186e7c2ea997a3e2/beancount/parser/lexer.l#L127-L129 | |
| This entry filter plugin uses existing syntax to define and automatically | |
| insert future transactions based on a convention. | |
| A User can create a transaction like this: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {} }: | |
| pkgs.mkShell { | |
| buildInputs = [ pkgs.cheat ]; | |
| shellHook = '' | |
| ln -sf $(pwd)/cheat-config ~/.config/cheat | |
| ''; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let | |
| nixpkgs = fetchTarball "https://github.com/NixOS/nixpkgs/tarball/nixos-24.05"; | |
| pkgs = import nixpkgs { config = {}; overlays = []; }; | |
| in | |
| # https://nixos.org/manual/nixpkgs/unstable/#sec-pkgs-mkShell-variants | |
| pkgs.mkShellNoCC { | |
| packages = with pkgs; [ | |
| cowsay | |
| lolcat |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env -S cargo +nightly -Zscript | |
| ---cargo | |
| [dependencies] | |
| smol = "2" | |
| --- | |
| use std::fmt::Debug; | |
| use std::future::{self, Future}; | |
| use std::time::Duration; | |
| use smol::{Timer, io}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "image": "mcr.microsoft.com/devcontainers/universal:2", | |
| "features": { | |
| "ghcr.io/devcontainers/features/rust:1": { | |
| "version": "latest", | |
| "profile": "complete" | |
| } | |
| }, | |
| "customizations": { | |
| "vscode": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| // See https://go.microsoft.com/fwlink/?LinkId=827846 | |
| // for the documentation about the extensions.json format | |
| "recommendations": [ | |
| "eamodio.gitlens", | |
| "rust-lang.rust-analyzer" | |
| ] | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| eval "$(/opt/homebrew/bin/brew shellenv)" |
NewerOlder