This Dockerfile is intended for SvelteKit applications that use adapter-node.
FROM node:16-alpine AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: ubuntu | |
| labels: | |
| app: ubuntu | |
| spec: | |
| containers: | |
| - image: ubuntu | |
| command: |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: pihole-config | |
| data: | |
| WEBPASSWORD: pihole | |
| TZ: 'Asia/Ho_Chi_Minh' | |
| DNS1: 1.1.1.1 | |
| DNS2: 1.0.0.1 |
This Dockerfile is intended for SvelteKit applications that use adapter-node.
FROM node:16-alpine AS builder
WORKDIR /app
COPY package*.json .
RUN npm ci
COPY . .
RUN npm run build| <html> | |
| <head> | |
| <script type="text/javascript" src="/jquery.min.js"></script> | |
| <title>Mime type checker</title> | |
| <script> | |
| $(function () { | |
| var result = $('div#result'); | |
| if (window.FileReader && window.Blob) { | |
| $('span#submit').click(function () { | |
| var files = $('input#file').get(0).files; |
| "use strict"; | |
| const _ = require("lodash"); | |
| const chalk = require("chalk"); | |
| const Promise = require("bluebird"); | |
| const ServiceBroker = require("../src/service-broker"); | |
| const { MoleculerError } = require("../src/errors"); | |
| // --- SAGA MIDDLEWARE --- | |
| const SagaMiddleware = function() { |
| /* | |
| * Libevent is a high-performance and portable asynchronous networking I/O library (http://libevent.org) | |
| * This is small program to demonstrate the basic of libevent programming | |
| * | |
| * Copyright (C) 2012, Ardhan Madras <[email protected]> | |
| */ | |
| #include <event.h> | |
| #include <arpa/inet.h> | |
| #include <netinet/in.h> |
Install ffmpeg
brew install ffmpeg
Download file through url, like this:
ffmpeg -protocol_whitelist file,http,https,tcp,tls,crypto -i "http://url-file.domain.m3u8" -c copy video.mp4
| Version | Link |
|---|---|
| ECMAScript 2015 - ES2015 - ES6 | All Features List |
| ECMAScript 2016 - ES2016 - ES7 | All Features List |
| ECMAScript 2017 - ES2017 - "ES8" | All Features List |
| ECMAScript 2018 - ES2018 - "ES9" | All Features List |
| ECMAScript 2019 - ES2019 - "ES10" | All Features List |
| ECMAScript 2020 - ES2020 - "ES11" | All Features List |