www.abc.com, abc.com {
# Redirect www to the bare domain
@www {
host www.abc.com
}
redir @www https://abc.com{uri}
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
# custom.container | |
# | |
# This does login into ECR and starts a private container on boot with podman and quadlet / systemd. | |
# The container is running rootless, the systemd service is a 'user' service | |
# This is build to work on Fedora CoreOS, even the aws-cli does not need to be installed, it's used from aws public container repo. | |
# You need to have valid aws credentials in ~/.aws/ | |
# Replace the *** with your correct aws ecr url | |
# | |
# This file was partly generated with podlet | |
# |
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
<style> | |
/* Burger Menu Styles */ | |
.burger-menu { | |
position: relative; | |
z-index: 1001; | |
} | |
.burger-icon { | |
position: fixed; | |
top: 20px; |
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
package de.sk; | |
import io.quarkus.runtime.annotations.StaticInitSafe; | |
import org.eclipse.microprofile.config.spi.ConfigSource; | |
import org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider; | |
import software.amazon.awssdk.regions.Region; | |
import software.amazon.awssdk.services.secretsmanager.SecretsManagerClient; | |
import software.amazon.awssdk.services.secretsmanager.model.GetSecretValueRequest; |
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
# Alter: | |
# hcloud_server_type | |
# ssh_public_key_file | |
# ssh_private_key_file | |
# versions.tf | |
terraform { | |
required_providers { | |
hcloud = { |
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
#~/.config/systemd/user/manage_fleetlock.service | |
#journalctl --user -t manage_fleetlock | |
[Unit] | |
Description=Manage fleetlock service based on public holidays and work hours | |
[Service] | |
Type=oneshot | |
ExecStart=/usr/local/bin/manage_fleetlock.sh |
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 Maven 3.9.X with Eclipse Temurin JDK 21 as the base image | |
#FROM docker.io/library/maven:3.9.9-eclipse-temurin-21 | |
FROM public.ecr.aws/docker/library/maven:3.9.9-eclipse-temurin-21 | |
# Set working directory | |
WORKDIR /app | |
# Environment variables (replace with actual values or set dynamically in pipeline) | |
ARG bitbucketpipelines_bootstrap | |
ARG bamboo_id_rsa |
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
import io.quarkus.runtime.ShutdownEvent; | |
import io.quarkus.runtime.StartupEvent; | |
import jakarta.inject.Inject; | |
import org.h2.tools.Server; | |
import jakarta.enterprise.context.ApplicationScoped; | |
import jakarta.enterprise.event.Observes; | |
import org.jboss.logging.Logger; | |
import java.sql.SQLException; |
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 | |
file=/opt/epoq/wildfly/standalone/log/access* | |
for pid in 40683780 406837806 732586891 732586894 732586900 ; do | |
echo $file | |
cat $file | grep -a $pid | perl -nle 'print $1 if /sessionId=(.*?)&/;' > /tmp/mop/$pid.data | |
done | |
# List of files |
cat /opt/epoq/wildfly/standalone/log/accesslog | grep -a getRec | perl -nle 'print "$1 $_" if m/ D(.*?) /;' | sort -n | tail -n 1000
Filter log entries related to getRec requests.
Extract specific numerical or timestamp-like data following the D character.
NewerOlder