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
$ cat docker-compose-whisper.yml | |
version: '3.7' # Adjust if needed | |
services: | |
whisper: | |
image: rhasspy/wyoming-whisper | |
ports: | |
- "10300:10300" | |
volumes: | |
- "./whisper-data:/data" |
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
>>> len((('foo','1'),('fii','2'))) | |
2 | |
>>> len(('foo','1'),) | |
2 |
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
INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD FAILURE | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 10.500 s | |
[INFO] Finished at: 2020-05-17T21:58:28Z | |
[INFO] ------------------------------------------------------------------------ | |
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project fargate-load-balanced-service: There are test failures. | |
[ERROR] | |
[ERROR] Please refer to /home/runner/work/aws-cdk-examples/aws-cdk-examples/java/ecs/fargate-load-balanced-service/target/surefire-reports for the individual test results. | |
[ERROR] -> [Help 1] |
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
class E(BaseException): | |
def __new__(cls, *args, **kwargs): | |
return cls | |
def a(): yield | |
a().throw(E) |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "VisualEditor0", | |
"Effect": "Allow", | |
"Action": "logs:CreateLogGroup", | |
"Resource": "*" | |
} | |
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
By API Friendly it means that once the service is running everything to configure and use it can be done via API | |
WebRTC | |
Janus | |
WebServer | |
Loadbalancer |
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
version: '3' | |
services: | |
db: | |
image: postgres | |
web: | |
build: . | |
command: python manage.py runserver 0.0.0.0:8000 | |
volumes: | |
- .:/code |
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
### Keybase proof | |
I hereby claim: | |
* I am kristianpaul on github. | |
* I am kristianpaul (https://keybase.io/kristianpaul) on keybase. | |
* I have a public key ASB-P-FdbORARSBYIum-b5sxqNg7NDuPTiGtZJRRbXIF5Ao | |
To claim this, I am signing this object: |
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 sys | |
import io | |
import re | |
# Argument parsing WIP | |
def argument_parse(): | |
if len(sys.argv) > 1: |
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
aul@ip-172-31-21-54:~/ec2-spot-labs$ !139 | |
python ./ec2-spot-duration/get_spot_duration.py --region us-east-1 --profile pi --product-description 'Linux/UNIX' --bids c3.large:0.04,c4.large:0.04,c5.large:0.04,c5d.large:0.04,t2.medium:0.01,t2.nano:0.0029 | |
Duration Instance Type Availability Zone | |
168.0 c4.large us-east-1a | |
168.0 c4.large us-east-1b | |
168.0 c4.large us-east-1c | |
168.0 c4.large us-east-1d | |
168.0 c4.large us-east-1e | |
168.0 c4.large us-east-1f | |
168.0 c5d.large us-east-1a |
NewerOlder