cat <<EOF | curl --location 'https://bsky.social/xrpc/com.atproto.server.createSession' --header 'Content-Type: application/json' -d @- | jq
{
"identifier": "dims.dev",
"password": "$BSKY_PASSWORD"
}
EOF
WORKS!
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
| /* | |
| You need create .env file with the following variables: | |
| BSKYHANDLE=yourhandle | |
| BSKYPASS=yourpass | |
| */ | |
| const { | |
| BskyAgent | |
| } = require('@atproto/api'); | |
| require('dotenv').config(); |
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
| go test -c -race ./pkg/kubelet/ | |
| stress ./kubelet.test -test.run=TestUpdateNodeStatusWithLease |
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
| #!/bin/bash | |
| set -xeu | |
| TAG=${1#dims:} | |
| git fetch --all --tags | |
| git checkout tags/$TAG -b branch-for-tag-$TAG |
brew install rustup
rustup update
cargo install cedar-policy-cli
go install sigs.k8s.io/[email protected]
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
| { | |
| "spec": { | |
| "unwantedModules": { | |
| "cloud.google.com/go": "cloud dependency", | |
| "cloud.google.com/go/bigquery": "cloud dependency", | |
| "cloud.google.com/go/compute": "cloud dependency", | |
| "cloud.google.com/go/firestore": "db/datastore clients should not be required", | |
| "cloud.google.com/go/storage": "cloud dependency", | |
| "github.com/GoogleCloudPlatform/k8s-cloud-provider": "cloud dependency", | |
| "github.com/PuerkitoBio/urlesc": "unmaintained, archive mode", |
| CI Job | Failure Count | URL |
|---|---|---|
| ci-kubernetes-e2e-windows-containerd-gce-master | 858 | https://testgrid.k8s.io/sig-windows-gce#gce-windows-2019-containerd-master |
| ci-kubernetes-e2e-gci-gce-autoscaling-migs | 846 | https://testgrid.k8s.io/sig-autoscaling-cluster-autoscaler#gci-gce-autoscaling-migs |
| ci-kubernetes-e2e-gci-gce-autoscaling | 845 | https://testgrid.k8s.io/sig-autoscaling-cluster-autoscaler#gci-gce-autoscaling |
| ci-kubernetes-e2e-windows-win2022-containerd-gce-master | 818 | https://testgrid.k8s.io/sig-windows-gce#gce-windows-2022-containerd-master |
| ci-test-infra-branchprotector | 693 | https://testgrid.k8s.io/sig-testing-misc#branchprotector |
| pull-kops-e2e-k8s-gce-cilium-etcd | 649 | https://testgrid.k8s.io/kops-presubmits#e2e-gce-cilium-etcd |
| ci-kubernetes-e2e-capz-master-windows-hyperv | 547 | https://testgrid.k8s.io/sig-windows-experimental#capz-master-windows-hyperv |
| ci-k8sio-file-promo-mirrors | 545 | https://testgrid.k8s.io/sig-release-releng-blocking#ci-k8sio-file-promo-mirrors |
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
| - definition: io.k8s.api.core.v1.PodSpec | |
| field_categories: | |
| - name: Containers | |
| fields: | |
| - containers | |
| - initContainers | |
| - ephemeralContainers | |
| - imagePullSecrets | |
| - enableServiceLinks | |
| - os |
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
| #!/bin/bash | |
| crictl ps | |
| crictl pods | |
| crictl stop $(crictl ps -q) | |
| crictl rm $(crictl ps -q) | |
| crictl stopp $(crictl pods -q) | |
| crictl rmp $(crictl pods -q) |
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
| sudo lsof -iTCP -sTCP:LISTEN -n -P | awk 'NR>1 {print $9, $1, $2}' | sed 's/.*://' | while read port process pid; do echo "Port $port: $(ps -p $pid -o command= | sed 's/^-//') (PID: $pid)"; done | sort -n |