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 bash | |
# Ensure this file is executable via `chmod a+x poly`, then place it | |
# somewhere on your $PATH, like ~/bin. The rest of Polylith will be | |
# installed upon first run into the ~/.polylith/self-installs directory. | |
export POLY_VERSION="0.2.13-alpha" | |
export POLY_CHECKSUM="88b37ddaabab73cf83d29b7b1f06a0f93146a1e165f43bc4792ebbb0a9a6a122" | |
export POLY_RELEASE="v$POLY_VERSION" | |
export POLY_JARNAME="poly-$POLY_VERSION.jar" |
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
- op: add | |
path: /spec/template/spec/containers/0/volumeMounts/- | |
value: | |
name: dsdsocket | |
mountPath: /var/run/datadog | |
- op: add | |
path: /spec/template/spec/volumes/- | |
value: | |
name: dsdsocket |
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/sh | |
# Shell setup for Gitlab-managed Terraform State | |
# Options | |
: "${GITLAB_TERRAFORM_STATE_NAME:=$(git rev-parse --show-prefix | sed -e 's/[^[:alnum:]]/-/g' | tr -s - | tr A-Z a-z | sed -e 's/-$//')}" | |
# Defaults for [GitLab CI/CD Predefined Variables](https://docs.gitlab.com/ee/ci/variables/predefined_variables.html) | |
: "${CI_PROJECT_PATH=$(git remote -v | awk '{print $2}' | sed -e 's;^[email protected]:;;' -e 's;^https\?://gitlab\.com/;;' -e 's;\.git$;;' | head -n1)}" | |
: "${CI_PROJECT_ID="$(printf %s "$CI_PROJECT_PATH" | sed -e 's;/;%2F;g')"}" | |
: "${CI_API_V4_URL=https://gitlab.com/api/v4}" |
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
# Copyright (c) 2014-2017, racaljk. | |
# https://github.com/racaljk/hosts | |
# Last updated: 2017-08-05 | |
# This work is licensed under a CC BY-NC-SA 4.0 International License. | |
# https://creativecommons.org/licenses/by-nc-sa/4.0/ | |
# Modified Hosts Start | |
# Localhost (DO NOT REMOVE) Start |
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 | |
# Tom Hale, 2016. MIT Licence. | |
# Print out 256 colours, with each number printed in its corresponding colour | |
# See http://askubuntu.com/questions/821157/print-a-256-color-test-pattern-in-the-terminal/821163#821163 | |
set -eu # Fail on errors or undeclared variables | |
printable_colours=256 |
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
[ | |
{ | |
"name": "аҧсуа бызшәа, аҧсшәа", | |
"english_name": "Abkhazian", | |
"code": "ab" | |
}, | |
{ | |
"name": "Afaraf", | |
"english_name": "Afar", | |
"code": "aa" |
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 | |
# fc4upd.sh | |
# Script author: Frank Wang. | |
# Slight stylistic modifications by ABS Guide author. | |
# Used in ABS Guide with permission. | |
# Download Fedora Core 4 update from mirror site using rsync. | |
# Should also work for newer Fedora Cores -- 5, 6, . . . |
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 bash | |
# @name divvy-export | |
# @author Logan Linn <[email protected]> | |
# @date 2021-04-20 | |
set -e | |
_pbtemp=$(mktemp) | |
>"$_pbtemp" pbpaste |
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 | |
# (C) Datadog, Inc. 2010-2016 | |
# All rights reserved | |
# Licensed under Simplified BSD License (see LICENSE) | |
# Datadog Agent installation script: install and set up the Agent on supported Linux distributions | |
# using the package manager and Datadog repositories. | |
set -e | |
install_script_version=1.3.1 | |
logfile="ddagent-install.log" |
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
import argparse | |
import logging | |
import os | |
import sys | |
from inspect import cleandoc | |
from collections import namedtuple | |
import clickhouse_driver | |
assert sys.version_info > (3,) |