I hereby claim:
- I am cschwede on github.
- I am cschwede (https://keybase.io/cschwede) on keybase.
- I have a public key whose fingerprint is FB91 C2E5 7998 CDF0 A9AE 3812 A472 A5CF 04CC 6B74
To claim this, I am signing this object:
import logging | |
import json | |
import threading | |
import Queue | |
import argparse | |
import sys | |
from os import environ | |
from swiftclient import client |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env python | |
# Copyright (c) 2014 Christian Schwede <[email protected]> | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
<!DOCTYPE html> | |
<html> | |
<head> | |
<link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css"> | |
</head> | |
<body> | |
<div ng-app=""> | |
<div ng-controller="containerController"> | |
<div class="container"> |
import pprint | |
import sys | |
from swift.common.ring import RingBuilder | |
builder = RingBuilder.load(sys.argv[1]) | |
ring = builder.to_dict() | |
pp = pprint.PrettyPrinter(indent=4) | |
pp.pprint(ring) |
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>Logitech Presenter for Preview</name> | |
<identifier>private.logitech_presenter_preview</identifier> | |
<only>PREVIEW</only> | |
<autogen>__KeyToKey__ KeyCode::PAGEDOWN, KeyCode::CURSOR_RIGHT</autogen> | |
<autogen>__KeyToKey__ KeyCode::PAGEUP, KeyCode::CURSOR_LEFT</autogen> | |
<autogen>__KeyToKey__ KeyCode::F5, KeyCode::F, ModifierFlag::CONTROL_L | ModifierFlag::COMMAND_L</autogen> | |
<autogen>__KeyToKey__ KeyCode::DOT, ConsumerKeyCode::EJECT, ModifierFlag::SHIFT_L | ModifierFlag::CONTROL_L</autogen> |
[[local|localrc]] | |
ADMIN_PASSWORD=secret | |
DATABASE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=91bb6245-11f7-411f-8f57-9ffec9019c8a | |
disable_all_services | |
enable_service key mysql s-proxy s-object s-container s-account | |
SWIFT_HASH=changeme |
#!/usr/bin/env python | |
import argparse | |
import json | |
import requests | |
import sys | |
def status(ok, last=False): | |
if ok: | |
sys.stdout.write('+') |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# http://softwarefactory-project.io/docs/contribute.html#prepare-a-development-environment | |
Vagrant.configure(2) do |config| | |
config.vm.box = "http://cloud.centos.org/centos/7/vagrant/x86_64/images/CentOS-7.box" | |
config.vm.network "forwarded_port", guest: 80, host: 8080 | |
config.vm.network "forwarded_port", guest: 29418, host: 29418 |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
Vagrant.configure(2) do |config| | |
config.ssh.forward_agent = true | |
config.vm.box = "centos7" | |
config.vm.box_url = "http://cloud.centos.org/centos/7/vagrant/x86_64/images/CentOS-7.box" |