These instructions have moved to https://github.com/emporia-vue-local/esphome
This file contains hidden or 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
IAM Permission | Params | |
---|---|---|
amplify:CreateApp | iamServiceRoleArn | |
amplify:UpdateApp | iamServiceRoleArn | |
appconfig:CreateConfigurationProfile | RetrievalRoleArn | |
appconfig:UpdateConfigurationProfile | RetrievalRoleArn | |
appflow:CreateConnectorProfile | connectorProfileConfig.connectorProfileProperties.Redshift.roleArn | |
appflow:UpdateConnectorProfile | connectorProfileConfig.connectorProfileProperties.Redshift.roleArn | |
application-autoscaling:RegisterScalableTarget | RoleARN | |
apprunner:CreateService | SourceConfiguration.AuthenticationConfiguration.AccessRoleArn|InstanceConfiguration.InstanceRoleArn | |
apprunner:UpdateService | SourceConfiguration.AuthenticationConfiguration.AccessRoleArn|InstanceConfiguration.InstanceRoleArn |
- Understand and check Service Quota of ECS/Fargate and other related services
- Cluster
- CDK for ECS: blog
This file contains hidden or 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/python3 | |
# 1.0 - Original Code Belongs to @danielocdh | |
# 1.1 - Added ability to check FAH Control APIs on other ports | |
# 1.2 - Added support for Linux Control API (Slight changes in response checks) | |
# 1.3 - Fix for latest version of FAH Control API and Client (7.6.9) | |
# 1.4 - Added @danielocdh's feedback and his local changes around !# and spacing in the substitution | |
# 1.5 - @danielocdh updated expected result for authentication issues | |
# 1.6 - Removed un-needed tEnd references to end of readResult | |
# 1.7 - Added getting started | |
# 1.8 - Added "hacky" check to see if there is a new version of the gist using github rest api |
This file contains hidden or 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
import perfplot | |
import pandas as pd | |
def vec(df): | |
return df['A'] + df['B'] | |
def vec_numpy(df): | |
return df['A'].to_numpy() + df['B'].to_numpy() | |
def list_comp(df): |
This file contains hidden or 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
kubectl get nodes --sort-by=".status.conditions[?(@.reason == 'KubeletReady' )].lastTransitionTime" |
This file contains hidden or 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
-- Upgrading old partitioning with ALTER TABLEs and PLPGSQL. | |
-- IN: _orig_table - master table which should be upgraded | |
-- IN: _partkey - column which used as partition key | |
-- IN: _seq_col - sequence column | |
CREATE OR REPLACE FUNCTION fn_upgrade_partitioning(_orig_table text, _partkey text, _seq_col text) RETURNS void AS | |
$function$ | |
DECLARE | |
_new_table text = _orig_table ||'_new'; -- parent relation's name | |
_child_table text; -- child relation's name | |
_v_from timestamp without time zone; |
This file contains hidden or 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
# Took this: | |
# https://s3.amazonaws.com/awsiammedia/public/sample/SAMLAPICLIADFS/samlapi_formauth_adfs3.py | |
# converted to boto3 and smooshed it together with this: | |
# https://gist.github.com/kapilt/ac8e222081f63ba64e93 | |
# which gave birth too this: | |
import sys | |
import botocore | |
import boto3 | |
import requests |
This file contains hidden or 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
ps -ef | awk -e '/qemu/ && !/awk/' | sed -e 's/[^/]*//' -e 's/ -/\n\t-/g' |
NewerOlder