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 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"; |
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
{ | |
"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 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 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 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 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 ./AppIcon@1024x1.png |
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
declare module ORACLE_SERVICE_CLOUD { | |
var extension_loader: IExtensionLoader; | |
var extensionLoadPromise: IExtensionPromise<any>; | |
interface IExtensionLoader extends IExtensionDisposable { | |
load(appId: string, version?: string, userScriptList?: string[]): IExtensionPromise<IExtensionProvider>; | |
} | |
interface IExtensionDisposable { | |
dispose: () => void; |
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
set nu | |
set mouse=a | |
set guioptions+=a | |
set clipboard=unnamedplu |
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
npm config delete http-proxy; npm config delete https-proxy |
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
[Desktop Entry] | |
Version=1.0 | |
Terminal=false | |
Type=Application | |
Name=KeeWeb | |
Exec=/opt/keeweb/KeeWeb | |
Icon=/opt/keeweb/128x128.png | |
Categories=Utility | |
Keywords=password;kee;keepass;key |
NewerOlder