Skip to content

Instantly share code, notes, and snippets.

View aj-stein-nist's full-sized avatar
👋
After 23 August 2024, I leave NIST and I will disable this account.

A.J. Stein aj-stein-nist

👋
After 23 August 2024, I leave NIST and I will disable this account.
View GitHub Profile
@aj-stein-nist
aj-stein-nist / ttf-vista-fonts-installer.sh
Created April 10, 2023 21:40 — forked from maxwelleite/ttf-vista-fonts-installer.sh
Script to install Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on Ubuntu distros
#!/bin/bash
# Author: Maxwel Leite
# Website: http://needforbits.wordpress.com/
# Description: Script to install Microsoft Vista TrueType Fonts (TTF) aka Microsoft’s ClearType fonts on Ubuntu distros
# Microsoft added a group of new "ClearType Fonts" to Windows with Windows Vista and Office 2007.
# These fonts are named Constantia, Corbel, Calibri, Cambria (and Cambria Math), Candara, and Consolas.
# Calibri became the default font on Microsoft Word 2007, and it’s still the default font on Word 2016 today.
# Dependencies: wget, fontforge and cabextract
# Note: Microsoft no longer provides the PowerPoint Viewer 2007 (v12.0.4518.1014) or any version anymore for download
# Tested: Ubuntu Saucy/Trusty/Xenial/Bionic
@aj-stein-nist
aj-stein-nist / oscal_run_lighthouse.sh
Created February 9, 2023 22:10 — forked from nikitawootten-nist/oscal_run_lighthouse.sh
Lighthouse performance test harness
#!/usr/bin/env bash
# OSCAL Performance Test Scipt
#
# The following packages are required for this script to work:
# - jq <https://stedolan.github.io/jq/>
# - Lighthouse <https://www.npmjs.com/package/lighthouse>
#
# NOTE: on MacOS, you may get a dialog box asking if "node can make external web requests"
set -Eeuo pipefail
@aj-stein-nist
aj-stein-nist / howto.md
Created December 14, 2021 16:48 — forked from strarsis/howto.md
KeeAgent (for KeePass) on Bash on Windows / WSL

Update (Obctober 2020)

Thanks to the instructions for WSL 2 of the wsl-ssh-agent project, KeeAgent works great in WSL 2 now: https://github.com/rupor-github/wsl-ssh-agent#wsl-2-compatibility The approach uses minimal and well maintained tools.

Installation/setup

  1. Install the KeeAgent plugin for KeePass (2.x).
  2. The OpenSSH Authentication Agent Windows service must be stopped. For being sure that it stays stopped, even after rebooting, disable the service (when it is stopped).
  3. Open the KeeAgent options via KeePass Menu -> Tools -> Options -> KeeAgent Tab. Enable the option Enable agent for Windows OpenSSH (experimental)