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
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>WebRTC Demo</title> | |
<script> | |
(function(w,d,u,a,o){ | |
w=w[o]=w[o];w=document.createElement(u);w.async=1;w.id=o;w.src=a | |
o=d.getElementsByTagName(u)[0];o.parentNode.insertBefore(w,o) | |
})(window,document,'script','http://host.docker.internal:3000/rum','CRUM') | |
CRUM = { |
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
[0-0] { | |
userAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.47 Safari/537.36', | |
environment: { | |
networkUserAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4143.7 Safari/537.36 Chrome-Lighthouse', | |
hostUserAgent: 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.47 Safari/537.36', | |
benchmarkIndex: 1192.5, | |
credits: { 'axe-core': undefined } | |
}, | |
lighthouseVersion: '6.4.1', | |
fetchTime: '2020-11-06T23:29:38.850Z', |
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
Ahoj, na 27.-28.08.2020 jsem připravil první verzi rozšiřujícího tréninku TAB Extended na webdriver.io Jde o dva dny, online přes Google Meets. | |
**Obsahem je** | |
- připravovaná osnova: https://github.com/rdpanek/wdio-trenink | |
- focus na testování browseru včetně nefunkcionálních charakteristik | |
- plná verze plug-and-play stacku založeného na WDIO | |
- rotace, pattern 1:1:1, dockerizace a provoz v Kubernetes | |
- Browser-based perf | |
- Live logging do elasticsearch |
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
# https://raw.githubusercontent.com/ConSol/docker-headless-vnc-container/master/Dockerfile.ubuntu.xfce.vnc | |
#Dockerfile | |
FROM centos:8 | |
MAINTAINER RDPanek "[email protected]" | |
LABEL io.k8s.description="VNC Container based on Centos" \ | |
io.k8s.display-name="VNC Container based on Centos" \ | |
io.openshift.expose-services="5901:xvnc" \ |
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
$.map($('body *'), function(e,n) { | |
let zindex = $(e).css('z-index') | |
if (zindex > 0) { | |
console.log(zindex) | |
console.log(e) | |
} | |
}) |
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: apps/v1beta1 | |
kind: Deployment | |
metadata: | |
name: busytest | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: busytest |
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
// Instalace minikube | |
curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube | |
sudo mkdir -p /usr/local/bin/ | |
sudo install minikube /usr/local/bin/ | |
minikube status | |
minikube start --vm-driver=none |
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: v1 | |
kind: Pod | |
metadata: | |
name: shell-demo | |
spec: | |
volumes: | |
- name: shared-data | |
emptyDir: {} | |
containers: | |
- name: nginx |
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
// Example 1 | |
const targetElement = document.querySelector('div.ticket_summary__submit div.fortuna_button--yellow') | |
const config = { attributes: true, childList: true, subtree: true }; | |
let callback = function(mutationsList, observer) { | |
let acceptChangesButton = document.querySelector('div.ticket_summary__submit div.fortuna_button--yellow') | |
if ( acceptChangesButton != null ) { | |
console.log('Fortuna yellow button detected!') | |
acceptChangesButton.click() | |
} | |
console.log('Any changes on bet button detected!') |
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
# Elasticsearch | |
sysctl -w vm.max_map_count=262144 | |
docker run --name elastic -d -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" docker.elastic.co/elasticsearch/elasticsearch:6.7.1 bin/elasticsearch -Enetwork.host=0.0.0.0 | |
# Kibana | |
docker run --name kibana -d --link elastic:elasticsearch -p 5601:5601 docker.elastic.co/kibana/kibana:6.7.1 | |
# Selenium | |
docker run -d -p 4444:4444 -v /dev/shm:/dev/shm selenium/standalone-chrome:3.141.59-yttrium |
NewerOlder