Swarm-compliant UI with public registry PULLs and authenticated registry PUSHes with Traefik v3.
- Unauthenticated PULLs
- Authenticated PUSH/DELETEs
- Single URL (registry and ui on the same domain)
- Let's Encrypt enabled
#include <Adafruit_NeoPixel.h> | |
/* halloween.ino | |
* https://gist.github.com/jnovack/ce208617a2ec53af11d674b20b127c9a/ | |
* 2021 - Justin J. Novack | |
* | |
* When the PIN_PIR is rising (from LOW to HIGH, e.g. 0V to 5V), turn on the pixels | |
* in a random order waiting DELAY_ON between each pixel, then wait DELAY_WAIT before | |
* starting to turn the pixels off, waiting DELAY_OFF between each pixel. | |
* |
#!/bin/sh | |
## setup _________________________________ | |
TMUX_VER=3.3a | |
LIBEVENT_VER=2.1.12-stable | |
OPENSSL_VER=1_1_1v | |
TEMP_COMPILE=~/tmux-temp-compile | |
COMMON_INSTALL_PREFIX=/opt | |
SYMLINK=/usr/local/bin/tmux |
# setup-alpine answer file | |
# Set hostname to alpine-test | |
HOSTNAMEOPTS="-n alpine-test" | |
# Use US layout with US variant | |
KEYMAPOPTS="us us" | |
# Contents of /etc/network/interfaces | |
INTERFACESOPTS="auto lo |
var sysid = "INSERT_SYS_ID_HERE"; | |
var Encrypter = new GlideEncrypter(); | |
var gr = new GlideRecord('sys_auth_profile_basic'); | |
gr.addQuery("sys_id", sysid); | |
gr.query(); | |
while (gr.next()) { | |
var encrypted = gr.password; | |
var decrypted = Encrypter.decrypt(encrypted); | |
gs.addInfoMessage(decrypted); | |
} |
/^([^m].....|.[^a]....|..[^s]...|...[^t]..|....[^e].|.....[^r]|.{0,5}|.{7,})$/ |
var detect=function(base,if_installed,if_not_installed){ | |
var s=document.createElement("script"); | |
s.onerror=if_not_installed,s.onload=if_installed,document.body.appendChild(s),s.src=base+"/html/nassh.html" | |
}; | |
detect("chrome-extension://pnhechapfaindjhompbnflcldabbghjo", | |
function(){ | |
console.log("Yes"); | |
}, | |
function(){ |
export LSCOLORS=ExFxBxDxCxegedabagacad |
cat files | awk '{for(i=1;i<=NF;i++){ tmp=match($i, /PATTERN/); if(tmp){print $i}} }' | sort | uniq -c | sort -rn |
package main | |
import ( | |
journal "github.com/coreos/go-systemd/journal" | |
) | |
func j(message string) { | |
err := journal.Send(message, journal.PriInfo, tags) | |
if err != nil { | |
log.Fatalf("%s", err) |