Skip to content

Instantly share code, notes, and snippets.

View goldmann's full-sized avatar
🤔
Ctrl+C Ctrl+V

Marek Goldmann goldmann

🤔
Ctrl+C Ctrl+V
View GitHub Profile
@Grapes([
@Grab('org.yaml:snakeyaml:1.25')
])
import org.yaml.snakeyaml.constructor.Constructor
import org.yaml.snakeyaml.nodes.NodeId
import org.yaml.snakeyaml.nodes.MappingNode
class SelectiveConstructor extends Constructor {
@goldmann
goldmann / orphan.py
Last active June 5, 2019 10:28
A script to make it easier to orphan pacakges in Fedora
# MIT License
# Copyright (c) 2019 Marek Goldmann
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:

Repour providers

Gradle provider

Configuration

Thanks for submitting your Pull Request!

Please make sure your PR meets following requirements:

  • Pull Request title is properly formatted: [CLOUD-XYA] Subject
  • Pull Request contains link to the JIRA issue
  • Pull Request contains description of the issue
  • Pull request does not include fixes for other issues than the main ticket
  • Attached commits represent unit of work and are properly formatted
  • Every commit contains Signed-off-by: Your Name - use git commit -s
bash-4.3# wget http://ce-ci.usersys.redhat.com/
Connecting to ce-ci.usersys.redhat.com (10.34.75.114:80)
index.html 100% |******************************************************************************************************************************************************************| 126k 0:00:00 ETA
bash-4.3# wget http://ce-ci.usersys.redhat.com/
wget: bad address 'ce-ci.usersys.redhat.com'
@goldmann
goldmann / example.py
Last active October 18, 2016 09:20 — forked from rwngwn/example.py
if base_image == "scratch":
return base_image
if ':' in base_image:
return base_image
return "%s:%s" % (base_image, version)
@goldmann
goldmann / doc.adoc
Last active September 22, 2016 07:54

Configuring Active-MQ destinations

Resource

queues-xml.jinja

Environment variables

  • MQ_QUEUES — comma delimited list of queue names

  • MQ_TOPICS — comma delimited list of topic names

Keybase proof

I hereby claim:

  • I am goldmann on github.
  • I am goldmann (https://keybase.io/goldmann) on keybase.
  • I have a public key whose fingerprint is EB5F 3F51 F363 6822 A9E7 ED74 BC5B DCBB 8C56 A8D8

To claim this, I am signing this object:

$ cat /etc/NetworkManager/conf.d/90-virtualbox.conf
[main]
no-auto-default=0a:00:27:00:00:00,0a:00:27:00:00:01,0a:00:27:00:00:02,0a:00:27:00:00:03,0a:00:27:00:00:04,0a:00:27:00:00:05
[keyfile]
unmanaged-devices=mac:0a:00:27:00:00:00;mac:0a:00:27:00:00:01;mac:0a:00:27:00:00:02;mac:0a:00:27:00:00:03;mac:0a:00:27:00:00:04;mac:0a:00:27:00:00:05
[vagrant@openshift-minion-1 ~]$ cat /etc/sysconfig/iptables
# Generated by iptables-save v1.4.19.1 on Thu Jan 22 09:41:42 2015
*nat
:PREROUTING ACCEPT [0:0]
:INPUT ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
:POSTROUTING ACCEPT [0:0]
-A POSTROUTING -s 10.244.0.0/16 ! -d 10.244.0.0/16 -j MASQUERADE
COMMIT
# Completed on Thu Jan 22 09:41:42 2015