Skip to content

Instantly share code, notes, and snippets.

@bp2008
bp2008 / MarioRPG100Jumps.md
Last active December 2, 2023 19:59
A guide to complete the Super Mario RPG 100 Jump challenge on Nintento Switch, using a Raspberry pi and a servo to press the A button.

Super Mario RPG has a challenge to complete 100 consecutive jumps on a single enemy. The reward is a powerful piece of armor for Mario.

2023-11-30 10 53 03 (1200)

image

It is recommended to do this in Mushroom Way (the zone directly after Mario's Pad), where you can find Spikey enemies which take no damage from jumps, allowing you to try again and again without re-entering combat with other enemies. Plus, there is a mushroom in a chest in the area northwest of the spikeys so you can refill on flower power!

I couldn't get beyond 30 jumps doing it by hand, so I found another way.

Moving Windows Recovery Partition

When cloning a Windows OS disk to a larger disk, it is common for the OS partition to be followed by a recovery partition. If your disk cloning software does not allow moving the recovery partition, or you forget to do it, it is possible to fix it from within Windows later.

It is possible to move a Windows Recovery Partition without third-party software and without shutting down, for the purpose of extending the OS partition before it.

This guide is based on a superuser.com answer:

answered Oct 21, 2020 at 19:04 - VainMan

Taskbar Dimmer Autohotkey Script

This Autohotkey script is intended to dim the taskbar when it is not needed in order to reduce the burn-in effect on OLED displays.

Source/Credit

This script originally came from: https://superuser.com/a/1691664

Original script from the link above:

@bp2008
bp2008 / windows_font_rendering.md
Created May 14, 2022 05:48
How to change Windows font rendering / cleartype / subpixel antialiasing for displays with BGR, WRGB, and other subpixel layouts.

Purpose

Most computer monitors use an "RGB" subpixel layout, so most computer software (including Windows itself) optimizes its text rendering to look good on this kind of display. However this kind of optimization starts to become undesirable in many situations, where it causes color fringing to appear around text.

Changing font rendering settings in Windows

Method 1: ClearType Tuner

Use the ClearType tuner: Windows > Settings > search: Cleartype

Git Help

Deleting Tags

This must currently be done via a command prompt:

git tag -d [tag]
git push origin :[tag]

To add a Windows context menu item "Edit With GIMP", download RegEditWithGimp.reg, edit the version number in the exe path to match your actual GIMP exe, and then double-click the reg file to install it into the registry.

@bp2008
bp2008 / Install_WindowsPhotoViewer.md
Last active August 31, 2021 19:21
Install Windows 7 Photo Viewer in Windows 10
@bp2008
bp2008 / gist:e879f138173eada129291fbe94484216
Last active February 28, 2021 22:41
Lambda Nu NetDAQ ND-100

Lambda Nu NetDAQ ND-100

Default IP: 192.168.1.99

To modify the configuration of a Lambda Nu NetDAQ ND-100, access the device at http://192.168.1.99/1234

IP and configuration information is from an Amazon.com review

screenshot of amazon review

Windows Tips

Sign-in automatically

The procedure to set up automatic sign-in is easy:

Run control userpasswords2 or netplwiz to open a special "User Accounts" dialog. Find the option "Users must enter a user name and password to use this computer". Uncheck this, then click OK and you will be prompted to enter credentials.

That checkbox might be missing

@bp2008
bp2008 / unraid_tips.md
Last active December 22, 2023 09:05
unRAID tips

Network

I prefer to bond multiple network interfaces for redundancy, however viewing and configuring the bond interface can be a bit tricky.

Bonding mode: active-backup

Multiple network links can be bonded using "active-backup" mode so that if one NIC goes down, another will take its place. This mode does not require a managed switch, however it has trouble prioritizing one interface over another. For example if you have a 1 Gbps NIC and a 10 Gbps NIC, unRAID is not smart enough to prefer the 10 Gbps NIC.

Viewing Network Interface Status

View overall bond status: cat /proc/net/bonding/bond0