Creating mysqld link
[100%] Built target mariadbd
Creating mariabackup link
[100%] Built target mariadb-backup
make -j$(nproc)
5106.18s user
613.70s system
726% cpu
- https://vimtricks.com/p/confirm-replacements/ ⭐⭐
- https://vimtricks.com/p/change-character-case/ ⭐ (toggle case in IntelliJ)
- Multiple copy/paste history registers (IntelliJ Ctrl+Shift+V)
- https://vimtricks.com/p/edit-multiple-lines-at-once-in-vim/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
user_input="; rm -rf /" | |
# This is dangerous! | |
eval "echo Hello $user_input World" |
Using the simple example from the website. https://criu.org/Simple_loop
Install CRiU
sudo apt update
sudo apt install criu
# Check criu is installed with the correct kernel
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Cache and table hit rates for Postgres | |
SELECT | |
'index hit rate' AS name, | |
(sum(idx_blks_hit)) / nullif(sum(idx_blks_hit + idx_blks_read),0) AS ratio | |
FROM pg_statio_user_indexes | |
UNION ALL | |
SELECT | |
'table hit rate' AS name, | |
sum(heap_blks_hit) / nullif(sum(heap_blks_hit) + sum(heap_blks_read),0) AS ratio | |
FROM pg_statio_user_tables; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains fixed global exclude patterns | |
*~ | |
~$* | |
.~lock.* | |
~*.tmp | |
]*.~* | |
]Icon\r* | |
].DS_Store | |
].ds_store |
NewerOlder