Issue#7520 Mac is detecting Docker as a malware and keeping it from starting
Issue#7527 Malware detection prevents Docker Desktop to start
Issue#7529 Unable to start or even install docker
Incident Update: Docker Desktop for Mac
Resolve the recent Docker Desktop issue on macOS
Docker Desktop release notes
Install Docker Desktop on Mac
sudo hdiutil attach Docker.dmg
sudo /Volumes/Docker/Docker.app/Contents/MacOS/install
P-C Lin changed 5 months agoView mode Like Bookmark
:::danger
After you or your AWS admin has updated your IAM permissions to allow s3:DeleteBucket, choose delete bucket. Learn more about Identity and Access Management in Amazon S3
If you have the s3:DeleteBucket permission in your IAM user policy and you cannot delete a bucket, the bucket policy might include a deny statement for s3:DeleteBucket. Before you can delete the bucket, you must delete the deny s3:DeleteBucket statement or delete the bucket policy.
API response
User: arn:aws:iam::{account-id}:user/{iam-user} is not authorized to perform:
s3:DeleteBucket on resource:
"arn:aws:s3:::elasticbeanstalk-{region}-{account-id}" with an explicit deny in a resource-based policy
:::
P-C Lin changed 7 months agoView mode Like Bookmark
建立 sequence
CREATE SEQUENCE IF NOT EXISTS "public"."global_id_sequence";
建立 function
CREATE OR REPLACE FUNCTION "public"."id_generator"(OUT result bigint) AS $$
DECLARE
our_epoch bigint := 857736000000; -- change as needed
seq_id bigint;
now_millis bigint;
-- the id of this DB shard, must be set for each
-- schema shard you have - you could pass this as a parameter too
P-C Lin changed 10 months agoView mode Like Bookmark
According to Apache Ant™ Manual
Patterns look very much like the patterns used in DOS and UNIX:
"*" matches zero or more characters, "?" matches one character.
In general, patterns are considered relative paths, relative to a task dependent base directory (the dir attribute in the case of <fileset>). Only files found below that base directory are considered. So while a pattern like ../foo.java is possible, it will not match anything when applied since the base directory's parent is never scanned for files.
Examples
*.java matches .java, x.java and FooBar.java, but not FooBar.xml (does not end with .java).
?.java matches x.java, A.java, but not .java or xyz.java (both don't have one character before .java).
P-C Lin changed 10 months agoView mode Like 1 Bookmark
The built-in AWSLambdaBasicExecutionRole
…you can use the built-in AWSLambdaBasicExecutionRole, as these functions don't call other AWS services.
Defining Lambda function permissions with an execution role
If your Lambda function calls other AWS services, you'll need to assign an IAM execution role to the Lambda function.
References
Use API Gateway Lambda authorizers » Additional examples of Lambda authorizer functions
Defining Lambda function permissions with an execution role