Skip to content

Instantly share code, notes, and snippets.

ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDNB/bC0UfRPKRjoOawJIN/vznujxKqahTT+Lav/VFiEIrfzBSWqvtR9ys1JvzlGfL4u++1DCmmi5xzvr7x/3uWhRRS/MPkVJZ0tiEOmsbmyRcbMxgc2UB4TdJkoC6jTCWUKLRcCi3UaVZ6u/oWD2QdFggD544nx71jHYJYYOETqsZVWycveMi+20fQXXFu569YxHYPGZzCXu9dEVmDrnhIPV95A8dPzvImczqBrg4D3Ui++v8kgC3RDJyM4piZV7uIYSYO9vXdkzdGivYBFePsEhMuFDY/VReD8Fhtojy5DIEwjIsu1rLy3KJlOAh1R72g3rAw9Ra9R0lYteVyWldM622L2XovouHDqi/oQnxSPjxwqPQ/HaBUi17IdXHO7I+Uhjh9z/YAGseHMH2qrOd+QdUiljDCv9r7qlF0DOUrjn3drSPJSaAY7cLQwIpGwF2IpWo/gv880feLIHt3jlOvHNVFSXlyvrBA6E4Wh1lzutamz7831irok6Err6O0+mE= yubikey
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDNB/bC0UfRPKRjoOawJIN/vznujxKqahTT+Lav/VFiEIrfzBSWqvtR9ys1JvzlGfL4u++1DCmmi5xzvr7x/3uWhRRS/MPkVJZ0tiEOmsbmyRcbMxgc2UB4TdJkoC6jTCWUKLRcCi3UaVZ6u/oWD2QdFggD544nx71jHYJYYOETqsZVWycveMi+20fQXXFu569YxHYPGZzCXu9dEVmDrnhIPV95A8dPzvImczqBrg4D3Ui++v8kgC3RDJyM4piZV7uIYSYO9vXdkzdGivYBFePsEhMuFDY/VReD8Fhtojy5DIEwjIsu1rLy3KJlOAh1R72g3rAw9Ra9R0lYteVyWldM622L2XovouHDqi/oQnxSPjxwqPQ/HaBUi17IdXHO7I+Uhjh9z/YAGseHMH2qrOd+QdUiljDCv9r7qlF0DOUrjn3drSPJSaAY7cLQwIpGwF2IpWo/gv880feLIHt3jlOvHNVFSXlyvrBA6E4Wh1lzutamz7831irok6Err6O0+mE= desmond@desvpn
@deslee
deslee / ca.md
Created January 6, 2021 05:34 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.

# Simple test for NeoPixels on Raspberry Pi
import threading
import board
import neopixel
import colorsys
from random import randint
def hsv2rgb(h,s,v):
return tuple(round(i * 255) for i in colorsys.hsv_to_rgb(h,s,v))

Keybase proof

I hereby claim:

  • I am deslee on github.
  • I am desmondl (https://keybase.io/desmondl) on keybase.
  • I have a public key ASCLSO1RCJDwpykzSivQuOfgOCSQFVCHWKcak6Aj1Q1BLQo

To claim this, I am signing this object:

import React, { useState, useEffect, useRef } from 'react';
const states = {
PromptUserToMovePointer: "Move your cursor around",
PromptUserToHoldStill: "Hold still!",
DisplayingCat: "Displaying cat..."
}
export default ({ }) => {
const [uiState, setUiState] = useState(states.PromptUserToMovePointer)
using System;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
namespace ef_play
{
class Program
{
public class Blog
using System;
using Microsoft.EntityFrameworkCore;
using System.Collections.Generic;
using System.Linq;
namespace ef_play
{
class Program
{
public class Blog
@deslee
deslee / black.css
Last active December 7, 2018 22:16
body { background: #222; color: #e6e6e6; }
a { color: #949494; }
a:link, a:visited { color: #949494; }
a:hover, a:active, a:focus { color: #c7c7c7; }
hr { border-bottom: 1px solid #424242; border-top: 1px solid #222; }
import { WebClient } from '@slack/client'
postMessage(teamData: TeamData, channel: string, text: string): Promise<any> {
const web = new WebClient(teamData.bot.bot_access_token);
return web.chat.postMessage({
channel: channel.substring(2, channel.length-1),
text: text
})
}