Portenta H7
- Bottom: Tx
- Top: Rx
Tx from Arduino Portenta H7
# ┌───────────── Minute (0 - 59) | |
# │ ┌─────────── Hour (0 - 23) | |
# │ │ ┌───────── Date (1 - 31) | |
# │ │ │ ┌─────── Month (1 - 12) | |
# │ │ │ │ ┌───── Day of Week (0 - 7,0 Sunday,6 Saturday,7 Sunday) | |
# │ │ │ │ │ | |
0 0 * * * /etc/rc.restart_webgui |
ssh-keygen -o -a 500 -t ed25519 -f ~/.ssh/id_ed25519 -C "foo@bar.com"
Ref: https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54
async fn accept_form(Form(input): Form<Input>, state: Extension<AppState>) -> Response<Body> { | |
dbg!(&input); | |
match save_form(&input, &state).await { | |
Ok(_) => (), | |
Err(e) => tracing::error!("Failed: {:?}", e), | |
} | |
let mut response = Response::builder() | |
.status(StatusCode::SEE_OTHER) |
--- | |
criticalpatterns: | |
- 'pam_unix[\w\d\D]*failure' | |
- 'gkr-pam[\w\d\D]*invalid' | |
- 'USER_AUTH[\w\d\D]*pam_gnome_keyring[\w\d\D]*failed' | |
criticalexceptions: | |
- 'timestamp:".*",level:"(error|warn)"' | |
- '0 errors' |
use std::cell::UnsafeCell; | |
use std::sync::atomic::{AtomicBool, Ordering}; | |
const LOCKED: bool = true; | |
const UNLOCKED: bool = false; | |
pub struct Mutex<T> { | |
locked: AtomicBool, | |
v: UnsafeCell<T>, | |
} |
Error whilst running `./x.py test --keep-stage 1 library/alloc/` | |
```rust | |
Updating only changed submodules | |
Submodules updated in 0.01 seconds | |
Building stage0 std artifacts (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) | |
Copying stage0 std from stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu / x86_64-unknown-linux-gnu) | |
Testing alloc stage0 (x86_64-unknown-linux-gnu -> x86_64-unknown-linux-gnu) | |
running 265 tests |
#![feature(const_trait_impl, const_fn_trait_bound)] | |
fn main() { | |
println!("Howdy partner?"); | |
let mut x = bar::<i32>; | |
println!("{}", std::mem::size_of_val(&x)); | |
baz(bar::<u32>); | |
baz(bar::<i32>); | |
//quox(bar::<u32>); | |
make_fn()(); |
# frozen_string_literal: true | |
source "https://rubygems.org" | |
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" } | |
gem "faraday" | |
gem "json" | |
group :test do |