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

  • iOS
  • OS X

Reset stuck Safari iCloud Tabs on Mac

2023-05-01
by Gábor Hargitai
1 min read

Close all your Safari instances across all your iDevices – preferably close the tabs as well. Open up a Terminal and issue the following, once Safari is closed everywhere: rm...

Continue reading

  • 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

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