P-C Lin

@pclin

Joined on Nov 27, 2019

  • :::info Abbreviations EB = AWS Elastic Beanstalk ECS = Amazon Elastic Container Service ::: 使用 Docker Compose 管理映像 docker-compose.yml Dockerfile
     Like  Bookmark
  • Uninstall old versions for pkg in docker.io docker-doc docker-compose podman-docker containerd runc; \ do sudo apt remove $pkg; done Install using the apt repository Add Docker's official GPG key sudo apt update && sudo apt install -y \ ca-certificates \ curl sudo install -m 0755 -d /etc/apt/keyrings \
     Like  Bookmark
  • Uninstall old versions for pkg in docker.io docker-doc docker-compose docker-compose-v2 podman-docker containerd runc; \ do sudo apt-get remove $pkg; done Install using the apt repository Add Docker's official GPG key sudo apt update && sudo apt install -y \ ca-certificates \ curl sudo install -m 0755 -d /etc/apt/keyrings \
     Like  Bookmark
  • AWS CLI version 2 sudo dnf update && sudo dnf install -qy awscli-2 Docker Engine sudo dnf update && sudo dnf install -qy dnf-plugins-core sudo dnf config-manager --add-repo \ https://download.docker.com/linux/centos/docker-ce.repo sudo sed -i 's/$releasever/41/g' /etc/yum.repos.d/docker-ce.repo sudo dnf update && sudo dnf install -qy \ docker-ce \ docker-ce-cli \
     Like  Bookmark
  • Type Protocol Port Range Source sg-alb HTTP,HTTPS TCP 80,443 0.0.0.0/0,::/0
     Like  Bookmark
  • ├─ multiarch/ │ └─ bookworm/ │ ├─ main/ | | ├─ binary-arm64/ | | | ├─ Packages.gz | | | ├─ Packages.xz | | | └─ Release | | ├─ debian-installer/ | | | └─ binary-arm64/ | | | ├─ Packages.gz
     Like  Bookmark
  • 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
     Like  Bookmark
  • image 枸杞是隨處可見的平民中藥材,無論是炒菜、煮湯或是泡茶都可以。現代人重度使用3C產品,枸杞也成了不可或缺的護眼保養品。想要知道更多枸杞的營養與功效,就讓《Hello醫師》為你一一解釋! 枸杞功效 枸杞屬於茄科,顏色呈現紅色或是暗紅色,外表有不規則的皺紋,頂端有小型的凸起物。肉厚和柔潤且有黏性,味道帶有些許酸甜味。根據行政院食品藥物管理署的數據顯示,每100公克的枸杞有11.2公克的膳食纖維、50毫克的鈣、1363毫克的鉀、75毫克的鎂以及201毫克的β-胡蘿蔔素。 此外,臺北市立聯合醫院的研究也顯示,枸杞含有200多種不同的成分,包括類黃酮、多酚以及多醣。其中**枸杞多醣(LBPs)**是1組水溶性醣結合物,含有17種氨基酸,具有多種藥理活性,例如抗氧化、免疫調節和預防骨質疏鬆等作用。 枸杞豐富的營養素帶來了不少如下的好處:
     Like  Bookmark
  • package org.example.tests.model; import com.fasterxml.jackson.core.JsonProcessingException; import com.fasterxml.jackson.databind.json.JsonMapper; import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbAttribute; import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbBean; import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbPartitionKey; import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbSecondaryPartitionKey; import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbSecondarySortKey; import software.amazon.awssdk.enhanced.dynamodb.mapper.annotations.DynamoDbSortKey;
     Like  Bookmark
  • 2 3 5 7 11 13 17 19 23 29
     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 :::
     Like  Bookmark
  • Prior to 2023/09/01 English 繁體中文 輕用量 中用量 高用量 Monthly fee 推廣方案費用 NT$0.00
     Like  Bookmark
  • 你覺得原生家庭對一個人的影響很重要嗎?很重要,而且很難改變 (跳至第2題) 重要,但我們可以重塑自己 (跳至第4題) 還好,只要自身夠強大就可以改變 (跳至第3題) 你很容易依賴他人,討厭面對"分別"嗎? 是的,很容易依賴他人 (跳至第3題) 不是,很難輕易依賴一個人 (跳至第4題) 初期很難,後期很容易 (跳至第5題)
     Like  Bookmark
  • 開啟項目設置 方法一:點擊視窗右下角的<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="height:16px;weight:16px"><!--!Font Awesome Free 6.6.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free Copyright 2024 Fonticons, Inc.--><path d="M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"/></svg>(齒輪)。 Project Settings 方法二:點擊「文件」選單、「項目設置」;或直接使用快捷鍵 ⇧9 (macOS)、⌃9 (Windows)。 Project Settings 點擊「項目設置」左側的「色彩管理」 Color Space & Transforms
     Like  Bookmark
  • Dependency <dependency> <groupId>com.littlenb</groupId> <artifactId>snowflake</artifactId> <version>1.0.5</version> </dependency> GitHub repository is here. Code Snippet import com.littlenb.snowflake.sequence.IdGenerator;
     Like  Bookmark
  • .keyboardButton { border: 1px solid #000; border-radius: 6px; cursor: default; font-family: 'Bitstream Vera Sans Mono',monospace; padding: 6px; } 產生密鑰 將下例中電子郵件地址替換為 Bitbucket、GitCode、GitHub、GitLab、Gitee 帳號或其它電子郵件地址,執行下面的指令。
     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
     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).
     Like 1 Bookmark
  • Thunderforest Monthly charge Monthly tile requests Hobby Project Free 150K Solo Developer
     Like  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
     Like  Bookmark