Skip to content

Instantly share code, notes, and snippets.

View hl2guide's full-sized avatar
🫒
stuck in a for loop

Dean hl2guide

🫒
stuck in a for loop
  • Australia
View GitHub Profile
@hl2guide
hl2guide / download_and_install_madvr.ps1
Last active June 13, 2016 07:26
This script automates the installation and updating of MadVR (http://madvr.com). Script Version: 1.0e, Date Last Updated: 13th of June, 2016
# This script automates the installation and updating of MadVR (http://madvr.com).
# All checks and downloads are done with the official website.
# Version: 1.0e
# Date Last Updated: 13th of June, 2016
# Author: Deanoman
# Requirements: Windows 7 or later, NET Framework 4.5 or later, available internet connection
# Variables
# A) Set this to the folder MADVR is installed in (the only thing you need to set)
# This folder must exist, have enough space on the drive
@heiswayi
heiswayi / repo-reset.md
Created February 5, 2017 01:32
GitHub - Delete commits history with git commands

First Method

Deleting the .git folder may cause problems in our git repository. If we want to delete all of our commits history, but keep the code in its current state, try this:

# Check out to a temporary branch:
git checkout --orphan TEMP_BRANCH

# Add all the files:
git add -A
@MarkTiedemann
MarkTiedemann / download-latest-release.ps1
Last active July 1, 2025 17:06
Download latest GitHub release via Powershell
# Download latest dotnet/codeformatter release from github
$repo = "dotnet/codeformatter"
$file = "CodeFormatter.zip"
$releases = "https://api.github.com/repos/$repo/releases"
Write-Host Determining latest release
$tag = (Invoke-WebRequest $releases | ConvertFrom-Json)[0].tag_name
@yanek
yanek / Add prefix to FULL - Name.pas
Created May 8, 2017 10:13
FO4Edit script to prepend any string to the FULL - Name field of every selected records (useful for sorting mods patching)
{
This script will prepend supplied value to the Full Name field
of every selected record.
}
unit UserScript;
var
s: string;
function Initialize: integer;
@peteryates
peteryates / guide.md
Last active March 6, 2025 19:18
How to stop adverts appearing on your Samsung TV

I'm getting adverts in my TV's UI, help!

Samsung's otherwise excellent 2016 range of UHD TVs received an update that added advertisements to the UI. This has been complained about at great length on Samsung's forums and repeatedly, Samsung have refused to add an option to remove them.

The ads interrupt the clean UI of the TV and are invasive. Here's an example of how they look:

one two

This guide was originally posted on Samsung's TV forums but unfortunately, that site is a super-slow and barely accessible unusable mess.

@AveYo
AveYo / .. MediaCreationTool.bat ..md
Last active July 28, 2025 13:56
Universal MediaCreationTool wrapper for all MCT Windows 10 versions - MOVED TO github.com/AveYo/MediaCreationTool.bat
@bittner
bittner / keyboard-keys.md
Created February 28, 2019 22:50
Keyboard keys markup in MarkDown

Ctrl + Alt + Space

@yunga
yunga / Chocolatey.md
Created April 4, 2019 22:10
Chocolatey Cheat Sheet

Chocolatey

Homepage: Chocolatey.org

Chocolatey is a machine-level package manager and installer for software packages, built for the Windows NT platform.

It is an execution engine using the NuGet packaging infrastructure and Windows PowerShell to provide an automation tool for installing software on Windows machines, designed to simplify the process from the user perspective.

The name is an extension on a pun of NuGet (from "nougat") "because everyone loves Chocolatey nougat".

@qzm
qzm / aria2.conf
Last active July 29, 2025 11:31
Best aria2 Config
### Basic ###
# The directory to store the downloaded file.
dir=${HOME}/Downloads
# Downloads the URIs listed in FILE.
input-file=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to FILE on exit.
save-session=${HOME}/.aria2/aria2.session
# Save error/unfinished downloads to a file specified by --save-session option every SEC seconds. If 0 is given, file will be saved only when aria2 exits. Default: 0
save-session-interval=60
# Set the maximum number of parallel downloads for every queue item. See also the --split option. Default: 5
@hl2guide
hl2guide / upgrade_ffmpeg_windows.ps1
Created August 15, 2020 06:54
A PowerShell script that downloads and upgrades ffmpeg Nightly for Windows
# Downloads and upgrades ffmpeg Nightly for Windows
# Saves time by changing a manual process to auto
# Start Edits
$destinationFolderTemp = "C:\Temp"
$finalDestinationFolder = "D:\Portable Software\Command Line Apps"
# End Edits
$uri = "https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-latest-win64-static.zip"
$destinationFileTemp = "$destinationFolderTemp\ffmpeg-latest-win64-static.zip"