NDJSON is a convenient format for storing or streaming structured data that may be processed one record at a time.
- Each line is a valid JSON value
- Line separator is ‘\n’
cat test.json | jq -c '.[]' > testNDJSON.json
| // just add pass server as your task function | |
| // Start a server with LiveReload to preview the site in | |
| const OUTPUT_PARENT = 'dist' | |
| const OUTPUT_DIRECTORY = OUTPUT_PARENT + '/browser-sync' | |
| function server(done) { | |
| browser.init({ | |
| server: { | |
| directory: true, |
NDJSON is a convenient format for storing or streaming structured data that may be processed one record at a time.
cat test.json | jq -c '.[]' > testNDJSON.json
This is a Hashicorp Terraform module that provisions an AWS EC2 instance
for the purpose of running a given docker-compose.yml file.
# ===== OUR MAGIC DOCKER-COMPOSE.YML FILE HERE =====
# It is also possible to get Terraform to read an external `docker-compose.yml`
# file and load it into this variable.
# We'll be showing off a demo nginx page.This is a Hashicorp Terraform module that provisions an AWS EC2 instance
for the purpose of running a given docker-compose.yml file.
# ===== OUR MAGIC DOCKER-COMPOSE.YML FILE HERE =====
# It is also possible to get Terraform to read an external `docker-compose.yml`
# file and load it into this variable.
# We'll be showing off a demo nginx page.| var AWS = require('aws-sdk'); | |
| AWS.config.update({region: 'us-east-1'}); | |
| var lexruntime = new AWS.LexRuntime(); | |
| var params = { | |
| botAlias: '$LATEST', /* required, has to be '$LATEST' */ | |
| botName: 'BOT', /* required, the name of you bot */ | |
| inputText: 'TEXT', /* required, your text */ | |
| userId: 'USER', /* required, arbitrary identifier */ |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |