Skip to content

Instantly share code, notes, and snippets.

View rhusar's full-sized avatar

Radoslav Husar rhusar

View GitHub Profile
@sub-mod
sub-mod / crc_remote_laptop.md
Last active July 9, 2022 12:03
Setup CodeReady Containers on Remote Server and connect from Laptop 4.2

Following steps work for F29 for F31 look here

On the remote host

cat /etc/redhat-release
Fedora release 29 (Twenty Nine)

Install packages

@rhusar
rhusar / ASYM_ENCRYPT_LeaveTest.log
Created September 25, 2018 08:59
NUM_LEAVERS=1; no MERGE3
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java -ea -Dlog4j2.debug -D.level=DEBUG -Djava.net.preferIPv4Stack=true -Didea.test.cyclic.buffer.size=1048576 "-javaagent:/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=52148:/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar:/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/plugins/testng/lib/testng-plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/
@rhusar
rhusar / ASYM_ENCRYPT_LeaveTest.log
Last active September 25, 2018 09:18
NUM_LEAVERS=1 - test passes with MERGE3 because it will merge inconsistent view
/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java -ea -Dlog4j2.debug -D.level=DEBUG -Djava.net.preferIPv4Stack=true -Didea.test.cyclic.buffer.size=1048576 "-javaagent:/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar=51707:/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar:/Users/rhusar/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/182.4505.22/IntelliJ IDEA CE.app/Contents/plugins/testng/lib/testng-plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/jre/lib/

Disable Device Enrollment Notification on Mac.md

Restart the Mac in Recovery Mode by holding Comment-R during restart

Open Terminal in the recovery screen and type

csrutil disable
@rhusar
rhusar / asl.txt
Last active August 6, 2024 11:36
JBoss Middleware copyright for IntellJ IDEA
JBoss, Home of Professional Open Source
Copyright $today.year, Red Hat, Inc. and/or its affiliates, and individual
contributors by the @authors tag. See the copyright.txt in the
distribution for a full listing of individual contributors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@rhusar
rhusar / gist:4723520
Last active December 12, 2015 05:38
JBoss, Home of Professional Open Source.
Copyright $today.year, Red Hat, Inc., and individual contributors
as indicated by the @author tags. See the copyright.txt file in the
distribution for a full listing of individual contributors.
This is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of
the License, or (at your option) any later version.
@rhusar
rhusar / gist:4135976
Last active October 13, 2015 03:58
PROPOSED XML
<subsystem xmlns:urn="jboss:domain:modcluster:3.0">
<sticky-session(s?) force="false"
remove="false"/>
<advertise socket-binding="mod_cluster-advertise"
security-key="changeit"/>
<proxies proxy-url="string"
outbound-socket-bindings="proxybinding1 proxybinding2 proxybinding3"
load-balancing-group="groupA"
ping="10"
node-timeout="-1"
@rhusar
rhusar / gist:4135975
Created November 23, 2012 14:51
PROPOSED JSON
{
"advertise" => true,
"advertise-security-key" => "mysecuritykey",
"auto-enable-contexts" => true,
"excluded-contexts" => "a b c",
"flush-packets" => false,
"flush-wait" => -1,
"load-balancing-group" => "mylbgroup",
"max-attempts" => 1,