Use it with KindleGen
kindlegen dic.opf
| #!/bin/sh | |
| #sudo curl https://gist.githubusercontent.com/openhoangnc/1bb591e8843ac111c0661f5615eda0e1/raw/51933d70dd3e384cca69c0fdd835f6243ad38d12/install_lastest_golang.sh | sh | |
| GOVERSION=1.9.3 | |
| GOOS=linux | |
| GOARCH=amd64 | |
| TARFILE=go$GOVERSION.$GOOS-$GOARCH.tar.gz | |
| TARFILEFULL=/tmp/$TARFILE | |
| PROFILE=/etc/profile.d/golang.sh |
| VBoxManage modifyvm "MacOS" --cpuidset 00000001 000106e5 00100800 0098e3fd bfebfbff | |
| VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemProduct" "iMac11,3" | |
| VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiSystemVersion" "1.0" | |
| VBoxManage setextradata "MacOS" "VBoxInternal/Devices/efi/0/Config/DmiBoardProduct" "Iloveapple" | |
| VBoxManage setextradata "MacOS" "VBoxInternal/Devices/smc/0/Config/DeviceKey" "ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc" | |
| VBoxManage setextradata "MacOS" "VBoxInternal/Devices/smc/0/Config/GetKeyFromRealSMC" 1 |
| #!/bin/bash | |
| ACTIVE_WINDOW="" | |
| while true | |
| do | |
| sleep 0.5 | |
| NEW_ACTIVE_WINDOW=$(xprop -root 32x '\t$0' _NET_ACTIVE_WINDOW | cut -f 2) |
Use it with KindleGen
kindlegen dic.opf
| sudo sed -i -E "s/([^\/]+\.)?archive\.ubuntu\.com/ap-southeast-1.ec2.archive.ubuntu.com/" /etc/apt/sources.list |
| #include <Arduino.h> | |
| // the setup function runs once when you press reset or power the board | |
| void setup() | |
| { | |
| uint32_t outputMode8Pin = 0x77777777; | |
| /** | |
| 0x7 = 0 1 1 1 | |
| CNF1 CNF0 MODE1 MODE0 | |
| General perpose output + open-drain + Max output speed 50MHz |
| "\e[A": history-search-backward | |
| "\e[B": history-search-forward | |
| set show-all-if-ambiguous on | |
| set completion-ignore-case on |
https://github.com/angristan/openvpn-install
Comment out (add #) line push "redirect-gateway def1 bypass-dhcp" in /etc/openvpn/server.conf
| { | |
| "scripts": { | |
| "postinstall": "echo > node_modules/go.mod" | |
| } | |
| } |
macOS 11.5.2
location: Vietnam
I got this error while installing rosetta by clicking the "Install" button:
“Installing Rosetta 2 on this system is not supported.”
Run this command in the terminal should work