Last update: Mon Nov 18 05:32:46 UTC 2019 by @luckylittle
# USING YUM TO MANAGE SECURITY ERRATA:
#!/usr/bin/env python | |
# MIT License | |
# Copyright (c) 2019 Lucian Maly, <[email protected]> | |
# Tested on Python v3.7.3 (default, Jun 14 2019, 13:46:58) and Python v2.7.5 (default, Mar 26 2019, 22:13:06) | |
# Usage: stress_test.py <AMOUNT_OF_MEMORY_YOU_WANT_TO_CONSUME_IN_GB> | |
# Example: /usr/local/bin/python3.7 stress_test.py 10 | |
# ------------------------- | |
# Filling up 10GB of memory... | |
# Running load on CPUs... |
#!/bin/bash | |
# ls -1 | |
# Dark.Money.2018.DVDRip.x264-WiDE | |
# Golden.State.Killer.Main.Suspect.2018.INTERNAL.WEB.x264-UNDERBELLY | |
# Shazam.2019.BDRip.x264-SPARKS | |
# The.Best.of.Enemies.2019.BDRip.x264-DRONES | |
# The.Kindergarten.Teacher.2018.BDRip.X264-AMIABLE | |
# ADD EXTENSION: |
#!/bin/bash | |
# Requires: mkvmerge | |
for RH in *; do mkvmerge ${RH} -o $(basename -s .mp4 ${RH}).mkv; done; echo 'Done!' | |
# rm *.mp4 |
Last update: Mon Nov 18 05:32:46 UTC 2019 by @luckylittle
# USING YUM TO MANAGE SECURITY ERRATA:
Last update: Tue Jan 14 23:15:49 UTC 2020 by @luckylittle
#!/bin/bash | |
echo 'Cleaning up the working directories...' | |
rm -rvf ${bamboo.build.working.directory}/* | |
rm -rvf ~/* | |
echo 'Installing required software...' | |
yum -y install rpm-build git | |
echo 'Checking versions of the required software...' |
# Verify Proxied RPM Repository | |
# /etc/httpd/conf.d/default.conf | |
<VirtualHost *:*> | |
ProxyPreserveHost On | |
ProxyPass / http://admin.na.shared.opentlc.com/ | |
ProxyPassReverse / http://admin.na.shared.opentlc.com/ | |
ServerName isolated1.b88e.internal |
#--------------# | |
# VERSIONING # | |
#--------------# | |
# Current tags: | |
CURRENT_FULLTAG = $(shell git describe --tags --abbrev=0 | awk -F. '{ printf $$0 }') | |
CURRENT_YAML = $(shell grep '^version' YAML.yml | awk -F' ' '{ print $$2 }') | |
CURRENT_MAJORTAG = $(shell git describe --tags --abbrev=0 | awk -F. '{ printf $$1 }') | |
CURRENT_MINORTAG = $(shell git describe --tags --abbrev=0 | awk -F. '{ printf $$2 }') | |
CURRENT_PATCHTAG = $(shell git describe --tags --abbrev=0 | awk -F. '{ printf $$3 }') | |
# New tags: |
#!/bin/bash | |
# Generate a Markdown change log of pull requests from commits between two tags | |
# Author: Russell Heimlich | |
# Original URL: https://gist.github.com/kingkool68/09a201a35c83e43af08fcbacee5c315a | |
# Modified for Atlassian Stash and older Git version by author: Lucian Maly <[email protected]> | |
# URL: https://gist.github.com/luckylittle/7e7192743514d08989a6fc0cdbd93e61 | |
# HOW TO USE | |
# Copy this script to a directory under Git version control | |
# Make the script executable i.e. chmod +x changelog.sh |