Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Use pdftk to Manipulating PDF Files
It is suggested that you use Python modules instead of pdftk
to manipulating PDFs for several reasons.
First,
even though pdftk
is a great command-line tool,
it is hard to remember its syntax.
On the contratry,
Python code is easy to read and understand (even though it is more verbose …
Android Emulators
Name | Free | OS | Hyper-v Compat on Win | ARM-only App Support | Development |
---|---|---|---|---|---|
GenyMotion [1] | Limited | Windows, macOS, Linux | Partial | Limited | Active |
BlueStacks [2] | Yes | Windows, macOS | No | Yes | Active |
LDPlayer [3] | Yes | Windows | No | Yes | Active |
xDroid [9] | Limited | Linux | NA | Limited | Active |
MuMu App Player [5] | Yes | macOS (M chip … |
Tips on the find command in Linux
It is suggested that you
use
Python (the pathlib
module),
ripgrep,
fselect
or
osquery
(currently have some bugs)
instead of find
to locate files.
- The Python module
pathlib
is the most suitable one for relatively complex jobs. ripgrep
is a more user-friendly alternative to find.- Both fselect and osquery support …
My Docker Images
Recommended Docker Images and Tags
Most of my Docker images have different variants
(corresponding to tags latest
, next
, etc)
for different use cases.
And each tag might have histocial versions
with the pattern mmddhh
(mm
, dd
and hh
stand for the month, day and hour)
for fallback if a tag …
Expose Local Services to Public Using ngrok
You can expose a local service to public using ngrok
.
Follow instructions in the
official documentation of ngrok
to setup ngrok
.
-
Install ngrok.
sudo snap install ngrok
-
Login to ngrok.com to identify your ngrok token.
-
Connect your account following instructions.
ngrok config add-authtoken your_token
-
Start a http tunnel forwarding …