Reproducing a Traefik with SSL and Portainer setup on a 2 Node Docker Swarm
Install Docker on both nodes with a Bootstrap Script:
$ curl https://gitlab.com/rbekker87/scripts/raw/master/setup-docker-ubuntu.sh | bash
#!/bin/bash | |
export DEVROOT=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain | |
DFT_DIST_DIR=${HOME}/Desktop/libcurl-ios-dist | |
DIST_DIR=${DIST_DIR:-$DFT_DIST_DIR} | |
function check_curl_ver() { | |
echo "#include \"include/curl/curlver.h\" | |
#if LIBCURL_VERSION_MAJOR < 7 || LIBCURL_VERSION_MINOR < 40 | |
#error Required curl 7.40.0+; See http://curl.haxx.se/docs/adv_20150108A.html |
There is a lot of hidden treasure lying within university pages scattered across the internet. This list is an attempt to bring to light those awesome courses which make their high-quality material i.e. assignments, lectures, notes, readings & examinations available online for free.
# For more details see: https://capolight.wordpress.com/2018/07/02/how-to-sketch-equation-curves-in-fusion-360/ | |
import adsk.core, adsk.fusion, adsk.cam, traceback, math | |
def run(context): | |
ui = None | |
try: | |
app = adsk.core.Application.get() | |
ui = app.userInterface | |
design = app.activeProduct | |
# Get the root component of the active design. |
The TrueNAS installer doesn't have a way to use anything less than the full device. This is usually a waste of resources when installing to a modern NVMe which is usually several hundred of GB. TrueNAS SCALE will use only a few GB for its system files so installing to a 16GB partition would be helpful.
The easiest way to solve this is to modify the installer script before starting the installation process.
$disks=Get-PhysicalDisk | where {$_.operationalstatus -eq 'Transient Error'} | |
#Set disks to retired state | |
$disks | Select-Object UniqueId | ForEach-Object { | |
Set-PhysicalDisk -UniqueId $PSItem.UniqueId -Usage Retired | |
} | |
#remove disks from pool | |
$disks | ForEach-Object { | |
Remove-PhysicalDisk -PhysicalDisks $PSItem -StoragePoolFriendlyName 'S2D on HVCL0' -Confirm:$false |
@Configuration | |
@EnableHello | |
public class AppConfig implements NameConfigurer { | |
@Override | |
public void configure(Hello hello) { | |
hello.setName("Thank you very much, Toby."); | |
} | |
} |