I needed the command wc -l [file] to display only the number of lines. On a forum somewhere on the Internet, a very helpful user answered exactly this same question. Unfortunately, he didn’t explain why it worked. I’ll use one of my files from the /home/user/ directory as an example: […]
Rubin
I have compiled kernel debian 6.12.111+deb13-amd64. Note, that I have also run update-grub. I did a small application including lseek call. First, I have to include f_pos from struct file at include/linux/fs.h. I hope you do have this folder on your system (full path is ~/kernel/linux-6.12.111/debian/linux-headers-6.12.111+deb13-common/usr/src/linux-headers-6.12.111+deb13-common/include/linux/fs.h. Basically, I need a […]
I know it is safer to use “always eject”. I also know what happens to the file being copied if I pull the cable mid-write: it’s lost or incomplete, and Windows offers “Scan and fix” next time. My question is about the rest of the drive (i.e., existing files and […]
I’ve got an issue I was wonder if you’ve ever seen. If I open “File Explorer” no files or folders show up just a blank window. If I Open it twice quickly with Windows + E all files and folders show up normally. SFC did not repair the issue and […]
Is it advisable to routinely turn off power to a desktop computer running Windows 11 that is in hybrid sleep mode (RAM is saved to disk)? Are there any downsides/dangers to this? Or is it better to switch to hibernate mode before turning off power? Which would you do if […]
So I have this monitor and it seems like from time to time the brightness suddenly drops to 15 and I have to manually move it back to my preferred 60! I didn’t find any power saving or automatic brightness settings in OSD! What is that?
When I use Microsoft Edge’s screenshot tool (Ctrl+Shift+S, then Capture full page), the saved image comes out smaller than the page itself, so small text looks soft and hard to read. Capture area on the same page keeps the normal size. Resetting page zoom with Ctrl+0 before capturing does not […]
My first post here. <audio id="player" autoplay controls> <source src="song1.mp3" type="audio/mpeg"> </audio> <script> var player = document.getElementById("player"); var songs = ["song1.mp3", "song2.mp3"]; var current = 0; player.addEventListener("ended", function () { current = (current + 1) % songs.length; // wraps back to song 1 after song 2 player.src = songs[current]; player.play(); […]
Background I’m troubleshooting repeated Windows Reliability Monitor reports involving LiveKernelEvent 193, specifically VIDEO_DXGKRNL_LIVEDUMP. I’m trying to determine whether my NVIDIA GeForce RTX 3070 is beginning to fail, or whether these reports are related to the NVIDIA driver, Windows graphics subsystem, or another system component. I recently performed a fresh installation […]