These are are some notes I put together on butchering the rectangular dishy cable.
FOLLOW THESE GUIDELINES AT YOUR OWN RISK. I TAKE NO RESPONSIBILITY FOR ANY DAMAGE OR INJURY YOU SUSTAIN FROM FOLLOWING OR NOT FOLLOWING THESE GUIDELINES.
#!/bin/bash | |
fileLocal="filename.ext" | |
bucket="name-of-bucket" | |
s3dir="nameofdirectory/" | |
region="us-east-2" | |
storageClass="STANDARD" | |
awsAccess='XXXXXXXXXXXXXXXXXXXX' | |
awsSecret='0000000000aaaaaaaaaa0000000000aaaaaaaaaa' #Make sure to use credentials with WRITE access to the bucket |
#!/usr/bin/env bash | |
# | |
# File: | |
# aws-signature-creator.sh | |
# | |
# Description: | |
# A signature creator for AWS signature version 4 | |
# | |
# References: | |
# https://czak.pl/2015/09/15/s3-rest-api-with-curl.html |
Running tests using the globaly installed ava@4.x
produces this error:
$ ava test.js
Uncaught exception in test.js
AssertionError [ERR_ASSERTION]: The expression evaluated to a falsy value:
assert(refs.runnerChain)
the ffmpeg version of the stream doesn't work for me on raspberry pi running ubuntu. likely an issue with how the hardware sound devices are setup.
ffmpeg -f alsa -i hw:0 -f mp3 - | \
curl -s -k -H "Transfer-Encoding: chunked" -X POST -T - \
"https://streammyaudio.com/YOURSTATIONNAME.mp3?stream=true&advertise=true"
this vlc version works. need full path to mp3. streaming a mp3 works. need to investigate streaming a playlist.
vlc -I dummy file:///home/ubuntu/some-mp3-file.mp3 --sout='#transcode{vcodec=none,acodec=mp3,ab=256,channels=2,samplerate=44100,scodec=none}:standard{access=file,mux=mp3,dst=-}' --no-sout-all --sout-keep | \
# date -s '2022-06-13 10:52:23'
Mon Jun 13 10:52:23 PDT 2022
# date
Mon Jun 13 10:52:25 PDT 2022
Or:
# date -s 'Mon Jun 13 10:52:23 PDT 2022'
Mon Jun 13 10:52:23 PDT 2022
git shortlog -sn --no-merges --since "DEC 31 2021"
Group the rows in the userLogins
table by the userId
column where the userName
matches foo bar
.
If the count of those groups are greater than one, show the user id and count.
SELECT
"userId", count("userId")
FROM
"userLogins"
WHERE
"userName" = 'foo bar'
https://sequelize.org/api/v6/class/src/transaction.js~transaction
Types can be set per-transaction by passing options.type to sequelize.transaction. Default to DEFERRED but you can override the default type by passing options.transactionType in new Sequelize. Sqlite only.