Annahmen:
- Oberrohr mit ~40mm Durchmesser
- Unterrohr mit ~13mm Durchmesser
- Außensteckdose vorhanden
- KFZ vorhanden für Fahrt nach Cadolzburg
- Besuch bei Hornbach :)
Gesamtpreis: ~750€ + Preis vom Shelly
| $wslDistros = wsl --list --quiet ` | |
| | Where-Object { $_.Length -gt 1 } ` # Remove empty lines in output | |
| | ForEach-Object { $_ -replace '\x00', '' } # Remove weird nulls after every character in WSL output | |
| foreach ($distro in $wslDistros) { | |
| Write-Host "Updating $distro" -ForegroundColor Magenta | |
| wsl --distribution "$distro" --user root -- sh -c "apt update && apt upgrade -y && apt autoremove -y && apt autoclean" | |
| if ($LASTEXITCODE -ne 0) { | |
| Write-Host "$distro updated failed." -ForegroundColor Red |
| #!/usr/bin/env bash | |
| set - | |
| export UPDATED_YES=✅ | |
| export UPDATED_NO=❌ | |
| export DIRTY_YES=🐷 | |
| export DIRTY_NO=✨ | |
| export REPO_TRUNCATE_CHARS=32 |
| import org.hibernate.validator.HibernateValidator; | |
| import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean; | |
| import javax.validation.Configuration; | |
| import javax.validation.ConstraintValidator; | |
| import javax.validation.ConstraintValidatorFactory; | |
| import java.util.List; | |
| /** |
| package de.jonasgroeger.aspect; | |
| import org.aspectj.lang.ProceedingJoinPoint; | |
| import org.aspectj.lang.annotation.Around; | |
| import org.aspectj.lang.annotation.Aspect; | |
| @Aspect | |
| public class LogAspect { | |
| @Around("execution(* de.jonasgroeger.aspect.SubmissionService.uploadAttachment(..))") |
| wget -O /usr/local/bin/sops \ | |
| "$(curl -s https://api.github.com/repos/mozilla/sops/releases/latest | jq -r '.assets[] | select(.name | test(".linux.amd64$")) | .browser_download_url')" |
| # When deploy-dev auto-deploys | |
| # When deploy-dev succeeds, the (⏵) button for the deploy-stage stage shows up | |
| # When deploy-dev fails, the (⏵) button for the deploy-stage stage does NOT show up | |
| # Same for the deploy-prod stage | |
| stages: | |
| - deploy-dev | |
| - deploy-test |
| import java.net.http.*; | |
| import java.io.*; | |
| var httpClient = HttpClient.newHttpClient(); | |
| var httpProxyHost = System.getProperty("http.proxyHost"); | |
| var httpProxyPort = System.getProperty("http.proxyPort"); | |
| var httpsProxyHost = System.getProperty("https.proxyHost"); | |
| var httpsProxyPort = System.getProperty("https.proxyPort"); |