Reference:
sudo fdisk -l
const { docClient } = require('../services/dynamodb') | |
exports.findAllItems = async function* () { | |
let response = {} | |
let ExclusiveStartKey | |
do { | |
response = await docClient.scan({ | |
TableName: 'mytable', | |
Limit: 500, | |
ExclusiveStartKey |
Reference:
sudo fdisk -l
AWSTemplateFormatVersion: '2010-09-09' | |
Description: Cognito Stack | |
Parameters: | |
AuthName: | |
Type: String | |
Description: Unique Auth Name for Cognito Resources | |
Resources: | |
# Creates a role that allows Cognito to send SNS messages | |
SNSRole: |
These are the steps I used to get Ubuntu ARM aarch64 running with QEMU on OSX.
Get Ubuntu Image and QEMU EFI:
wget https://cloud-images.ubuntu.com/releases/16.04/release/ubuntu-16.04-server-cloudimg-arm64-uefi1.img
wget https://releases.linaro.org/components/kernel/uefi-linaro/latest/release/qemu64/QEMU_EFI.fd
Install Xquartz
to get X11 support on MacOS. You can google Xquartz
and download it from its official site, or install using HomeBrew.
brew cask install xquartz
Launch Xquartz
. Go to Preference
-> Security
, click the box Allow connections from clients
. NOTE: You have to lauch Xquartz
with Allow connections from clients
enable everytime you want to ssh
to remote server with X11 forwarding support.
Simply open the ~/Library/Group\ Containers/group.com.docker/settings.json
config file and set the diskSizeMiB
field to your desired size.
Save, and Docker will now limit the size of the Docker.raw.
You might need to restart Docker to resize the Docker.raw.
source "null" "words" { | |
} | |
build { | |
name = "utils.words" | |
sources = ["null.words"] | |
provisioner "shell-local" { | |
# setulimit, this works with macbook https://gist.github.com/gerardkok/8e61df7bbb132522b8232fb3841ae3b4 | |
# http(ie) is required here, curl could work | |
inline = concat(["ulimit -n 524288"],[ | |
"mkdir -p ${path.cwd}/inventory", |