To use your internal docker hub pull cache, you need to change the config of your docker clients.
In /etc/daemon.json:
{
"registry-mirrors": [
"https://dockerhub-cache.example.tld"
]
}| ############ If you are using DOCKER all-in-one image, create Dockerfile like: ################ | |
| ############ FROM openproject/openproject:16 ################ | |
| ############ COPY ./enterprise_token.rb app/models/enterprise_token.rb ################ | |
| ############ If you are runing a manual installation: ################ | |
| ############ REPLACE app/models/enterprise_token.rb in the source code with this file! ################ | |
| ############ also be sure to RESTART OpenProject after replacing the file. ################ | |
| ############ If using some other set up (eg docker-compose), read the comments on ################ | |
| ############ https://gist.github.com/markasoftware/f5b2e55a2c2e3abb1f9eefcdf0bfff45 ################ |
| - name: Konfiguriere VS Code Einstellungen | |
| hosts: localhost | |
| tasks: | |
| - name: Sicherstellen, dass der VS Code User-Ordner existiert | |
| file: | |
| path: "{{ ansible_env.HOME }}/Library/Application Support/Code/User" | |
| state: directory | |
| mode: "0755" | |
| - name: Kopiere settings.json |
To use your internal docker hub pull cache, you need to change the config of your docker clients.
In /etc/daemon.json:
{
"registry-mirrors": [
"https://dockerhub-cache.example.tld"
]
}| brew create "https://hci.rwth-aachen.de/get-attachment/2764?fallback=/files/migrated/files/USGerman-Keyboard-Layout-0.98-Retina.zip&filename=USGerman%20Keyboard%20Layout%200.98%20Retina.zip" --set-name usgerman-keyboard-layout | |
| brew uninstall usgerman-keyboard-layout | |
| brew install --build-from-source /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/u/usgerman-keyboard-layout.rb |
| version: "3.8" | |
| services: | |
| traefik: | |
| image: traefik:v3.1 | |
| container_name: traefik | |
| restart: unless-stopped | |
| security_opt: | |
| - no-new-privileges:true | |
| networks: |
| klbs() { | |
| local namespace_flag | |
| if [ -n "$1" ]; then | |
| namespace_flag="-n $1" # Set -n <namespace>, if a namespace was given | |
| else | |
| namespace_flag="--all-namespaces" # Default: Show all namespaces | |
| fi | |
| { | |
| printf "NAMESPACE\tNAME\tEXTERNAL-IP\tPORT(S)\n" |
| #!/bin/bash | |
| # Liste der Shelly-IP-Adressen | |
| shelly_ips=("172.19.2.6" "172.19.1.3" "172.19.1.5" "172.19.0.5" "172.19.3.3" "172.19.0.15" "172.19.0.13" "172.19.0.14") | |
| # Neue MQTT-Konfiguration | |
| mqtt_server="mqtt.example.tld:1883" | |
| for ip in "${shelly_ips[@]}"; do | |
| server=$(curl -s -X POST -d '{"id":1, "method":"Mqtt.GetConfig"}' http://$ip/rpc | jq .result.server) |
| kubectl api-resources --no-headers | awk -F' ' '{if (NF == 5) {shortname=$2; name=$1; kind=$5} else if (NF == 4) {shortname=""; name=$1; kind=$4} else {shortname=$2; name=$1; kind=$4} if (shortname != "") print shortname "\t" name "\t" kind}' | sort | uniq | column -t |
| #!/bin/zsh | |
| # Function to validate each line of /etc/hosts | |
| validate_line() { | |
| local line="$1" | |
| # Regular expression to match valid IP address and hostname entries, including comments | |
| if [[ "$line" =~ ^([0-9]{1,3}\.){3}[0-9]{1,3}([[:space:]]+([a-zA-Z0-9.-]+,?)+)+$ ]] || [[ "$line" =~ ^::1([[:space:]]+([a-zA-Z0-9.-]+,?)+)+$ ]] || [[ "$line" =~ ^#.* ]]; then | |
| echo "Valid: $line" | |
| else | |
| echo "Invalid: $line" |