Skip to content

Instantly share code, notes, and snippets.

View edude03's full-sized avatar

Michael Francis edude03

View GitHub Profile
from __future__ import with_statement
from fabric.api import *
from fabric.contrib.console import confirm
from fabric.operations import prompt
import os, sys
env.user = 'root'
def set_roles():
_hosts = dict()
coreos:
etcd:
discovery: https://discovery.etcd.io/<token>
addr: $private_ipv4:4001
peer_addr: $private_ipv4:7001
units:
- name: etcd.service
command: start
- name: fleet.service
command: start
-- Logs begin at Thu 2014-06-26 18:55:55 UTC, end at Mon 2014-06-30 15:39:11 UTC. --
Jun 30 15:27:15 core3.c.bionic-factor-608.internal docker[6650]: 2014-06-30 09:27:15 [6562] [INFO] Worker exiting (pid: 6562)
Jun 30 15:27:15 core3.c.bionic-factor-608.internal docker[6650]: 2014-06-30 09:27:15 [6563] [INFO] Worker exiting (pid: 6563)
Jun 30 15:27:15 core3.c.bionic-factor-608.internal docker[6650]: 2014-06-30 09:27:15 [6564] [INFO] Worker exiting (pid: 6564)
Jun 30 15:27:15 core3.c.bionic-factor-608.internal docker[6650]: 2014-06-30 09:27:15 [6565] [INFO] Worker exiting (pid: 6565)
Jun 30 15:27:15 core3.c.bionic-factor-608.internal docker[6650]: 2014-06-30 09:27:15 [7522] [INFO] Booting worker with pid: 7522
Jun 30 15:27:15 core3.c.bionic-factor-608.internal docker[6650]: 2014-06-30 09:27:15 [7523] [INFO] Booting worker with pid: 7523
Jun 30 15:27:20 core3.c.bionic-factor-608.internal docker[6650]: 2014-06-30 09:27:20 [77] [INFO] Handling signal: hup
Jun 30 15:27:20 core3.c.bionic-factor-608.internal docker[6
public sealed class EventAggregator
{
public static readonly EventAgregator Instance = new EventAggregator();
private EventAggregator
{
}
public event EventHandler PlayerDied;
@edude03
edude03 / routes.php
Created December 23, 2011 16:18 — forked from nateabele/routes.php
<?php
/**
* Continuation routing examples. Handles URLs in the following forms:
*
* /posts
* /en/posts
* /admin/posts
* /admin/en/posts
* /admin/en/posts.json
* /admin/en/posts/4ef16ccc7f8b9aa331000064.json
@edude03
edude03 / -
Created October 5, 2015 18:54
CFArray.h
CFAttributedString.h
CFAvailability.h
CFBag.h
CFBase.h
CFBinaryHeap.h
CFBitVector.h
CFBundle.h
CFByteOrder.h
CFCalendar.h
(function() {
window.DS = Ember.Namespace.create({
// this one goes to 11
CURRENT_API_REVISION: 11
});
})();
// Version: v1.0.0-pre.2-370-g6a165ad
// Last commit: 6a165ad (2013-01-10 15:58:36 -0800)
(function() {
/*global __fail__*/
/**
Ember Debug
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/HEAD/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'node-inspector' ]
2 info using npm@1.3.4
3 info using node@v0.11.5-pre
4 verbose cache add [ 'node-inspector', null ]
5 verbose cache add name=undefined spec="node-inspector" args=["node-inspector",null]
//Create a function in which this demo will run.
(function() {
//The contructor for the dog class
function Dog() {}
//The "defaults" for the dog
Dog.prototype = {
//Define a default state for the dog
_state: "Sitting",