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
proxy http://{proxy_server}:{proxy_port} | |
https-proxy http://{proxy_server}:{proxy_port} | |
strict-ssl=false |
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 sys | |
import json | |
import argparse | |
import boto3 | |
parser = argparse.ArgumentParser("enqueue S3 objects into SQS") | |
parser.add_argument('bucket_name') | |
parser.add_argument('prefix') | |
parser.add_argument('postfix') |
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 glob | |
import pandas as pd | |
workbooks = glob.glob('*.xlsx') | |
result_df = pd.DataFrame() | |
for wb in workbooks: | |
xlsx = pd.read_excel(wb, engine='openpyxl') | |
result_df = pd.concat([result_df, xlsx]) |
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
[DataRow(HttpStatusCode.Ambiguous)] | |
[DataRow(HttpStatusCode.MultipleChoices)] | |
[DataRow(HttpStatusCode.Moved)] | |
[DataRow(HttpStatusCode.MovedPermanently)] | |
[DataRow(HttpStatusCode.Found)] | |
[DataRow(HttpStatusCode.Redirect)] | |
[DataRow(HttpStatusCode.RedirectMethod)] | |
[DataRow(HttpStatusCode.SeeOther)] | |
[DataRow(HttpStatusCode.NotModified)] | |
[DataRow(HttpStatusCode.UseProxy)] |
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 { StackContext } from "sst/constructs"; | |
import * as ec2 from "aws-cdk-lib/aws-ec2"; | |
import * as ecs from "aws-cdk-lib/aws-ecs"; | |
import * as elbv2 from "aws-cdk-lib/aws-elasticloadbalancingv2"; | |
import * as efs from "aws-cdk-lib/aws-efs"; | |
import * as iam from "aws-cdk-lib/aws-iam"; | |
import * as cloudfront from "aws-cdk-lib/aws-cloudfront"; | |
import * as origins from "aws-cdk-lib/aws-cloudfront-origins"; | |
import { RemovalPolicy, Duration } from "aws-cdk-lib"; | |
import { nanoid } from "nanoid"; |
OlderNewer