Skip to content

Instantly share code, notes, and snippets.

liushijie ofdata

Block or report user

Report or block ofdata

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
ofdata /
Created May 27, 2017 — forked from kamermans/
Change the IP subnet of Docker's docker0 interface
#!/bin/sh -e
# You can run this script directly from github as root like this:
# curl -sS | sudo bash -s -
# * Make sure you replace "" with the network that you want to use
# NOTE: This script is intended for Debian / Ubuntu only!
if [ $# -lt 1 ]; then
View gist:8caf767e07616a2d60f2
public class Test
public static void main(String[] args) throws InterruptedException
Integer threadNum = 200; // 35
AtomicInteger upCnt = new AtomicInteger(0);
List<MyThreadIcvNew> listThreads = new ArrayList<MyThreadIcvNew>();
Map<String, Map<String, Integer>> countMap = new ConcurrentHashMap<String, Map<String, Integer>>();
for (int i = 0; i < threadNum; i++)
You can’t perform that action at this time.