Showing posts with label
Pastebins
.
Show all posts
Showing posts with label
Pastebins
.
Show all posts
Sunday, April 13, 2025
CD Recording Modes
›
I wanted to preserve this knowledge that I found in a webpage that I can no longer find online along with some info from Wikipedia. DAO (Dis...
Recovery Guide for Casio FX-5800P Calculator
›
In rare cases, the FX-5800P calculator may experience firmware corruption, displaying ROM!!!!! on startup. Here's a comprehensive guide...
Slow Query Monitoring in MySQL and MariaDB
›
To enable slow query monitoring in MySQL or MariaDB, run these commands in your client: SET GLOBAL slow_query_log = 1; SET GLOBAL long_query...
Wednesday, January 3, 2024
Cryptsetup basic cheatsheet
›
To format a partition (e.g. sda1) as LUKS with an HMAC integrity layer: cryptsetup luksFormat --type=luks2 --integrity hmac-sha256 /dev/sda1...
Parallelizing LAME MP3 conversions
›
In Linux, the P4 parameter below will launch 4 LAME instances in parallel to process all the FLAC files into MP3 with the given LAME setting...
Finding (non) writable files under a directory
›
To find all writable by the current user files under the working directory: find . -writable To find the non writable ones: find . ! -writab...
Tuesday, January 2, 2024
Force unmount stuck LUKS on Linux Mint
›
If Linux Mint refuses to mount an encrypted external drive that was abruptly disconnected and gives you a message like "file already ex...
LXDE/Raspberry language layout switching
›
Adding setxkbmap -option grp:switch,grp:alt_shift_toggle,grp_led:scroll de,us to your ~/.bashrc (or manually running it after LXDE has start...
Mounting VirtualBox VDI files on Linux
›
The following commands, will mount a VirtualBox VDI file on Linux. First make the directory where you'll mount the virtual partition fil...
Printing all files in subdirectories sorted by date
›
On Linux: find -printf "%TY-%Tm-%Td %TT %p\n" | sort -n will show sorted by modification date all the files under the working dire...
Finding shared library dependencies of ELF binaries
›
If you have an ELF binary in your current directory named luajit, run the following command to see which shared libraries it depends on: rea...
Simple Lua benchmark
›
Start a Lua interpreter and paste the following in it: l=os.time() m=0 c=0 while true do n=os.time() if n~=l then l=n m=math.max(m,c) print(...
How to store command output in bash variable
›
x="$(head -15 testfile.txt)" This would store the first 15 lines of testfile.txt in variable x.
›
Home
View web version