Skip to content

Instantly share code, notes, and snippets.

View alycda's full-sized avatar

Alyssa Evans alycda

View GitHub Profile
@alycda
alycda / devcontainer.json
Created March 2, 2026 17:52
RustAnalyzer devcontainer with bacon
{
"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",
@alycda
alycda / flake.nix
Last active December 29, 2025 01:00
My ZSH setup as a flake and nix-shell
{
outputs = { self, ... }: {
homeManagerModules.zsh = import ./zsh.nix;
};
}
_:
[
# Development Tools
claude
visual-studio-code
warp
docker-desktop
# Communication Tools
@alycda
alycda / forecast.py
Created November 20, 2025 00:37
forecasting and amortization feature for Beancount
"""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:
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
buildInputs = [ pkgs.cheat ];
shellHook = ''
ln -sf $(pwd)/cheat-config ~/.config/cheat
'';
}
@alycda
alycda / shell.nix
Last active October 23, 2025 03:44
Nix
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
#!/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};
@alycda
alycda / devcontainer.json
Created May 7, 2025 00:39
Rust Dev Container
{
"image": "mcr.microsoft.com/devcontainers/universal:2",
"features": {
"ghcr.io/devcontainers/features/rust:1": {
"version": "latest",
"profile": "complete"
}
},
"customizations": {
"vscode": {
@alycda
alycda / VSCode_extensions.json
Last active January 4, 2026 03:39
settings, extensions and launch configurations
{
// See https://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"eamodio.gitlens",
"rust-lang.rust-analyzer"
]
}
@alycda
alycda / .zprofile
Created January 29, 2025 18:20
ZSH
eval "$(/opt/homebrew/bin/brew shellenv)"