create different ssh key according the article Mac Set-Up Git
$ ssh-keygen -t rsa -C "your_email@youremail.com"
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 "your_email@youremail.com"
/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; |
# VERY IMPORTANT! After each kernel update or dkms rebuild the modules must be signed again with the script | |
# ~/.ssl/sign-all-modules.sh | |
# Place all files in ~/.ssl folder | |
mkdir ~/.ssl | |
cd ~/.ssl | |
# Generate custom keys with openssl | |
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -subj "/CN=Owner/" |