Install the service by adding the ssh-reverse-proxy@.service
to /lib/systemd/system/
.
Create a config for a service:
Example:
# /etc/default/ssh-reverse-proxy@your-service
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.// Print GitHub Markdown Document | |
// Copy following scripts in the developer console of page included markdown content you want to print and run "printMarkdown("#readmy") | |
function printMarkdown(selector) { | |
var $ = document.querySelector.bind(document); | |
$(selector).setAttribute('style', 'position:absolute;top:0;left:0;right:0;bottom:0;z-index:100;background-color:white'); | |
$(selector + '>article').setAttribute('style', 'border: none'); | |
$('body').innerHTML = $(selector).outerHTML; | |
window.print(); | |
} |
Here a list of trusted list of site you can use for reporting malicious site.
import javax.net.ssl.SSLParameters; | |
import javax.net.ssl.SSLSocket; | |
import javax.net.ssl.SSLSocketFactory; | |
import java.io.BufferedReader; | |
import java.io.BufferedWriter; | |
import java.io.IOException; | |
import java.io.InputStreamReader; | |
import java.io.OutputStreamWriter; | |
import java.net.Socket; |
A simple fix for using ca-certificates
to update Java cacerts
store for container.
Due to the update-ca-certificates
will output the Java cacerts
store to /etc/ssl/certs/java/cacerts
which the pre-built image not aware of the changes. So by removing the ${JAVA_HOME}/lib/security/cacerts
and create a symbolic link from /etc/ssl/certs/java/cacerts
to ${JAVA_HOME}/lib/security/cacerts
will resolve the issue.
FROM eclipse-temurin:17-jre-alpine
# Detect operating system in Makefile. | |
# Author: He Tao | |
# Date: 2015-05-30 | |
OSFLAG := | |
ifeq ($(OS),Windows_NT) | |
OSFLAG += -D WIN32 | |
ifeq ($(PROCESSOR_ARCHITECTURE),AMD64) | |
OSFLAG += -D AMD64 | |
endif |
Located in alphabetical order (not prefer)
C
ab
), also designed as a more modern replacement, written in C
golang
)