create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
use anyhow::{Error, Result}; | |
use async_trait::async_trait; | |
use chrono::{Duration, Utc}; | |
use crb::kit::agent::{Agent, AgentSession, DoAsync, DoSync, Next}; | |
use crb::kit::agent::{RunAgent, Task}; | |
use csv::Writer; | |
use db_dump::{crates::Row, Loader}; | |
use futures::StreamExt; | |
use serde::Serialize; | |
use std::path::PathBuf; |
query ($owner: String!, $after: String) { | |
user (login: $owner) { | |
sponsorshipsAsMaintainer(first: 100, after: $after, includePrivate: true) { | |
totalCount | |
nodes { | |
sponsorEntity { | |
... on User { | |
login | |
} | |
} |
pub mod vectorize { | |
use serde::{Deserialize, Deserializer, Serialize, Serializer}; | |
use std::iter::FromIterator; | |
pub fn serialize<'a, T, K, V, S>(target: T, ser: S) -> Result<S::Ok, S::Error> | |
where | |
S: Serializer, | |
T: IntoIterator<Item = (&'a K, &'a V)>, | |
K: Serialize + 'a, | |
V: Serialize + 'a, |
#[derive(Serialize, Deserialize, Debug, Clone, Default, PartialEq, Eq)] | |
struct Attributes { | |
#[serde(with = "attr")] | |
pub attr: HashMap<Request, u32>, | |
} | |
mod attr { | |
use serde::{Deserializer, Serializer}; | |
type Attr = std::collections::HashMap<super::Request, u32>; |
create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "[email protected]"
/etc/yum.repos.d/
):sudo dnf localinstall --nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
sudo dnf install -y freetype-freeworld
use std::marker::PhantomData; | |
use std::convert::TryInto; | |
use std::sync::Arc; | |
use std::ops::Deref; | |
use std::sync::mpsc::channel; | |
#[derive(Debug)] | |
struct MsgOne { | |
} |
### Keybase proof | |
I hereby claim: | |
* I am deniskolodin on github. | |
* I am deniskolodin (https://keybase.io/deniskolodin) on keybase. | |
* I have a public key ASBGGYDyh9Rv7Ju5uQPNrnFoVm4H4odA8bhHwDhN_HzGNwo | |
To claim this, I am signing this object: |
#![feature(unboxed_closures)] | |
#![feature(fn_traits)] | |
use std::collections::BTreeMap; | |
struct IncIdGen(i32); | |
impl FnOnce<()> for &mut IncIdGen { | |
type Output = i32; | |
extern "rust-call" fn call_once(self, _args: ()) -> Self::Output { | |
self.0 += 1; |