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

  • Synology
  • Ubiquiti
  • Virtualization

Upgrade UniFi Network Controller on Synology using Docker

2022-11-29
by Gábor Hargitai
1 min read

For this to work I’m assuming you already have a volume mounted somewhere on your storage pool, such as /volume1/docker/unifi. Create a backup using the Web UI of UniFi by going to Settings > System > Backup and...

Continue reading

  • Network
  • Synology

Synology NAS DSM 7 with AdGuard Home AdBlock via Docker

2022-11-12
by Gábor Hargitai
2 min read

Just sold your Raspberry Pi and looking for an alternative to a containerised PiHole instance? There are a few reasons why you might consider using AdGuard Home for this very purpose. Network It is highly advisable to...

Continue reading

  • Debian
  • Linux
  • Raspberry
  • Ubuntu

Raspberry Pi: Use RAMDISK/tmpfs for /tmp directory

2022-07-10
by Gábor Hargitai
1 min read

Save a bit of SD card wear-and-tear and symlink the /tmp folder to RAM. Issue the following in your CLI: sudo cp /usr/share/systemd/tmp.mount /etc/systemd/system/tmp.mountsudo systemctl enable tmp.mountsudo systemctl start...

Continue reading

  • OS X
  • Other
  • Xcode

CocoaPods Apple Silicon M1 LoadError – incompatible library version gems/ffi-1.15.5

2022-02-09
by Gábor Hargitai
1 min read

Getting the dreaded LoadError during a pod install is always disheartening, especially during a somewhat transitional time period. Even worse is the case where you get such an error as the outcome of an rbenv install...

Continue reading

  • Debian
  • Linux
  • Network
  • Ubiquiti
  • Ubuntu

UBNT UniFi Controller update: Repository changed its Codename value from X to Y

2021-12-05
by Gábor Hargitai
1 min read

You need to manually accept the changes through APT – to do this, issue the following: apt-get update --allow-releaseinfo-change

Continue reading

  • Synology

Synology NAS DSM 7 HyperBackup Target Always Connecting or Offline

2021-08-27
by Gábor Hargitai
1 min read

Since updating to DSM 7, when opening HyperBackup all of my targets were stuck on “Connecting” which eventually lead to the dreaded “Offline” state. What fixed this behaviour for me was to disable IPv6...

Continue reading

  • Debian
  • Linux
  • OS X
  • Ubuntu

Compare and Diff two folders under macOS (also Debian / Ubuntu / Linux)

2021-07-20
by Gábor Hargitai
1 min read

Let's use the built-in diff tool to compare directory contents!

Continue reading

  • OS X

Marked 2 live markdown preview with Sublime Text

2021-05-31
by Gábor Hargitai
1 min read

It is possible to have live markdown preview with the Marked 2 app (even from the Mac AppStore) while editing under Sublime Text – using a custom Build System! To do so, follow these steps: open Tools > Build System >...

Continue reading

  • Debian
  • Ubuntu

Find the location of a Linux Stealth Process

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

Having spawned processes with a [stealth] denomination is never a good sign – to find the actual path where the process originates from, we can use the following command: ls -l /proc/<pid>/exe You can also check...

Continue reading

  • Debian
  • Linux
  • Ubuntu

Resize your LVM on your Ubuntu or Debian Server VPS to use all available free space

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

First, find the logical volume name you would like to resize: lvdisplay --maps For this run, we will assume it is /dev/ubuntu-vg/ubuntu-lv Resize the logical volume to use all the existing and free space of the volume...

Continue reading

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