Данная пошаговая инструкция поможет освоить основы на простом примере
Для справки
Сервер поднимался на Debian 8
c характеристиками:
CPU - 1 ядро x 500 МГц
var cv = require('./node_modules/opencv/lib/opencv'); | |
var sleep = require('sleep'); | |
var camera = new cv.VideoCapture(0); //open camera | |
//set the video size to 512x288 | |
camera.setWidth(512); | |
camera.setHeight(288); | |
var window = new cv.NamedWindow('Camera'); | |
var firstFrame, frameDelta, gray, thresh; |
{ | |
"name": "tf-js", | |
"version": "1.0.0", | |
"main": "script.js", | |
"license": "MIT", | |
"dependencies": { | |
"@tensorflow-models/mobilenet": "^0.2.2", | |
"@tensorflow/tfjs": "^0.12.3", | |
"@tensorflow/tfjs-node": "^0.1.9", | |
"jpeg-js": "^0.3.4" |
The following is the procedure I use on UNIX systems:
First, export all public certificates into a public keyring:
$ gpg --armor --export > pub.asc
Second, export all secret certificates into a secret keyring:
See also:
Service | Type | Storage | Limitations |
---|---|---|---|
Amazon DynamoDB | 25 GB | ||
Amazon RDS | |||
Azure SQL Database | MS SQL Server | ||
👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
Here is a short guide that will help you setup your environment to create signed commits
or signed tags
with Git locally. This has been extensively tested on Windows with Git and the Github Desktop application: I use it every day for my professional development projects.
I you face any issue, feel free to leave a comment below.
const path = require('path'); | |
const fs = require('fs'); | |
const glob = require('glob-all'); | |
const appDirectory = fs.realpathSync(process.cwd()); | |
const resolveApp = relativePath => path.resolve(appDirectory, relativePath); | |
const PurgecssPlugin = require('purgecss-webpack-plugin'); | |
module.exports = { |
adss.video.qq.com | |
bugly.qq.com | |
dp3.qq.com | |
fusion.qq.com | |
pingtas.qq.com | |
huatuocode.weiyun.com | |
report.huatuo.qq.com | |
vd.l.qq.com | |
nex.163.com | |
sentry.music.163.com |
#!/usr/bin/env bash | |
set -o errexit | |
echo $(date):Random read | |
fio --filename=test --sync=1 --rw=randread --bs=4k --numjobs=1 \ | |
--iodepth=4 --group_reporting --name=test --filesize=10G --runtime=300 && rm test | |
echo $(date):Random write | |
fio --filename=test --sync=1 --rw=randwrite --bs=4k --numjobs=1 \ |
Having troubles with Xcode or their Command Line Tools? Follow this guide to reset your Xcode instance on macOS and resolve issues such as "No Xcode or CLT version detected!"
xcode-select -print-path