Given a structure like:
/
/terraform
/environment
/infra
/other
Given a structure like:
/
/terraform
/environment
/infra
/other
Given a structure like:
/
/terraform
/environment
/infra
/other
From: https://superuser.com/a/556031
ffmpeg -t 6 -i tooltip_gif.mov -vf "fps=10,scale=480:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 tooltip.gif| async function main () { | |
| const actions = [...Array(5)].map((_, i) => new Promise((resolve) => { | |
| console.log(`Promise ${i} has started already...`) | |
| console.time(`Promise ${i}`) | |
| setTimeout(() => { | |
| console.log(`Promise ${i} has finished!`) | |
| console.timeEnd(`Promise ${i}`) | |
| resolve() | |
| }) | |
| })) |
| const crypto = require('crypto') | |
| function createRandomPassword() { | |
| return new Promise((resolve, reject) => { | |
| crypto.randomBytes(32, (err, buf) => { | |
| if (err) return reject(err) | |
| resolve(buf.toString('hex')) | |
| }) | |
| }) | |
| } |
| bframes=2:keyint=15:level=4.1:ref=7:b-adapt=2:direct=auto:deblock=-1,-1:analyse=all:me=umh:merange=24:subme=10:trellis=2:psy-rd=1.00,0.15:vbv-bufsize=78125:vbv-maxrate=62500:rc-lookahead=60 |
| interface Proxyquire { | |
| (request: string, stubs: any): any; | |
| <T>(request: string, stubs: any): T; | |
| load(request: string, stubs: any): any; | |
| load<T>(request: string, stubs: any): T; | |
| noCallThru(): Proxyquire; | |
| callThru(): Proxyquire; |
| declare module 'yayson' { | |
| class Store { | |
| sync(obj: Object): Object; | |
| sync<T>(obj: Object): T; | |
| } | |
| interface Yayson { | |
| Store: typeof Store; | |
| } |
| declare module 'os-service' { | |
| import { Writable } from 'stream'; | |
| interface ServiceOptions { | |
| nodePath?: string; | |
| username?: string; | |
| password?: string; | |
| programPath?: string; | |
| displayName?: string; | |
| nodeArgs?: string[]; |