aws s3api create-bucket --bucket tanzu-prow-logs --region us-east-1
aws iam create-user --user-name prow-logs-user
cat > prow-logs-policy.json <<EOF
{
"Version": "2012-10-17",
"Statement": [
{
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
#!/bin/sh | |
# Prerequisites: | |
# ~/env.sh exists with aws | |
export CLUSTER_NAME=mc-test | |
tanzu management-cluster create -f community-edition/test/aws/cluster-config.yaml | |
kubectl config use-context mc-test-admin@mc-test |
Here the best setup (I think so :D) for Keychron + Linux
- Step 1: Set fkeyfirst by:
- Create the file
/etc/modprobe.d/hid_apple.conf
. Add this line to the file:options hid_apple fnmode=2
- Save the file and execute the following command:
sudo update-initramfs -u
- Reboot
- Create the file
- Step 2: Use the keyboard in Windows/Android mode
- Step 3: If get stuck with numpad mode: Double hit F6 or fn + F6. I've been using this config since the very first day, both bluetooth and cable with no problem.
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
# Info on how to get your api key (kaggle.json) here: https://github.com/Kaggle/kaggle-api#api-credentials | |
!pip install kaggle | |
api_token = {"username":"USERNAME","key":"API_KEY"} | |
import json | |
import zipfile | |
import os | |
with open('/content/.kaggle/kaggle.json', 'w') as file: | |
json.dump(api_token, file) | |
!chmod 600 /content/.kaggle/kaggle.json | |
!kaggle config path -p /content |