- Root via rootmy.tv
- Install
Tested on webOS 4.5, should at least on webOS 3.5+
curl -qs "https://gist.githubusercontent.com/stek29/761232c6f7e1ffbc36b98da2a3a0f4d9/raw/install.sh?$(date +%s)" | sh -| #!/usr/bin/env bash | |
| set -euo pipefail | |
| # Step 0: Log in | |
| if ! op whoami >/dev/null 2>/dev/null; then | |
| eval "$(op signin)" | |
| fi | |
| if [ "$(bw status | jq -r .status)" != "unlocked" ]; then |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "k8s.io/apimachinery/pkg/runtime" | |
| "k8s.io/apimachinery/pkg/runtime/serializer" | |
| "k8s.io/apimachinery/pkg/runtime/serializer/json" |
| #!/usr/bin/env python | |
| """ | |
| requirements.txt: | |
| certifi==2021.10.8 | |
| charset-normalizer==2.0.12 | |
| httplib2==0.20.4 | |
| idna==3.3 | |
| oauth2==1.9.0.post1 | |
| oauthlib==3.2.0 | |
| pyparsing==3.0.8 |
| - command: | |
| - kube-apiserver | |
| - --bind-address=127.0.1.1 | |
| - --requestheader-allowed-names=front-proxy-client | |
| - --requestheader-client-ca-file=/etc/kubernetes/pki/front-proxy-ca.crt | |
| - --requestheader-extra-headers-prefix=X-Remote-Extra- | |
| - --requestheader-group-headers=X-Remote-Group | |
| - --requestheader-username-headers=X-Remote-User | |
| - --secure-port=6443 | |
| - ... more args ... |
| do shell script "diskutil mount disk0s3" | |
| tell application "System Events" | |
| tell application "System Preferences" | |
| set current pane to pane id "com.apple.preference.startupdisk" | |
| activate | |
| delay 1 | |
| end tell | |
| tell application process "System Preferences" |
| func quine() { | |
| var s = """ | |
| func quine() { | |
| var s = MEGIC | |
| let slash = "\\\\" | |
| let s1 = "\\n " | |
| let s2 = "\\"\\"\\"" | |
| var sInd = s.replacingOccurrences(of: "\\n", with: s1) | |
| sInd = sInd.replacingOccurrences(of: slash, with: slash + slash) | |
| sInd = s2 + s1 + sInd + s1 + s2 |
| server { | |
| listen 80; | |
| server_name kp.local; | |
| location = /msx/start.json { | |
| proxy_pass https://kpms.cc; | |
| proxy_http_version 1.1; | |
| proxy_set_header Host "kpms.cc"; |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0"> | |
| <title>Manual Control</title> | |
| </head> |
start py server, open web in browser