-
Install Oracle Linux in VirtualBox
-
Before shutdown, be aware to do these things
- Edit /etc/default/grub
- Remove splash & quiet & rhgb
- Add console=ttyS0,38400n8d
- Update grub
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
- Edit /etc/default/grub
Install Oracle Linux in VirtualBox
Before shutdown, be aware to do these things
sudo grub2-mkconfig -o /boot/grub2/grub.cfg
touch /Volumes/boot/ssh
country=TW
| kubectl get namespace annoying-namespace-to-delete -o json > tmp.json | |
| # Edit tmp.json, and remove contents in finalizers with empty array [] | |
| curl -k -H "Content-Type: application/json" -X PUT --data-binary @tmp.json https://kubernetes-cluster-ip/api/v1/namespaces/annoying-namespace-to-delete/finalize |
| #!/usr/bin/node | |
| // use puppeteer 0.12.0 | |
| // since puppeteer has problems in socks5 | |
| // use polipo as a http proxy, which parent proxy is tor (localhost:9050) | |
| var time = require('time'); | |
| var sleep = require('sleep'); | |
| const random_max = 10; |
| #!/usr/bin/osascript | |
| (* Set Volume to 100 *) | |
| set volume 100 | |
| tell application "System Preferences" | |
| activate | |
| set current pane to pane "com.apple.preference.sound" | |
| reveal (first anchor of current pane whose name is "output") | |
| end tell | |
| tell application "System Events" | |
| launch |
| Uplink | |
| set interfaces ge-0/0/0 unit 0 family ethernet-switching |