Skip to content

Instantly share code, notes, and snippets.

View d0ugal's full-sized avatar
👋
Hi!

Dougal Matthews d0ugal

👋
Hi!
View GitHub Profile
```
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1
owGbwMvMwMTI//RRW+DPrYyMpw88S2IIlpy6oFopKT+lUsmqWik7FUylZealpxYV
FGXmlShZKZkZJVmkWpoZJhmbpRlYGqeYGCcbJ5kaJicaGSUlJVsmGlkapxmkmBsr
6Shl5BeDdACNSUosTtXLzAeKATnxmSlAUUcjIycnZ0tHoHo3Axew+lKwREqqmVmi
QZKpgZmRQVJikklSqnmKUVpKYqJpsrmxhYEBSGFxalFeYm4qSHV+aXpijlKtjhJQ
rCwzORXkYqhcemZJRmkSmnoDmPqSygKQQHlqUjxUa3xSZl4K0LNAHWWpRcWZ+XlK
VoZAlcklmSC9hsaWJoYWpmbGRjpKqRUFmUWp8ZkgFabmZkBnGRjoKBUUpZYBjUw0
#!/bin/bash -xe
yum install -y git screen
useradd -g wheel instack
./tripleo/scripts/fedora-prep instack
su instack <<'EOF'
#!/bin/bash -xe
yum install -y git screen
useradd -g wheel instack
git clone https://github.com/rbrady/tripleo.git
./tripleo/scripts/fedora-prep instack
su instack <<'EOF'
>>> import decimal
>>> decimal.Decimal('3.5').quantize(decimal.Decimal('1'), rounding=decimal.ROUND_HALF_EVEN)
Decimal('4')
>>> decimal.Decimal('4.5').quantize(decimal.Decimal('1'), rounding=decimal.ROUND_HALF_EVEN)
Decimal('4')
Discovering developer habits with OpenStack code review data
------------------------------------------------------------
What time of day are you most productive? How long does it take
for a review to get merged after it has been submitted? Is the
number of people reviewing each patch increasing or decreasing
over time? Do some reviewers or companies favour specific
developers?
Those are some of the questions this talk aims to answer. Given
Hey all,
tl;dr - Get your ticket: https://pythonglasgow-dojo-october-2014.eventbrite.co.uk/
Next month we are running another Dojo! Twig are graciously hosting
us again and will be providing pizza, beer and soft drinks. The
office address is:
4th Floor
14 North Claremont Street
wget \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/SHA256SUMS \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/deploy-ramdisk-ironic.initramfs \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/deploy-ramdisk-ironic.kernel \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/discovery-ramdisk.initramfs \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/discovery-ramdisk.kernel \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/fedora-user.qcow2 \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/overcloud-cinder-volume.initrd \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/overcloud-cinder-volume.qcow2 \
http://file.rdu.redhat.com/~jslagle/tripleo-images-juno-source/overcloud-cinder-volume.vmlinuz \

An example document

This is trimmed down to show the relevant bits, but if you want to see the full document, it's below...

{
    "_number": 97628,
    "_sortkey": "002eab7100017d5c",
    "branch": "master",

"change_id": "Ibb86b0b237b3d73a145733bc88dbc18dddbc20f5",

// CSS
@media (min-width: 992px) {
.headerfix, h1[id]:before, h2[id]:before, h3[id]:before, h4[id]:before, h5[id]:before, h6[id]:before {
content: "";
display: block;
margin-top: -75px;
height: 75px;
}
}
DEFAULTS = {
'title': None,
'output': 'build',
'strict': False,
}
VALIDATORS = {
'title': must_be(str, required=True),
'output': path_validator(exists=True, directory=True, file=False)
'title': must_be(bool, required=True),