How to use:
./wordle.sh
Or try the unlimit mode:
| #!/usr/bin/env bash | |
| # Provides a way for a root process to perform a notify send for each | |
| # of the local desktop users on this machine. | |
| # | |
| # Intended for use by cron and timer jobs. Arguments are passed straight | |
| # to notify send. Falls back to using wall. Care must be taken to | |
| # avoid using this script in any potential fast loops. | |
| # | |
| # X11 users should already have a dbus address socket at /run/user/<userid>/bus | |
| # and this script should work without requiring any initialisation. Should |
| javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{ | |
| default: Turndown | |
| }, { | |
| default: Readability | |
| }]) => { | |
| /* Optional vault name */ | |
| const vault = ""; | |
| /* Optional folder name such as "Clippings/" */ |
| #!/usr/bin/env python3 | |
| """Download Dash User Docsets and install them in Zeal""" | |
| import configparser | |
| import json | |
| import tarfile | |
| import urllib.request | |
| from pathlib import Path | |
| from sys import platform | |
| from typing import Any, Dict, List |
| #!/usr/bin/env python3 | |
| import json | |
| import os | |
| import os.path | |
| import shutil | |
| import sys | |
| import tarfile | |
| import tempfile | |
| import typing | |
| import xml.etree.ElementTree as ET |
| local config = {} | |
| local wezterm = require "wezterm" | |
| local math = require "math" | |
| local os = require "os" | |
| math.randomseed(os.time()) | |
| config.unix_domains = { | |
| { | |
| name = "unix", |
| #!/usr/bin/python3 | |
| """ | |
| Usage: | |
| plasmasetconfig # List all widget namespaces | |
| plasmasetconfig org.kde.plasma.digitalclock # List all config groups+keys | |
| plasmasetconfig org.kde.plasma.digitalclock Appearance showSeconds true | |
| Install: | |
| chmod +x ~/Downloads/plasmasetconfig.py | |
| sudo cp ~/Downloads/plasmasetconfig.py /usr/local/bin/plasmasetconfig | |
| Uninstall: |
| #!/bin/bash | |
| ############################################################################################ | |
| # WARNING: THESE SCRIPTS AND CHANGES ARE NOT MEANT FOR ANYBODY BUT ME. | |
| # RUNNING THESE WILL MESS UP YOUR COMPUTER IN MYSTERIOUS AND USUALLY UNRECOVERABLE WAYS. | |
| ############################################################################################ | |
| if [[ "$(sw_vers -productVersion)" != 10\.15* ]]; then | |
| echo "This is only meant to run on macOS 10.15.* Catalina" >&2 | |
| exit 1 |
| # This tells kubecfg to read its config from the local directory | |
| export KUBECONFIG=./kubeconfig | |
| # Looking at the cluster | |
| kubectl get nodes | |
| kubectl get pods --namespace=kube-system | |
| # Running a single pod | |
| kubectl run --generator=run-pod/v1 --image=gcr.io/kuar-demo/kuard-amd64:1 kuard | |
| kubectl get pods |
| -- AppleScript -- | |
| -- This example is meant as a simple starting point to show how to get the information in the simplest available way. | |
| -- Keep in mind that when asking for a `return` after another, only the first one will be output. | |
| -- This method is as good as its JXA counterpart. | |
| -- Google Chrome | |
| tell application "Google Chrome" to return title of active tab of front window | |
| tell application "Google Chrome" to return URL of active tab of front window | |
| -- Google Chrome Canary |