Skip to content

Instantly share code, notes, and snippets.

View hczs's full-sized avatar

powercheng hczs

View GitHub Profile
@y0ngb1n
y0ngb1n / docker-registry-mirrors.md
Last active September 23, 2024 10:21
国内的 Docker Hub 镜像加速器,由国内教育机构与各大云服务商提供的镜像加速服务 | Dockerized 实践 https://github.com/y0ngb1n/dockerized
types {
text/html html htm shtml;
text/css css;
text/xml xml;
image/gif gif;
image/jpeg jpeg jpg;
application/javascript js;
application/atom+xml atom;
application/rss+xml rss;
@kimhu
kimhu / MultiThreadedTrapReceiver
Created August 7, 2014 08:05
This class can catch the AUTH_PRIV v3 trap, also can catch the snmp v1, v2 and v3 normal trap. Contains SNMP4j v1 and v3 trap sender example.
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package testsnmp4j;
import java.io.IOException;
import java.net.InetAddress;
import java.net.UnknownHostException;
import java.util.Vector;