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
| "#!/usr/bin/env bash\nset -euo pipefail\n\n# Target username (JupyterHub username)\nexport JH_USER=someuser\n\n# Required namespace (e.g., jhub)\n: \"${JH_NAMESPACE:?Set JH_NAMESPACE (e.g., export JH_NAMESPACE=jhub)}\"\n\n# Refuse to delete if the user's pod is still running (avoid stale NFS handles)\nif kubectl -n \"${JH_NAMESPACE}\" get pod \"jupyter-${JH_USER}\" >/dev/null 2>&1; then\n echo \"User pod jupyter-${JH_USER} is still running. Stop the server first, then re-run.\"\n exit 1\nfi\n\n# Clean up any prior job with the same name\nkubectl -n \"${JH_NAMESPACE}\" delete job \"delete-home-${JH_USER}\" --ignore-not-found\n\n# Generate Job configuration\ncat <<EOF2 > delete-user-home.yaml\napiVersion: batch/v1\nkind: Job\nmetadata:\n name: delete-home-${JH_USER}\n namespace: ${JH_NAMESPACE}\nspec:\n backoffLimit: 1\n template:\n spec:\n restartPolicy: Never\n containers:\n - name: delete-home\n image: busybox:1.36\n command:\n - /bin/sh\n - - |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| alias up="sudo apt update && sudo apt upgrade -y && rm -rf \$(npm config get prefix)/lib/node_modules/@google/.gemini-cli-* \$(npm config get prefix)/lib/node_modules/.codex-cli-* && npm install -g --force @google/gemini-cli codex-cli" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| // ==UserScript== | |
| // @name Audible filter (>=4.0, >=500, skip "Not rated yet") | |
| // @namespace https://audible.com/ | |
| // @version 2.4 | |
| // @description Hide entire Audible book rows failing thresholds | |
| // @match https://www.audible.com/* | |
| // @run-at document-end | |
| // @grant none | |
| // ==/UserScript== | |
| (function () { |
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
| [ | |
| { | |
| "text": "Hi everybody. I'm Mary Thomas and", | |
| "start": 0.8, | |
| "duration": 2.71 | |
| }, | |
| { | |
| "text": "I lead and coordinate a lot of the HPC", | |
| "start": 3.52, | |
| "duration": 2.72 |
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
| my.url.com { | |
| # Set this path to your site's directory. | |
| root * /usr/share/caddy | |
| # Enable the static file server. | |
| file_server | |
| @health { | |
| path /health | |
| } |
NewerOlder