Skip to content

Instantly share code, notes, and snippets.

View iluxame's full-sized avatar

Ilia Meerovich iluxame

View GitHub Profile
@timander
timander / pom.xml
Last active August 28, 2021 23:15
Maven JaCoCo Coverage Profile
<profiles>
<profile>
<id>normal</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<surefireArgLine></surefireArgLine> <!--create blank property for surefire when not running under coverage profile-->
<failsafeArgLine></failsafeArgLine> <!--create blank property for failsafe when not running under coverage profile-->
</properties>
@honkskillet
honkskillet / byte-sizetuts.md
Last active July 18, 2024 08:32
A series of golang tutorials with youtube videos.
from click import command, option, Option, UsageError
class MutuallyExclusiveOption(Option):
def __init__(self, *args, **kwargs):
self.mutually_exclusive = set(kwargs.pop('mutually_exclusive', []))
help = kwargs.get('help', '')
if self.mutually_exclusive:
ex_str = ', '.join(self.mutually_exclusive)
kwargs['help'] = help + (