Gábor Hargitai's Toolbox

… for when you just can't seem to remember that damn command

  • Articles
  • Colibri
  • Sleep Warden

Author - Gábor Hargitai

  • Debian
  • Linux
  • Ubuntu

Create and Add a new Swap File to your Ubuntu or Debian Server VPS

2021-03-14
by Gábor Hargitai
1 min read

Running low on VPS memory? Add a little headroom to your RAM by extending it via a brand new swap file!

Continue reading

  • OS X
  • Xcode

Xcode can’t update / install from Mac AppStore is stuck on waiting

2020-12-15
by Gábor Hargitai
1 min read

After hitting the Update button, the dreaded “waiting” state shows up, only to not be accompanied by any progress, shape of form. Launching Console yields no discernible results apart from an off-putting occasional...

Continue reading

  • OS X

Delete local Time Machine snapshots / backups from macOS

2020-10-21
by Gábor Hargitai
1 min read

If you need to free up some space and you are definitely sure that there could be nothing important / indispensable within your local Time Machine snapshots / backups, then issue the following command to regain the disk space...

Continue reading

  • Raspberry
  • Ubiquiti

Install UniFi Controller on your Raspberry Pi

2020-10-12
by Gábor Hargitai
1 min read

CloudKeys are nice – but if we already have a Raspberry lying around, why not use that to host the UniFi Controller? Here are the steps to do so. We’ll update the Raspbian installation, add the necessary packages...

Continue reading

  • Debian
  • Linux
  • Raspberry
  • Ubuntu

Move Log files to RAM on your Raspberry

2020-10-12
by Gábor Hargitai
1 min read

Save your SD card (or USB) and reduce I/O wear by using log2ram in your Raspberry install. Here are the steps to add the repository to your apt sources and install the necessary packages: echo "deb buster main" | sudo tee...

Continue reading

  • OS X

QuickLook Plugin / .qlgenerator can’t be opened because Apple cannot check it for malicious software – fix locally

2020-08-08
by Gábor Hargitai
1 min read

To remove the quarantine flag from an unnotarized QuickLook plugin – like at time of writing, QLStephen (“QLStephen.qlgenerator” can’t be opened because Apple cannot check it for malicious software.) – one can...

Continue reading

  • Debian
  • Ubuntu

WordPress error on image upload “Post-processing of the image failed likely because the server is busy or does not have enough resources”

2020-07-26
by Gábor Hargitai
1 min read

This usually means that you don’t have the fcgid PHP module installed or enabled. To do this on Ubuntu Linux under Apache2, you need to do the following steps: 1. install fcgid sudo apt-get install...

Continue reading

  • OS X

Delete Bootcamp and other multiple partitions from external disk / hard drive / ssd under macOS

2020-07-14
by Gábor Hargitai
2 min read

The built-in Disk Utility app is suprisingly negligent with external drives that have at least one non-HFS+/APFS partitions on it. Multiple partition external drive partitioning requires some extra steps to be done. We are going...

Continue reading

  • Network
  • OS X
  • Ubiquiti

Unifi Controller: Could not find Java SE runtime environment under macOS

2020-06-15
by Gábor Hargitai
1 min read

Starting the Unifi Controller under recent macOS versions with OpenJDK installed can cause problems, such as one of the following warnings: Could not find a JRE. Will look for a JDK.ERROR: could not find Java SE...

Continue reading

  • OS X

Mac Batch Resize Images in macOS Terminal

2020-04-27
by Gábor Hargitai
1 min read

We can use the built-in sips command to resize all files in a folder while keeping the aspect ratio intact. To resize all JPG files in the current folder, while maintaining aspect ratio and not letting either the height or...

Continue reading

Previous 1 2 3 4 … 9 Next
Copyright © 2022. Gábor Hargitai - Dark Mode is supported :: No Tracking Code :: No Analytics
  • Articles
  • Colibri
  • Sleep Warden