For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
/* | |
Simple static file server with http basic auth in go | |
Usage: | |
-p="8100": port to serve on | |
-d=".": the directory of static files to host | |
Navigating to http://localhost:8100 will display the index.html or directory | |
listing file. | |
*/ |
#!/usr/bin/env python3 | |
import asyncio | |
from asyncio_extras import threadpool | |
from aiohttp import web | |
from pony.orm import * | |
db = Database() | |
#!/usr/bin/env python3 | |
''' | |
Diff api_start2.json | |
Usage: api_start2_diff.py api_start2.old.json api_start2.new.json | |
''' | |
import json | |
import sys |
#!/usr/bin/env python3 | |
import sys | |
ORDER = [0, 7, 2, 5, 4, 3, 6, 1] | |
SRC = sys.argv[1] | |
DEST = sys.argv[2] | |
; | |
; RI.ASM Revision 2.12 [ July 12, 1994 ] | |
Revision equ 'V2.12 ' | |
; | |
; ************************************************************************** | |
; * * | |
; * RAMinit Release 2.0 * | |
; * Copyright (c) 1989-1994 by Yellow Rose Software Co. * | |
; * Written by Mr. Leijun * | |
; * * |
Blocking on cache reads beyond the first is just plain rude in my opinion... |
package main | |
/* | |
#include <unistd.h> | |
*/ | |
import "C" | |
import ( | |
"fmt" | |
"time" | |
) |
As configured in my dotfiles.
start new:
tmux
start new with session name: