Get node.couchapp:
git clone https://github.com/mikeal/node.couchapp.js.git
cd node.couchapp.js
install globally:
npm install -g
install locally, where test
is the directory name which will contain your app:
Get node.couchapp:
git clone https://github.com/mikeal/node.couchapp.js.git
cd node.couchapp.js
install globally:
npm install -g
install locally, where test
is the directory name which will contain your app:
git stash save
git checkout -b xxx
git stash pop
where xxx
is the new branch name
bbl director-ssh-key > director-ssh-key.pem
bbl ssh-key > jumpbox-ssh-key.pem
chmod 600 jumpbox-ssh-key.pem
ssh -i jumpbox-ssh-key.pem -t jumpbox@$(bbl jumpbox-address) bash
vi director-ssh-key.pem
chmod 600 director-ssh-key.pem
ssh -vvv 10.0.0.6 -i director-ssh-key.pem
#Replace 10.0.0.6 with the internal IP address of your bosh director--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: sonobuoy | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: |
ssh-keygen -t rsa -b 4096 -C "YOUR EMAIL ADDRESS"
~/.ssh/gcp-sstp-box
gcloud config set project YOURGCPPROJECTNAME
gcloud config compute/region set europe-west1
(or wherever you wish to host it)gcloud config compute/zone set europe-west1-b
(or wherever)dotnet --info
.NET Core SDK (reflecting any global.json):
Version: 3.1.416
Commit: 8d3765c609
Runtime Environment:
OS Name: ubuntu
OS Version: 20.04
OS Platform: Linux
require('http').get({host: '<REPLACE_ME>.<REPLACE_ME>.svc.cluster.local.', path:'/graphql', port:3000}, (resp) => { console.log(resp.statusCode); }).on("error", (err) => { console.log("error: " + err.message);}); |
apiVersion: kustomize.config.k8s.io/v1beta1 | |
kind: Kustomization | |
resources: | |
- namespace.yaml | |
patchesJson6902: | |
# deletes a single label from a kubernetes resource. | |
# the label includes a slash '/' character | |
# we replace the '/' character with '~1'. | |
- target: | |
version: v1 |
'use strict'; | |
describe('mocha before and after hooks', function () { | |
before(() => console.log('*** top-level before()')) | |
beforeEach(() => console.log('*** top-level beforeEach()')) | |
after(() => console.log('*** top-level after()')) | |
afterEach(() => console.log('*** top-level afterEach()')) | |
describe('nesting', function () { | |
before(() => console.log('*** nested before()')) | |
beforeEach(() => console.log('*** nested beforeEach()')) |