I hereby claim:
- I am torkleyy on github.
- I am torkleyy (https://keybase.io/torkleyy) on keybase.
- I have a public key ASBJCJpHMosVjzd4eE0JLDW2XmLwl_68OSO6JR9-PvbtZwo
To claim this, I am signing this object:
| //! High-performance UART reader that uses a dedicated thread to ensure no data is lost. | |
| use std::{ | |
| collections::VecDeque, | |
| io::{ErrorKind, Result}, | |
| pin::Pin, | |
| task::{Context, Poll}, | |
| thread, | |
| time::Duration, | |
| }; |
| // Following crates are needed: | |
| // sha2, serde, bincode | |
| use serde::Serialize; | |
| #[derive(Serialize)] | |
| struct MyType { | |
| // some fields | |
| } |
| #! /usr/bin/env bash | |
| # Script to install NixOS from the Hetzner Cloud NixOS bootable ISO image. | |
| # (tested with Hetzner's `NixOS 20.03 (amd64/minimal)` ISO image). | |
| # | |
| # This script wipes the disk of the server! | |
| # | |
| # Instructions: | |
| # | |
| # 1. Mount the above mentioned ISO image from the Hetzner Cloud GUI |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "DEU": "de", | |
| "CHN": "zh", | |
| "GRC": "el", | |
| "EST": "et", | |
| "HRV": "hr", | |
| "LVA": "lv", | |
| "LTU": "lt", | |
| "ROU": "ro", | |
| "ITA": "it", |
| ($num:expr;$($field:ident),*;$($rev:ident),*) => { | |
| impl<$($field,)*> Pop for ($($field,)*) | |
| where | |
| $($field: Pop),* | |
| { | |
| fn tag() -> Ty { | |
| unreachable!() | |
| } | |
| fn pop_tags(stack: &mut Stack) -> Result<()> { |
| use std::ptr::write; | |
| #[derive(Clone, Copy, Debug)] | |
| #[repr(C)] | |
| struct FatPtr { | |
| ptr: *mut (), | |
| extra: *const (), | |
| } | |
| trait Foo { |
setup PRMetaTable PRspecs_gsf (postponed until Specs is published)gsf ready for the first release| trait Foo { | |
| fn method(&self); | |
| } | |
| trait Cast<T> { | |
| fn cast(t: &T) -> &Self; | |
| fn cast_mut(t: &mut T) -> &mut Self; | |
| } |
| use specs::System; | |
| use specs::SystemData; | |
| pub struct InstrumentedSystem<T> { | |
| pub system: T, | |
| } | |
| impl<T> InstrumentedSystem<T> { | |
| pub fn new(system: T) -> Self { | |
| InstrumentedSystem { |