Soluții

How to configure Virtual desktops in Windows 10

Windows 10 allow you to add multiple desktops while using the OS. With the help of multiple virtual desktop windows, it becomes easier for you to work on more than one application simultaneously. Since many applications require that you use then in full screen mode (otherwise many of their options remain hidden or inaccessible), by adding a couple of virtual desktops on your Windows 10 computer, you can work on many applications simultaneously without minimizing or closing a single one.

[mai mult...]

How to prevent a Bash Script from relaunching too soon

Sometimes it’s useful to make sure a Bash shell script doesn’t run too frequently. Here’s a neat way to set a time limit that must expire before the script can run again.

Depending on what it’s doing and which other processes it may launch, a Bash script can consume as much RAM and CPU time as any other resource-hungry process. It can be useful to limit how frequently such a script can be launched.Enforcing a period of respite between each run of a heavyweight script stops it from hogging resources. Computationally expensive scripts can monopolize computers to the point where other users experience a drop in performance.

In extreme cases, if the script causes a lot of disk churn, for example, it can even hasten the demise of your hardware.Of course, engineering a scheme that limits how soon you can relaunch a script adds code to your script, and gives it one more thing to do. That might sound counterproductive, but if the checks are lightweight and fast, their tiny overheads are far outweighed by their resource savings.

[mai mult...]

How to set up a VPN on Windows 11

Ever wished you had a secret passage to navigate the internet? Well, a Virtual Private Network (VPN) is kind of like that! It creates a secure, encrypted tunnel between your device and a remote server run by a VPN provider. Think of it like a hidden pathway for your online traffic.

Here’s why a VPN is so useful:

Enhanced Privacy: Using a VPN is like wearing a mask online. It hides your real IP address, making it appear as if you’re browsing from the location of the VPN server. This keeps your online activity more private and harder to track.

Encrypted Messages: Imagine scrambling your messages so only the intended recipient can understand them. That’s what encryption does! When you use a VPN, your internet traffic is encrypted, making it unreadable to anyone trying to snoop on your connection. This is especially important when using public Wi-Fi networks.

Bypassing Restrictions: Sometimes, websites or online content might be restricted based on your location. A VPN can help you access these by virtually placing you in a different location (the location of the VPN server).

[mai mult...]

Color cmd command

Color is an inbuilt command found inside the Windows Command Processor (cmd.exe), that is used for changing the colors of the console’s foreground and background. By default, the console has white foreground color and black background color (07 color code). The command is generally used either to personalize the aesthetics of the console window, or the make the colors more appropriate for Dim or Dark Displays (ex. TN panels).

[mai mult...]

Assoc cmd command

Assoc is command (internal) found inside Windows Command Processor Command Prompt, that allows for file extension to file type association. A file extension is generally last few characters in File Name after period (“.”). Though it is not mandatory for file to have an extension at all (in case of extension-less files).

Extension to file type association is enforced predominantly by Windows OS. Other Operating Systems such as Linux and macOS does support such association but don’t enforce them to levels of Windows.

[mai mult...]