- yq
- gh
- gh logged into github
-
Download a plugin called code injector.
-
Add the host
oneview\.kroger\.com
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
/* eslint-disable @typescript-eslint/no-explicit-any */ | |
import { pickBy } from 'lodash'; | |
import React, { Suspense } from 'react'; | |
/** | |
* | |
* @example Dynamically Load Component | |
* <LazyComponent<PropsOfElement> | |
* component={()=> import('./Element')} | |
* any="props" |
Downloads the latest pact binary via wget & curl. Both wget and curl work well with corporate firewalls and proxy settings; assuming you have your system propery configured.
- Add this file to your repo under a scripts folder.
- Run
yarn add -D shelljs pino
(NOTE if you wish to not have pino, it can be stripped out) - Run
node ./scripts/pact-download.js
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 | |
apt-get update | |
download () { | |
curl --silent --show-error --location --fail --retry 3 \ | |
--output "$1" "$2" | |
} |
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
apiVersion: networking.k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: fullfill-ingress | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: /$2 | |
spec: | |
ingressClassName: internal | |
rules: | |
- http: |
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
function capitalizeFirstLetter(str) { | |
return str.charAt(0).toUpperCase() + str.slice(1); | |
} | |
function toNameCase(str) { | |
return str.split(" ").map(capitalizeFirstLetter).join(" ") | |
} | |
console.log(toNameCase("banana man")) | |
console.log(toNameCase("ole McDonald")) |