Skip to content

Instantly share code, notes, and snippets.

@thebino
thebino / Cargo.toml
Last active April 27, 2025 14:51
[Rust] Testing multipart/form-data with axum
[package]
name = "test-multipart"
version = "0.1.0"
edition = "2021"
[dependencies]
axum = { version = "0.6.20", features = ["multipart"] }
tokio = { version = "1.32.0", features = ["full"] }
mime = "0.3.17"
log = "0.4.20"
@half2me
half2me / rem.sh
Created July 25, 2018 11:17
Remove file from PR
git checkout pr-branch
git reset origin/master -- /path/to/file
git commit
git checkout -- . # or git reset --hard @
git push