Skip to content

Instantly share code, notes, and snippets.

View Log4netSetup.fs
open log4net.Appender
open log4net.Core
open log4net.Layout
open log4net.Repository.Hierarchy
let setup () : unit =
let hierarchy = LogManager.GetRepository() :?> Hierarchy
let patternLayout = PatternLayout()
patternLayout.ConversionPattern <- "%date [%thread] %-5level %logger - %message%newline"
set -u
if [ "$#" -ne 2 ]; then
echo "Usage: $0 <input directory> <output directory>"
scriptdir="$(dirname "$0")"
indir=$(realpath "$1")
akeeton / extension.vsixmanifest
Last active Nov 2, 2021
extension.vsixmanifest for Custom Document Well extension for Visual Studio 2019
View extension.vsixmanifest
<?xml version="1.0" encoding="utf-8"?>
<PackageManifest Version="2.0.0" xmlns="">
<Identity Id="CustomDocumentWell.ae5b5116-8be8-42af-ae24-212ccb14b1a6" Version="15.0.6" Language="en-US" Publisher="Microsoft" />
<DisplayName>Custom Document Well</DisplayName>
<Description xml:space="preserve">Provides configurable behavior for the document well in Visual Studio.</Description>
akeeton /
Created May 31, 2018
Script to run `sysbench` in a loop for benchmarking a Raspberry Pi and a DIY heatsink
# Adapted from
[ "$(whoami)" == "root" ] || { echo "Must be run as sudo!"; exit 1; }
vcgencmd measure_temp
vcgencmd get_config int | grep arm_freq
vcgencmd get_config int | grep core_freq
akeeton / dark-theme-mtggoldfish.user.css
Last active May 14, 2018
Dark theme for - Stylus (Stylish,
View dark-theme-mtggoldfish.user.css
/* ==UserStyle==
@name Dark MTG Goldfish (WIP)
@version 0.1.0
@description A simple, dark style for Feel free to fork and reupload. Coverage is lacking because I made it for my use case.
@author Andrew Keeton
@preprocessor uso
@var color bg-color-main "Main background color" #222
@var color bg-color-highlight "Highlight background color" #333
@var color font-color-main "Main font color" #eee