service.beta.kubernetes.io/aws-load-balancer-access-log-emit-interval
(in minutes)service.beta.kubernetes.io/aws-load-balancer-access-log-enabled
(true|false)service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-name
service.beta.kubernetes.io/aws-load-balancer-access-log-s3-bucket-prefix
service.beta.kubernetes.io/aws-load-balancer-additional-resource-tags
(comma-separated list of key=value)service.beta.kubernetes.io/aws-load-balancer-backend-protocol
(http|https|ssl|tcp)service.beta.kubernetes.io/aws-load-balancer-connection-draining-enabled
(true|false)
This file contains 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
require('dotenv-safe').config(); | |
// dependencies | |
const express = require('express'); | |
const bodyParser = require('body-parser'); | |
const cors = require('cors'); | |
// app | |
const app = express(); |
This file contains 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
// on https://myactivity.google.com/page?page=youtube_comments | |
let i = 0 | |
let total = document.querySelectorAll("div[role=list] button").length | |
let recurse = () => { | |
setTimeout(() => { | |
let a = document.querySelectorAll("div[role=list] button") | |
let b = document.querySelectorAll("div[role=list] h2")[i].innerHTML.padEnd(13) | |
if (a[i]) { |
This file contains 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
git branch -r | ?{$_ -notlike '*->*'} | %{$_ -replace "\s", ""} | %{ git branch --track ($_ -replace "origin/", "") $_} | |
git fetch --all | |
git pull --all |
This file contains 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
# docker | |
sudo yum install -y docker | |
sudo service docker start | |
sudo usermod -a -G docker ec2-user | |
# logout, or execute 'sudo newgrp docker' | |
sudo curl https://raw.githubusercontent.com/docker/docker-ce/master/components/cli/contrib/completion/bash/docker -o /etc/bash_completion.d/docker | |
sudo vim /etc/bash_completion.d/docker | |
# add 'd' on last line | |
# logout |
This file contains 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> aws ec2 help | write | |
$commands = @( | |
@{n='accept-transit-gateway-multicast-domain-associations'}, @{n='accept-transit-gateway-peering-attachment '}, | |
@{n='accept-transit-gateway-vpc-attachment'}, @{n='accept-vpc-endpoint-connections'}, | |
@{n='accept-vpc-peering-connection'}, @{n='advertise-byoip-cidr'}, | |
@{n='allocate-address'}, @{n='allocate-hosts'}, | |
@{n='apply-security-groups-to-client-vpn-target-network'}, @{n='assign-ipv6-addresses'}, | |
@{n='assign-private-ip-addresses'}, @{n='associate-address'}, | |
@{n='associate-client-vpn-target-network'}, @{n='associate-dhcp-options'}, | |
@{n='associate-enclave-certificate-iam-role'}, @{n='associate-iam-instance-profile'}, |
This file contains 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
# for Debian-based images (buster, bullseye, etc) | |
FROM debian | |
RUN apt-get update &&\ | |
apt-get install ncdu &&\ | |
rm -rf /var/lib/apt/lists/* | |
# for Alpine-based images | |
FROM alpine | |
RUN apk add --no-cache ncdu |
This file contains 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
a4b.amazonaws.com | |
access-analyzer.amazonaws.com | |
account.amazonaws.com | |
acm-pca.amazonaws.com | |
acm.amazonaws.com | |
airflow-env.amazonaws.com | |
airflow.amazonaws.com | |
alexa-appkit.amazon.com | |
alexa-connectedhome.amazon.com | |
amazonmq.amazonaws.com |
This file contains 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
https://excalidraw.com/#json=yJrUl8O2gxvkYy7FAdb_I,F-oeOZmIHy-RN7vape4K8Q |