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
[root@centos mysql]# nc -vz localhost 3306 | |
nc: connect to localhost port 3306 (tcp) failed: Connection refused | |
Connection to localhost 3306 port [tcp/mysql] succeeded! | |
The reason is the first connection is against ::1 (IPv6), and the second to 127.0.0.1. | |
This could be seen with: tcpdump -i lo -n | |
[root@centos mysql]# grep localhost /etc/hosts |
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
mysql> use adritest; | |
Database changed | |
mysql> CREATE TABLE buildings ( | |
-> building_no int(11) NOT NULL AUTO_INCREMENT, | |
-> building_name varchar(255) NOT NULL, | |
-> address varchar(355) NOT NULL, | |
-> PRIMARY KEY (building_no) | |
-> ) ENGINE=InnoDB; | |
Query OK, 0 rows affected (3.39 sec) | |
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
echo 'ola ke ase' |
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
mysql> EXPLAIN SELECT DISTINCT i3.icon_image AS i3__0, i6.instance_name AS i6__1, i.statehistory_id AS i__2, i4.host_object_id AS i4__3, i5.name1 AS i5__4, i4.alias AS i4__5, i4.display_name AS i4__6, i3.service_object_id AS i3__7, i2.name2 AS i2__8, i3.display_name AS i3__9, i.state AS i__10, i.state_time AS i__11, i.current_check_attempt AS i__12, i.max_check_attempts AS i__13, i.current_check_attempt AS i__14, i.max_check_attempts AS i__15 FROM icinga_statehistory i INNER JOIN icinga_objects i2 ON i.object_id = i2.object_id AND (i2.objecttype_id = 2) INNER JOIN icinga_services i3 ON i2.object_id = i3.service_object_id INNER JOIN icinga_hosts i4 ON i3.host_object_id = i4.host_object_id INNER JOIN icinga_objects i5 ON i4.host_object_id = i5.object_id INNER JOIN icinga_instances i6 ON i.instance_id = i6.instance_id WHERE (i3.config_type = '1') ORDER BY i.state_time DESC LIMIT 25; | |
+----+-------------+-------+--------+----------------------------------------------------------------------------+----------------- |
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
Failures: | |
1) Hiera::Backend::Json_backend#lookup should retain the data types found in data files | |
Failure/Error: @backend.lookup("numericval", {}, nil, :priority).should == 1 | |
Mocha::ExpectationError: | |
unexpected invocation: Hiera::Backend.datafile(:json, {}, 'one', 'json') | |
unsatisfied expectations: | |
- expected exactly 3 times, invoked 4 times: Hiera::Backend.datafile(:json, {}, 'one', 'json') | |
- expected exactly 3 times, invoked 4 times: Hiera::Backend.datasources(any_parameters) | |
satisfied expectations: |
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 global: Vagrant version: 1.5.1 | |
INFO global: Ruby version: 2.0.0 | |
INFO global: RubyGems version: 2.0.14 | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.5.1/bin/vagrant" | |
INFO global: VAGRANT_LOG="debug" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_DETECTED_OS="Linux" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1" |
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 | |
# https://github.com/ClusterLabs/resource-agents/pull/320 | |
# Script to try to reproduce the bug | |
while true; do | |
PRE=$(</proc/net/dev) | |
STDOUT=$(/bin/bash /usr/lib/ocf/lib/heartbeat/findif.sh 2>&1) | |
if [[ $? != 0 ]]; then | |
echo "Before /proc/net/dev" > /tmp/bug-resource-agents | |
echo "$PRE" >> /tmp/bug-resource-agents |
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> | |
<script type="text/template"> | |
## Page title | |
A paragraph with some text and a [link](http://hakim.se). | |
</script> | |
</section> | |
<section data-markdown> | |
<script type="text/template"> | |
## Otra pagina |
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> | |
<h2>Broadcasting Your</h3> | |
<h1>Reveal.js</h1> | |
<h2>Slideshow Presentations</h2> | |
</section> | |
<section> | |
Balbalblab | |
</section> |
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 class="" data-id="c6f4a3adfec9442f0c5176bee6c3ecc3"> | |
<h1>Monitorización automatizada</h1> | |
<div>presentacion</div> | |
</section> | |
<section class="" data-id="fde3a8402e73af2183265cb6f68d0098"> | |
<h2>Puppet</h2> | |
<div> | |
<br> | |
</div> | |
<div>blabl</div> |
OlderNewer