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 |
--- | |
- name: Bootstrap Alpine | |
hosts: all | |
gather_facts: false | |
become: no | |
vars: | |
ansible_python_interpreter: auto_silent | |
tasks: |
# 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 |
-- Alfred 4 Custom Terminal Script for iTerm | |
-- To Install, copy to: Alfred --> Features --> Terminal --> Custom | |
on alfred_script(q) | |
if application "iTerm2" is running or application "iTerm" is running then | |
run script " | |
on run {q} | |
tell application \"iTerm\" | |
activate | |
try |