This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | |
patternLayout.ActivateOptions() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -u | |
if [ "$#" -ne 2 ]; then | |
echo "Usage: $0 <input directory> <output directory>" | |
exit | |
fi | |
scriptdir="$(dirname "$0")" | |
indir=$(realpath "$1") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011"> | |
<Metadata> | |
<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> | |
<MoreInfo>https://marketplace.visualstudio.com/items?itemName=VisualStudioProductTeam.CustomDocumentWell</MoreInfo> | |
<License>EULA.rtf</License> | |
<ReleaseNotes>ReleaseNotes.txt</ReleaseNotes> | |
<Icon>CustomDocumentWell_icon_90x.png</Icon> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Adapted from https://github.com/aikoncwd/rpi-benchmark | |
NUM_RUNS=20 | |
[ "$(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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ==UserStyle== | |
@name Dark MTG Goldfish (WIP) | |
@namespace github.com/openstyles/stylus | |
@version 0.1.0 | |
@description A simple, dark style for mtggoldfish.com. 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 |