Install Arch Linux in an encrypted BTRFS partition with GPT and UEFI support, GRUB2 with unencrypted SWAP
| """ | |
| Original by Markus Kuhn, adapted for HTML by Martin Dürst. | |
| UTF-8 encoded sample plain-text file | |
| ‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾‾ | |
| Markus Kuhn [ˈmaʳkʊs kuːn] <mkuhn@acm.org> — 1999-08-20 | |
| The ASCII compatible UTF-8 encoding of ISO 10646 and Unicode |
| #!/usr/bin/env python3 | |
| # Redirect all requests to the given URL. | |
| import SimpleHTTPServer | |
| import SocketServer | |
| class FakeRedirect(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| def do_GET(self): | |
| print(self.path) | |
| self.send_response(301) |
Here I collect, various EMACS/evil/org… tips, shortcuts, keybindings, etc. Also, here some information how I handle daily usage of text editing.
This not absolute beginner cheat sheet, just some short basic commands/tips.
Recommendation - just use it & check it every day (training mode).
I didn't run application, just checked source code. Here some places, which I think can be improved. Application looks like early prototype, but I think some code can be written better (even for prototype). Git history is empty, looks like code was written without VCS (propopably fine for first alpha release). No tests, propably fine for this small prototype, but I think later TDD will be useful. Code looking a little outdated (I'm also often write in this style, but for new projects better to use some like type hints, docstrings, etc).
| #!/usr/bin/env python3 | |
| # You need py-notifier package installed | |
| # https://github.com/YuriyLisovskiy/pynotifier | |
| # and also AnkiConnect extension | |
| # https://ankiweb.net/shared/info/2055492159 | |
| import json | |
| import sys | |
| import urllib.request |
| - python | |
| - jupyter | |
| - node | |
| - gcc | |
| - pycharm | |
| - ideavim + easymotion | |
| - ansible | |
| - csv | |
| - dash |