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
[Desktop Entry] | |
Version=1.0 | |
Terminal=false | |
Type=Application | |
Name=Apache Directory Studio | |
Exec=/opt/ApacheDirectoryStudio/ApacheDirectoryStudio | |
Icon=/opt/ApacheDirectoryStudio/features/org.apache.directory.studio.nls.feature_2.0.0.v20170904-M13/studio.png | |
Categories=Network;Development | |
Keywords=ldap; |
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 | |
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
[Desktop Entry] | |
Version=1.0 | |
Terminal=false | |
Type=Application | |
Name=Postman | |
Exec=/opt/Postman/Postman | |
Icon=/opt/Postman/resources/app/assets/icon.png | |
Categories=Network;Development | |
Keywords=rest;api; |
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/sh | |
docker pull jenkins/jenkins && \ | |
docker run -d --name myjenkins \ | |
-p 8083:8083 \ | |
-p 50000:50000 \ | |
-v /etc/timezone:/etc/timezone \ | |
-v /var/jenkins_home/:/var/jenkins_home/ \ | |
-v /var/lib/jenkins/cert:/var/lib/jenkins/cert \ | |
-v /var/lib/jenkins/pk:/var/lib/jenkins/pk \ | |
--env JENKINS_OPTS="--httpPort=-1 --httpsPort=8083 --httpsCertificate=/var/lib/jenkins/cert --httpsPrivateKey=/var/lib/jenkins/pk" \ |
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
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; |
NewerOlder