All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

dominic

Joined 1730016871

Recently created
Least recently created
Recently updated
Least recently updated
All gists 32

dominic / mailopenhtml.sh

0 likes
0 forks
1 files
Last active 1731170984
1 #!/bin/sh
2 # Open HTML mails with your browser (xdg-open)
3 #
4 # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>
5
6 BROWSER=xdg-open
7 #BROWSER=firefox
8 #BROWSER=librewolf
9 #BROWSER=zen-browser
10 #BROWSER=thorium-browser

dominic / lock.sh

0 likes
0 forks
1 files
Last active 1731167966
1 #!/bin/sh
2 #
3 # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>
4
5 BLANK='#00000000'
6 CLEAR='#ffffff22'
7 DEFAULT='#ff00ffcc'
8 TEXT='#ee00eeee'
9 WRONG='#880000bb'
10 VERIFYING='#bb00bbbb'

dominic / lh.py

0 likes
0 forks
1 files
Last active 1731167936
1 #!/usr/bin/env python3
2
3 """
4 Author: Dominic OE7DRT <quick.hat4396@qtztsjosmprqmgtunjyf.com>
5 """
6
7 """open the lastheard page on brandmeister
8 """
9
10 import re, argparse, webbrowser

dominic / lh.sh

0 likes
0 forks
1 files
Last active 1731167903
1 #!/usr/bin/env bash
2 # Get last heard time via ham-digital.org
3 # Author: Dominic Reich, OE7DRT <quick.hat4396@qtztsjosmprqmgtunjyf.com>
4 #
5 # Good DX and vy 73 de OE7DRT
6
7 command -v w3m > /dev/null 2>&1 || { echo >&2 "w3m not found"; exit 1; }
8
9 print_usage () {
10 echo >&2 "usage: `basename $0` [dmr_id | callsign]"

dominic / forum_sig.cron.sh

0 likes
0 forks
1 files
Last active 1731167793
1 #!/bin/sh
2 # generate forum signatures for black and white backgrounds
3 # files get optimized with optipng, advpng and pngcrush
4 # you may want to install them; if you don't have them installed
5 # the output files get not optimized
6 # for random output I utilize a perl script `randomquote.pl` which
7 # is not my own and the author does not want it to be re-distributed
8 # so you might want to find something that suits your need
9 #
10 # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>

dominic / dmrids-gd77.py

0 likes
0 forks
1 files
Last active 1731167470
1 #!/usr/bin/env python3
2
3 """Fetches the DMRID database from radioid.net
4
5 This script fetches the database of DMRIDs directly from
6 radioid.net and creates a CSV file to import it into
7 the GD77 running OpenGD77.
8
9 Author: Dominic Reich “OE7DRT”
10 <quick.hat4396@qtztsjosmprqmgtunjyf.com>

dominic / call.py

0 likes
0 forks
1 files
Last active 1731167344
1 #!/usr/bin/env python3
2
3 """Lookup DMR users on radioid.net
4
5 This script fetches user information from radioid.net API and
6 prints them to stdout.
7
8 Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>
9 Created: maybe back in 2021
10 Last modified: 2023-01-02 00:07:34+0100

dominic / file_email.sh

0 likes
0 forks
1 files
Last active 1731167120
1 #!/usr/bin/env bash
2 # Save piped email to "$1/YYMMDD SUBJECT.eml"
3 #
4 # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>
5
6 # Don't overwrite existing file
7 set -o noclobber
8
9 message=$(cat)

dominic / date.php

0 likes
0 forks
1 files
Last active 1731167030
1 #!/usr/bin/env php
2 <?php
3 /*
4 * PHP Skript zum Umrechnen von Datumsangaben (UNIX Timestamps)
5 * Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>
6 * Last modified: Freitag, 02.11.2018 06:13
7 * Updated contact info on 2024-11-09
8 *
9 */

dominic / change-subject-kmail.sh

0 likes
0 forks
1 files
Last active 1731166974
1 #!/bin/bash
2 #
3 # Author: Dominic Reich <quick.hat4396@qtztsjosmprqmgtunjyf.com>
4
5 FILE="/tmp/mailtmp.txt"
6 OLD_SUBJECT="/tmp/mailsubject.txt"
7
8 trap "rm ${FILE}; exit" SIGHUP SIGINT SIGTERM
9
10 # create empty file
Newer Older

Powered by Opengist ⋅ Load: 79ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文