Dimas Maulana

Dimas Maulana

Developer

Welcome to my website! I am a developer with a current focus on React and Go. My experience encompasses both front-end and back-end development, enabling me to design and develop seamless and efficient applications.

How to Disable Turbo Boost Without Asking Administrator Password on Turbo Boost Switcher

If you want to disable Turbo Boost on your Mac without having to enter the administrator password every time, you can use Turbo Boost Switcher and set it up to run as a root or as a service. Here are the steps to achieve this:

Run Turbo Boost Switcher As Root

  1. Open the Terminal application. You can find it in the Applications folder under Utilities, or you can use Spotlight by pressing Cmd + Space and typing “Terminal.”

How to Prevent Auto Volume Changes on Google Meet in Chrome

Google Meet is a popular video conferencing tool, but one common issue users encounter is auto volume adjustment, which can be quite annoying during meetings. Thankfully, there’s a Chrome extension called “Disable Automatic Gain Control” that can help you stop auto volume changes on Google Meet. In this guide, we’ll walk you through the steps to install and use this extension.

Step 1: Install the Chrome Extension

To get started, you’ll need to install the “Disable Automatic Gain Control” Chrome extension. Here’s how to do it:

How to Merge a Subtitle File Directly With a Movie on Mac Using Subler

Subler is a powerful and user-friendly application for macOS that allows you to add subtitle files directly to your movie files. This can be incredibly useful if you have a movie without built-in subtitles or if you want to replace the existing subtitles with a different language or better-quality subtitles. In this guide, we will walk you through the process of merging a subtitle file with a movie using Subler.

Fixing Puppeteer Libgbm.so.1 Error on Ubuntu

When trying to run Puppeteer on Ubuntu, you may encounter the following error:

error while loading shared libraries: libgbm.so.1: cannot open shared object file: No such file or directory

This error occurs because the required library libgbm.so.1 is missing on your system. To resolve this issue, you need to install the libgbm development package. Here’s a step-by-step guide on how to fix it:

Step 1: Update Package Lists

Before installing any packages, it’s always a good practice to update the package lists to ensure you are installing the latest versions available.

How to Sync With Rsync but Ignore .DS_Store Files

Rsync is a powerful command-line tool for synchronizing files and directories between two locations. However, when syncing macOS files to another location, you may encounter pesky .DS_Store files, which are hidden metadata files created by the Finder. To exclude these files from your rsync operation, you can use the --exclude flag. Below is an example of how to sync files while ignoring .DS_Store files:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
### Command Explanation

Let's break down the command step by step:

- `rsync`: This is the command itself.
- `--force`: This option tells rsync to overwrite files without asking for confirmation.
- `-ahviP`: These are a combination of options:
  - `-a`: Archive mode, which preserves various attributes of files and directories.
  - `-h`: Output numbers in a human-readable format (e.g., 1K, 2M).
  - `-v`: Verbose mode, which displays detailed information about the sync process.
  - `-i`: Itemize changes, displaying a summary of the changes made.
  - `-P`: Equivalent to `--partial --progress`, it keeps partially transferred files and shows progress during transfer.
- `--exclude '.DS_Store'`: This flag tells rsync to exclude any file or directory named `.DS_Store`.
- `--delete`: This option deletes files in the destination that are not present in the source. Be cautious with this option as it can result in data loss if not used carefully.
- `/Users/dimas/Vaults/Photos/`: This is the source directory you want to sync.
- `/Volumes/example/Photos/`: This is the destination directory where you want to sync the files.

### Usage Notes

1. **Source and Destination Paths**: Make sure to replace `/Users/dimas/Vaults/Photos/` and `/Volumes/example/Photos/` with your actual source and destination paths.

2. **Be Careful with --delete**: The `--delete` option can remove files in the destination that are not in the source. Use it with caution to avoid unintentional data loss.

3. **Backup**: Before running any rsync command with the `--delete` option, ensure you have a backup of your data in case something goes wrong.

4. **Hidden Files**: `.DS_Store` files are just one example of hidden files on macOS. You can use the same `--exclude` flag to exclude other hidden files or directories if needed.

With this command, you can effectively synchronize your files and directories while excluding `.DS_Store` files, keeping your destination directory clean and clutter-free.

Feel free to customize the command according to your specific needs, such as excluding other hidden files or directories or adjusting the sync options to suit your preferences.

0%