For educational reasons I've decided to create my own CA. Here is what I learned.
Lets get some context first.
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
[Unit] | |
Description=Redis persistent key-value storage | |
After=network.target | |
[Service] | |
Type=notify | |
ExecStart=/usr/bin/redis-server /etc/redis.conf --supervised systemd --daemonize no | |
ExecStop=/usr/bin/redis-cli -p 6379 shutdown | |
ExecReload=/bin/kill -USR2 $MAINPID | |
Restart=always |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
import * as ts from 'typescript' | |
function makeFactorialFunction() { | |
const functionName = ts.factory.createIdentifier('factorial') | |
const paramName = ts.factory.createIdentifier('n') | |
const parameter = ts.factory.createParameterDeclaration( | |
undefined, | |
undefined, | |
undefined, | |
paramName, |
@classDecFactory() | |
class Student { | |
@propertyDecFactory() | |
name: string | |
@methodDecFactory() | |
run(@parameterDecFactory() arg: string) { | |
console.log(arg) | |
} | |
} |
asdf |
#!/usr/bin/python3 | |
import asyncio | |
import time | |
import socket | |
import argparse | |
import aiohttp | |
class MyConnector(aiohttp.TCPConnector): |