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
import org.apache.commons.codec.binary.Base64; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.nio.charset.StandardCharsets; | |
import java.security.PrivateKey; | |
import java.security.SecureRandom; | |
import java.security.Signature; | |
import java.text.MessageFormat; |
- Go to
Settings -> Access Tokens
in your gitlab project - Add new token name, choose validtity, choose role as "maintainer", select scopes as "api, read_api"
- Click on "create project access token"
- Copy the created token in safe location.
Amazon DynamoDB uses a different format of JSON internally to store.
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/S3DataExport.Output.html
The Original JSON needs to be extracted from DynamoDB JSON.
Converter APIs: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/DynamoDB/Converter.html
const jsonLine = AWS.DynamoDB.Converter.unmarshall( awsJson.Item );
Rootless Podman setup with volume.
❯ podman machine init --cpus=4 --memory=4096 -v /Users/snambi/.secrets:/mnt/secrets
Downloading VM image: fedora-coreos-38.20230514.2.0-qemu.aarch64.qcow2.xz: done
Extracting compressed file
- Attach the USB drive to computer.
- Note the ID of the device
# use lsblk to list the devices lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 4K 1 loop /snap/bare/5 loop1 7:1 0 97.7M 1 loop /snap/core/12726 sda 8:0 0 931.5G 0 disk
└─sda1 8:1 0 931.5G 0 part /media/ncdrive
NewerOlder