Skip to content

Instantly share code, notes, and snippets.

View coolcoder613eb's full-sized avatar

coolcoder613eb

  • Melbourne, Victoria, Australia
  • 10:44 (UTC +11:00)
View GitHub Profile
@coolcoder613eb
coolcoder613eb / update_porkbun.sh
Created January 5, 2025 12:45
Porkbun DDNS update script for router
#!/bin/ash
# crontab entry: */15 * * * * /path/to/porkbun-ddhs.sh
# porkbun api key and secret
# create this key/secret pair at https://porkbun.com/account/api
apikey=
apisec=
# define domain name and record (sudomain) to update
@coolcoder613eb
coolcoder613eb / output.txt
Created August 4, 2023 06:52
nuitka output
Nuitka-Options:INFO: Used command line options: test.py --standalone
Nuitka-Options:WARNING: Standalone mode on Haiku is not known to be supported, might fail to work.
Nuitka:INFO: Starting Python compilation with Nuitka '1.7.7' on Python '3.9' commercial grade 'not installed'.
Nuitka:WARNING: There is a problem with detecting imports, CPython said:
b'import _frozen_importlib # frozen'
b'import _imp # builtin'
b"import '_thread' # <class '_frozen_importlib.BuiltinImporter'>"
b"import '_warnings' # <class '_frozen_importlib.BuiltinImporter'>"
b"import '_weakref' # <class '_frozen_importlib.BuiltinImporter'>"
b"import '_io' # <class '_frozen_importlib.BuiltinImporter'>"
QUOTES = '"'
import operator
import readline
class func(str):
def __init__(self, value):
super().__init__()
def __repr__(self):
@coolcoder613eb
coolcoder613eb / github_desktop_ubuntu.sh
Created February 22, 2023 08:12 — forked from berkorbay/github_desktop_ubuntu.md
To install Github Desktop for Ubuntu
## Follow this link for further updates to Github Desktop for Ubuntu https://github.com/shiftkey/desktop/releases/latest
# UPDATE (2022-11-07): Thanks to Sxvxgee's message, the updated code is as follows
sudo wget https://github.com/shiftkey/desktop/releases/download/release-3.1.1-linux1/GitHubDesktop-linux-3.1.1-linux1.deb
### Uncomment below line if you have not installed gdebi-core before
# sudo apt-get install gdebi-core
sudo gdebi GitHubDesktop-linux-3.1.1-linux1.deb
# UPDATE (2021-10-18): Thanks to Amin Yahyaabadi's message, the updated code is as follows
@coolcoder613eb
coolcoder613eb / ubuntu-color-scheme.json
Created February 22, 2023 07:39
Ubuntu color theme for windows terminal
{
"background": "#300A24",
"black": "#171421",
"blue": "#0037DA",
"brightBlack": "#767676",
"brightBlue": "#08458F",
"brightCyan": "#2C9FB3",
"brightGreen": "#26A269",
"brightPurple": "#A347BA",
"brightRed": "#C01C28",