mkdir tmp
cd tmp
git clone https://github.com/AdoptOpenJDK/openjdk-jdk11u.git
cd openjdk-jdk11u/src/utils/hsdis/
wget http://ftp.heanet.ie/mirrors/ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.gz
tar -xzf binutils-2.31.1.tar.gz
make BINUTILS=binutils-2.31.1 ARCH=amd64
cp build/macosx-amd64/hsdis-amd64.dylib $JAVA_HOME/lib/server/
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
| Ctrl + Alt + F3 | |
| sudo systemctl stop gdm | |
| chmod +x NVIDIA-Linux-x86_64-535.54.03.run | |
| ./NVIDIA-Linux-x86_64-535.54.03.run | |
| reboot |
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
| <benchmark xmlns="urn:radargun:benchmark:3.0"> | |
| <main bindAddress="${main.address:127.0.0.1}" port="${main.port:2103}"/> | |
| <clusters> | |
| <scale from="1" to="1"> | |
| <cluster /> | |
| </scale> | |
| </clusters> | |
| <configurations> | |
| <config name="dist-1"> |
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
| oc login ... | |
| OC_USER=$(oc whoami) | |
| oc project openshift-image-registry | |
| oc patch configs.imageregistry.operator.openshift.io/cluster --patch '{"spec":{"defaultRoute":true}}' --type=merge | |
| oc policy add-role-to-user registry-viewer $OC_USER | |
| oc policy add-role-to-user registry-editor $OC_USER | |
| REGISTRY_HOST=$(oc get route default-route --template='{{ .spec.host }}') | |
| echo $REGISTRY_HOST |
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
| <?xml version="1.0" encoding="UTF-8"?> | |
| <Configuration name="InfinispanServerConfig" monitorInterval="60" shutdownHook="disable"> | |
| <Properties> | |
| <Property name="path">${sys:infinispan.server.log.path}</Property> | |
| <Property name="accessLogPattern">%X{address} %X{user} [%d{dd/MMM/yyyy:HH:mm:ss Z}] "%X{method} %m %X{protocol}" %X{status} %X{requestSize} %X{responseSize} %X{duration}%n</Property> | |
| </Properties> | |
| <Appenders> | |
| <!-- Colored output on the console --> | |
| <Console name="STDOUT"> | |
| <PatternLayout pattern="%highlight{%d{yyyy-MM-dd HH:mm:ss,SSS} %-5p (%t) [%c] %m%throwable}{INFO=normal, DEBUG=normal, TRACE=normal}%n"/> |
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
| Required softwares: | |
| * Vagrant | |
| * docker-machine | |
| * virtualbox | |
| Create a file: `Vagrantfile` | |
| ``` | |
| Vagrant.configure("2") do |config| | |
| config.vm.box = "ubuntu/bionic64" | |
| config.vm.network "private_network", ip: "192.168.33.10" |
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
| import pandas as pd | |
| from datetime import datetime | |
| import numpy as np | |
| # https://github.com/wip727/PyUSL/issues/1 | |
| from usl_v2 import usl_v2 | |
| def _append(node, max_index, row): | |
| sum_value = 0 | |
| l = reversed(range(max_index + 1)) |
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
| package org.jboss.arquillian.junit.container; | |
| import java.util.Collections; | |
| import java.util.Iterator; | |
| import java.util.List; | |
| import org.jboss.arquillian.container.test.spi.TestRunner; | |
| import org.jboss.arquillian.junit.State; | |
| import org.jboss.arquillian.test.spi.TestResult; | |
| import org.junit.Test; | |
| import org.junit.Test.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
| [hudson@edg-perf01 ~]$ ls -l perf.data | |
| -rw-------. 1 hudson hudson 303476 Jan 8 08:19 perf.data | |
| [hudson@edg-perf01 ~]$ perf script --header > perf.data.log | |
| Failed to open /tmp/perf-16853.map, continuing without symbols | |
| [hudson@edg-perf01 ~]$ |
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
| name: ispn | |
| http: | |
| host: http://127.0.0.1:11223 | |
| phases: | |
| - example: | |
| atOnce: | |
| users: 10 | |
| scenario: | |
| - test: | |
| - randomInt: cacheId <- 1 .. 999 |