Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am flaper87 on github.
  • I am flaper87 (https://keybase.io/flaper87) on keybase.
  • I have a public key whose fingerprint is 7289 7B2A 8168 4AD4 A9FE A9FC 9AF6 50FA 861A 38B3

To claim this, I am signing this object:

###############################################################################
# Role: Standalone #
###############################################################################
- name: Standalone
description: |
EXPERIMENTAL. A standalone role that a minimal set of services.
This can be used for testing in a single node configuration with the
'openstack tripleo deploy --standalone' command.
CountDefault: 1
tags:
#~/bin/sh
set -x
sudo yum -y install git curl vim-enhanced telnet epel-release ruby rubygems yum-plugins-priorities deltarpm
sudo yum -y install python-setuptools python-requests
# Install openshift repos and ansible.modules-kubernetes
sudo yum install -y centos-release-openshift-origin
sudo curl https://copr.fedorainfracloud.org/coprs/g/ansible-service-broker/ansible-service-broker-latest/repo/epel-7/group_ansible-service-broker-ansible-service-broker-latest-epel-7.repo -o /etc/yum.repos.d/asb.repo
# put this in /home/stack/tripleo-common/contrib/
uploads:
- imagename: tripleoupstream/heat-docker-agents:mitaka
uploader: docker
pull_source: docker.io
push_destination: localhost:8787
- imagename: tripleoupstream/centos-binary-nova-compute:mitaka
uploader: docker
pull_source: docker.io
push_destination: localhost:8787
#!/bin/sh
## Set a decent keyboard layout..
setxkbmap -layout us -variant altgr-intl &
amixer -c 0 sset "Auto-Mute Mode" Disabled
xinput set-button-map "SynPS/2 Synaptics TouchPad" 1 2 3 5 4
# Gnome stuff..
#gnome-settings-daemon & # handles themes, starts gnome-screensaver. You may have to use gconf to disable it setting the background.
### Keybase proof
I hereby claim:
* I am flaper87 on github.
* I am flaper87 (https://keybase.io/flaper87) on keybase.
* I have a public key whose fingerprint is 59F0 8A31 D7DB BD8D 3BC7 4B20 CE03 2311 5EBE 5FA8
To claim this, I am signing this object:
use std::kinds::marker;
struct Foo {
foo: int,
nopod: marker::NoPod
}
static BAR: Foo = Foo{foo: 5, nopod: marker::NoPod};
use std::io;
fn echo<T>(x:T) { io::println(format!("{}", x)); }
pub trait OpInt<'a> { fn call(&'a self, int, int) -> int; }
impl<'a> OpInt<'a> for &'a |int, int| -> int {
fn call(&self, a:int, b:int) -> int {
echo("I dont wanna die!");
(*self)(a, b)
#0 0x00007ffff7997830 in rust_fail () from /home/flaper87/workspace/personal/rust/x86_64-unknown-linux-gnu/stage1/bin/../lib/libstd-966edb7e-0.10-pre.so
#1 0x00007ffff78f71c7 in rt::unwind::Unwinder::begin_unwind::h6b5c4ebf9ad30390QDa8::v0.10.pre () from /home/flaper87/workspace/personal/rust/x86_64-unknown-linux-gnu/stage1/bin/../lib/libstd-966edb7e-0.10-pre.so
#2 0x00007ffff423ccda in rt::unwind::begin_unwind::hec1abfddebb3c9c5az::v0.10.pre () from /home/flaper87/workspace/personal/rust/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc-0d83f02f-0.10-pre.so
#3 0x00007ffff468f870 in middle::region::RegionMaps::encl_scope::h0248960ab61f85d8gGaH::v0.10.pre ()
from /home/flaper87/workspace/personal/rust/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc-0d83f02f-0.10-pre.so
#4 0x00007ffff43d0a67 in middle::region::RegionMaps::temporary_scope::ha152409d2a96101egGaM::v0.10.pre ()
from /home/flaper87/workspace/personal/rust/x86_64-unknown-linux-gnu/stage1/bin/../lib/librustc-0d83f02f-0.10-pre.so
#5 0
fn main() {
mod t {
enum E {V=1, A=0}
static C: E = V;
}
}