This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
import sys | |
# Convert latitude and longitude to Maidenhead grid locators. | |
# | |
# Arguments are in signed decimal latitude and longitude. For example, | |
# the location of my QTH Palo Alto, CA is: 37.429167, -122.138056 or | |
# in degrees, minutes, and seconds: 37° 24' 49" N 122° 6' 26" W | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(netsh wlan show profiles) | Select-String "\:(.+)$" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name="$name" key=clear)} | Select-String "Schlüsselinhalt\W+\:(.+)$" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"mycall": "MYCALL", | |
"secure_login_password": "xxXXxxXX", | |
"auxiliary_addresses": [], | |
"locator": "JO62wn", | |
"http_addr": "localhost:8080", | |
"motd": [ | |
"Open source Winlink client - getpat.io" | |
], | |
"connect_aliases": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2a3,11 | |
> static const char *upvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "+5%", NULL }; | |
> static const char *downvol[] = { "/usr/bin/pactl", "set-sink-volume", "0", "-5%", NULL }; | |
> static const char *mutevol[] = { "/usr/bin/pactl", "set-sink-mute", "0", "toggle", NULL }; | |
> | |
> | |
> /* Add to keys[] array. With 0 as modifier, you are able to use the keys directly. */ | |
> | |
> | |
> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import aprslib | |
CALL = "yourcall" | |
AIS = aprslib.IS(CALL, aprslib.passcode(CALL), port=14580) | |
AIS.connect() | |
AIS.sendall(CALL+">APRS,TCPIP*:>status text") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
194.25.134.16 OK | |
194.25.134.17 OK | |
194.25.134.18 OK | |
194.25.134.19 OK | |
194.25.134.20 OK | |
194.25.134.21 OK | |
194.25.134.22 OK | |
194.25.134.80 OK | |
194.25.134.81 OK | |
194.25.134.82 OK |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
find /srv/samba -type d -name '__Trash'> /tmp/trash | |
while read line; | |
do | |
find $line -mtime +90 -delete | |
done < /tmp/trash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contact | Name | |
---|---|---|
16777215 | All-Call | |
262 | DL | |
263 | MultiMode DL | |
2620 | SA/MV | |
2621 | BE/BB | |
2622 | HH/SH | |
2623 | NS/HB | |
2624 | NW | |
2625 | RP/SL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
# Ansible playbook to run Windows Update and restart, if required | |
# | |
# http://docs.ansible.com/ansible/win_updates_module.html | |
# https://docs.ansible.com/ansible/win_reboot_module.html | |
- name: Windows Update | |
hosts: all | |
gather_facts: false | |
tasks: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
### BEGIN INIT INFO | |
# Provides: MMDVM Hotspot | |
# Required-Start: $local_fs $network | |
# Required-Stop: $local_fs | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: MMDVM Hotspot service | |
# Description: MMDVM Hotspot service |
OlderNewer