I hereby claim:
- I am ianunruh on github.
- I am ianunruh (https://keybase.io/ianunruh) on keybase.
- I have a public key whose fingerprint is 1FBD D5AA 1B08 7B07 323C B0A9 FB39 D5CA 4CBD 3A67
To claim this, I am signing this object:
/* global require, module */ | |
var EmberApp = require('ember-cli/lib/broccoli/ember-app'); | |
module.exports = function(defaults) { | |
var app = new EmberApp(defaults, { | |
// Add Bootstrap to Sass include path | |
sassOptions: { | |
includePaths: [ | |
'bower_components/bootstrap-sass/assets/stylesheets' | |
] |
I hereby claim:
To claim this, I am signing this object:
require 'redis' | |
require 'set' | |
class RedisTransaction | |
def initialize(redis) | |
@redis = redis | |
@watch_keys = Set.new | |
@preconditions = [] | |
@executions = [] | |
end |
from pysphere import VIServer, VITask | |
from pysphere.resources import VimService_services as VI | |
server = VIServer() | |
server.connect('HOST', 'USER', 'PASSWORD') | |
vm = server.get_vm_by_name('VM_NAME') | |
backing = VI.ns0.VirtualSerialPortPipeBackingInfo_Def('VirtualSerialPortPipeBackingInfo').pyclass() | |
backing.Endpoint = 'PIPE_NAME' |
package main | |
import ( | |
"net/http" | |
"github.com/go-martini/martini" | |
"github.com/martini-contrib/encoder" | |
"github.com/martini-contrib/strict" | |
) |
#!/bin/bash | |
DATA_PATH=/tmp/sharded-cluster | |
HOSTNAME=$(hostname -f) | |
killall mongod > /dev/null 2>&1 | |
killall mongos > /dev/null 2>&1 | |
rm -rf $DATA_PATH | |
mkdir -p $DATA_PATH/rs{0,1}{a,b,c} |
#!/usr/bin/env python | |
from argparse import ArgumentParser, RawTextHelpFormatter | |
import os | |
import sys | |
import keystoneclient.v2_0 | |
import neutronclient.v2_0.client | |
NEUTRON_ROUTER_FORMAT = '{}-router' | |
NEUTRON_NETWORK_FORMAT = '{}-network' |
#ps1_sysnative | |
$domain = "YOURDOMAIN" | |
$password = "YOURPASSWORD" | ConvertTo-SecureString -asPlainText -Force | |
$username = "$domain\Administrator" | |
$credential = New-Object System.Management.Automation.PSCredential($username,$password) | |
Add-Computer -DomainName $domain -Credential $credential |
The L3 agent provided with Neutron uses the Linux networking stack to perform L3 forwarding and NAT between tenant networks and external networks. Before the Juno release of OpenStack, the L3 agent could only be made highly available using Pacemaker (active/passive). It could not be scaled out natively. However, in the Juno release, the concept of distributed routing was introduced. With distributed routing enabled, the L3 agent will on all the compute nodes and on a centralized "service" node.
On the compute nodes, the L3 agent provides NAT for instances that are associated with a floating IP address. This means that ingress traffic (traffic from external to tenant networks) capacity scales out with each additional compute node. It also means that when an instance is migrated off of a compute node (because of maintenance or failure), the floating IP address will be moved to the new compute node.
On the service nodes, the L3 agent provides NAT for egress traffic (
import com.trolltech.qt.core.QModelIndex; | |
import com.trolltech.qt.gui.*; | |
public class RecursiveSortFilterProxyModel extends QSortFilterProxyModel { | |
protected boolean filterAcceptsRow(int row, QModelIndex parent) { | |
if(super.filterAcceptsRow(row, parent)) { | |
return true; | |
} | |
QStandardItemModel model = (QStandardItemModel)sourceModel(); |