Skip to content

Instantly share code, notes, and snippets.

View richo's full-sized avatar

richö butts richo

View GitHub Profile
c50e07ad2bc2245c30037034f940581ad18b15d084b0702b33242fff7015ee34 ./filelock.py
7a6de49c00d8ed2ba55c6967d3643c5ef729f5e562fb51e47e4f41c6cdb5c92a ./files/bin/wine
1a306ddc7ef683966514e20571533e2da76cd55620ce17835bddd1be7c591815 ./files/bin/wineserver
f66cc786deffb8bacea61502fafc37e41eb0765a80f566cfd080c806939e9c9f ./files/lib/i386-linux-gnu/gstreamer-1.0/libgstadder.so
c9f4751408c1465fbb55f50ab717e859afa270a8bee92fbe4c8bacdaf88baa03 ./files/lib/i386-linux-gnu/gstreamer-1.0/libgstapetag.so
3d4eb4643d0f1555f2bf216a93017933bd5f65a4054b820a18b6f3c2782d291c ./files/lib/i386-linux-gnu/gstreamer-1.0/libgstapp.so
f4df6341ee33945db546d0650b8a64fc3cd90489c0e7f97cc332cea995a6dbcd ./files/lib/i386-linux-gnu/gstreamer-1.0/libgstaudioconvert.so
7d925b10a61cafa5f4b605354dd007b4546d294654e7231e1c16bb360b777c7d ./files/lib/i386-linux-gnu/gstreamer-1.0/libgstaudioparsers.so
22a238bd8d2cc53e0c7397ce8552c1465e3d39e943ddb70feff072921ad04a79 ./files/lib/i386-linux-gnu/gstreamer-1.0/libgstaudioresample.so
0dc8ce318c881d458ab
@richo
richo / pants1.jpeg
Last active October 25, 2023 01:48
Stuff For Sale
pants1.jpeg
fn check_signature(&self, key: &ed25519_dalek::PublicKey) -> StdResult<(), ed25519_dalek::ed25519::Error> {
let bytes = self.details_as_proto()
.expect("Couldn't serialize details");
let res = key.verify(&bytes, self.signature());
dbg!(&res);
return res
}
@richo
richo / lib.rs
Created December 27, 2020 01:01
struct Thing {
inner: Inner,
}
struct Inner {
name: Composite,
}
struct Composite {
t1: String,
@richo
richo / lib.rs
Created November 17, 2020 04:09
pub enum Thing {
Lol {
name: String,
other: u64,
},
Haha {
name: String,
whatever: i8,
}
}
impl PathWithTransform for RemotePathDescriptor {
type Output = RemotePathDescriptor;
fn with_modification<T: AsTransform>(&self, detail: &T) -> RemotePathDescriptor {
use RemotePathDescriptor::*;
let tweak = detail.as_transform().tweak_name();
match self {
dt @ DateTime { .. } => dt.clone(),
dn @ DateName { .. } => {
let new = dn.clone();
impl<T: Into<U>, U: DescriptorNameable> DescriptorNameable for T {
fn staging_name(&self) -> String {
self.into().staging_name()
}
fn manifest_name(&self) -> String {
self.into().manifest_name()
}
fn remote_path(&self) -> PathBuf {
@richo
richo / lib.rs
Last active November 11, 2020 03:44
use web_sys;
use web_sys::{Request, RequestInit, RequestMode, Response, Element};
mod utils;
use wasm_bindgen::prelude::*;
use wasm_bindgen::JsCast;
use wasm_bindgen_futures::JsFuture;
use stokepile_shared::staging::StagedFile;
@richo
richo / mountv2.stl
Created April 13, 2020 19:44
ipad mount
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.