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
| services: | |
| caddy: | |
| image: caddy:2-alpine | |
| container_name: caddy | |
| restart: unless-stopped | |
| volumes: | |
| - caddy-config:/config | |
| - caddy-data:/data | |
| - ./Caddyfile:/etc/caddy/Caddyfile:ro | |
| ports: |
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 | |
| # Function to handle Ctrl+C | |
| function ctrl_c() { | |
| echo -e "\nCtrl+C pressed. Aborting countdown and releasing inhibition." | |
| echo "Killing systemd-inhibit process... - PID: $inhibit_pid" | |
| kill $inhibit_pid # Kill systemd-inhibit process | |
| exit 1 | |
| } |
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 | |
| # exit when any command fails | |
| # set -e | |
| echo "Android bundle build script!!" | |
| # Alias tools for better code | |
| bundletool="java -jar bundletool-all-1.8.2.jar" | |
| # Remove gradle caches | |
| echo "deleting .gradle caches!" |
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
| ############################################################################### | |
| # OpenVPN 2.0 Sample Configuration File | |
| # for PacketiX VPN / SoftEther VPN Server | |
| # | |
| # !!! AUTO-GENERATED BY SOFTETHER VPN SERVER MANAGEMENT TOOL !!! | |
| # | |
| # !!! YOU HAVE TO REVIEW IT BEFORE USE AND MODIFY IT AS NECESSARY !!! | |
| # | |
| # This configuration file is auto-generated. You might use this config file | |
| # in order to connect to the PacketiX VPN / SoftEther VPN Server. |
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
| --- | |
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| name: oauth2-proxy-nginx | |
| namespace: oauth2-proxy | |
| data: | |
| nginx.conf: | | |
| worker_processes 5; |
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
| { | |
| # Global options block. Entirely optional, https is on by default | |
| # Optional email key for lets encrypt | |
| email username@gmail.com | |
| # Optional staging lets encrypt for testing. Comment out for production. | |
| # acme_ca https://acme-staging-v02.api.letsencrypt.org/directory | |
| } | |
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 ConvertNullableToUndefined<T extends Record<never, never>> = { | |
| [K in keyof T]: T[K] extends NonNullable<T[K]> ? T[K]: (NonNullable<T[K]> | undefined) | |
| }; | |
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 | |
| # | |
| function get_pid { | |
| local PID="$(cat /tmp/pi-fancontrol-bash.pid 2>/dev/null)" | |
| echo $PID | |
| } | |
| function d_start ( ) | |
| { |
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 | |
| #---------------------------------------------------------------------------------------- | |
| # Obtains the current value of the CPU temperature. | |
| #---------------------------------------------------------------------------------------- | |
| function get_cpu_temp() | |
| { | |
| # Initialize the result. | |
| local result=0.00 | |
| # The first line in this file holds the CPU temperature as an integer times 1000. | |
| # Read the first line from the file. |
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
| # Use root/example as user/password credentials | |
| version: "3.1" | |
| services: | |
| db: | |
| image: mysql | |
| command: --default-authentication-plugin=mysql_native_password | |
| restart: always | |
| environment: | |
| MYSQL_ROOT_PASSWORD: MYSQL_ROOT_PASSWORD |
NewerOlder