Category: Uncategorized
-
S3: Bucket Policy
AWS S3 CEPH / RADOS-GW AbortMultipartUpload AbortMultipartUpload CompleteMultipartUpload CopyObject CreateBucket CreateBucket CreateMultipartUpload DeleteBucket DeleteBucket DeleteBucketAnalyticsConfiguration DeleteBucketCors DeleteBucketEncryption DeleteBucketIntelligentTieringConfiguration DeleteBucketInventoryConfiguration DeleteBucketLifecycle DeleteBucketMetricsConfiguration DeleteBucketOwnershipControls DeleteBucketPolicy DeleteBucketPolicy DeleteBucketReplication DeleteReplicationConfiguration DeleteBucketTagging DeleteBucketWebsite DeleteBucketWebsite DeleteObject DeleteObject DeleteObjects DeleteObjectTagging DeleteObjectTagging DeletePublicAccessBlock DeleteObjectVersion DeleteObjectVersionTagging GetBucketAccelerateConfiguration GetBucketAcl GetBucketAcl GetBucketAnalyticsConfiguration GetBucketCors GetBucketCORS GetBucketEncryption GetBucketEncryption GetBucketIntelligentTieringConfiguration GetBucketInventoryConfiguration GetBucketLifecycle GetBucketLifecycleConfiguration GetBucketLocation GetBucketLocation GetBucketLogging GetBucketLogging GetBucketMetricsConfiguration GetBucketNotification…
-
Bash Shortcut
Movement CTRL-a – Go to the beginning of the line. CTRL-e – Go to the end of the line. CTRL-b – Move cursor backward one character. CTRL-f – Move cursor forward one character. ALT-b – Move cursor backward one word. ALT-f – Move cursor forward one word. Editing ALT-c – Capitalize the letter at cursor…
-
Neovim: Lua
About XDG_CONFIG_HOME and XDG_DATA_HOME XDG Base Directory Specification (specifications.freedesktop.org) How to structure your lua script Lua-guide – Neovim docs
-
Neo4j: Graph Database
Create a node Query nodes Create a relationship Query by relationship Query relationship by node References
-
Kubernetes: Helm Chart
Repository Listing repositories Adding a repository Removing one or many repositories Updating all or some repositories If you do not have a HELM repository, you can use OCI compatible docker/container registry to store your helm chart. Chart Listing running charts Status of a running chart References:
-
WSL2: Fedora 37
First, create a folder. Then, download Fedora rootfs from here. Extract the tar.xz until you find layer.tar file. Finally, import the layer.tar file to WSL. You can start it with: Or, make it your default distribution with: Refrences:
-
GPG: Public-Private Key Encryption
Generate public-private key pairs List keys List public keys List private keys Encyrpt a file If you do not specify –output flag, it will generate a file named hello.txt.gpg. Sign a file You may need to enter the password for your private key. If you do not specify –output flag, it will generate a file…
