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=Systemd Firefox | |
| After=network.target | |
| [Service] | |
| WorkingDirectory=/home/username | |
| Environment=DISPLAY=:0 | |
| Environment=XDG_RUNTIME_DIR=/run/user/userid | |
| Type=simple |
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
| if [[ $FIRST_RUN == "FALSE" ]]; then | |
| ; | |
| else | |
| FIRST_RUN="FALSE" | |
| export FIRST_RUN | |
| exec zsh | |
| 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
| LD_PRELOAD="/absolute/path/to/libcoloredstderr.so" | |
| COLORED_STDERR_FDS=2, | |
| export LD_PRELOAD COLORED_STDERR_FDS |
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
| autoreconf -fsi | |
| ./configure | |
| make |
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=Sheepit render farm during nights | |
| After=network.target | |
| [Service] | |
| Type=simple | |
| User=user-to-start-as | |
| WorkingDirectory=/absolute/path/to/sheepit-cache-dir/ | |
| ExecStart=/absolute/path/to/executable/script/ |
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/java -jar sheepit-client-6.21175.0.jar | |
| -ui text | |
| -cache-dir /tmp/sheepit-cache/ | |
| -compute-method CPU | |
| -login Sheppy | |
| -password YOUR_TOKEN | |
| -memory 5G | |
| -request-time 1:00-10:00 |
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
| signal-cli -u YOUR_USERNAME_OR_PHONE send -m "This is a message" RECIPIENT_NAME_OR_PHONE | |
| signal-cli send -m "This is a message" RECIPIENT_NAME_OR_PHONE // -u ommited | |
| signal-cli updateProfile --name YOUR_USERNAME | |
| signal-cli updateProfile --avatar /path/to/image.png_or_jpg | |
| signal-cli listContacts |
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
| apply Notification "signal-generic" to Service { | |
| import "mail-service-notification" | |
| user_groups = ["icingaadmins"] | |
| command = "telegram-service-notification" | |
| assign where host.address | |
| } |
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
| object NotificationCommand "signal-service-notification" { | |
| command = [ "/etc/icinga2/monitoring-tools/signal-notify.py" ] | |
| arguments += { | |
| "-4" = "$notification_address$" | |
| "-6" = "$notification_address6$" | |
| "-b" = "$notification_author$" | |
| "-c" = "$notification_comment$" | |
| "-d" = { | |
| required = true |
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
| object NotificationCommand "signal-service-notification" { | |
| command = [ "/usr/bin/curl", "-X", "POST", "-H", "Content-Type: | |
| application/json", "--data", " | |
| { 'service_name' : 'hello world', | |
| service_type : '$notification_type$' }", | |
| "localhost:6000/send-all-icinga"] | |
| } |