Home avatar

Building and implementing end-to-end solutions to solve real-world problems

Troubleshooting Mouse Scrolling in Tmux Sessions on Iterm2

If you’re experiencing issues with mouse scrolling in your Tmux sessions on iTerm2, you can follow these steps to troubleshoot and resolve the problem:

  1. Check iTerm2 Setting: Make sure that the “Scroll wheels send arrow keys when in alternate screen mode” option is enabled in iTerm2. You can find this setting in iTerm2’s preferences. Go to iTerm2 > Preferences > Advanced, and ensure that the “Scroll wheels send arrow keys…” option is set to “Yes.”

Enable Read Input When Debugging Golang on Visual Studio Code

It looks like you’re trying to set up debugging for a Golang application in Visual Studio Code, specifically focusing on enabling input reading during debugging. The configuration you’ve provided involves using the launch.json and task.json files to set up the debugger and tasks for your project.

Here’s a breakdown of the configuration you’ve shared:

launch.json Configuration

In this configuration, you’re defining a launch configuration to connect to a remote server for debugging. Here are the key attributes:

Troubleshooting Barrier SSL Certificate Not Found

If you are encountering issues with Barrier when SSL is enabled and you are getting an error related to the SSL certificate not being found, you can follow these steps to generate and configure the SSL certificate.

Generating the SSL Certificate

You can generate a self-signed SSL certificate for Barrier using OpenSSL. Here are the steps:

Wordpress Center Align Block Widget on Footer Widget

To center align a block widget in the footer of a WordPress website, you can use custom CSS code. Here’s how you can do it:

  1. Access Your WordPress Dashboard: Log in to your WordPress admin dashboard.

  2. Navigate to the Customizer: In the dashboard, go to “Appearance” and then click on “Customize.”

  3. Open Additional CSS: Look for the “Additional CSS” option in the Customizer menu. This is where you can add your custom CSS code.

Automate Your VirtualBox VMs With Autostart

This guide will walk you through setting up a system service to automatically launch your desired VirtualBox VMs, saving you precious time and effort.

Configure Autostart Properties

  • Create a file named autostart.properties in the folder C:\Users\Admin\.VirtualBox.
  • Inside the file, define the following:
1
2
3
4
5
default_policy = deny
Admin = {
    allow = true
    startup_delay = 10
}
  • default_policy = deny: This sets the default policy to deny all autostarts.
  • Admin = { allow = true; startup_delay = 10 }: This allows the user “Admin” to start VMs with a 10-second delay.

Set System Variable

  • Create a new system variable named VBOXAUTOSTART_CONFIG and set its value to C:\Users\Admin\.VirtualBox\autostart.properties.

Install the VirtualBox Autostart Service

  • Navigate to the VirtualBox installation directory: cd "C:\Program Files\Oracle\VirtualBox"
  • Run the following commands:
1
2
.\VBoxAutostartSvc.exe install --user=Admin
.\VBoxManage.exe modifyvm "virtual-pc" --autostart-enabled on
  • Replace "virtual-pc" with the actual name of your VM you want to autostart.

Check and Start the Service

  • Use the sc command to check the service status: sc query VBoxAutostartSvcadmin-pcadmin
  • Start the service: sc start VirtualBox Autostart Service VBoxAutostartSvcadmin-pcadmin

Congratulations! Your VirtualBox VM is now set to autostart when your system boots.

Fixing SSL Issue in Nextcloud

You want to fixing two common issues related to Nextcloud SSL and an SVG error related to ImageMagick. Let’s break down these instructions into steps for clarity:

Fixing SSL Issue in Nextcloud

If you’re encountering SSL-related issues in Nextcloud, you can try the following steps: