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
16:37:49.594205 IP6 2a01:4f8:11a:b01::1 > 2a01:4f8:11a:b00::2: ICMP6, echo request, seq 1, length 64 | |
16:37:49.594261 IP6 2a01:4f8:11a:b00::2 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2a01:4f8:11a:b00::2, length 32 | |
16:37:50.590832 IP6 2a01:4f8:11a:b00::2 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2a01:4f8:11a:b00::2, length 32 | |
16:37:51.590829 IP6 2a01:4f8:11a:b00::2 > ff02::1:ff00:2: ICMP6, neighbor solicitation, who has 2a01:4f8:11a:b00::2, length 32 | |
16:37:54.605739 IP6 fe80::5054:ff:fe5a:d830 > 2a01:4f8:11a:b00::2: ICMP6, neighbor solicitation, who has 2a01:4f8:11a:b00::2, length 32 | |
16:37:54.605774 IP6 2a01:4f8:11a:b00::2 > fe80::5054:ff:fe5a:d830: ICMP6, neighbor advertisement, tgt is 2a01:4f8:11a:b00::2, length 24 | |
16:37:59.610834 IP6 fe80::5054:ff:fe13:39d5 > fe80::5054:ff:fe5a:d830: ICMP6, neighbor solicitation, who has fe80::5054:ff:fe5a:d830, length 32 | |
16:37:59.611026 IP6 fe80::5054:ff:fe5a:d830 > fe80::5054:ff:fe13:39d5: ICMP6, neighbor advertisement, tgt is fe80::5054:ff:fe5 |
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
<network> | |
<name>internet</name> | |
<uuid>37b888cc-510f-46f1-9246-346da96222ed</uuid> | |
<forward dev='enp5s0f0' mode='route'> | |
<interface dev='enp5s0f0'/> | |
</forward> | |
<bridge name='virbr1' stp='on' delay='0'/> | |
<mac address='52:54:00:13:39:d5'/> | |
<ip family='ipv6' address='2a01:4f8:11a:b00::2' prefix='64'> | |
</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
extract () { | |
if [ -f $1 ] ; then | |
case $1 in | |
*.tar.bz2) tar xvjf $1 && cd $(basename "$1" .tar.bz2) ;; | |
*.tar.gz) tar xvzf $1 && cd $(basename "$1" .tar.gz) ;; | |
*.tar.xz) tar Jxvf $1 && cd $(basename "$1" .tar.xz) ;; | |
*.bz2) bunzip2 $1 && cd $(basename "$1" /bz2) ;; | |
*.rar) unrar x $1 && cd $(basename "$1" .rar) ;; | |
*.gz) gunzip $1 && cd $(basename "$1" .gz) ;; | |
*.tar) tar xvf $1 && cd $(basename "$1" .tar) ;; |
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
LABEL archrescue | |
MENU LABEL Arch Linux Live Rescue | |
KERNEL http://10.30.7.40/archrescue/arch/boot/x86_64/vmlinuz | |
INITRD http://10.30.7.40/archrescue/arch/boot/x86_64/intel_ucode.img | |
INITRD http://10.30.7.40/archrescue/arch/boot/x86_64/archiso.img | |
APPEND archiso_http_srv=http://10.30.7.40/archrescue/ archisobasedir=arch checksum=y nomodeset quiet systemd.mask=systemd-machine-id-commit systemd.mask=systemd-tmpfiles-setup systemd.mask=ldconfig | |
SYSAPPEND 3 |
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
# This basically tests that Puppet works. | |
describe 'foo' do | |
let(:params) { :param => 'somevalue' } | |
it do | |
should contain_file('bar').with({ | |
:ensure => present, | |
:owner => root, | |
:group => root, | |
:mode => 0644, |
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
host03 ~ # /etc/init.d/archipel restart | |
* Stopping Archipel: [OK] | |
* Starting Archipel: [OK] | |
host03 ~ # tail /var/log/archipel/archipel.log -n 1 | |
WARNING ::2012-11-15 20:32:18::utils.py:68::TNArchipelHypervisor.connect_xmpp (admin@host03.bastelfreak.org/host03.bastelfreak.org)::Unable to connect to XMPP server. Waiting 5 seconds for reconnection | |
host03 ~ # egrep "hypervisor_xmpp_jid|hypervisor_name" /etc/archipel/archipel.conf | |
hypervisor_xmpp_jid = admin@%(xmpp_server)s | |
hypervisor_name = bastel-test | |
host03 ~ # |
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
host03 ~ # tail /var/log/archipel/archipel.log -n 1 | |
WARNING ::2012-11-15 20:12:15::utils.py:68::TNArchipelHypervisor.connect_xmpp (admin@host03.bastelfreak.org/host03.bastelfreak.org)::Unable to connect to XMPP server. Waiting 5 seconds for reconnection | |
host03 ~ # grep xmpp_server /etc/archipel/archipel.conf | |
xmpp_server = host03.bastelfreak.org | |
xmpp_pubsub_server = pubsub.%(xmpp_server)s | |
archipel_root_admins = admin@%(xmpp_server)s | |
hypervisor_xmpp_jid = admin@%(xmpp_server)s | |
xmlrpc_host = %(xmpp_server)s | |
host03 ~ # |
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
UPDATE | |
`media_movies` | |
SET | |
`media_movies`.`tmdb_id` = '86838' , | |
`media_movies`.`release` = '2012-10-12' , | |
`media_movies`.`average_vote` = '6.2' , | |
`media_movies`.`original_title` = 'Seven Psychopaths' , | |
`media_movies`.`poster_path` = 'http://image.tmdb.org/t/p/w500/3Zs6Ne6QAEOzQRz85VToH8ml6ab.jpg' | |
WHERE | |
`media_movies`.`title` = '7 Psychos'; |
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 | |
get_html_title (){ | |
curl --silent "${1}" | awk -vRS="</title>" '/<title>/{gsub(/.*<title>|\n+/,"");print;exit}' | |
} | |
get_html_title $1 |
NewerOlder