Skip to content

Instantly share code, notes, and snippets.

@gbolo
gbolo / x509-cert-sig-verify.sh
Created February 14, 2017 02:32
Verification of Signatures on x.509 Certificates
#!/bin/bash
#############################################################
## x.509 Certifcate Signature Verification
## This script was made for educational purposes.
## VERIFICATION MAY BE WRONG, USE AT YOUR OWN RISK!
## - gbolo linuxctl.com 2016
#############################################################
VERSION=0.2
DATE=`date +%Y-%m-%d.%H-%M-%S`

FWIW: I (@rondy) am not the creator of the content shared here, which is an excerpt from Edmond Lau's book. I simply copied and pasted it from another location and saved it as a personal note, before it gained popularity on news.ycombinator.com. Unfortunately, I cannot recall the exact origin of the original source, nor was I able to find the author's name, so I am can't provide the appropriate credits.


Effective Engineer - Notes

What's an Effective Engineer?

Applied Functional Programming with Scala - Notes

Copyright © 2016-2018 Fantasyland Institute of Learning. All rights reserved.

1. Mastering Functions

A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.

val square : Int => Int = x => x * x