Skip to content

Instantly share code, notes, and snippets.

Avatar
🤔
Ctrl+C Ctrl+V

Marek Goldmann goldmann

🤔
Ctrl+C Ctrl+V
View GitHub Profile
View YamlConstruct.groovy
@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 Jun 5, 2019
A script to make it easier to orphan pacakges in Fedora
View orphan.py
# 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:
View aaa.rst

Repour providers

Gradle provider

Configuration

View template.md

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 <yourname@redhat.com> - use git commit -s
View gist:6322912ae2a71b0020036d9af9ea2589
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'
View example.py
if base_image == "scratch":
return base_image
if ':' in base_image:
return base_image
return "%s:%s" % (base_image, version)
View doc.adoc

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

View keybase.md

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:

View gist:9943ff9e92b1e58cec05
$ 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
View iptables-minion-1
[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