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 fish | |
if ! test -e ./AppIcon.png | |
echo "🚨 App icon file not found" | |
exit | |
end | |
echo "🎬 Creating Icons!" | |
cp ./AppIcon.png ./[email protected] |
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 fish | |
# Place this file in ~/.config/fish/functions/ | |
# Then, the `avatar` functions will be available from your shell. | |
function avatar | |
################################################### | |
# Function Definitions | |
################################################### |
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 | |
# Run yamllint first to ensure that code passes checks | |
yamllint . | |
YAML_LINT=$? | |
# Go ahead and stop if yamllint fails since ansible-lint takes a while | |
if [ $YAML_LINT == 1 ]; then | |
exit 1 | |
fi |
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 python3 | |
import json | |
import os | |
import re | |
def get_running_instances(): | |
stream = os.popen('prlctl list -o ip --no-header') | |
output = stream.read() | |
replaced = re.sub(r"\s.*\n", "\n", output) |
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
{ | |
"extensions": [ | |
"redhat.ansible", | |
"richie5um2.vscode-sort-json", | |
"zainchen.json" | |
], | |
"forwardPorts": [], | |
"image": "docker-registry.gso.harwell.me/scottharwell/vscode-ansible:latest", | |
"mounts": [ | |
"source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind", |
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 fish | |
set -x ANSIBLE_ACCESS_MODE "public"; | |
set -x AZURE_DEPLOYMENT_SUBSCRIPTION "changeme"; | |
set -x AZURE_APP_DEPLOYMENT_RESOURCE_GROUP "changeme"; | |
set -x AZURE_APP_NAME "$ANSIBLE_ACCESS_MODE-deployment"; | |
set -x AZURE_MANAGED_APP_RESOURCES_GROUP "mrg-$AZURE_APP_NAME"; | |
set -x AZURE_REGION "eastus"; | |
set -x AZURE_PUBLISHER "redhat"; | |
set -x AZURE_OFFER "rhaapomsa"; | |
set -x AZURE_PLAN "rh-aap-azure50pub-a1"; |
OlderNewer