sudo ip link add name fc-88-br0 type bridge
sudo ip link set fc-88-br0 up
sudo ip addr add 10.10.10.1/24 dev fc-88-br0
sudo ip tuntap add dev fc-88-tap0 mode tap
| using System.Runtime.InteropServices; | |
| using NAudio.CoreAudioApi; | |
| using NAudio.CoreAudioApi.Interfaces; | |
| namespace PauseOnDisconnect | |
| { | |
| internal class Program | |
| { | |
| public static bool Active { get; private set; } = true; | |
| #pragma warning disable CS8618, CS8622 |
| #!/usr/bin/env python | |
| # Copyright (C) 2015 Harvey Chapman <[email protected]> | |
| # Public Domain | |
| # Use at your own risk. | |
| """ | |
| Splits a gpx file with breaks in the track into separate files. | |
| Based on: http://stackoverflow.com/q/33803614/47078 |
| # Create and configure the tap interface | |
| sudo ip tuntap add dev fc-88-tap0 mode tap | |
| sudo ip addr add 169.254.0.22/30 dev fc-88-tap0 | |
| sudo ip link set fc-88-tap0 up | |
| # Set up iptables rules | |
| sudo iptables -A FORWARD -i fc-88-tap0 -o enp1s0 -j ACCEPT | |
| sudo iptables -A FORWARD -i enp1s0 -o fc-88-tap0 -m state --state RELATED,ESTABLISHED -j ACCEPT | |
| sudo iptables -t nat -A POSTROUTING -o enp1s0 -j MASQUERADE |
| Ale | |
| Alingsås | |
| Alvesta | |
| Aneby | |
| Arboga | |
| Arjeplog | |
| Arvidsjaur | |
| Arvika | |
| Askersund | |
| Avesta |
Install the "User Scripts" plugin from Community Apps.
Under the Settings tab, open "User Scripts" (under "User Utilities")
Add a new script and name it "Hetrix Server Agent"
Open the terminal and run cd "/boot/config/plugins/user.scripts/scripts/Hetrix Server Agent"
Run nano script and paste in the install code from the HetrixTools dashboard.
| #!/bin/bash | |
| # Function to display usage information | |
| usage() { | |
| echo "Usage: $0 /path/to/input.mp4 [ /path/to/output_directory ]" | |
| exit 1 | |
| } | |
| # Check if at least one argument (input file) is provided | |
| if [ $# -lt 1 ]; then |
| // Function to solve the puzzle asynchronously | |
| async function solvePuzzle(t) { | |
| // Calculate the target number using parameters from the puzzle | |
| const e = calculateTarget(t[13], t[14]); | |
| // Variable to hold the solution | |
| let o; | |
| // Loop to find a valid solution | |
| for (let attempts = 0; attempts <= Number.MAX_SAFE_INTEGER; attempts++) { |
| import requests | |
| import csv | |
| headers = { | |
| 'Accept': 'application/json, text/plain, */*', | |
| 'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36', | |
| 'X-Api-Key': 'pJnKrR6B3FzRNFsF33xL8LhSs55KPJrm', | |
| 'X-Momentum-Client': 'momentum.se-fastighetminasidor', | |
| 'X-Momentum-Client-Id': 'EAP-47356', | |
| 'X-Momentum-Client-Version': '5.20.3.15457', |