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
<?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 |
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
#!/bin/bash | |
# Get current swap usage for all running processes | |
# Erik Ljungstrom 27/05/2011 | |
# Modified by Mikko Rantalainen 2012-08-09 | |
# Pipe the output to "sort -nk3" to get sorted output | |
# Modified by Marc Methot 2014-09-18 | |
# removed the need for sudo | |
SUM=0 | |
OVERALL=0 |
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
var data = ""; | |
var charges = document.getElementsByClassName("charge") | |
for (var i=0; i<charges.length;i++) { | |
var charge = charges[i]; | |
var date = charge.querySelectorAll(".date")[0].innerText; | |
var desc = charge.querySelectorAll(".description")[0].innerText; | |
var amount = charge.querySelectorAll(".amount")[0].innerText; | |
data += date + "\t" + desc + "\t" + amount + "\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
- name: Install podman packages | |
yum: pkg={{ item }} | |
with_items: | |
- container-tools:1.0 | |
- name: Start podman | |
service: | |
name: podman | |
state: started |