Skip to content

Instantly share code, notes, and snippets.

View ctomc's full-sized avatar

Tomaz Cerar ctomc

  • Ljubljana, Slovenia
  • X @ctomc
View GitHub Profile
@ctomc
ctomc / gist:a09d8d70399a7162b33a
Last active August 29, 2015 14:01
testing WFLY-3337
hw:
1x 4 core cpu
configuration:
MaxFileDescriptorCount set to 4096
<worker name="default" />
<worker name="second-worker"/>
<worker name="third-worker" task-max-threads="50"/>
@ctomc
ctomc / collection-api.md
Last active August 29, 2015 14:05
Collection & Complex attributes manipultation API

Collection manipultation API

Proposal to add set of global operations for ease working with map & list attribute types. Operations mimic java colections. All indexes are 0 based!

Maps

put entry to map

:map-put(name=name-of-attribute, key=some-key, value="newvalue")
@ctomc
ctomc / gist:064eaecc189586a2b766
Last active August 29, 2015 14:13
CFP Building a Custom Trimmed Down WildFly Distribution
Title: Building a Custom Trimmed Down WildFly Distribution
Abstract:
WildFly is a very versatile, highly modular enterprise class application server with very small core footprint, and various capabilities added to it by way of extensions, also known as subsystems.
Not every application requires the full set of Java EE 7 APIs, or clustering with centralized management, and thanks to its modular design it’s not so difficult to create a custom distribution of the server.
In cloud environments resources like disk space and memory are scarce, so trimming down or assembling a custom distribution of the server can come handy.
WildFly 9 comes with completely new set of build assembly tools that allow us to provide different distributions like core, web & full to suite user's needs better.
In this talk we will take a look at:
@ctomc
ctomc / read-write-enhacments.md
Created February 5, 2015 15:13
Enhanced read/write attribute operations

Expand standard read/write operations

:write-attribute enhacements for complex attributes

Map write enhancements

:write-attribute(name=map-attribute.myKey value="newValue")

List write enhancements

This agreement is between you and Red Hat, Inc. ("Red Hat"). In this agreement, "You" shall mean the owner of the Contribution, as defined below, including any individual or any corporation or entity which has authorized the signatory of this agreement to act on its behalf. The purpose of this license is to set forth the terms and conditions under which we may use software that you wish to contribute to us for the purpose of use within one or more of our software development projects. Nothing in this license changes your ongoing right to use your contributions as you wish for any purpose.
By clicking the Sign button below, I hereby agree to the following terms and conditions:
As used in this agreement, the term "Contribution" shall mean any software, including source code and/or object code, documentation, or modifications to the foregoing, which You make available or submit to Red Hat in any form. Contributions shall not include any software or documentation which has been explicitly marked to indicate
@ctomc
ctomc / convert.groovy
Created September 18, 2017 09:57
confluence to asciidoc
/*
* JBoss, Home of Professional Open Source
* Copyright 2017, Red Hat, Inc., and individual contributors as indicated
* by the @authors tag.
*
* 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

Keybase proof

I hereby claim:

  • I am ctomc on github.
  • I am ctomc (https://keybase.io/ctomc) on keybase.
  • I have a public key ASD-0wM5gtF-mlFGsL2TQZP96NiAJFIvW-97ad2d-nT8hwo

To claim this, I am signing this object: