WARNING: IRC notifier plugin couldn't authenticate against Hudson: org.acegisecurity.BadCredentialsException: Unexpected authentication type: org.acegisecurity.providers.UsernamePasswordAuthenticationToken@cf61c327: Username: hal; Password: [PROTECTED]; Authenticated: false; Details: null; Not granted any authorities
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
// Copyright 2005-2010 Canonical Limited. All rights reserved. | |
var LANDSCAPE_YUI_CONFIG = { | |
filter: "min", | |
base: "/static/yui/" | |
}; | |
// If Javascript debugging is enabled, configure the YUI loader to use | |
// the debug versions of the Javascript files. |
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
/* Overlay Look/Feel */ | |
.yui3-overlay-content { | |
padding:2px; | |
border:1px solid #000; | |
background-color:#aaa; | |
font-size:93%; | |
} | |
.yui3-overlay-content .yui3-widget-hd { | |
font-weight:bold; |
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
// Works. Logs 'click'. | |
YUI().use("event", "node", "node-event-simulate", function(Y){ | |
var node = Y.one(".item"); | |
node.on("foo|click", function() { | |
console.log("clicked"); | |
}); | |
node.simulate("click"); | |
node.detach("foo|click"); | |
node.simulate("click"); | |
}); |
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
import os | |
import sys | |
import select | |
import time | |
import fcntl | |
#from multiprocessing import Pipe | |
from billiard import Pipe | |
parent, child = Pipe() |
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
machines: | |
0: | |
agent-state: running | |
dns-name: 10.55.63.161 | |
instance-id: 16104caa-c963-45a0-9be7-03c7be6cd631 | |
instance-state: running | |
1: | |
agent-state: running | |
dns-name: 10.55.63.54 | |
instance-id: e06c6bdd-80ab-47d3-973c-18bf5c27a0a0 |
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
# Using lvm thin provisioning, per https://github.com/lxc/lxc/pull/67 | |
# First we create a volume group to hold the thin pool | |
$ sudo vgcreate lxc /dev/sde3 | |
# Then create a thin-pool named 'tp' within that volume group | |
$ sudo lvcreate -l 90%VG --type thin-pool --thinpool tp lxc |
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
$ sudo fallocate -l 6G /tmp/lxc | |
$ sudo losetup -f /tmp/lxc | |
$ sudo pvcreate /dev/loop0 | |
$ sudo vgcreate lxc /dev/loop0 | |
$ sudo lvcreate -l 95%FREE --type thin-pool --thinpool lxc lxc | |
$ sudo lvs | |
LV VG Attr LSize Pool Origin Data% Move Log Copy% Convert | |
lxc lxc twi-a-tz- 5.70g 0.00 |