This file contains 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 python3 | |
# Podcasts RSS parser: extracts audio, description, | |
# episode picture URLs to feed to | |
# `ffmpeg` and YouTube upload | |
# | |
# Roman Gorshunov, linkmeup, 2020 | |
# | |
import argparse | |
import logging |
This file contains 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 bash | |
URL="https://2365c1d014187c3ae706-2572cddac5187c7b669ab9398e41b48d.ssl.cf5.rackcdn.com/687536/4/check/openstack-tox-docs/eb49c40/" | |
UA="User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.2 Safari/605.1.15" | |
ACCEPT="Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" | |
ACCEPT_LANG="Accept-Language: en-us" | |
ACCEPT_ENC="Accept-Encoding: gzip, deflate, br" | |
PERL_ZLIB_DECODER='use Compress::Raw::Zlib;my $d=new Compress::Raw::Zlib::Inflate();my $o;undef $/;$d->inflate(<>,$o);print $o;' |
This file contains 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
--- | |
- hosts: localhost | |
gather_facts: no | |
tasks: | |
- name: "loop through list" | |
debug: | |
msg: "An item: {{ item }}" | |
with_items: | |
- 1 | |
- 2 |
This file contains 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 bash | |
# Pulls/updates local Airship repositories | |
airship_git_repo_root="https://opendev.org/airship" | |
airship_projects=( | |
'airshipctl' | |
'armada' | |
'berth' | |
'deckhand' | |
'divingbell' | |
'docs' |
This file contains 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 | |
## | |
# | |
# Script tracks whether Jenkins SuperSeed job has picked up new push in Gerrit, | |
# and if yes and Successful, then launches Jenkind Build. | |
# Launch example: | |
# $ git commit -a --amend --reuse-message HEAD && git review && ../jenkins_job_submit.sh | |
# | |
# SuperSeed: https://github.com/att-comdev/cicd/tree/master/cicd/SuperSeed |