国内从 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+
#!/usr/bin/env python | |
u""" | |
This is the Python client library for GrowthBook, the open-source | |
feature flagging and A/B testing platform. | |
More info at https://www.growthbook.io | |
""" | |
from __future__ import division | |
from __future__ import absolute_import | |
import re |
The CLR ThreadPool has two types of threads - "Worker" and "I/O Completion Port" (aka IOCP) threads.
Task.Run(…)
or ThreadPool.QueueUserWorkItem(…)
methods. These threads are also used by various components in the CLR when work needs to happen on a background thread.The thread pool provides new worker threads or I/O completion threads on demand (without any throttling) until it reaches the "Minimum" setting for each type of thread. By default, the minimum number of threads is set to the number of processors on a system.
Once the number of existing (busy) threads hits the "minimum" number of threads, the ThreadPool will throttle the rate at which is injects new threads to one thread per 500 milliseconds. This means that if your system gets a burst of work needing an IOCP thread, it will proces
{ | |
"button": [ | |
{ | |
"type": "miniprogram", | |
"name": "纳良策", | |
"url": "https://j.youzan.com/x3wvu9", | |
"appid": "wxb8f2fbd6fb477716", | |
"pagepath": "pages/home/dashboard/index" | |
}, | |
{ |
{ | |
"button": [ | |
{ | |
"type": "miniprogram", | |
"name": "纳良策", | |
"url": "https://j.youzan.com/x3wvu9", | |
"appid": "wxb8f2fbd6fb477716", | |
"pagepath": "pages/home/dashboard/index" | |
}, | |
{ |
How to setup an Outline VPN Server on Ubuntu 16.04 Server
This guide will show you how to install Outline Server on an Ubuntu 16.04 Server, use Outline Manager for Windows and connect to your Outline Server on Windows and Anroid.
Outline Manager supports Windows, macOS and Linux.
How To Install OpenCV 3.3+ with Java on Mac | |
03 Nov, 2017 • I spent a couple hours trying to resolve an UnsatisfiedLinkError with OpenCV and Java on Mac, I found the solution. | |
If after installing OpenCV on Mac via brew, such as by using | |
brew install opencv | |
Then you may be getting an error when trying to use `System.loadLibrary(Core.NATIVE_LIBRARY_NAME)` that says something like: | |
UnsatisfiedLinkError: no opencv_java331 in java.library.path | |
The solution to this is to reinstall OpenCV with the proper Java libs. Try the following steps: |
#!/usr/bin/env bash | |
# Install the latest version of git on CentOS 6.x | |
# Install Required Packages | |
sudo yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel | |
sudo yum install gcc perl-ExtUtils-MakeMaker | |
# Uninstall old Git RPM | |
sudo yum remove git | |
思路就是 | |
1. 把wifi设置成优先的default路由 | |
2. 配置内网的网段走有线的网关 | |
3. 除了有线的, 自然就是走wifi default了 | |
走起. |