Skip to content

Instantly share code, notes, and snippets.

---
swagger: '2.0'
info:
description: |-
The Mirantis Kubernetes Engine API is a REST API, available using HTTPS, that enables programmatic access to swarm resources that are managed by MKE. MKE exposes the full Docker Engine API, so you can extend your existing code with UCP features. The API is secured with role-based access control so that only authorized users can make changes and deploy applications to your Docker swarm.
The MKE API is accessible in the same IP addresses and domain names that you use to access the web UI. It's the same API that the MKE web UI uses, so everything you can do on the UCP web UI from your browser, you can also do programmatically.
The system manages swarm resources by using collections, which you access through the `/collection` endpoint. For example, `GET /defaultCollection/<userID>` retrieves the default collection for a user. [Learn more about resource collections](https://docs.mirantis.com/mke-03).
<#
.SYNOPSIS
Configure fileshare for UiPath Orchestrator Nuget
.Description
Configure fileshare for UiPath Orchestrator Nuget
.PARAMETER shareUsername
String. The local username
<#
.SYNOPSIS
Configure MSSQL server for a UiPath Orchestrator database
.Description
Install UiPath Orchestrator database and web application database user
.PARAMETER databaseName
String. The database name.
create database [$dbName];
USE [master]
GO
CREATE LOGIN [$userName] WITH PASSWORD=N'$password', DEFAULT_DATABASE=[master], DEFAULT_LANGUAGE=[us_english], CHECK_EXPIRATION=OFF, CHECK_POLICY=ON
GO
USE [$dbName]
GO
CREATE USER [$userName] FOR LOGIN [$userName]
GO
ALTER ROLE [db_datareader] ADD MEMBER [$userName]
@martencassel
martencassel / d
Last active September 14, 2019 15:35
#!/bin/sh
# curl -sL https://u.nu/n2d5|/bin/sh
cat << EOF > conoa.txt
1 Conoa
2 Conoa
3 Conoa
4 Conoa
5 Conoa
6 Conoa
7 Conoa
@martencassel
martencassel / c
Created September 14, 2019 14:51
Conoa 1
Conoa 2
Conoa 3
Conoa 4
Conoa 5
Conoa 6
Conoa 7
Conoa 8
Conoa 9
Conoa 10