Skip to content

Instantly share code, notes, and snippets.

@LarsFosdal
LarsFosdal / FDC.CommandLine.pas
Last active November 24, 2023 16:48
FDC Generic Command Line Parser for Delphi 10.3.x
unit FDC.CommandLine;
/// <summary>
/// Written by Lars Fosdal, August 2019, Delphi 10.3.1
/// Your license to use and modify follows the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license rules.
/// https://creativecommons.org/licenses/by-sa/4.0/
/// </summary>
interface
uses
@stuart-warren
stuart-warren / simple-gpg-enc.go
Last active December 19, 2024 09:32
golang gpg/openpgp encryption/decryption example
package main
import (
"bytes"
"code.google.com/p/go.crypto/openpgp"
"encoding/base64"
"io/ioutil"
"log"
"os"
)