Skip to content

Instantly share code, notes, and snippets.

View saiwolf's full-sized avatar

Robert Cato saiwolf

View GitHub Profile
@saiwolf
saiwolf / Installing Windows NT 3.51 in 86Box.md
Last active February 5, 2024 21:00
Instructions to install Windows NT 3.51 in 86Box

Installing Windows 3.51 In 86Box

You will need:

  • 86Box (obviously)
  • A machine manager for 86Box, but this is optional. Check 86box.net for more details.
  • A copy of Windows NT 3.51 (Check WinWorld)
  • Patience

Machine Config

@saiwolf
saiwolf / theme.ts
Last active March 8, 2022 01:50
TS Dark Mode Theme
interface ITheme {
mode: 'dark' | 'light' | 'hiContrast';
};
const defaultTheme: ITheme = {
mode: 'light',
};
if (!localStorage.getItem('theme')) {
const themeJSON = JSON.stringify(defaultTheme);
@saiwolf
saiwolf / AddWindowsTerminalToContextMenu.reg
Last active September 19, 2020 20:40
Add 'Open Windows Terminal Here...' to Directory Right-Click Context Menu
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\WindowsTerminal]
"Icon"="C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.2.2381.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe"
@="Open Windows &Terminal Here"
[HKEY_CURRENT_USER\SOFTWARE\Classes\Directory\Background\shell\WindowsTerminal\command]
@="\"wt\" \"-p default -d %V\""
@saiwolf
saiwolf / profile.ps1
Last active January 29, 2019 17:24 — forked from timsneath/profile.ps1
PowerShell template profile: adds some useful aliases and functions
### PowerShell template profile
### Modified By: Robert Cato <saiwolf@swmnu.net>
### Forked From, and All Credit Due:
### PowerShell template profile
### Version 1.03 - Tim Sneath <tim@sneath.org>
### From https://gist.github.com/timsneath/19867b12eee7fd5af2ba
###
### This file should be stored in $PROFILE.CurrentUserAllHosts
### If $PROFILE.CurrentUserAllHosts doesn't exist, you can make one with the following:
@saiwolf
saiwolf / IQueryableExtensions.cs
Last active January 18, 2019 01:38 — forked from rionmonster/IQueryableExtensions
(2.1 version by Bramvanelderen10) Resolve the SQL being executed behind the scenes in Entity Framework Core
using Microsoft.EntityFrameworkCore.Internal;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.Internal;
using Microsoft.EntityFrameworkCore.Storage;
using System;
using System.Linq;
using System.Reflection;
namespace Some.Namespace.Here
{

Keybase proof

I hereby claim:

  • I am saiwolf on github.
  • I am saiwolf (https://keybase.io/saiwolf) on keybase.
  • I have a public key ASAQxHWxUrGrEihIqK0IgtzT8SmonB5nhwd6wVGV8ZIfRQo

To claim this, I am signing this object: