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
_get_docker() { | |
OS="$(uname -s)" | |
if [[ "${OS}" == "Darwin" ]]; then | |
OS="mac" | |
fi | |
# if arm64 then assume aaarch64 | |
ARCH="$(uname -m)" | |
if [[ "${ARCH}" == "arm64" ]]; then | |
ARCH="aarch64" |
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
function upd8 { | |
# upd8 function should be run manually or through CRON. | |
# It is used to install updates to apps that do not have | |
# verry user friendly installation methods through brew/yum/apt, | |
# or you want to have the newest version installed by their 'up' | |
# scripts. | |
# | |
# Add this to your | |
# - .bashrc | |
# - .zshrc |
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 -e | |
echo 'This script is used to build and push multi-arch images to a container registry.' | |
echo '' | |
echo 'The script is intended to be used in a CI/CD pipeline.' | |
echo '' | |
echo 'The following variables can be set:' | |
echo '' | |
echo '| variable | value | default value | required |' | |
echo '|----------------|---------------------------------------------------|-------------------------------|-----------------------------|' |
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 | |
######################################################################################### | |
# UTILITES | |
#---------------------------------------------------------------------------------------- | |
# determining if tput is installed, and then setting colors | |
which tput 2>&1 > /dev/null | |
if [[ $? -eq "0" ]]; then | |
_COLOR_NC="$(tput sgr0)" |
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
guild: | |
name: 'Example Test' | |
verification-level: 'High' | |
roles: | |
- name: 'role-0' | |
color: 'random' | |
separated: true | |
mentionable: true | |
rank: 0 |
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 | |
OS=$(uname -s) | |
ARCH=$(uname -m) | |
URL="https://github.com/docker/compose/releases/latest/download/docker-compose-${OS}-${ARCH}" | |
if [ -z ${OVERRIDE_PATH} ]; | |
then | |
INSTALL_PATH="/usr/local/lib/docker/cli-plugins/docker-compose" | |
else |
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 | |
# default username / password combination is: | |
# ubuntu:ubuntu | |
export DEFAULT_USER="ubuntu" | |
echo "default user: ${DEFAULT_USER}" | |
export CURRENT_USER=$(whoami) | |
echo "current user: ${CURRENT_USER}" | |
# Configuration |
This file has been truncated, but you can view the full file.
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
vagrant : INFO global: Vagrant version: 2.2.14 | |
At line:1 char:1 | |
+ vagrant up --debug 2>&1 | Tee-Object -FilePath ".\vagrant.log" | |
+ ~~~~~~~~~~~~~~~~~~~~~~~ | |
+ CategoryInfo : NotSpecified: ( INFO global: Vagrant version: 2.2.14:String) [], RemoteException | |
+ FullyQualifiedErrorId : NativeCommandError | |
INFO global: Ruby version: 2.6.6 | |
INFO global: RubyGems version: 3.0.3 | |
INFO global: VAGRANT_EXECUTABLE="C:\\HashiCorp\\Vagrant\\embedded\\gems\\2.2.14\\gems\\vagrant-2.2.14\\bin\\vagrant" |
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
export CLANG_VERSION="CLANG38" | |
export UBUNTU_RELEASE="focal" |
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
Show hidden characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Python: Current File", // requires ms-python.python extension | |
"type": "python", | |
"request": "launch", | |
"program": "${file}", | |
"console": "integratedTerminal" | |
}, |
NewerOlder