How i get Google drive to automatically Sync new Windows 11 Files

If you want to keep your local files in sync with your Google Drive account, you can use a graphical or command-line method on your Windows 11 PC.

Use the Official Google Drive App

One way to sync new files on your Windows 11 PC with Google Drive is to use the official Google Drive app for Windows. This app allows you to pick the folders on your storage that you want to keep in sync with your cloud account.To use this method, download and launch the Google Drive app on your PC. In the app, sign in to your Google account. This is the account where the app will sync your files.To now add a folder to sync with Google Drive, right-click the Google Drive app in Windows 11’s system tray, click the gear icon, and choose “Preferences”.

On the Google Drive Preferences window, in the left sidebar, click “My Laptop.” Then, choose the “Add Folder” button.

Select the folder you want to keep in sync with your cloud account. In the Settings prompt that opens, select whether you want to sync your files with Google Drive or Google Photos. If your files are images and videos, you can select the Google Photos option. Then, choose “Done”.

From now on, Google Drive will keep an eye on your chosen folder for any file updates. When you add or change a file in this folder, this change will reflect in your Google Drive account.

[mai mult...]

How to create and run a Script in AutoHotkey

AutoHotkey (AHK) is a powerful automation tool that can transform the way you interact with Windows. With simple scripts, you can fix some of Windows’ annoying limitations by adding missing features. This guide showcases practical examples of how I do that. This is not an in-depth tutorial on AHK, so you can use these scripts as is or as inspiration to explore the program more and create your own.

AutoHotkey is a scripting language that helps you automate repetitive tasks on Windows. It’s a lightweight and versatile tool for enhancing productivity and creating custom workflows. You might be feeling intimidated at this point, thinking AHK is mostly for programmers, but I assure you, it’s easy to learn. Once you see how easy to follow many of the scripts in the guide are, you will realize how intuitive, yet powerful, AutoHotkey is.

[mai mult...]

How to create and enable a Swap File on Linux

A swap file acts as additional virtual memory when your physical RAM is full. It can prevent your system from crashing due to memory exhaustion, especially on servers or VPS instances with limited resources. While not as fast as RAM, swap gives breathing room to processes under memory pressure. Setting one up is useful on systems without a swap partition or where more swap space is needed temporarily.

[mai mult...]

Build Linux Software from source in 3 easy steps

Programs that you run on your computer are either interpreted or compiled. The former are text files containing the code that another program—an interpreter—will read and execute when you run them. The latter are standalone binary files that contain machine code and run directly.Compiled executables are very common, especially for larger programs. When you build from source, you use a compiler—like gcc—to generate an executable from the application’s source code, which may be distributed across many individual files.

Because building from source can be a complex and lengthy process, it is usually automated via another program, most often Make. You can write makefiles to control how a project builds its final executable program.In more complicated projects, makefiles themselves get large and unwieldy. This is especially true for portable apps that need to work across different architectures and environments. To cater to these situations, many projects generate their makefiles automatically using a tool called autoconf/automake.

[mai mult...]

How to change the default file Explorer in Windows

The Windows File Explorer has received many exciting features over time, like the ability to manage archive files, multiple tab support, and more. However, there are many important features, like the ability to view folder sizes, that are still missing from File Explorer. If your only complaint from Windows File Explorer is that it doesn’t show folder sizes, then you can take the help of a third-party tool called Windhawk to address that concern.

However, if you want some extra features beyond what the Windows File Explorer currently offers, then you should install a third-party file manager. There are plenty of options to choose from, such as OneCommander, DirectoryOpus, File Pilot, and more. Once you install one of these apps, you’ll need to set it as the default file explorer on your computer. Otherwise, Windows will continue to open files with its built-in File Explorer instead of the third-party app you installed.

Unfortunately, not all of these File Explorer alternatives include a built-in setting to automatically set them as the default file manager on Windows 11.For instance, you can set OneCommander as the default File Explorer by clicking the hamburger icon in the top-left corner, navigating to Program Settings > Advanced, and checking the “Register as a Default File Manager” box.

However, File Pilot and many other third-party file managers don’t offer this option. To set them as the default file explorer on Windows, you need to manually edit the registry. Even for apps that include a built-in option, like OneCommander, the process ultimately involves the same registry modification; it’s just done in the background.

[mai mult...]