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
[Unit] | |
Description=Ollama Service | |
After=network-online.target | |
[Service] | |
ExecStart=/usr/local/bin/ollama serve | |
User=ollama | |
Group=ollama | |
Restart=always | |
RestartSec=3 |
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
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>ollama</string> | |
<key>UserName</key> | |
<string>username</string> | |
<key>EnvironmentVariables</key> |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.user.iogpu_limit</string> | |
<key>ProgramArguments</key> | |
<array> | |
<string>/usr/sbin/sysctl</string> | |
<string>iogpu.wired_limit_mb=57344</string> |
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
#!/bin/sh | |
#rm ~/.config/Trolltech.conf | |
kbuildsycoca5 --noincremental | |
rm -rf ~/.cache/* |
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
#Type Path Mode User Group Age Argument | |
w /sys/devices/system/cpu/cpufreq/boost 0644 root root - 0 |
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
#!/bin/bash | |
set -e | |
export GSETTINGS_SCHEMA_DIR=_build/data/ | |
if [ -z "$1" ]; then | |
echo "Usage: $0 APP-ID VALUE" | |
exit 0 | |
fi |
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
GO111MODULE=on | |
GOBIN= | |
GOPROXY=https://proxy.golang.org,direct |
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
version: '3' | |
services: | |
db: | |
restart: always | |
image: postgres:latest | |
environment: | |
- POSTGRES_USER=postgres | |
- POSTGRES_PASSWORD=docker | |
healthcheck: |
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
[Unit] | |
Description=My awesome Go app | |
After=multi-user.target | |
[Service] | |
Type=idle | |
ExecStart=/usr/bin/mygobinary | |
[Install] | |
WantedBy=multi-user.target |
NewerOlder