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: |
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 xquartzLaunch 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", |