So I had a bunch of audio files in mono and wanted to convert them to sterero. This is pretty much just a case of copying the single-channel mono stream and pasting it into the two separate channels of the stereo track. I then also wanted to add a fake effect that makes this new dubious stereo track sound something like a genuine stereo track. All this is possible in Audacity. What's more, the program allows batch processing which allowed me to automate this task across a bunch of files.
- Create a batch file named
turnoff.baton your desktop.
- Open it and add the following line
powershell (Add-Type '[DllImport("user32.dll")]^public static extern int PostMessage(int hWnd, int hMsg, int wParam, int lParam);' -Name a -Pas)::PostMessage(-1,0x0112,0xF170,2)
- Save the batch file.
- Run the file to turn off your screens.There will be a brief command-line window that pops up during execution.
Tested on Windows 10.
You sometimes want to check if a program that you've installed is doing anything funky. While you could install a full-blown packet analyser like WIreshark, sometimes, that is overkill. A quicker and handier option would be to just rely on good old netstat. Like so:
netstat -bn 10
as well as
netstat -bf 10
-b: displays the program name (executable)
-n: displays the IP address
-f: displays the resolved form of the IP address
So, I've been facing some DNS issues with my Ubuntu box and needed to do some debugging. While I was certain that my router was assigning the Google DNS servers (184.108.40.206 and 220.127.116.11) via DHCP to my machine, I needed to make sure that they were actually being used. Usually, I would be able to tell by looking at the output of
/etc/resolv.conf oslt. However what I found in resolv.conf was
An ASUS ROGSTRIX B450-F gaming motherboard that I have had been working perfectly fine for a year. Suddenly though, booting up the system resulted in the following message on the POST boot screen:
USB Device over current status detected !! System will shut down after 15 seconds
The system would shutdown and restarting would result in the same message. I couldn't get into the BIOS either as the del and F2 keys did nothing.
So I have a Xubuntu box, an old PC that was running Windows previously. All is peachy with the Linux install bar one thing: every time I shutdown the system, it shuts down fine, but immediately restarts again. This wasn't happening with Windows and appeared to be an issue particular to Linux or Ubuntu.
Here are the steps I used to get X11VNC working on an Ubuntu (19.10) box. Hope this helps somebody else out there too.
On a fresh installation of Windows 10, I found that Youtube was working just fine, but other embedded videos on sites like Twitch and Reddit were not. I thought it had something to do with HTML5 or flash, but as it turns out, it was because I had chosen the wrong version of Windows during the installation process. Choosing Windows Professional N or, basically any N version, results in video issues primarily due to the lack of appropriate codec and DRM support. Even Netflix will very likely not play. This also affects all browsers.
Freeplane, a fork of the mind-mapping program, Freemind, works really well. Except for the fact that in my (K)Ubuntu installation, it sometimes hangs in the middle of editing a node. Once it becomes non-responsive, the only fix is to kill the process and restart the program. The version of Freeplane in Ubuntu 18.04 is 1.6.13. However, the current version (March 2019) of Freeplane is 1.7.7. So, it's highly possible that upgrading Freeplane to the latest version will fix this issue.
I needed to install Windows and downloaded the 4.7GB Windows 10 ISO from Microsoft's website. Since I only had Linux machines at my disposal (and no DVD drives), I had to look to install the ISO on a pen drive. While the purists advocated that I use
dd to accomplish this, I found that getting the USB to be bootable was something of a chore. So I looked for a friendlier solution and this is what I found for Kubuntu: