Skip to content

Instantly share code, notes, and snippets.

View Bradford1040's full-sized avatar
🏠
Working from home

𝔅яа∂ƒøя∂¹⁰⁴⁰ Bradford1040

🏠
Working from home
View GitHub Profile
@Bradford1040
Bradford1040 / LICENSE.md
Last active August 19, 2025 04:51
Personal License for my protection

PREAMBLE

  • This license is established for security purposes and to protect the intellectual property rights of the Author. The primary intent is to prevent unauthorized use, storage, duplication, or any form of appropriation, particularly by Google entities.

TERMS AND CONDITIONS

  1. Ownership and Rights: All rights, title, and interest in and to this software, repository, its code, associated files, documentation, and any other materials contained herein (collectively, "the Software") are and shall remain the exclusive property of Bradford1040.

  2. General Prohibitions:

@Bradford1040
Bradford1040 / certkeystore.java
Created August 18, 2025 01:21 — forked from jac18281828/certkeystore.java
Complete Bouncycastle Certificate and KeyStore example
package com.jcairns;
import org.bouncycastle.asn1.oiw.OIWObjectIdentifiers;
import org.bouncycastle.asn1.x500.X500Name;
import org.bouncycastle.asn1.x509.AlgorithmIdentifier;
import org.bouncycastle.asn1.x509.AuthorityKeyIdentifier;
import org.bouncycastle.asn1.x509.BasicConstraints;
import org.bouncycastle.asn1.x509.Extension;
import org.bouncycastle.asn1.x509.SubjectKeyIdentifier;
import org.bouncycastle.asn1.x509.SubjectPublicKeyInfo;
@Bradford1040
Bradford1040 / wsa-windows10pro.md
Last active June 8, 2025 05:41
Instructions for me

THIS RELEASE FIXES THE ARM TRANSLATION LAYER ISSUE. UPDATE TO THESE BUILDS IF YOU FACE THE FOLLOWING:

APPS NOT OPENING OR CRASHING OR GETTING STUCK ON THE SPLASHSCREEN OR ANY OTHER SIMILAR ISSUES OCCURRING ON AND AFTER THE 2ND OF JUNE 2025

Builds Last Updated:

- 02/06/2025 19:10:56 GMT (Reason: Initial Release)


@Bradford1040
Bradford1040 / installing-python3.13.4-windows.md
Last active June 7, 2025 23:01
Re-setting up Python virtual environments in VS Code Insiders! It's a common hiccup when Python installations change.

Here's a step-by-step guide to get you back on track:

1. Ensure VS Code is Using the Correct Python Interpreter

First, let's make sure VS Code knows which Python installation to use as its default.

  • Open VS Code Insiders.
  • Open the Command Palette: Ctrl+Shift+P.
  • Type Python: Select Interpreter and select the version you have now installed.
  • You should see a list of Python interpreters VS Code has detected. Choose the one you intend to use as your global/default Python. If you don't see the correct one, you might need to add its path manually or ensure it's correctly added to your system's PATH environment variable.

Here's how to set up a Telegram group or channel and add the Rose bot:

1. Create a Telegram Group or Channel:

  • Group:
    • Open the Telegram app and start a new message.
    • Choose "New Group".
    • Add participants to the group.
    • Give your group a name and optionally add a group photo.
  • Channel:

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