Skip to content

Instantly share code, notes, and snippets.

@milnak
milnak / vpx-vpinmame-install.md
Last active September 9, 2024 21:43
Visual Pinball X / VPinMAME Install

Visual Pinball X and VPinMAME Install

I couldn't find easy to follow instructions for setting up Visual Pinball X with VPinMAME, so I created one. I've tested these instructions using Windows 11. With these settings, I can run any VPX game at full speed at 2560x1440 resolution on my i9-9900K CPU with a GTX1050Ti video card.

Replace "D:" with whatever drive you prefer in the instructions that follow.

Installation

Follow these steps in order.

@milnak
milnak / Microsoft.PowerShell_profile.ps1
Created August 16, 2024 20:22
My PowerShell Profile
Write-Host -ForegroundColor Yellow ('-' * 79)
Write-Host -ForegroundColor Yellow ("Profile loaded from {0}" -f $PSCommandPath)
Write-Host -ForegroundColor Yellow ("PowerShell v{0}" -f (Get-Host).Version)
Write-Host -ForegroundColor Yellow ('-' * 79)
''
#
# __ _ _
# / _|_ _ _ _ __| |_(_)___ _ _ ___
# | _| || | ' \/ _| _| / _ \ ' \(_-<
@milnak
milnak / Install Scoop in Windows Sandbox.md
Last active August 14, 2024 19:38
Install Scoop in Windows Sandbox

Install Scoop in Windows Sandbox

Open PowerShell 5 using powershell.exe.

Install winget, PowerShell v7, Scoop

cd ~/Downloads
$ProgressPreference = 'SilentlyContinue' # Speed up download
$hash = [ordered]@{
@milnak
milnak / Get-WebPageBinaries.ps1
Created July 17, 2024 03:25
Download binaries from a web page using wget
<#
.SYNOPSIS
Download binaries by extension from a web page.
#>
function Get-WebPageBinaries {
[CmdletBinding()]
param(
# Uri of page to download from.
[Parameter(Mandatory)] [uri]$Uri,
# Extensions to download
@milnak
milnak / Install Windows 98 in 86Box.md
Last active August 27, 2024 01:17
Install Windows 98 in 86Box

Install Windows 98 SE in 86Box

Read the 86Box documentation for more details about these options.

Install 86Box

Use scoop to install easily.

scoop install 'main/7zip'
@milnak
milnak / IpFilter-Update.ps1
Last active July 23, 2024 21:23
qBittorrent IP Filter updater
<#
.SYNOPSIS
qBittorrent IP Filter updater.
.DESCRIPTION
Downloads IP Filter list.
.NOTES
To enable in qBittorrent:
Settings - Connection - IP Filtering - Filter path - %APPDATA%\qBittorrent\ipfilter.dat
.EXAMPLE
./IpFilter-Update -BlockListPath '~\scoop\apps\qbittorrent\current\profile\qBittorrent'
@milnak
milnak / vsbt.md
Last active June 8, 2024 05:30
Install Visual Studio Build Tools
@milnak
milnak / How to Use DaVinci Resolve 17.md
Last active May 21, 2024 22:20
How to Use DaVinci Resolve 17: Beginner Editing Guide

How to Use DaVinci Resolve 17: Beginner Editing Guide

How to Use DaVinci Resolve

From Motion Array

Step 1: Create a New Project & Import Media

DaVinci Resolve’s project management is based on a disk database. What that means is, rather than saving individual project files onto your hard drive and keeping tabs on where they live, all of your projects are stored in a central location within your computer. Within a database, you will create projects, where all of your footage is stored, and create timelines where you will be doing the actual editing.

@milnak
milnak / FreeCommanderKeyboardShortcuts.md
Created May 15, 2024 23:51
FreeComander Keyboard Shortcuts

FreeCommander Keyboard Shortcuts

Keyboard reference for FreeCommander.

File

Shortcut Command Detail
Shift+Ctrl+N New text file Creates an empty file in the current panel
Shift+F4 Edit new Opens the file editor to edit a new file
@milnak
milnak / itsmine.cmd
Created April 19, 2024 17:12
Take ownership of a Windows file or folder
@ECHO OFF
FOR /f "usebackq" %%f IN (`whoami.exe /priv`) DO IF %%f.==SeTakeOwnershipPrivilege. GOTO :CHKARGS
ECHO ERROR: This script must be run as an administrator!
GOTO :EOF
:CHKARGS
IF "%~1"=="" GOTO :EOF
ECHO About to take ownership of "%~1" . . .
PAUSE