From 7981241a013b88f69e6eb692c09a382d7b5417e3 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 3 Dec 2023 19:42:00 -0800 Subject: formatting a few files with treefmt --- configs/ssh-pubkeys.toml | 16 ++++++++-------- configs/wireguard.toml | 2 +- templates/rust/deny.toml | 4 +--- templates/rust/rust-toolchain.toml | 2 +- tools/perf-flamegraph-pid/perf-flamegraph-pid.sh | 6 +++--- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/configs/ssh-pubkeys.toml b/configs/ssh-pubkeys.toml index 6068e38..d14462a 100644 --- a/configs/ssh-pubkeys.toml +++ b/configs/ssh-pubkeys.toml @@ -1,16 +1,16 @@ # this used to be the main key for my laptop -aptos="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl" +aptos = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIdlm/qoR/dnMjZhVSTtqFzkgN3Yf9eQ3pgKMiipg+dl" # this used to be the key I used to sign commits -git="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItMKXWzH00xS7kYJzDCIr/PM9DaZw+imK/byjrY5WNv" +git = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIItMKXWzH00xS7kYJzDCIr/PM9DaZw+imK/byjrY5WNv" # this is the key from work -work="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINSWhXmnUplM+xltD0sYiJ6AsjkwHvbjTYLA7GHXHja9" +work = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINSWhXmnUplM+xltD0sYiJ6AsjkwHvbjTYLA7GHXHja9" -ykey-laptop="sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIGX4+CuUjiX6Doi4n6RqmznzFUyRrxKhEFvuIxROzXDKAAAABHNzaDo=" -ykey-keyring="sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDnU4Xd8bElZYVWDbknlIgskR/q7ORrbvO0FLnJMQX+eAAAABHNzaDo=" -ykey-backup="sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAINEGiZpKcXQtB7P7k5puV5OAeMlnB7qRLm+HRI5/OKTbAAAABHNzaDo=" +ykey-laptop = "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIGX4+CuUjiX6Doi4n6RqmznzFUyRrxKhEFvuIxROzXDKAAAABHNzaDo=" +ykey-keyring = "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIDnU4Xd8bElZYVWDbknlIgskR/q7ORrbvO0FLnJMQX+eAAAABHNzaDo=" +ykey-backup = "sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAINEGiZpKcXQtB7P7k5puV5OAeMlnB7qRLm+HRI5/OKTbAAAABHNzaDo=" # this key is used to perform backups -restic="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/0b3IjqeCHQ+b4qZoptrmG/twV4Zj4BIH1yl7Y5cW9" +restic = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/0b3IjqeCHQ+b4qZoptrmG/twV4Zj4BIH1yl7Y5cW9" # 1password -op="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF9r1KALhtItqMjxHQS0/5eWJm4UF/i38QATZIi1Pqm2" +op = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIF9r1KALhtItqMjxHQS0/5eWJm4UF/i38QATZIi1Pqm2" diff --git a/configs/wireguard.toml b/configs/wireguard.toml index f1ed81e..7a9fc6a 100644 --- a/configs/wireguard.toml +++ b/configs/wireguard.toml @@ -6,7 +6,7 @@ ipv4 = 110 key = "DP3caAlh07OOU61u2L2QfEhakt/mVEGrMBVONNvpNhU=" [peers.carmel] -ipv4= 1 +ipv4 = 1 key = "ifqsPWcc8nxwgpxRHmP6OUtvVYNQJj/CW8QIuxWqXGU=" externalIp = "192.168.0.1" diff --git a/templates/rust/deny.toml b/templates/rust/deny.toml index fd95cdb..acefd37 100644 --- a/templates/rust/deny.toml +++ b/templates/rust/deny.toml @@ -24,9 +24,7 @@ registries = [] [[licenses.clarify]] name = "ring" expression = "MIT AND ISC AND OpenSSL" -license-files = [ - { path = "LICENSE", hash = 0xbd0eed23 } -] +license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }] [bans] multiple-versions = "warn" diff --git a/templates/rust/rust-toolchain.toml b/templates/rust/rust-toolchain.toml index e7ae097..cc8f987 100644 --- a/templates/rust/rust-toolchain.toml +++ b/templates/rust/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] channel = "1.64.0" -components = [ "rustfmt", "clippy" ] +components = ["rustfmt", "clippy"] diff --git a/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh b/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh index 141ceec..2ca3d16 100755 --- a/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh +++ b/tools/perf-flamegraph-pid/perf-flamegraph-pid.sh @@ -15,6 +15,6 @@ sudo perf record -g --call-graph dwarf --freq max --output "${OUT_DATA}" "$@" # give me ownership of the file sudo chown "${USER}" "${OUT_DATA}" -perf script --input "${OUT_DATA}" | \ - stackcollapse-perf.pl | \ - flamegraph.pl > "${OUT_SVG}" +perf script --input "${OUT_DATA}" | + stackcollapse-perf.pl | + flamegraph.pl >"${OUT_SVG}" -- cgit 1.4.1