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/csh | |
# cfan.sh | |
# Manaual control over fans in PfSense (FreeBSD) on a Dell PowerEdge R210 ii system | |
# Original script: https://www.garron.me/en/bits/specify-editor-crontab-file.html | |
# Install: | |
# sudo pkg install ipmitool | |
# Add ipmi_load="YES" to /boot/loader.conf | |
# Add this script to /usr/bin/ | |
# Add * * * * * /bin/csh /usr/bin/cfan.sh to cron file with sudo crontab -e | |
# Reboot |
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
# docker build -t composer:test - < Dockerfile | |
FROM composer:latest | |
RUN set -eux ; \ | |
apk add --no-cache \ | |
rsync \ | |
mysql-client |
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
local darktable = require 'darktable' | |
local function set_create_date(event, image, filename, format, storage) | |
local pattern = '(%d+):(%d+):(%d+) (%d+):(%d+):(%d+)' | |
local timeToConvert = image.exif_datetime_taken | |
local runyear, runmonth, runday, runhour, runminute, runseconds = image.exif_datetime_taken:match(pattern) | |
local convertedTimestamp = os.time({year=runyear, month=runmonth, day=runday, hour=runhour, min=runminute, sec=runseconds}) | |
local convertedDate = os.date('%Y%m%d%H%M.%S', convertedTimestamp) |
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
INSTANCE_FOLDER=/srv/website-NAME | |
DATA_FOLDER=/mnt/Docker/website-NAME | |
BACKUP_FOLDER=/mnt/Backups/website-NAME | |
APP_NAME=website-NAME | |
MYSQL_PORT=3308 | |
MYSQL_ROOT_PASSWORD="YOUR_ROOT_PASSWORD" | |
MYSQL_PRODUCTION_PASSWORD="YOUR_PRODUCTION_PASSWORD" | |
MYSQL_STAGING_PASSWORD="YOUR_STAGING_PASSWORD" |
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
square: true | |
type: grid | |
columns: 4 | |
cards: | |
- type: custom:mushroom-template-card | |
entity: sensor.polleninformation_essen_grass | |
primary: Gras | |
icon: mdi:grass | |
layout: vertical | |
icon_color: |- |
OlderNewer