A JVM patched with DCE hotswap capabilities.
https://github.com/dcevm/dcevm/releases
Download latest release - this pertains to a specific JVM release.
| <html> | |
| <body> | |
| <h1 id="h">Hi 3</h1> | |
| <script src="https://code.jquery.com/jquery-3.4.1.slim.js"></script> | |
| <script> | |
| function enterFullscreen() { | |
| var element = document.documentElement; |
| """ | |
| Self-contained test for a simple Celery task interaction using an ephemeral MongoDB broker. | |
| * MongoDB is created using docker with a temporary directory for storage. | |
| * Celery broker is designated with the above containers random host-port. | |
| * Celery worker is created using python Multi-process and managed. | |
| * Triggers a distributed task | |
| * Stops celery workers | |
| * Stops mongodb container | |
| * Removes temp directory. |
| OD = 106; // outer diameter | |
| PLATE_TH = 2; // base plate thickness | |
| RING_TH = 5; // ring thickness | |
| RING_DEPTH = 12; // depth of outer fixing ring | |
| BOX_W = 35; // width of supplied enclosure | |
| BOX_L = 50; // length of supplied enclosure | |
| BOX_D = 12; // height of box grab. (20mm deep box) |
| """ | |
| Generate a year's worth of \"Week notes\" blog content files using ISO week format. | |
| Usage: cd <hugo content sub-folder> && python3 <year> | |
| E.g. $ cd ~/hugo/content/blog | |
| $ python3 ~/hugo/scripts/gen_weeknotes.py 2019 | |
| Produces a folder for each week for publication on a Sunday: | |
| 20190106-weeknotes-2019W01 to 20191229-weeknotes-2019W52 | |
| Each with an index.md having suitable frontmatter: E.g. week 31 of 2019 looks like: |
| <!-- save in /layouts/shortcodes/tct.html --> | |
| <!-- usage: {{< tct >}} --> | |
| <div> | |
| {{- with $.Page.Params.images -}} | |
| <span>Image: page.params.images[0]: <code>{{ index . 0 | absURL }}</code> </span> | |
| {{ else -}} | |
| {{- $images := $.Page.Resources.ByType "image" -}} | |
| {{- $featured := $images.GetMatch "*feature*" -}} | |
| {{- $featured := cond (ne $featured nil) $featured ($images.GetMatch "{*cover*,*thumbnail*}") -}} | |
| {{- with $featured -}} |
| #!/bin/bash | |
| # Inserts a single Red background highlight at the chosen character position | |
| # usage: hl -c <pos> <file> | |
| # | |
| # E.g. /usr/local/bin/hl -c 384 /tmp/query.sql | |
| head $1 $2 $3; \ | |
| gecho -e -n "\e[41m"; \ |
| # OVPN local build | |
| export GOPATH=/root/gocode | |
| cd /root/gocode | |
| go get -u github.com/cad/ovpm/... | |
| go get -u github.com/jteeuwen/go-bindata/... | |
| cd ~/gocode/src/github.com/cad/ovpm |
| import static org.assertj.core.api.Assertions.assertThat; | |
| import java.io.InputStreamReader; | |
| import java.util.Random; | |
| import javax.script.ScriptEngine; | |
| import javax.script.ScriptEngineManager; | |
| import javax.script.ScriptException; | |
| import org.junit.Test; |
A JVM patched with DCE hotswap capabilities.
https://github.com/dcevm/dcevm/releases
Download latest release - this pertains to a specific JVM release.
| package net._95point2.common.logging; | |
| import java.io.IOException; | |
| import java.io.OutputStream; | |
| import java.nio.charset.Charset; | |
| import ch.qos.logback.access.spi.IAccessEvent; | |
| import ch.qos.logback.core.OutputStreamAppender; | |
| import ch.qos.logback.core.encoder.Encoder; | |
| import ch.qos.logback.core.encoder.LayoutWrappingEncoder; |