One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
/** | |
* website搜索. | |
* | |
* @param id | |
* @param q | |
* @param sort | |
* @param offset | |
* @param limit | |
* @return | |
*/ |
import com.alibaba.fastjson.JSON; | |
import com.alibaba.fastjson.parser.deserializer.ExtraProcessor; | |
import com.alibaba.fastjson.serializer.NameFilter; | |
import com.alibaba.fastjson.serializer.SerializerFeature; | |
import org.apache.commons.lang3.Validate; | |
import java.lang.reflect.Field; | |
import java.lang.reflect.Modifier; |
思路就是 | |
1. 把wifi设置成优先的default路由 | |
2. 配置内网的网段走有线的网关 | |
3. 除了有线的, 自然就是走wifi default了 | |
走起. |
#!/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 | |
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: |
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.
{ | |
"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" | |
}, | |
{ |
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