- Create a new folder for the project and initialiaze it as a new Python project as follows:
mkdir -p sample-sar-application
cd sample-sar-application/
import random | |
from functools import partial | |
from typing import Any, Dict, List, Optional | |
from returns.pipeline import flow | |
from returns.pointfree import alt, bind, lash, map | |
from returns.result import Failure, Result, Success | |
from dataclasses import dataclass | |
Metadata = Dict[str, Any] |
#!/bin/bash | |
# | |
######################################################################### | |
#This software code is made available "AS IS" without warranties of any # | |
#kind. You may copy, display, modify and redistribute the software # | |
#code either by itself or as incorporated into your code; provided that # | |
#you do not remove any proprietary notices. Your use of this software # | |
#code is at your own risk and you waive any claim against Amazon # | |
#Digital Services, Inc. or its affiliates with respect to your use of # | |
#this software code. (c) 2006-2007 Amazon Digital Services, Inc. or its # |
You can know create profile from within VSCode. This allows you to manage separate components for different contexts. You will be able to group those components in regards of the context on where they are used. You can imagine a set of different profile if you want to work as a cloud Engineer, Frontend Software Engineer, Default, Rust Developer, for demos, and so on.
https://excalidraw.com/#json=pfPDpI2_tY4RdrhkZpAmQ,ZeanSwLNWUmcebxTqPLfKg |
#!/usr/bin/python3 | |
import cmd, json, sys, traceback | |
from collections import defaultdict | |
from dataclasses import dataclass | |
from typing import List, Dict | |
import requests | |
# This is part of Suhail's talk on the Infrastructure and Ops Superstream | |
# track for O'Reilly |
# Generate a new key | |
openssl genrsa -out server.key 2048 | |
# Generate a new CSR | |
openssl req -sha256 -new -key server.key -out server.csr | |
# Check certificate against CA | |
openssl verify -verbose -CApath ./CA/ -CAfile ./CA/cacert.pem cert.pem | |
# Self Signed |