# Builds NGINX from the QUIC+HTTP/3 development branch | |
# - Based on the official NGINX docker image, including all modules built by default | |
# - OpenSSL replaced with LibreSSL to support QUIC's TLS requirements (statically linked) | |
# | |
# docker build --no-cache -t nginx:quic . | |
# docker run -d -p 443:443 -p 443:443/udp nginx:quic | |
# | |
# Note that a suitable configuration file and TLS certificates are required for testing! | |
# See <https://quic.nginx.org/readme.html> for more info |
package com.codergists.somescripts | |
import org.springframework.boot.SpringApplication | |
import org.apache.camel.builder.RouteBuilder | |
import org.springframework.boot.autoconfigure.SpringBootApplication | |
import org.apache.camel.component.servlet.CamelHttpTransportServlet | |
import org.springframework.boot.web.servlet.ServletRegistrationBean | |
import org.springframework.context.annotation.Bean | |
import org.apache.camel.model.rest.RestBindingMode | |
import org.apache.camel.LoggingLevel |
NOTE: A lot of these instructions change with Go 1.11 and later. These instructions are for Go 1.10.
Install the following programs.
- Git bash (https://git-scm.com/download/win)
Git is necessary for the
go get
command, and using the git bash command line works well with the go dev environment.
# Author: Eric Pruitt (http://www.codevat.com) | |
# License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause) | |
# Description: This Makefile is designed to create a statically linked nginx | |
# binary without any dependencies on the host system's version of glibc. | |
NGINX_VERSION=1.15.0 | |
OPENSSL_VERSION=1.0.2o | |
PCRE_VERSION=8.42 | |
ZLIB_VERSION=1.2.11 |
mkdir ~/.pip | |
cat <<EOF > ~/.pip/pip.conf | |
[global] | |
trusted-host = mirrors.aliyun.com | |
index-url = http://mirrors.aliyun.com/pypi/simple | |
EOF |
http://www.oreilly.com/programming/free/files/microservices-for-java-developers.pdf
http://www.oreilly.com/programming/free/files/microservices-for-java-developers.epub
http://www.oreilly.com/programming/free/files/microservices-for-java-developers.mobi
http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.pdf
http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.epub
http://www.oreilly.com/programming/free/files/modern-java-ee-design-patterns.mobi
Here's an example of how to debug Mocha v4 if it hangs.
Ensure you're using a Node.js 8 or newer (or any version with async_hooks support).
If you run your test, you'll notice it hangs:
$ mocha test.js
#!/usr/bin/env python | |
#this is mostly from: | |
#http://code.activestate.com/recipes/577187-python-thread-pool/ | |
from Queue import Queue | |
from threading import Thread, Event | |
from sys import stdout, stderr | |
from time import sleep |