You should refer the original page. The all copyrights of these documents belong to them.
- grep :: search a file for a pattern
| FROM node:12.14.1-alpine AS build | |
| # If you have troubles with node-gyp use should install these dependencies | |
| RUN apk add g++ make python | |
| WORKDIR /app | |
| COPY package*.json ./ | |
| RUN npm ci | |
| COPY . ./ | |
| # build js & remove devDependencies from node_modules |
| # firebase.tf https://gist.githubusercontent.com/Zebreus/906b8870e49586adfe8bd7bbff43f0a8/raw/firebase.tf | |
| # Terraform configuration for creating a firebase project with firestore, functions and storage | |
| # Unfinished | |
| terraform { | |
| required_providers { | |
| google-beta = { | |
| source = "hashicorp/google-beta" | |
| version = "4.11.0" | |
| } |
You should refer the original page. The all copyrights of these documents belong to them.
| package main | |
| import ( | |
| "fmt" | |
| "sync" | |
| ) | |
| func main() { | |
| letter, number := make(chan bool), make(chan bool) |
In your command-line run the following commands:
brew doctorbrew update| #!/usr/bin/env node | |
| let fs = require('fs'); | |
| let path = require('path'); | |
| let util = require('util'); | |
| let target = { | |
| files: [ | |
| 'workspace.xml', | |
| ], | |
| dirs: [ |
For example: isSubset([A,B,C,D,E], [A,E,D]) = true isSubset([A,B,C,D,E], [A,D,Z]) = false isSubset([A,D,E], [A,A,D,E]) = true
| module.exports = { | |
| deleteObject: function (client, deleteParams) { | |
| client.deleteObject(deleteParams, function (err, data) { | |
| if (err) { | |
| console.log("delete err " + deleteParams.Key); | |
| } else { | |
| console.log("deleted " + deleteParams.Key); | |
| } | |
| }); | |
| }, |
| //base64 to buffer | |
| const b64string = /* whatever */; | |
| const buff = Buffer.from(b64string, 'base64'); | |
| //buffer to base64 | |
| let data = "Hello World"; | |
| let buff = new Buffer(data); | |
| let base64data = buff.toString('base64'); |