wget https://github.com/bell-sw/Liberica/releases/download/11.0.2/bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb
sudo apt-get install ./bellsoft-jdk11.0.2-linux-arm32-vfp-hflt.deb
sudo update-alternatives --config javac
sudo update-alternatives --config java
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
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools | |
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/tools |
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
kind: Deployment | |
apiVersion: apps/v1 | |
metadata: | |
name: sitespeed-io | |
labels: | |
run: sitespeed-io | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
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
if os.getenv('PYTEST_XDIST_WORKER') == 'gw1': | |
return 8101 | |
else: # include 'master' and 'gw0' | |
return 8100 | |
if os.getenv('PYTEST_XDIST_WORKER') == 'gw0': | |
return 'emulator-5554' | |
elif os.getenv('PYTEST_XDIST_WORKER') == 'gw1': | |
return 'emulator-5556' | |
else: # default |
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
constructor(props){ | |
super(props); | |
this.items = [ | |
'David', | |
'Sara', | |
'Jane', | |
'Daniel', | |
'Debra' | |
]; | |
this.state = { |
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
"use strict"; | |
const mongoose = require('mongoose'); | |
const Schema = mongoose.Schema; | |
// Define collection and schema for Manager | |
var Manager = new Schema({ | |
tag_name: [{ | |
type: String | |
}], | |
book_name: { |
|-------------------------------|-------------------------------|
| Cucumber | Capybara |
|-------------------------------|-------------------------------|
| Must be customized to support | Page-object-pattern support |
| page-object-pattern | using a 3rd party gem called |
| | 'site-prism' which is on top |
| | of Capybara |
|-------------------------------|-------------------------------|
| Test cases are more readable | Test cases are not readable; |
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
"use strict"; | |
const mongoose = require('mongoose'); | |
const Schema = mongoose.Schema; | |
// Define collection and schema for Manager | |
let Manager = new Schema({ | |
tag_name: [{ | |
type: String | |
}], | |
book_name: { |
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: "v1" | |
kind: "PersistentVolume" | |
metadata: | |
name: data-pv | |
spec: | |
capacity: | |
storage: {{ .Values.capacity }} | |
accessModes: | |
- {{ .Values.accessMode }} |
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
describe ('search component', () => { | |
it (`async test 1`, done=>{ | |
setTimeout(done, 100); | |
}); | |
it (`async test 2`, ()=>{ | |
return new Promise( | |
resolve => setTimeout(resolve, 1500) | |
); |