Skip to content

Instantly share code, notes, and snippets.

View dgrstl's full-sized avatar

David Roberts dgrstl

View GitHub Profile
Strengths
- 25 years experience helping F500 companies evolve their businesses by leveraging cutting edge technology
- High IQ with superior analytical skills
- Integrity and a strong sense for “right” and “wrong”
- Candid and clear communicator
- Excellent ability to manage difficult situations
- Meticulous detail orientation
- Curiosity and a voracious learner
- Well-defined ethics and strong sense of responsibility
- Passion for servicing others
version: '3'
networks:
kong-net:
services:
# Kubernetes echo service, it just returns the requests it receives as responses
# This service will act as our upstream
http-echo:
image: gcr.io/kubernetes-e2e-test-images/echoserver:2.2
networks:

Stoplight Web Components

Published on webcomponents.org

Web components are a set of web platform APIs that allow you to create new custom, reusable, encapsulated HTML tags to use in web pages and web apps. Read more

Usage

Add the following script tag to the head tag of your website.

#!/bin/sh
mkdir -p ./stoplight-data
docker run --rm -it --name platform \
-p 8080:8080 \
-v $(pwd)/stoplight-data:/home/node/postgresql \
-e SL_APP_SECRET=O0H2FQOloYZLWI7uR4gKsZIqbhQt5RnG\
-e EMIT_STDOUT=true \
quay.io/stoplight/platform
warn "Jdbc-sqlserver is only for use with JRuby" if (JRUBY_VERSION.nil? rescue true)
require "jdbc/sqlserver/version"
module Jdbc
module Sqlserver
def self.driver_jar
"sqljdbc4.jar"
end
def self.load_driver(method = :load)
ausdlpmom01 ~]$ sudo puppet config print hiera_config
/etc/puppetlabs/puppet/hiera.yaml
ausdlpmom01 ~]$ sudo cat /etc/puppetlabs/puppet/hiera.yaml
# managed by puppet
---
:backends:
- eyaml
:logger: console
curl -k -X PUT https://localhost:4433/rbac-api/v1/ds \
--cert /etc/puppetlabs/puppet/ssl/certs/master.inf.puppetlabs.demo.pem \
--key /etc/puppetlabs/puppet/ssl/private_keys/master.inf.puppetlabs.demo.pem \
--cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \
-H "Content-Type: application/json" -d @ds.json
curl -k -X GET https://localhost:4433/rbac-api/v1/ds \
--cert /etc/puppetlabs/puppet/ssl/certs/master.inf.puppetlabs.demo.pem \
--key /etc/puppetlabs/puppet/ssl/private_keys/master.inf.puppetlabs.demo.pem \
--cacert /etc/puppetlabs/puppet/ssl/certs/ca.pem \
-H "Content-Type: application/json"
# This script installs the windows puppet agent on the windows seteam vagrant vms
# from the master's pe_repo by downloading it to C:\tmp first and then running
# msiexec on it from there.
$puppet_master_server = "master.inf.puppetlabs.demo"
$msi_source = "https://${puppet_master_server}:8140/packages/current/windows-x86_64/puppet-agent-x64.msi"
$msi_dest = "C:\tmp\puppet-agent-x64.msi"
# Start the agent installation process and wait for it to end before continuing.
Write-Host "Installing puppet agent from $msi_source"
✘-1 ~/repos/prosvc-engagement-docs [master|✔]
16:27 $ gem update rake
Updating installed gems
Updating rake
rake's executable "rake" conflicts with /Users/dave/.rbenv/versions/2.1.5/bin/rake
Overwrite the executable? [yN] y
Successfully installed rake-11.1.2
Gems updated: rake
✔ ~/repos/prosvc-engagement-docs [master|✔]
16:27 $ rake --version