NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
| # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. | |
| # SPDX-License-Identifier: MIT-0 | |
| import os | |
| import re | |
| import sys | |
| import json | |
| import socket | |
| import pathlib |
| import boto3 | |
| def generate_password(length=16): | |
| """Generate a random alphanumeric password. | |
| More recipes and best practices can be found here: | |
| https://docs.python.org/3/library/secrets.html#recipes-and-best-practices. | |
| Args: |
| g++ cv_example.cpp -I/usr/local/msquic/include -L/usr/local/msquic/lib -I/usr/include/opencv4 -lopencv_core -lopencv_highgui -lopencv_videoio |
| { | |
| "A": "Alfa", | |
| "B": "Bravo", | |
| "C": "Charlie", | |
| "D": "Delta", | |
| "E": "Echo", | |
| "F": "Foxtrot", | |
| "G": "Golf", | |
| "H": "Hotel", | |
| "I": "India", |
| # Name: Makefile | |
| # Author: <insert your name here> | |
| # Copyright: <insert your copyright message here> | |
| # License: <insert your license reference here> | |
| # DEVICE ....... The AVR device you compile for | |
| # CLOCK ........ Target AVR clock rate in Hertz | |
| # OBJECTS ...... The object files created from your source files. This list is | |
| # usually the same as the list of source files with suffix ".o". | |
| # PROGRAMMER ... Options to avrdude which define the hardware you use for |
NOTE: This is a question I found on StackOverflow which I’ve archived here, because the answer is so effing phenomenal.
If you are not into long explanations, see [Paolo Bergantino’s answer][2].
LinkedIn is even more clickbait than Facebook nowadays. Adios. 💣
Visit https://www.linkedin.com/feed/following/
Scroll down to load all of your contacts
Open developer console, run the following
| use std::panic; | |
| use std::sync::{Arc, Mutex}; | |
| use std::thread; | |
| use std::time::Duration; | |
| use actix::io::SinkWrite; | |
| use actix::*; | |
| use actix_codec::Framed; | |
| use awc::{ | |
| error::WsProtocolError, |
| const mapDispatchToProps = (dispatch, ownProps) => { | |
| return { | |
| executeCapability, | |
| loadConfig: (name, capabilityName) => dispatch(loadConfig(name, capabilityName)) | |
| } | |
| } | |
| export default connect(mapStateToProps, mapDispatchToProps)(Capability) |