Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@storopoli
storopoli / 9barista_coffee.md
Created December 28, 2021 22:07
9Barista Coffee

9Barista Coffee

  1. 120mL Water
  2. 18g Coffee
  3. Tamping — firm push downwards — around 5kg of force is enough
  4. Medium to High Heat — closest to 3in in diameter
  5. Expresso should be 35-40mL
  6. Pour your espresso straight away

Grinder

@storopoli
storopoli / chomebook.md
Last active January 30, 2024 18:12
Life with a Chromebook (arm64)
@storopoli
storopoli / Cargo.toml
Created January 30, 2024 21:04
Rust Linters
[lints.rust]
unsafe_code = "forbid" # Forbid unsafe code
[lints.clippy]
enum_glob_use = "deny" # Deny `use Enum::*`
pedantic = "deny" # Deny a bunch of stuff
nursery = "deny" # Deny another bunch of stuff
unwrap_used = "deny" # Deny `.unwrap()`
[profile.release]
@storopoli
storopoli / default.nix
Created February 15, 2024 18:59
Custom Rust in Nix Shell
with import <nixpkgs> { overlays = [ (import <rust-overlay>) ]; };
mkShell {
nativeBuildInputs = [
bashInteractive
rust-bin.nightly.latest.default # or any other
];
}
@storopoli
storopoli / .vimrc
Last active February 20, 2024 12:39
vimrc
" vim:set ts=2 sts=2 sw=2 expandtab:
call plug#begin()
Plug 'tpope/vim-sensible'
Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'
Plug 'prabirshrestha/asyncomplete.vim'
Plug 'hrsh7th/vim-vsnip'
Plug 'hrsh7th/vim-vsnip-integ'
Plug 'rafamadriz/friendly-snippets'
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
@storopoli
storopoli / init.lua
Last active March 4, 2024 09:59
Minimal Neovim config
-------------------------------------------------------------------------------
-- DEPENDENCIES
-- neovim nodejs ripgrep rust-analyzer
-- 21 Plugins
-- ~33ms startup
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
-- Options
@storopoli
storopoli / dioxus.json
Last active March 29, 2024 11:47
Devcontainers Configs
{
"name": "Dioxus",
"image": "mcr.microsoft.com/devcontainers/base:debian",
"features": {
"ghcr.io/devcontainers/features/rust:1": {},
"ghcr.io/lee-orr/rusty-dev-containers/wasm32-unknown-unknown:0": {},
"ghcr.io/lee-orr/rusty-dev-containers/dioxus:0": {}
},