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
- task: Bash@3 | |
displayName: 'Check if Package Exists' | |
inputs: | |
targetType: 'inline' | |
script: | | |
set -e | |
# Configure default organization and project | |
az devops configure --defaults organization=$(System.TeamFoundationCollectionUri) project=$(System.TeamProject) |
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
# azure-pipelines.yml | |
variables: | |
currentSemver: '1.2.3' # Replace with your current semver | |
ACR_NAME: 'myregistry' # Replace with your ACR name | |
REPO_NAME: 'myrepository' # Replace with your repository name | |
steps: | |
- task: AzureCLI@2 | |
inputs: | |
azureSubscription: 'MyAzureSubscription' # Replace with your Azure subscription |
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 | |
declare -A args | |
while IFS= read -r line; do | |
# Remove comments | |
line="${line%%#*}" | |
# Trim whitespace | |
line="$(echo -e "${line}" | sed -e 's/^[[:space:]]*//')" |
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
trigger: none | |
schedules: | |
- cron: '0 0 * * *' # Runs daily at midnight UTC | |
displayName: Daily Docker Pull | |
branches: | |
include: | |
- main | |
always: 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
[time] | |
disabled = false | |
time_format = "%T" | |
format = "[ $time ]($style)" | |
utc_time_offset = "local" | |
time_range = "-" | |
style = "white" | |
[terraform] | |
symbol = "tf:" |
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
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
zap_scan: | |
runs-on: ubuntu-latest | |
name: Scan the webapplication |
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
FROM jasonrivers/nagios:latest | |
ENV NRDP_REPO=https://github.com/NagiosEnterprises/nrdp | |
ENV NRDP_VERSION=2.0.3 | |
# install nrdp plugin for passive checks & external commands | |
RUN cd /tmp/ && \ | |
wget ${NRDP_REPO}/archive/${NRDP_VERSION}.tar.gz && \ | |
tar xvf ${NRDP_VERSION}.tar.gz && \ | |
cd nrdp-${NRDP_VERSION} && \ |
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-2.69: Entering directory `.' | |
autoreconf-2.69: configure.ac: not using Gettext | |
autoreconf-2.69: running: aclocal --force -I config | |
autoreconf-2.69: configure.ac: tracing | |
autoreconf-2.69: configure.ac: AM_GNU_GETTEXT is used, but not AM_GNU_GETTEXT_VERSION | |
autoreconf-2.69: running: libtoolize --copy --force | |
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'config'. | |
libtoolize: copying file 'config/ltmain.sh' | |
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'config'. | |
libtoolize: copying file 'config/libtool.m4' |
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
# Tutorial - IPv6 through CenturyLink via 6rd on UniFi Security Gateway | |
# Hello, everyone! I was able to get my UniFi Security Gateway 3P to work with IPv6 on CenturyLink gigabit fiber by using 6rd, after a lot of | |
# research and pulling my hair out in frustration. To save others in my situation from the same, I created a config.gateway.json file for you | |
# to use, as well as a tutorial for modifying the json file to suit your environment. | |
# Keep in mind that this assumes that: | |
# Your WAN interface is pppoe2 | |
# Your LAN interface is eth1 | |
# Your tunnel name is tun0 | |
# (If the interface names change, you'll have to modify the JSON file itself accordingly.) | |
# First step is to go here: http://silmor.de/ipaddrcalc.html#ip46 |
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/vbash | |
# https://sosdg.org/edgerouter/6rd | |
# https://community.ubnt.com/t5/EdgeMAX/Edgerouter-Lite-on-Centurylink-1-Gbit-fiber/td-p/1124318/page/2 | |
export SBIN="/opt/vyatta/sbin/my_" | |
export DESCRIPTION="Altibox IPv6 6rd tunnel" | |
export WAN_DEV="eth2" | |
export LAN_DEV="eth1" | |
export TUN_DEV="tun0" |