This file contains hidden or 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
blkfront: xvdd: barriers enabled | |
xvdd: unknown partition table | |
XENBUS: Device with no driver: device/console/0 | |
md: Waiting for all devices to be available before autodetect | |
md: If you don't use raid, use raid=noautodetect | |
md: Autodetecting RAID arrays. | |
md: Scanned 0 and added 0 devices. | |
md: autorun ... | |
md: ... autorun DONE. | |
EXT3-fs: barriers not enabled |
This file contains hidden or 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
# Easily calculate mean and standard distribution of a distribution without | |
# collecting all values in memory | |
# | |
class Distribution | |
def initialize | |
@n, @sum_x, @sum_x_2 = 0, 0, 0 | |
@min, @max = nil, nil | |
end | |
def <<(x) |
This file contains hidden or 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/sh | |
### BEGIN INIT INFO | |
# Provides: nginx | |
# Required-Start: $local_fs $remote_fs $network $syslog | |
# Required-Stop: $local_fs $remote_fs $network $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: starts the nginx web server | |
# Description: starts nginx using start-stop-daemon |
This file contains hidden or 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/sh | |
echo '' | |
echo ' .__ ' | |
echo ' ______ __ __ _____| |__ ___________ ' | |
echo ' \____ \| | \/ ___/ | \_/ __ \_ __ \ ' | |
echo ' | |_> > | /\___ \| Y \ ___/| | \/ ' | |
echo ' | __/|____//____ >___| /\___ >__| ' | |
echo ' |__| \/ \/ \/ ' | |
echo '' |
This file contains hidden or 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
class common::editors { | |
apt::package { "emacs23-nox" : ensure => installed } | |
apt::package { "nano" : ensure => installed } | |
apt::package { "vim" : ensure => installed } | |
} |
This file contains hidden or 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@balancer:~# puppetd --server operations.Boomer.local --test | |
info: Creating a new SSL key for balancer.boomer.local | |
warning: peer certificate won't be verified in this SSL session | |
info: Caching certificate for ca | |
warning: peer certificate won't be verified in this SSL session | |
warning: peer certificate won't be verified in this SSL session | |
info: Caching certificate_request for balancer.boomer.local | |
warning: peer certificate won't be verified in this SSL session | |
warning: peer certificate won't be verified in this SSL session | |
Exiting; no certificate found and waitforcert is disabled |
This file contains hidden or 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: access[^/catalog/([^/]+)$]: allowing 'method' find | |
info: access[^/catalog/([^/]+)$]: allowing $1 access | |
info: access[/certificate_revocation_list/ca]: allowing 'method' find | |
info: access[/certificate_revocation_list/ca]: allowing * access | |
info: access[/report]: allowing 'method' save | |
info: access[/report]: allowing * access | |
info: access[/file]: allowing * access | |
info: access[/certificate/ca]: adding authentication no | |
info: access[/certificate/ca]: allowing 'method' find | |
info: access[/certificate/ca]: allowing * access |
This file contains hidden or 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@ubuntu:/# puppetd --server puppet.example.com --waitforcert 60 --test | |
info: Retrieving plugin | |
err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': undefined method `closed?' for nil:NilClass | |
err: /File[/var/lib/puppet/lib]: Failed to retrieve current state of resource: undefined method `closed?' for nil:NilClass Could not retrieve file metadata for puppet://puppet.example.com/plugins: undefined method `closed?' for nil:NilClass | |
err: Could not retrieve catalog from remote server: undefined method `closed?' for nil:NilClass | |
warning: Not using cache on failed catalog | |
err: Could not retrieve catalog; skipping run |
This file contains hidden or 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
{ | |
"disclaimer":"This code and data form part of the BBC iPlayer content protection system. Tampering with, | |
removal of, | |
misuse of, | |
or unauthorised use of this code or data constitutes circumvention of the BBC's content protection measures and may result in legal action. BBC (C) 2010.", | |
"media": | |
[ | |
{ | |
"width":"1280", |
This file contains hidden or 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
def cookies | |
@cookies ||= ActionController::CookieJar.new(self) | |
end |