Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Format a Disk on Linux
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
-
Locate the right disk to operate on. A few commands might help you. For example, you can use the command
ls /dev/sd*to list all hard drives and the command …
Download a Single File from a GitHub Repository
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
curl -sSL https://raw.githubusercontent.com/legendu-net/blog/master/__init__.py
:::bash
curl -sSL https://raw.githubusercontent.com/legendu-net/icon/master/install_icon.sh
References
Tips on Two Factor Authentication
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
- Avoid using SMS text message as your 2F authentication
for a few reasons.
- You might lose your phone.
- Your phone might not work if you travel internationally.
- It is suggested that …
Preparing Data for AI
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
General Tips
-
When you label individual images, it is better to use numerical labels (even though text labels are easier to understand) so that you can avoid mapping between numbers (use …
Compress and Decompress Files in Rust
Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Please refer to Rust Crates - Compression Related for details. It is suggested that you use the Rust crate zstd as Zstandard is the best compression/decompression algorithm currently. For more discussions …