国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
# py kapture-cropper.py -i dataset-kapture\ --border_px 0 --scale_factor 1 -v | |
import kapture | |
import kapture.io.csv as csv | |
from PIL import Image | |
from kapture.io.csv import kapture_to_dir | |
import os, logging, argparse | |
import kapture.utils.logging | |
logger = logging.getLogger("kapture-cropper") |
<?php | |
// PHP sample code to show multipart file upload using the B2 Native API | |
// User supplies optional -v for verbose output from curl, then bucket name | |
// and path to local file | |
$rest_index = null; | |
$opts = getopt("v::", [], $rest_index); | |
$args = array_slice($argv, $rest_index); |
import hexdump | |
import kiss | |
import struct | |
def decode_addr(data, cursor): | |
(a1, a2, a3, a4, a5, a6, a7) = struct.unpack("<BBBBBBB", data[cursor:cursor+7]) | |
hrr = a7 >> 5 | |
ssid = (a7 >> 1) & 0xf | |
ext = a7 & 0x1 |
/** | |
* \par Copyright (C), 2012-2016, MakeBlock | |
* @file Me_LEDMatrixTest.ino | |
* @author MakeBlock (modified by Petr Lukas) | |
* @version V1.0.0 | |
* @date 2019/05/12 | |
* @brief Description: this file is sample code for Me LED Matrix device. | |
* | |
* Function List: | |
* clearScreen() Remove content of display |
<settings> | |
... | |
<activeProfiles> | |
<activeProfile>nexus</activeProfile> | |
</activeProfiles> | |
... | |
<profiles> | |
<profile> | |
<id>nexus</id> | |
<repositories> |