Skip to content

Instantly share code, notes, and snippets.

{ appimageTools, fetchurl, lib, gsettings-desktop-schemas, gtk3 }:
let
pname = "wootility";
version = "3.3.1";
in appimageTools.wrapType2 rec {
name = "${pname}-${version}";
src = fetchurl {
url = "https://s3.eu-west-2.amazonaws.com/wooting-update/wootility-linux-latest/wootility-${version}-x86_64.AppImage";
from socket import socket, AF_INET, SOCK_DGRAM
from dtls import do_patch
import requests
import binascii
import sslpsk
import json
BRIDGE_IP = 'your_bridge_ip'
VALID_API_VERSION = 1.22
USERNAME = 'your_hue_username'
@drmalex07
drmalex07 / README-setup-tunnel-as-systemd-service.md
Last active May 4, 2024 15:04
Setup a secure (SSH) tunnel as a systemd service. #systemd #ssh #ssh-tunnel #ssh-forward

README

Create a template service file at /etc/systemd/system/secure-tunnel@.service. The template parameter will correspond to the name of target host:

[Unit]
Description=Setup a secure tunnel to %I
After=network.target