Skip to content

Instantly share code, notes, and snippets.

View exsky's full-sized avatar
🥃
Drunk ...

Alex Yang exsky

🥃
Drunk ...
  • Taiwan
View GitHub Profile
@exsky
exsky / ezlearning.user.js
Last active March 18, 2025 06:54 — forked from tan9/ezlearning.user.js
CHT e-Learning Assistant
// ==UserScript==
// @name CHT e-Learning Assistant
// @source https://gist.github.com/tan9/41686eab8e704bb18885a24339010d65
// @version 0.8.12.002
// @description Learn without pain (and ideally, with plenty of gain...)
// @author tan9, danny, Ray941216
// @downloadURL https://gist.github.com/tan9/41686eab8e704bb18885a24339010d65/raw/ezlearning.user.js
// @updateURL https://gist.github.com/tan9/41686eab8e704bb18885a24339010d65/raw/ezlearning.user.js
// @require https://www.gstatic.com/firebasejs/4.9.0/firebase.js
// @require https://code.jquery.com/jquery-1.12.4.min.js
h scroll left
j scroll down
k scroll up
l scroll right
gg scroll to top of the page
G scroll to bottom of the page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload
h scroll left
j scroll down
k scroll up
l scroll right
gg scroll to top of the page
G scroll to bottom of the page
f activate link hints mode to open in current tab
F activate link hints mode to open in new tab
r reload
2018.03.30
[針對文件的檢討](https://hackmd.io/F7C-2hJ1TeC1m2-UhmP4EQ?both)
1. 為什麼要用 virt-install 而非直接用 virsh ?
-> 單純就只是因為比較好用而已XD
2. 補齊 shutdown, define, restore, suspend
3. 一些 sub-command 後面不只能接 vm_name,還可以接 UUID 等等,以補進文件裡面
2018.03.29
[針對文件的檢討](https://hackmd.io/JrXNVp-hT0uvTFQxJqgOmQ?both)
Do not use Italic in Chinese
1. libvirt 是對虛擬化操作的 API ﹔不是虛擬化的實作
2. QEMU 提供 CPU,Memory,I/O 給 Guest OS
4. 動態非動態可能是指有無預先編譯
5. QEMU 並不是 libvirt 的實作。 QEMU 負責提供 CPU、Memory、I/O。
usage: virt-install --name NAME --memory MB STORAGE INSTALL [options]
Create a new virtual machine from specified install media.
optional arguments:
-h, --help show this help message and exit
--version show program's version number and exit
--connect URI Connect to hypervisor with libvirt URI
General Options:
@exsky
exsky / README.md
Created January 25, 2018 02:39 — forked from hofmannsven/README.md
My simply MySQL Command Line Cheatsheet