This is kept updated with best practices, it applies only to the single binary, non horizontal deployment
https://github.com/grafana/loki/blob/main/cmd/loki/loki-local-config.yaml
diff --color=always --side-by-side \
| # /etc/systemd/system/sd-webui.service | |
| [Service] | |
| ExecStart=/bin/bash /home/ubuntu/stable-diffusion-webui/webui.sh --listen --api | |
| Restart=always | |
| WorkingDirectory=/home/ubuntu/stable-diffusion-webui | |
| StandardOutput=syslog | |
| StandardError=syslog | |
| SyslogIdentifier=sd-webui |
This is kept updated with best practices, it applies only to the single binary, non horizontal deployment
https://github.com/grafana/loki/blob/main/cmd/loki/loki-local-config.yaml
diff --color=always --side-by-side \
| -Xms128m | |
| -Xmx8182m | |
| -XX:ReservedCodeCacheSize=512m | |
| -XX:CICompilerCount=2 | |
| -XX:+HeapDumpOnOutOfMemoryError | |
| -XX:-OmitStackTraceInFastThrow | |
| -XX:+UnlockExperimentalVMOptions -XX:+UseZGC | |
| -XX:ZCollectionInterval=120 -XX:ZAllocationSpikeTolerance=5 | |
| -XX:+UnlockDiagnosticVMOptions -XX:-ZProactive |
| #!/bin/sh | |
| # Copyright 2023 Khalifah K. Shabazz | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a | |
| # copy of this software and associated documentation files (the “Software”), | |
| # to deal in the Software without restriction, including without limitation | |
| # the rights to use, copy, modify, merge, publish, distribute, sublicense, | |
| # and/or sell copies of the Software, and to permit persons to whom the | |
| # Software is furnished to do so, subject to the following conditions: |
列出所有的容器 ID
docker ps -aq停止所有的容器
docker stop $(docker ps -aq)The instructions below apply to older versions of Homebrew which still provide switch capability.
For current Homebrew, you'll likely need to keep Versions around, and build locally. Here's my versions repository https://github.com/rdump/homebrew-versions
MacPorts is now keeping versioned installations available as well, by default.
Preferences | Appearance | Tabs | Theme > Darkdstr > ttf, install all font files by double clicking)Preferences | Profiles | Text
Font to 14pt Fira code regular and Check Use Ligatures checkboxNon ASCII Font to 14pt Fira mono and Check Use Ligatures checkboxPreferences | Profiles | Color Presets > Snazzy