Skip to content

Instantly share code, notes, and snippets.

@the0neWhoKnocks
the0neWhoKnocks / Lego Fortnite Etiquette.md
Last active January 19, 2025 02:08
Lego Fortnite Etiquette

Lego Fortnite Etiquette


Villages

  • Unless you've gotten permission:
    • Don't destroy decorations or buildings.
    • Don't take items from chests, and leave the order of items in chests as is.
  • Don't strip mine caves near a village, the location may have been chosen to gather resources to build/level the village.
@the0neWhoKnocks
the0neWhoKnocks / Set Up Signed Commits for GitHub.md
Last active April 13, 2024 02:01
Set Up Signed Commits for GitHub

Set Up Signed Commits for GitHub

I opted to use an SSH key for signing, mainly because I already had one set up for cloning/pulling/pushing. It also seemed the easiest setup compared to the GPG stuff.


  1. Run
    git config --global gpg.format ssh
    git config --global user.signingkey ~/.ssh/<KEY_NAME>.pub
@the0neWhoKnocks
the0neWhoKnocks / How to Convert Author Info in Multiple GitHub Repos.md
Last active July 26, 2025 00:54
How to convert author info in multiple GitHub repos

How to Convert Author Info in Multiple GitHub Repos

This came about because I saw how easy it was to view my info (name and email) by just adding .patch at the end of a commit URL on GitHub.


  1. Go to https://github.com/settings/emails to view your current mappings for emails. For each email there'll be a Not visible in emails section. Take note of the sentence that calls out We will instead use followed by an email. That users.noreply.github.com email is the one that's going to be used going forward.
    • Also make sure these items are checked

[X] Keep my email addresses private

Unix Command Equivalents on Windows

Unix Command Command PowerShell What It Does
which <EXECUTABLE>
where <EXECUTABLE>
(Get-Command -ErrorAction SilentlyContinue -Name <EXECUTABLE>).Path
Outputs a path to an executable if it exists, or a blank string. Usually used to help determine if something is installed/available to use.
@the0neWhoKnocks
the0neWhoKnocks / Windows Settings.md
Last active April 11, 2023 04:30
Windows settings

Windows Settings


Bluetooth

How to remove device that can't be removed from the Bluetooth window?
Sometimes you can't pair a new device (like a new game controller) because there's a conflict with an old device. When you try to remove the device it may keep reporting 'Failed to remove'. If you go into Device Manager > View > Show Hidden Devices, and then expand the Bluetooth section you may see grayed out duplicate entries for your device. Try removing those and see if the troublesome device disappears from the Bluetooth window.

How to set up an XBox controller
I got a USB to Bluetooth dongle, and for an older controller I was able to just plug it in, go to Bluetooth > Add Device > Everything else, put the controller into pairing mode and it would just show up and pair.

@the0neWhoKnocks
the0neWhoKnocks / Vim.md
Last active August 28, 2025 18:38
vim commands and settings

Vim


Commands

Open a file and navigate to a specific line number (in this case line 136):

vim +136 ~/some/path/index.js
@the0neWhoKnocks
the0neWhoKnocks / Linux Mint.md
Last active December 1, 2022 19:59
Linux Mint

Linux Mint


During Install

  • Installation Type
    • Erase disk and install
      • Advanced > use LVM