This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from __future__ import (absolute_import, division, print_function) | |
__metaclass__ = type | |
import base64 | |
from ansible.plugins.connection.ssh import Connection as SSHConnection | |
DOCUMENTATION = ''' | |
connection: packer | |
short_description: ssh based connections for powershell via packer | |
description: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@load base/frameworks/sumstats | |
@load base/utils/site | |
redef udp_content_deliver_all_orig = T; | |
redef udp_content_deliver_all_resp = T; | |
module BW; | |
global temp : set[string]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Drawing; | |
using System.Globalization; | |
public class ColorGenerator | |
{ | |
// Color values taken from http://stackoverflow.com/a/309193 | |
private static string[] ColourValues = new string[] { | |
"FF0000", "00FF00", "0000FF", "FFFF00", "FF00FF", "00FFFF", "000000", | |
"800000", "008000", "000080", "808000", "800080", "008080", "808080", | |
"C00000", "00C000", "0000C0", "C0C000", "C000C0", "00C0C0", "C0C0C0", |