This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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 |