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
function get_binary_from_latest_github_release() { | |
project=$1 | |
repo=$2 | |
extension=$3 | |
kernel_name=$(uname -s) | |
if [[ ${kernel_name} == Linux* ]]; then | |
os_kernel="linux" | |
fi | |
platform=$(uname -m) |
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
2023-10-12T06:16:02.489Z [INFO] Terraform version: 1.6.1 | |
2023-10-12T06:16:02.489Z [DEBUG] using github.com/hashicorp/go-tfe v1.34.0 | |
2023-10-12T06:16:02.489Z [DEBUG] using github.com/hashicorp/hcl/v2 v2.18.1 | |
2023-10-12T06:16:02.489Z [DEBUG] using github.com/hashicorp/terraform-svchost v0.1.1 | |
2023-10-12T06:16:02.489Z [DEBUG] using github.com/zclconf/go-cty v1.14.1 | |
2023-10-12T06:16:02.489Z [INFO] Go runtime version: go1.21.1 | |
2023-10-12T06:16:02.489Z [INFO] CLI args: []string{"./terraform", "apply", "-no-color"} | |
2023-10-12T06:16:02.489Z [DEBUG] Attempting to open CLI config file: /home/rocket/.terraformrc | |
2023-10-12T06:16:02.489Z [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2023-10-12T06:16:02.489Z [DEBUG] ignoring non-existing provider search directory terraform.d/plugins |
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 | |
# vim:filetype=sh:tabstop=4:shiftwidth=4:expandtab: | |
set -e | |
start_at_year=2019 | |
start_at_month=1 | |
stop_at_year=2017 | |
stop_at_month=10 |
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 | |
# vim:filetype=sh:tabstop=4:shiftwidth=4:expandtab: | |
set -e | |
typeset -A streams # associative array / map | |
relevant_commits=() | |
get_stream() { | |
local input=$1 |
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
# (c) 2017 Ansible Project | |
# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) | |
from __future__ import (absolute_import, division, print_function) | |
__metaclass__ = type | |
DOCUMENTATION = ''' | |
callback: selective_debug | |
type: stdout | |
short_description: selective formatted stdout/stderr display |
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
--- | |
- name: test | |
hosts: localhost | |
connection: local | |
tasks: | |
- name: Invoke poller | |
vars: | |
url: http://localhost:8000/abc.json | |
validate_certs: yes | |
poll_interval: 10 |
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 python | |
# vim:filetype=python:expandtab:tabstop=4:shiftwidth=4: | |
""" | |
Copied from https://gist.github.com/deybhayden/1980583#file-convert_ics_timezone-py | |
I observed that dtstart.dt datetime objects were aware (not naive). | |
There was no need to identify oldtz. Original author's comments left below. | |
Parag Doke | |
Asia/Kolkata :-) | |
----- |
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 -e | |
echo "Starting `basename $0`" | |
box_os=CentOS | |
box_os_version=7.1 | |
echo "Searching for grep ..." | |
which grep | |
echo "Searching for sed ..." | |
which sed |