Skip to content

Instantly share code, notes, and snippets.

View J-DRD's full-sized avatar
☠️
Focusing on refocusing the unfocused project pages...

Jordan Dyckes J-DRD

☠️
Focusing on refocusing the unfocused project pages...
  • Wiltshire, England, United Kingdom
View GitHub Profile
@J-DRD
J-DRD / Install TailScale for Ubuntu ( focal )
Last active December 6, 2023 20:09 — forked from ravirdv/Install TailScale
Modify the script to run on Focal (ubuntu)
curl https://pkgs.tailscale.com/stable/ubuntu/focal.gpg | sudo apt-key add -
curl https://pkgs.tailscale.com/stable/ubuntu/focal.list | sudo tee /etc/apt/sources.list.d/tailscale.list
sudo apt-get update && sudo apt-get install -y tailscale
sudo tailscale up
A Python script that utilizes the OpenAI API to generate Python code based on user prompts, execute the generated code, check for errors, and suggest new features while ensuring their correctness.
@J-DRD
J-DRD / fixdd
Created May 23, 2023 21:15 — forked from barsikus007/fixdd
[ROOT] [Magisk] [Service.d] [Script] [Fix] DriveDroid on Pixel 7 Pro
#!/bin/sh
# run while loop for boot_completed status & sleep 10 needed for magisk service.d
while [ "$(getprop sys.boot_completed | tr -d '\r')" != "1" ]; do sleep 1; done
sleep 10
get_fn_type() {
# get currently active function name
if ls /config/usb_gadget/g1/configs/b.1/function* > /dev/null 2>&1
then