This file contains 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
use std::io::{self, BufReader}; | |
use flate2::read::GzDecoder; | |
use std::io::prelude::*; | |
use std::fs::File; | |
use rustc_hash::FxHashMap; | |
use base64::{decode_config_slice, STANDARD}; | |
// cat /home/pi/2022_place_canvas_history.csv.gzip | gunzip | wc -c | |
// 21714634193 | |
// ~22 GB |
This file contains 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
rsync --human-readable --filter=':- .gitignore' -va ~ /run/media/moritz/556480d6-66a0-4305-a908-09136a807742/$(date +"%F") | |
rsync --human-readable --filter=':- .gitignore' -va --link-dest=/run/media/moritz/556480d6-66a0-4305-a908-09136a807742/2022-05-05 ~ /run/media/moritz/556480d6-66a0-4305-a908-09136a807742/$(date +"%F") |
This file contains 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
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBxNx8xK5OeYS03ug7APw/llyd/W4F7GkbtMgO+Z+ZOn [email protected] |
This file contains 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
[package] | |
name = "doctests_proc_macro" | |
version = "0.1.0" | |
edition = "2021" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | |
[lib] | |
proc-macro = true |
This file contains 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
rent server at hetzner, nürnberg, fedora, dedicated, ccx43 (DONT FORGET TO CANCEL) | |
ssh [email protected] | |
dnf update | |
useradd -m -G wheel moritz | |
passwd moritz | |
sudo mkdir -p /home/moritz/.ssh | |
sudo chmod 700 /home/moritz/.ssh | |
sudo cp /root/.ssh/authorized_keys /home/moritz/.ssh/authorized_keys | |
sudo chown -R moritz:moritz /home/moritz/.ssh |
This file contains 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
#import "@preview/touying:0.4.2": * | |
#import "tuda-beamer-2023-theme.typ" | |
#let s = tuda-beamer-2023-theme.register(aspect-ratio: "16-9") | |
#let s = (s.methods.info)( | |
self: s, | |
title: [Abc], | |
short-title: [Titel], | |
subtitle: [Subtitle], |