Monitor DNS query time
{ while true; do dig google.com | kazy -i "Query time" | kazy -r -x "[\d.]*"; sleep 1; done } | ttyplot -t "dig to google.com"
{ while true; do dig google.com | kazy -i "Query time" | kazy -r -x "[\d.]*"; sleep 1; done } | ttyplot -t "dig to google.com"
Install ttyplot
:
grm install tenox7/ttyplot -n ttyplot
Ping plot:
ping 8.8.8.8 | sed -u 's/^.*time=//g; s/ ms//g' | ttyplot -t "ping to 8.8.8.8" -u ms
Open wireshark GUI as root user:
sudo wireshark
Start capturing by clicking Capture button and add the following display filter:
http and (tcp.port == 8082 or tcp.port == 8000)
Case 1: it is done in a separate commit:
git rebase -i <base_branch>
pick
with d
)Case 2: it is done in the commit which contains other changes
git rebase -i <base_branch>
pick
with e
)git restore --staged <path_to_submodule>
git rebase --continue
HUNT 44 Aerodynamicist Carbon Disc Wheelset product page
Max tyre pressure is 6.9 bar (100 psi). Recommended tyre pressure:
socat UNIX-LISTEN:/var/run/hapee-lb.sock,mode=666,fork TCP-CONNECT:127.0.0.1:1936
Will create /var/run/hapee-lb.sock
file which forwards all input to 127.0.0.1:1936
. fork
parameter
will allow it to handle connection close and accept more than 1 request
Very useful command to cherry pick the whole branch
git cherry-pick 751a77^..8b62f1
^
- means the the first commit will be included too
If your repository has an installed pre-commit hook which uses husky or anything similar and you use Github Desktop for linux installed via flatpak it won’t work. The reason for this is that flatpak environment doesn’t have all necessary dependencies (npx, husky and etc.). There is a way to mount parts of your host file system to the flatpak environment (with --filesystem
flag), but it excludes all sensitive folders (including /usr/bin/
). A possible solution would be to mount the content of /usr/bin/
to a custom folder in flatpak environment and override PATH
environmental variable. But the quick fix for now is to just disable it:
flatpak override --user --env=HUSKY=0 io.github.shiftey.Desktop
There is no official guide to migrate from Rocky Linux to CentOS Stream, however, it can be achieved by using official CentOS to CentOS Stream migration guide
dnf install https://vault.centos.org/centos/8/extras/x86_64/os/Packages/centos-release-stream-8.1-1.1911.0.7.el8.x86_64.rpm
dnf swap centos-{linux,stream}-repos -y
command. However, this command will cause multiple conflicts in Rocky Linux. To solve them:/etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
file from any Centos Stream system into Rocky Linuxrpm -e --nodeps rocky-repos
rpm -e --nodeps rocky-release
dnf swap centos-{linux,stream}-repos -y
dnf distro-sync -y
cat /etc/centos-release
reboot
sudo firewall-cmd --add-rich-rule="rule family='ipv4' source address='89.20.160.77' reject" --timeout=1h
Valid values for timeout - numbers followed by s
, m
or h