Skip to content

Instantly share code, notes, and snippets.

View cufarvid's full-sized avatar
:shipit:

Vid Čufar cufarvid

:shipit:
  • Ljubljana, Slovenia
  • 15:45 (UTC +02:00)
View GitHub Profile
@cufarvid
cufarvid / truenas-scale-mosquitto.md
Created October 30, 2022 22:06
Add mosquitto MQTT broker to TrueNAS Scale
  • Install mosquitto through Truecharts, make sure you enable authentication.
  • Open the Pod Shell.
  • Create a password file: mosquitto_passwd -c /mosquitto/configinc/password mqtt_user
  • Create a configuration file pointing to a password file: echo "password_file /mosquitto/configinc/password" > /mosquitto/configinc/passwordconfig.conf
@cufarvid
cufarvid / webstorm-mac-terminal.md
Last active October 30, 2022 22:08
Run Webstorm from the terminal on a Mac

Create the file /usr/local/bin/webstorm with the following contents:

#!/bin/sh

open -na "WebStorm.app" --args "$@"

Make the script executable: