This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section data-markdown> | |
# Proč testovat | |
* ověření funkčnosti | |
* automatizace | |
* ochrana před regresemi | |
* druh dokumentace | |
</section> | |
<section data-markdown> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<section data-markdown> | |
# Test of gist-reveal.it | |
Will it grab changes? | |
*Yes!* It will. | |
```ruby | |
require 'wits' | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
# usage: | |
# sh <(curl -s https://gist.githubusercontent.com/petrblaho/cae39aaa90e4ec0b7b76/raw/vmips.sh) | |
virsh list --name | grep -v '^$' | xargs -n1 -I{} sh -c "echo {}:; virsh domiflist {} | grep -v '^$' | tail -n +2 | awk '{print \$5}' | xargs -n1 -I{} sh -c \"cat /var/lib/libvirt/dnsmasq/default.leases | grep {}\" | awk '{print \$3}'; echo" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/sh | |
## UNDERCLOUD | |
# from lab | |
ROUTE_DEV=virbr0 | |
VIRT_IP=`cat /var/lib/libvirt/dnsmasq/default.leases | awk '{print $3}' | head -n1` #undercloud VM IP - get first one | |
BM_NETWORK_CIDR=192.0.2.1/32 | |
ip route replace $BM_NETWORK_CIDR dev $ROUTE_DEV via $VIRT_IP |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'cinch' | |
require 'ruby_cowsay' | |
cow = Cow.new | |
bot = Cinch::Bot.new do | |
configure do |c| | |
c.server = "irc.eng.brq.redhat.com" | |
c.channels = ["#gabelstaplerfahrer"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lib/workers/event_catcher_openstack.rb | |
- monitor_events method | |
- adds events into @queue | |
- then event is processed | |
- process_event method | |
- called EmsEvent.add_queue | |
app/models/ems_event.rb | |
- add_queue method | |
- call MiqQueue.put |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spell Snare - 119 | |
Teferi, Temporal Archmage - 109 | |
Strip Mine - 99 | |
Grand Arbiter Augustin IV - 99 | |
Nimbus Maze - 99 | |
Absorb - 89 | |
Skycloud Expanse - 79 | |
City of Brass - 75 | |
Blinding Angel - 69 | |
Adarkar Wastes - 69 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -eo pipefail | |
xdotool key --window $(xdotool search --name 'Rdio \- Mozilla Firefox') bracketright |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=INFO REPORT==== 12-Dec-2014::17:22:19 === | |
accepting AMQP connection <0.27682.4> (192.168.122.1:54899 -> 192.168.122.160:5672) | |
=ERROR REPORT==== 12-Dec-2014::17:22:22 === | |
closing AMQP connection <0.27682.4> (192.168.122.1:54899 -> 192.168.122.160:5672): | |
{handshake_error,starting,0, | |
{amqp_error,access_refused, | |
"PLAIN login refused: user 'guest' - invalid credentials", | |
'connection.start_ok'}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -P '\t' -r . | grep -v './.git' |