Skip to content

Instantly share code, notes, and snippets.

View mareknovotny's full-sized avatar
🎯
Focusing

Marek Novotný mareknovotny

🎯
Focusing
View GitHub Profile
@mareknovotny
mareknovotny / settings.xml
Created September 19, 2016 08:29
JBoss org repository settings.xml
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/settings/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<pluginGroups>
<pluginGroup>org.sonatype.plugins</pluginGroup>
</pluginGroups>
<profiles>
<profile>
@mareknovotny
mareknovotny / gist:42ba3a12896a22d9411049dc3cd4c78d
Created August 18, 2017 13:07
Steps how to get and run docker container for failed windup-web-pr-builder
#1 on jenkins vm (identify container id) and save container with git and all ready to build while running job
sudo docker commit <container-id> test-windup-web-pr # < this is temp docker image with saved status
#2 save it as tar archive for moving or later discovery
sudo docker save -o ./windup-web-pr-builder_1596.tar.gz test-windup-web-pr
#3 on your local or any host with docker
docker load -i <saved_docker_image>
#4 and run it for debugging
@mareknovotny
mareknovotny / kie-realm.json
Created March 23, 2018 16:00
KIE keycloak setup
{
"id": "demo",
"realm": "demo",
"notBefore": 0,
"revokeRefreshToken": false,
"refreshTokenMaxReuse": 0,
"accessTokenLifespan": 300,
"accessTokenLifespanForImplicitFlow": 900,
"ssoSessionIdleTimeout": 1800,
"ssoSessionMaxLifespan": 36000,
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.uberfire.java.nio.fs.jgit.JGitFileSystemImplProviderAsDefaultTest
[main] INFO org.eclipse.jgit.internal.ketch.KetchSystem - Using 8 threads
[INFO] Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.417 s - in org.uberfire.java.nio.fs.jgit.JGitFileSystemImplProviderAsDefaultTest
[INFO] Running org.uberfire.java.nio.fs.jgit.JGitForkTest
[main] DEBUG org.uberfire.java.nio.fs.jgit.util.commands.Fork - Forking repository <source/source> to <target/target>
[main] DEBUG org.uberfire.java.nio.fs.jgit.util.commands.Fork - Forking repository <testforkA/source> to <testforkB/target>
[main] DEBUG org.uberfire.java.nio.fs.jgit.util.commands.Fork - Forking repository <testforkA/source> to <testforkB/target>
(master) yarn bootstrap
yarn run v1.22.5
$ lerna bootstrap
lerna notice cli v4.0.0
lerna info bootstrap root only
warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
[1/4] Resolving packages...
[2/4] Fetching packages...
info fsevents@2.1.3: The platform "linux" is incompatible with this module.
info "fsevents@2.1.3" is an optional dependency and failed compatibility check. Excluding it from installation.