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.

IPhone Keeps Connecting and Disconnecting

If your iPhone keeps connecting and disconnecting from your computer or charger, it can be a frustrating experience. This issue can be caused by various factors, including software glitches or hardware problems. In this article, we will walk you through some troubleshooting steps to help you resolve the issue. We will also discuss two permanent solutions: resetting the System Management Controller (SMC) and resetting the Non-Volatile Random-Access Memory (NVRAM) on your iPhone.

Reset Mac Dock Settings

If you need to reset your Mac’s Dock settings to their default values, you can use the following commands:

1
2
defaults delete com.apple.dock
killall Dock

This will remove any customizations you’ve made to your Dock and return it to its default configuration.

Set Mac Dock Icon Size

You can adjust the icon size of your Mac’s Dock to your preference. Here are commands to set different icon sizes:

Creating Large Files Using Terminal

To create large files on macOS, you can use the Terminal app. Follow these steps:

  1. Open Terminal: You can find Terminal in the Utilities folder within the Applications folder, or simply search for it using Spotlight.

  2. Navigate to the Desired Directory: Use the cd command to navigate to the directory where you want to create the large file. For example, to navigate to your home directory, use:

    cd ~
  3. Create the Large File: To create a large file filled with zeroes, you can use the dd command. The following command creates a file named “hugefile” with a block size of 100MB:

Securely Erasing Free Space on a Mac Hard Drive

When you delete files from your Mac’s hard drive, they are not immediately erased; instead, the space they occupied is marked as available for new data. Until new data overwrites that space, the old files can potentially be recovered using specialized software. To ensure that your sensitive data is completely irrecoverable, you can use the diskutil secureErase command in the Terminal.

Important Note: The following instructions involve using Terminal commands, which can have serious consequences if used incorrectly. Make sure to follow the steps carefully and double-check the commands before executing them.

SSH Tunneling Auto Reconnect Alive

SSH tunneling is a powerful technique for securely forwarding network traffic from one machine to another. It’s commonly used to access resources on a remote server as if they were local, especially in scenarios where you need to securely access services behind a firewall or from a different network. To ensure the SSH tunnel remains stable and automatically reconnects when there are interruptions, you can use tools like autossh in combination with server and client-side configurations.

How to Fix Error Uninstalling Due to Missing Original MSI Installer

Sometimes, when trying to uninstall a program, you might encounter an error message stating that the uninstallation is blocked due to a missing original MSI installer. This issue can be frustrating, but there are steps you can take to resolve it. Microsoft provides a tool to help fix problems that block programs from being installed or removed. Here’s how to use it:

  1. Download the Troubleshooter: Visit the following Microsoft support page to download the “Program Install and Uninstall Troubleshooter”: Program Install and Uninstall Troubleshooter

0%