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
allprojects { | |
afterEvaluate { project -> | |
def springbootProject = project.plugins.hasPlugin('org.springframework.boot') | |
// Where the property names are generated. See: | |
// https://github.com/spring-projects/spring-boot/blob/25d8888aff804233086685db962c5aeeb22215e2/buildSrc/src/main/java/org/springframework/boot/build/bom/Library.java#L70 | |
// https://github.com/spring-projects/spring-boot/blob/main/spring-boot-project/spring-boot-dependencies/build.gradle | |
if (springbootProject) { | |
task springbootDependencies() { | |
group 'springboot-dependencies' |
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
{ | |
"workbench.colorCustomizations": { | |
"terminalCursor.foreground": "#ff0000", | |
"editorLineNumber.activeForeground": "#f00", | |
"sideBar.border": "#666666", | |
"editorGroup.border": "#666666", | |
"panel.border": "#666666", | |
} | |
} |
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
.\gradlew wrapper --gradle-version %* |
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
def random = new Random(); | |
ext { | |
__anyFailed = false; | |
__failedTasks = []; | |
__failures = []; | |
__allowFail = []; | |
} | |
// gradle.taskGraph.whenReady { TaskExecutionGraph teg -> |
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
# Create Service Account | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: cluster-admin-service-account | |
namespace: kube-system | |
# Create Cluster Administrator Cluster Role | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 |
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
/* eslint-disable @typescript-eslint/naming-convention */ | |
import * as vscode from 'vscode'; | |
import * as path from 'path'; | |
import * as fs from 'fs'; | |
const BRANCHES = [ | |
'Main', | |
'rel_IA_22.2', | |
'rel_IA_21.4', | |
'rel_IA_21.2', |
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
/* eslint-disable @typescript-eslint/naming-convention */ | |
import * as vscode from 'vscode'; | |
import * as path from 'path'; | |
import * as fs from 'fs'; | |
const BRANCHES = [ | |
'Main', | |
'rel_IA_22.2', | |
'rel_IA_21.4', | |
'rel_IA_21.2', |
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
class Thing { | |
String name | |
Thing(String name) { | |
this.name = name | |
} | |
} | |
extensions.create('thing', Thing.class, 'foo') | |
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
kubectl get ClusterRoleBinding,RoleBinding -o jsonpath="{range .items[*]}{range .subjects[*]}{'\n'}{.kind}{','}{.name}{end}{end}" | wsl column -t -s "," -N Type,Name -R 1 | |
kubectl get ClusterRoleBinding,RoleBinding -o go-template-file=ugsa.tpl | wsl column -t -s ',' | |
REM Sort by user, group, sa type | |
kubectl get ClusterRoleBinding,RoleBinding -A -o go-template-file=%USERPROFILE%\.kube\ugsa.tpl | wsl { head -n 1; sort -k 1 -k 5 -k 6 -t ','; } | wsl column -t -s ',' |
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
apiVersion: certificates.k8s.io/v1 | |
kind: CertificateSigningRequest | |
metadata: | |
name: usercrt | |
spec: | |
request: LS0tLS1CRUdJTiBDRVJUSUZJQ0FURSBSRVFVRVNULS0tLS0KTUlJQ1pEQ0NBVXdDQVFBd0h6RU5NQXNHQTFVRUF3d0VkWE5sY2pFT01Bd0dBMVVFQ2d3RlozSnZkWEF3Z2dFaQpNQTBHQ1NxR1NJYjNEUUVCQVFVQUE0SUJEd0F3Z2dFS0FvSUJBUUMvQlAyL01rRjA5Mi9zTkZwZHN3T1BGWGVGCmtZelVtcUxaWlF3Mkg4eVllaXBXNkwyQ0NZalpOdCs5a0tqSzUvOVpqQm1oVG5OYnpTZjFIUUxVTlZHM0lhRlkKMVlGOXJsdUdmZzN3VmxySUtwRG5IR09ZYmlFQ1NMbllscHlzZXg5UXdjOE91a0hlaW1uclVMUmVUeTkyOFB0NwpHVk5pcGdtQkJrM2lISURWNkxGV3k5a254dkJPSTVMVTZ5U2E3a3BDTVRxZWZmRDQxS2RPYVNaRTkvTEZiQVFiCnRLNHBKT2VjY2NMaUc2RmdoQ0F0MGFzV0dDNW5GbFhlYXE3VzNHKzlFNURGRnNUNFlkMTdOanhyeWFWZnlsRDIKK0d6SVdOTFdHMkFqMVhLOE1RWkZNUXhGN1dsVjZJbldJTnhaZWVURVNielJuSnkvdGhJWEUwZVJ5MmRuQWdNQgpBQUdnQURBTkJna3Foa2lHOXcwQkFRc0ZBQU9DQVFFQWFwOHZoSXVGYnlzMnlBcHowcFJxUWxXRlZpK0RDcm53CnJEakMyTjZsYTl6WVlaZWVUdHkyUDVGM3AvVDN1b0hvdW93SWwxSWhRb2NwYU43RGtVVXZNZk11UzROQW5WdG8KTE5WV3pjV1ZBSG1zRXRDNVBYSmpYRkFHaTF0ZnhCRnV3SnJHRUo4eEtkWWRjaVYrOEtDSkdJTnRaT0FmRUdDMg |