BERTRAM DG7BBA BAB' ZäHLPIXEL likes this.
BERTRAM DG7BBA BAB' ZäHLPIXEL likes this.
BERTRAM DG7BBA BAB' ZäHLPIXEL likes this.
Cool! Today my ordered barcode scanner has just arrived and #Linux has happily detected it:
[5415724.653044] usb 2-6.1: new full-speed USB device number 36 using xhci_hcd
[5415726.189043] usb 2-6.2.1: new full-speed USB device number 37 using xhci_hcd
[5415726.290946] usb 2-6.2.1: New USB device found, idVendor=05e0, idProduct=1200, bcdDevice= 0.03
[5415726.290949] usb 2-6.2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[5415726.290950] usb 2-6.2.1: Product: Symbol Bar Code Scanner::EA
[5415726.290951] usb 2-6.2.1: Manufacturer: Symbol Technologies, Inc, 2008
[5415726.290952] usb 2-6.2.1: SerialNumber: S/N:B8BC5A23C069EA479E223DC43B13F757:3
[5415726.298240] input: Symbol Technologies, Inc, 2008 Symbol Bar Code Scanner::EA as /devices/pci0000:00/0000:00:14.0/usb2/2-6/2-6.2/2-6.2.1/2-6.2.1:1.0/0003:05E0:1200.0016/input/input49
[5415726.357180] hid-generic 0003:05E0:1200.0016: input,hidraw1: USB HID v1.10 Keyboard [Symbol Technologies, Inc, 2008 Symbol Bar Code Scanner::EA] on usb-0000:00:14.0-6.2.1/input0
I already did test scans here and I'm happy to say it works neatly!
like this
BERTRAM DG7BBA BAB' ZäHLPIXEL likes this.
I would like to share a simple #2FA #Bash script with you, you. it is a #wrapper script around the oathtool
program. You only have to then memorize simple names, such as 2fa.sh itchio
or so.
Some examples:
$ 2fa.sh itchio
$ 2fa.sh friendica
So you only have to memorize itchio
instead of your secret key.
Here is the script, public domain:
#!/bin/bash
# Helper script to easier store your secret keys for 2FA, needs
# oathtool being installed
#
# Author: Roland Haeder / Fediverse: roland@f.haeder.net
# Variables:
OATHTOOL_BIN=$(which oathtool)
BASE_PATH="${HOME}/.2fa"
SECRET_FILE="${BASE_PATH}/.secrets"
SECRET_KEY=""
# Check conditions, requires one parameter, oathtool and create base path
if [ -z "$1" ]
then
echo "Usage $0 <service>"
exit 1
elif [ -z "${OATHTOOL_BIN}" ]
then
echo "Program 'oathtool' is not in your path or installed."
exit 1
elif [ ! -d "${BASE_PATH}" ]
then
mkdir "${BASE_PATH}"
chmod 0700 "${BASE_PATH}"
fi
if [ ! -f "${SECRET_FILE}" ]
then
touch "${SECRET_FILE}"
chmod 0600 "${SECRET_FILE}"
fi
echo "Looking up secret key for service '$1' ..."
SECRET_KEY=$(grep "$1" ${SECRET_FILE} | cut -d " " -f 2)
if [ -z "${SECRET_KEY}" ]
then
echo "Secret key for service '$1' not found."
while [ -z "${SECRET_KEY}" ]
do
read -s -p "Please enter it: " SECRET_KEY
done
echo "Adding secret key ..."
echo "$1 ${SECRET_KEY}" >> "${SECRET_FILE}"
fi
echo "TOTP code is:"
${OATHTOOL_BIN} -b --totp "${SECRET_KEY}"
Have fun!
Sylvia J likes this.
#GeorgeCarlin was a living legend, what he had to say is so much true, until now. Today most of our languages (I know 2, German and Engliish) has become softer, people don't want to hear those direct words anymore, like "shell shock". You don't see a docotor in a hospital anymore, you visit the medical advisors in a wellness center (maybe a bit wrong, but you got the idea).
Or how about names: Do you name your child #Kyle when the sex is clear and is a boy? Why no #Eddie anymore? Or why no shithouse, why "comfort room" (he didn't talk about it, never that word "mention"!)? You are going to piss or shit there, right? Or take a shower or bath?
And speaking of child names, can we dump these #unisex names likes #Alex ? If the child is a boy, give him Alexander, if a girl it's Alexandra but never Alex. There is no unisex in genitals, unless you want to be an eunuch (sex-less human) or in chromosomes, XY or XX.
But I don't want to speak about dicks and ... er,no. Not cunt as by definition that's degrading. So how about pussy? No, that has a double meaning, same with vagina (sword's vagina).
So let's not get into there as you might know, I block those who call me insecure in "my" heterosexuality.
So let's get into watching what he has to say on the National Press Club conference:
Frank Dapor #podmin
in reply to Roland Häder🇩🇪 • • •Roland Häder🇩🇪
in reply to Frank Dapor #podmin • •@Frank Dapor #podmin I have programmed a software for home financial called JFinancials where I can control expenses and income with. It is much easier to add products by their barcode and not long searches.
Maybe just a free-time enjoyment of mine.
The software is FLOSS by the way: git.mxchange.org/?p=jfinancial… while this is only the "roof" project, not code here to look at. You have to go to jfinancials-ejb (EJB) and jfinancials-war (JSF/PF project) and then there are tons of sub-sub-sub projects which take care of a lot entities.
Frank Dapor #podmin
in reply to Roland Häder🇩🇪 • • •I also have a barcode scanner an label printer here - both in original foil :(
So much projekt - so less time
I planned to get an overview about my food in the cellar - without going there
Roland Häder🇩🇪 likes this.
Roland Häder🇩🇪
in reply to Frank Dapor #podmin • •Frank Dapor #podmin
in reply to Roland Häder🇩🇪 • • •Roland Häder🇩🇪
in reply to Frank Dapor #podmin • •Frank Dapor #podmin
in reply to Roland Häder🇩🇪 • • •Roland Häder🇩🇪 likes this.
Roland Häder🇩🇪
in reply to Roland Häder🇩🇪 • •I still have to manually enter a lot receipts here, scanning may happen not so soon. Still I had some more test scans by putting the cursor into the search field and scan a product. The encoded number then appears in the search field and the
onchange
event causes the #AJAX request to update the product table.I cannot share any screenshots with you here as they contain real data (my bought products). So you have to live with the description here.