Skip to content

Instantly share code, notes, and snippets.

View Bradford1040's full-sized avatar
🏠
Going Insane with the Dogs

Вʀα∂ƒøʀ∂¹⁰⁴⁰ Bradford1040

🏠
Going Insane with the Dogs
View GitHub Profile

Here’s the exact working module setup:

📦 Install in Magisk (in order):

  1. ZygiskNext
  2. Shamiko
  3. PlayIntegrityFix v19.1
  4. TrickyStore v1.2.1
  5. TrickyAddonModule v3.9
  6. Integrity Box v4.1 (30-05-2025)

To restart a network service in Windows using PowerShell, you can use the Restart-Service cmdlet. To specifically restart the "Network Service", you would use the command Restart-Service -Name "Network Service".

Here's a more detailed breakdown:

  • Restart-Service: This PowerShell cmdlet is used to restart a service.
  • -Name "Network Service": This parameter specifies the name of the service to be restarted. The service name is case-insensitive.
  • Example: Restart-Service -Name "Network Service".

To restart network services in Windows, you can use the netsh command in Command Prompt. Specifically, you can use netsh winsock reset to reset Winsock settings, and netsh int ip reset to reset the TCP/IP stack. Additionally, using the ipconfig /flushdns command will clear the DNS cache.

Detailed Steps:

  1. Open Command Prompt as Administrator:

    • Search for "Command Prompt" in the Start menu.
    • Right-click on "Command Prompt" and select "Run as administrator".
# Unplug the laptop/PC from the dock
# Unplug the AC adapter from the dock
# Wait 30s
# Plug the AC adapter to the dock (dock LED flashes 3 times)
# Plug the laptop/PC to the dock
fwupdmgr get-upgrades
sudo fwupdmgr update
@Bradford1040
Bradford1040 / docker-scout-instructions.md
Created June 1, 2025 12:52
for myself, I am tidying up notepad++ and certain doc's don't need to be stored on server

Integrate Docker Scout with GitHub Actions

The following example shows how to set up a Docker Scout workflow with GitHub Actions. Triggered by a pull request, the action builds the image and uses Docker Scout to compare the new version to the version of that image running in production.

This workflow uses the docker/scout-action GitHub Action to

is_ssh() {
[[ -n "$SSH_CONNECTION" || -n "$SSH_TTY" ]]
}
loading_wheel() {
local chars="/-\|"
local delay=0.1
local message="$@"
if is_ssh; then
# Simpler animation for SSH
<?xml version="1.0" encoding="utf-8" ?>
<permissions>
<privapp-permissions package="net.dinglisch.android.taskerm">
<permission name="android.permission.PACKAGE_USAGE_STATS"/>
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.SET_TIME_ZONE"/>
<permission name="android.permission.WRITE_SECURE_SETTINGS"/>
<permission name="android.permission.DUMP"/>
<permission name="android.permission.CHANGE_CONFIGURATION"/>
<permission name="android.permission.TETHER_PRIVILEGED"/>

Note

* Depending on model

The 5G McLaren is it's own animal, the device is like no other and such it has it's own firmware! Do not attempt to flash another firmware other than HOTDOGG (2) TWO G's

@Bradford1040
Bradford1040 / create-venv.md
Last active May 30, 2025 12:48
Keep forgetting, so I just created this reminder
  1. Navigate to your project directory:

  2. Make sure you're in the root directory of your project where the .venv folder is located.

  3. Activate the virtual environment:

  • On Linux or macOS (using Bash/Zsh):
source .venv/bin/activate
@Bradford1040
Bradford1040 / sticky-pork.md
Last active May 30, 2025 00:30
Recipe for sweet and spicy Pork 🥩

Stovetop Sweet and Spicy Pork Tenderloin

By: Author Bradford A. Adams

Published: 04/25/2025

Recipe

  • If you typically cook pork tenderloin whole in the oven, pressure cooker, or crockpot, this recipe will be a great change of pace. While the other methods require minimal prep, this sweet and spicy pork is actually much faster (and possibly easier) than my other recipes like crispy pork tenderloin carnitas or Traeger smoked pork tenderloin.