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 | |
echo "" | |
if [ -z "${1}" ]; then | |
echo "csv-add-index-and-encode: Error!" | |
echo "Please define input-file as the first paramter, and optinally define seperator (like ;) as the secound one, like:" | |
echo "./csv-fix.sh NemKonto_PosterinterTest3.csv \";\"" | |
echo "" | |
exit 1 | |
else |
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/python | |
"""smtptest.py: command-line smtp test mail sender | |
https://github.com/turbodog/python-smtp-mail-sending-tester | |
Usage: python smtptest.py [options] fromaddress toaddress serveraddress | |
Examples: | |
python smtptest.py [email protected] [email protected] mail.example.com | |
python smtptest.py --debuglevel 1 --usetls -u bob -p xyzzy "Bob <[email protected]>" [email protected] mail.example.com |
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
# I'm using two OBS programs at the same time, to record two sources | |
# Therefore I need a simple way to start and stop both recordings at the same time | |
# Most of the time, a shortcut will trigger both windows - but not always | |
# And... I forget my normal shortcuts on/off | |
# Therefore I've added "Text Command" widget in KDE, and triggers the following command to start/stop my recording(s) | |
# You'll need to configure the shorts in OBS, for this to work | |
# Tested on Manjaro with KDE | |
# You don't have to do it in a one-liner, btw... | |
for i in $(xwininfo -root -tree | grep 'OBS '); do if [[ $i =~ ^0x[0-9A-Fa-f]{1,}$ ]]; then xdotool key --window "$i" ctrl+alt+0 ; fi; done |