curl freezes during
Enable required repositories, try proxychains
colcon to build packages
official tutorial
sudo apt install python3-colcon-common-extensionsament_cmake user documentation
official tutorial,
CSDN post
~/.ssh/config to configure single-stage or multiple-stage SSH connections:
C/C++ IntelliSense to find missing headers:
C/C++: Edit Configurations (UI),
add paths to section Include path
Fold or Unfold,
look for Fold/Unfold All, Fold Level X, ...
ruby-rubocop dependency:sudo apt install ruby-devsudo gem install rubocopworkbench.editor.wrapTabs, then
check/uncheck to apply changes
Preferences: Open User Settings, search for Editor: Tab Size, and apply changes
Editor: Indent Size, apply
changes to make it different from Editor: Tab Size if desirable
vim ~/personal/apps/WindTerm_2.6.1/.wind/profiles/default.v10/user.config
.desktop file for an app icon
.desktop files, change them via
vim ~/.local/share/applications/windterm.desktop
socks5 proxy with a UDP local IP and port at
127.0.0.1:1089; you can setup and use proxychains as follows;
for reference, see
proxychains github repository,
CSDN post,
StackOverflow post
Settings > Region & Language > Manage Installed Languages
Install / Remove Languages > Chinese (simplified) [✓]Keyboard input method system > IBusApply System-WideLog Out
Settings > Keyboard > + Add Input Source...
Chinese > Chinese (Intelligent Pinyin) > Addsuper + space > 中 > Preferences
Pinyin mode > Cloud Input Option > [✓] Enable Cloud Input
Settings > Region & Language > Manage Installed Languages
Install / Remove Languages > Chinese (simplified) [✓]Keyboard input method system > Fcitx 4Apply System-WideLog Out
libfuse, Ubuntu 24.04 doesn't have it installed by default, in that case,
you need to install it via:
sudo apt install libfuse-dev
libfuse if you run Qv2ray executable from
terminal.
.desktop file for an app icon
.desktop files, change them via
vim ~/.local/share/applications/qv2ray.desktop
/path and file can take wildcard characters
*, ?, and []
| Purpose | Command | Notes |
|---|---|---|
| Find by name | find /path -name "file" 2>/dev/null |
Case-sensitive name matching |
| Case-insensitive find | find /path -iname "file" 2>/dev/null |
Matches FILE, File, file, etc. |
| Recently modified files (days) | find /path -mtime -7 2>/dev/null |
Files modified in last 7 days |
| Recently modified files (minutes) | find /path -mmin -30 2>/dev/null |
Files modified in last 30 minutes |
| Find large files | find /path -size +100M 2>/dev/null |
Files >100MB |
| Find regular files only | find /path -type f -name "*.txt" 2>/dev/null |
-type f indicates regular files |
| Find directories | find /path -type d -name "dir" 2>/dev/null |
-type d indicates directories |
| Find symbolic links | find /path -type l 2>/dev/null |
-type l indicates symbolic links |
| Find sockets | find /path -type s 2>/dev/null |
-type s indicates socket files |
| Wildcard | Function | Example |
|---|---|---|
* |
Matches any number of characters (including zero) | *.txt → all .txt files |
? |
Matches exactly one single character | file?.log → file1.log, fileA.log |
[] |
Matches any one character within the brackets; supports character lists [abc],
ranges
[a-z], and exclusion [!abc]
|
image[1-3].jpg → image1.jpg, image2.jpg, image3.jpg[!0-9]* → files not starting with a digit
|