For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
package main | |
import ( | |
"fmt" | |
"encoding/json" | |
"github.com/jackc/pgx" | |
"log" | |
) | |
var schema = ` |
Responding to requests via simple route matching is built in to Go's net/http
standard library package. Just register the path prefixes and callbacks you want invoked and then call the ListenAndServe
to have the default request handler invoked on each request. For example:
package main
import (
#!/bin/sh | |
# This scripts injects running jails from a FreeBSD host | |
# into Prometheus monitoring pushgateway. | |
# | |
# A common way to use this is set-up a crontab entry. | |
# | |
# kernel requeriments: | |
# options RACCT | |
# options RCTL | |
# |
<?php | |
/* | |
* A small function to get client-sent HTTP Accept-Language header. | |
* | |
* Copyright (C) 2018 Víctor Román Archidona | |
* https://www.victorroman.es/ | |
* | |
* Input: | |
* (int, optional): An HTTP Accept-Language header or null if it | |
* should be taken from $_SERVER environment. |
#!/bin/sh | |
# This scripts injects running jails from a FreeBSD host | |
# into carbon database. It may be consumed then by tools | |
# like graphite or grafana. | |
# | |
# A common way to use this is set-up a crontab entry. | |
# | |
# kernel requeriments: | |
# options RACCT | |
#. options RCTL |
This document has been modified from its [original format][m1], which was written by Ning Shang (geek@cerias.net). It has been updated and reformatted into a [Markdown][m2] document by [Woody Gilk][m3] and [republished][m4].
When working with a remote git repository which is hosted on a third-party storage server, data confidentiality sometimes becomes
#!/bin/bash | |
# A shabby CLI script to create floppy images which only runs on macOS | |
# | |
# Made for my own use, so don't expect it will fit yours. Its purposse | |
# is copy 1.44 MB floppy images from an external USB floppy disk into | |
# an image for later backup. | |
# | |
# Copyright (C) 2018-2019 Víctor Román Archidona | |
# https://www.victorroman.es | |
# |
I hereby claim:
To claim this, I am signing this object: