- Keine Grossverbraucher (Elektroauto, Heizstäbe, etc.)
- Nachtlast ca. ~300W
- Batterie SoC 85%
- Normaler täglicher Stromverbrauch: 8-12 kWh (siehe iSolarCloud)
- Die Messung findet allerdings an einem Tag statt an dem ein höherer Hausstomverbrauch vorhanden ist. Wir vermuten daher mal von einem Eigenverbrauch von ~15kWh.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "remapKeys": { | |
| "inProcess": [] | |
| }, | |
| "remapKeysToText": { | |
| "inProcess": [] | |
| }, | |
| "remapShortcuts": { | |
| "global": [], | |
| "appSpecific": [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set - | |
| export UPDATED_YES=✅ | |
| export UPDATED_NO=❌ | |
| export DIRTY_YES=🐷 | |
| export DIRTY_NO=✨ | |
| export REPO_TRUNCATE_CHARS=32 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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; | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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(..))") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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')" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
NewerOlder