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
version: "3" | |
services: | |
plex: | |
container_name: plex | |
image: plexinc/pms-docker:latest | |
restart: unless-stopped | |
network_mode: host | |
environment: | |
- PLEX_UID=1000 | |
- PLEX_GID=1000 |
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/env groovy | |
properties([ | |
pipelineTriggers([ | |
triggers: [ | |
[ | |
$class: 'com.cloudbees.jenkins.plugins.BitBucketTrigger', | |
] | |
] | |
]), |
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 | |
# Made by st0rmis | |
if [ -n "$1" ]; then | |
echo "$(date -j -f "%Y-%m-%d" "$1" +"%s")" | |
else | |
read -p "Please enter a date in YYYY-MM-DD format: " DATE1 | |
echo "The UNIX time for $DATE1 is $(date -j -f "%Y-%m-%d" "$DATE1" +"%s")" | |
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
#!/bin/bash | |
# Made by st0rmis | |
# Get the last tag, increment major, minor or patch version and push it | |
declare -a valid_versions=('major' 'minor' 'patch') | |
CURTAG=`git fetch --tags && git tag -l --sort=-creatordate | head -1` | |
CURTAG="${CURTAG/v/}" | |
IFS='.' read -a vers <<< "$CURTAG" |