text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```smalltalk
using System;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Path
{
[XmlAttribute("Path")]
public string Value { get; set; }
public static implicit operator String(Path path)
{
return path.Value;
}
... | /content/code_sandbox/LabXml/Lab/Path.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 153 |
```smalltalk
using System;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class Domain
{
private string name;
[XmlAttribute]
public string Name
{
get { return name; }
set { name = value; }
}
private Us... | /content/code_sandbox/LabXml/Lab/Domain.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 178 |
```smalltalk
using System;
using System.Collections.Generic;
using AutomatedLab.Azure;
namespace AutomatedLab
{
[Serializable]
public class AzureSettings
{
private List<AzureSubscription> subscriptions;
private AzureSubscription defaultSubscription;
private string azureRmProfilePath... | /content/code_sandbox/LabXml/Lab/AzureConfiguration.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,101 |
```smalltalk
using System;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class VMWareConfiguration
{
private string dataCenterName;
private string dataStoreName;
private string resourcePoolName;
private string clusterName;
private str... | /content/code_sandbox/LabXml/Lab/VMWareConfiguration.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 426 |
```smalltalk
using System;
namespace AutomatedLab.Azure
{
[Serializable]
public class AzureOSImage : CopiedObject<AzureOSImage>
{
public string Id { get; set; }
public string Location { get; set; }
public string Offer { get; set; }
public string PublisherName { get; set; }
... | /content/code_sandbox/LabXml/Azure/AzureOSImage.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 4,163 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Linq;
namespace AutomatedLab
{
[Serializable]
public class Sources
{
private List<IsoImage> isos;
private Path unattendedXml;
public List<IsoImage> ISOs
{
g... | /content/code_sandbox/LabXml/Lab/Lab.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,441 |
```smalltalk
using System;
using System.IO;
using System.Xml.Serialization;
using Microsoft.Win32;
namespace AutomatedLab
{
[Serializable]
public class XmlStore<T> : ICloneable where T : class
{
public void ExportToRegistry(string keyName, string valueName)
{
var serializer = ne... | /content/code_sandbox/LabXml/Stores/XmlStore.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 705 |
```smalltalk
using System;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class ListXmlStore<T> : SerializableList<T>
{
public byte[] Export()
{
var serializer = new XmlSerializer(typeof(ListXmlStore<T>));
... | /content/code_sandbox/LabXml/Stores/ListXmlStore.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 886 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Linq;
namespace AutomatedLab
{
[XmlRoot("List", Namespace = "")]
public class SerializableList<T>
: List<T>, IXmlSerializable
{
List<string> builtinProperties = new List<string>() { "Ca... | /content/code_sandbox/LabXml/Stores/SerializableList.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 512 |
```smalltalk
using System;
using System.Collections;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Linq;
namespace AutomatedLab
{
[XmlRoot("dictionary")]
public class SerializableDictionary<TKey, TValue>
: Dictionary<TKey, TValue>, IXmlSerializable
{
List<st... | /content/code_sandbox/LabXml/Stores/SerializableDictionary.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 831 |
```smalltalk
using System;
using System.Collections;
using System.IO;
using System.Text;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class DictionaryXmlStore<TKey, TValue> : SerializableDictionary<TKey, TValue>
{
public DictionaryXmlStore()
{ }
pu... | /content/code_sandbox/LabXml/Stores/DictionaryXmlStore.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 845 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security;
namespace AutomatedLab
{
static class Extensions
{
public delegate TOut Action2<TIn, TOut>(TIn element);
public static IEnumerable<TOut> ForEach<TIn, TOut>(this IEnumerable<TIn> source, Actio... | /content/code_sandbox/LabXml/Extensions/Extensions.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 441 |
```smalltalk
using AutomatedLab;
using LabXml;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
public class ValidatorBase : IValidate
{
protected ValidationMessageContainer messageContainer;
protected static Hashtable validat... | /content/code_sandbox/LabXml/Validator/ValidatorBase.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 355 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
using System.Xml;
namespace AutomatedLab
{
public class XmlValidator : ValidatorBase
{
protected List<XmlDocument> docs = new List<XmlDocument>();
public XmlValidator(string xmlPath, bool loadAdditionalXmlFiles = true)
{... | /content/code_sandbox/LabXml/Validator/XmlValidator.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 211 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
namespace AutomatedLab
{
public class LabValidator : ValidatorBase, IValidate
{
private List<XmlDocument> docs = new List<XmlDocument>();
protected ... | /content/code_sandbox/LabXml/Validator/LabValidator.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 255 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
namespace AutomatedLab
{
public class ValidationMessage
{
public MessageType Type { get; set; }
public string Message { get; set; }
public string ValueName ... | /content/code_sandbox/LabXml/Validator/ValidationMessage.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 802 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class RoutingRoleNotSupportedOnAzure : Lab... | /content/code_sandbox/LabXml/Validator/Routing/RoutingRoleNotSupportedOnAzure.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 207 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class RoutingMachineHasAtLeastTwoNetworkCa... | /content/code_sandbox/LabXml/Validator/Routing/RoutingMachineHasAtLeastTwoNetworkCards.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 226 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Report all disks that are assigned more than once.
/// </summary>
public class DiskAssignedMultipleTimes : LabValidator, IValidate
{
public DiskAssignedMultipleTimes()
{
... | /content/code_sandbox/LabXml/Validator/Disks/DiskAssignedMultipleTimes.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 175 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator creates an error if a machine's name is longer than 15 characters.
/// </summary>
public class DomainWithTooLongName : LabValidator, IValidate
{
public DomainWithTooLo... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DomainWithTooLongName.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 169 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator check if there is only one RootDC / FirstChildDC per domain defined.
/// </summary>
public class DuplicateDomainRoles :... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DuplicateDomainRoles.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 407 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Print one error for each machine that is in an undefined domain
/// </summary>
public class MachineInAnUndefinedDomain : LabValidator,... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/MachineInAnUndefinedDomain.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 191 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// The local admin's passwords must match the domain admin's credentials on a machine promoted to a RootDC of FirstChildDC
/// </summary>
... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/InvalidDomainCredentials.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 383 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Reports all defined domains which do not have any member machine
/// </summary>
public class EmptyDomains : LabValidator, IValidate
... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/EmptyDomains.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 190 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator informs about all defined domains.
/// </summary>
public class DomainInformation : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DomainInformation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 139 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Print one error for each machine that is in an undefined domain
/// </summary>
public class DoaminHasNoRootOrFirstChildDC : LabValidat... | /content/code_sandbox/LabXml/Validator/ActiveDirectory/DoaminHasNoRootOrFirstChildDC.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 273 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, som... | /content/code_sandbox/LabXml/Validator/HyperV/HyperVWrongRoleSize.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 424 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
/// </summary>
public class HyperVWrongOs : LabValidat... | /content/code_sandbox/LabXml/Validator/HyperV/HyperVWrongOs.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 222 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator informs about all defined machines.
/// </summary>
public class MachineInformation : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Machines/MachineInformation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 139 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator informs about all roles defined in the lab.
/// </summary>
public class MachineRoleInformation : LabValid... | /content/code_sandbox/LabXml/Validator/Machines/MachineRoleInformation.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 198 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator creates an error if a machine's name is longer than 15 characters.
/// </summary>
public class MachineWithTooLongName : LabValidator, IValidate
{
public MachineWithToo... | /content/code_sandbox/LabXml/Validator/Machines/MachineWithTooLongName.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 165 |
```smalltalk
using System.Collections.Generic;
namespace AutomatedLab
{
/// <summary>
/// This validator creates an error if no machine is defined in the lab.
/// </summary>
public class NoMachinesDefined : LabValidator, IValidate
{
public NoMachinesDefined()
{
messageCo... | /content/code_sandbox/LabXml/Validator/Machines/NoMachinesDefined.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 139 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for duplicate machine names inside a lab.
/// </summary>
public class DuplicateMachineNames : LabValidator, IValidate
{
public DuplicateMachineNames()
{
... | /content/code_sandbox/LabXml/Validator/Machines/DuplicateMachineNames.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 164 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for Hyper-V machine that have more than 8 network adapters and reports errors.
/// </summary>
public class HypervDoesSupportMax8NetworkAdapters : LabValidator, IValidate
... | /content/code_sandbox/LabXml/Validator/Machines/HyperV/HypervDoesSupportMax8NetworkAdapters.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 183 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for duplicate machine names inside a lab.
/// </summary>
public class HyperVAdminHasMachineName : LabValidator, IValidate
{
public HyperVAdminHasMachineName()
... | /content/code_sandbox/LabXml/Validator/Machines/HyperV/HyperVAdminHasMachineName.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 204 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for Hyper-V machine that have more than 8 network adapters and reports errors.
/// </summary>
public class HypervMemorySettings : LabValidator, IValidate
{
publi... | /content/code_sandbox/LabXml/Validator/Machines/HyperV/HypervMemorySettings.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 271 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for non-supported combos of OS and VM Generation.
/// </summary>
public class AzureVmGenerationDoesNotFitSku : LabValidator, IValidate
{
public AzureVmGeneration... | /content/code_sandbox/LabXml/Validator/Machines/Azure/AzureVmGenerationDoesNotFitSku.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 278 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for Azure machine that have more than 4 network adapters and reports errors.
/// </summary>
public class AzureDoesSupportMax4NetworkAdapters : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Machines/Azure/AzureDoesSupportMax8NetworkAdapters.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 177 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required OS Versions are used
/// </summary>
public class DynamicsMinOsVersion : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Dynamics/DynamicsMinOsVersion.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 228 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator looks for duplicate machine names inside a lab.
/// </summary>
public class AzureSpecifiedRoleSizeNotFound : LabValidator, IValidate
{
public AzureSpecifiedRoleSizeNot... | /content/code_sandbox/LabXml/Validator/Machines/Azure/AzureSpecifiedRoleSizeNotFound.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 262 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required SQL Versions are present
/// Dynamics 365: SQL 2016+
/// </summary>
public class DynamicsCorrectSql : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Dynamics/DynamicsCorrectSql.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 407 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// There can only be one Azure DevOps role!
/// Unless the machine is an actual machine t... | /content/code_sandbox/LabXml/Validator/Tfs/HighlanderRole.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 255 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public clas... | /content/code_sandbox/LabXml/Validator/Tfs/TfsIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 289 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class OfficeIsosExist : LabValidator, IVal... | /content/code_sandbox/LabXml/Validator/Office/OfficeIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 263 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class ScvmmIsosExist : LabValidator, IVali... | /content/code_sandbox/LabXml/Validator/SCVMM/ScvmmIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 269 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// Azure DevOps Server 2019 A... | /content/code_sandbox/LabXml/Validator/Tfs/TfsSqlIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 771 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required SQL Versions are present
/// SCVMM 2019: SQL 2016, SQL 2017 (not SQL 2019)
/// SCVMM 2016: SQL 2012, SQL 2014, SQL 2016
/// </summary>
... | /content/code_sandbox/LabXml/Validator/SCVMM/ScvmmCorrectSql.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 707 |
```smalltalk
using System.Collections;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
/// </summary>
public class ... | /content/code_sandbox/LabXml/Validator/Roles/UnknownRoleProperties.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 385 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required SQL Versions are present
/// SCVMM 2019: SQL 2016, SQL 2017 (not SQL 2019)
/// SCVMM 2016: SQL 2012, SQL 2014, SQL 2016
/// </summary>
... | /content/code_sandbox/LabXml/Validator/SCVMM/ScvmmMinOsVersion.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 628 |
```smalltalk
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Management.Automation;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
... | /content/code_sandbox/LabXml/Validator/Roles/MandatoryRoleProperties.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 359 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab.Validator.FailoverCluster
{
class DscSqlServerKnown : LabValidator, IValidate
{
public DscSqlServerKnown()
{
messageContainer = Run... | /content/code_sandbox/LabXml/Validator/DscPullServer/DscSqlServerKnown.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 313 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Roles take additional properties in a hashtable. If a propery is specified but no value assigned, somthing is wrong an need to be reported.
/// </summary>
public class EmptyRoleProperties : LabV... | /content/code_sandbox/LabXml/Validator/Roles/EmptyRoleProperties.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 224 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class VisualStudioIsosExist : LabValidator... | /content/code_sandbox/LabXml/Validator/VisualStudio/VisualStudioIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 266 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab.Validator.FailoverCluster
{
class DscSqlServerPresent : LabValidator, IValidate
{
public DscSqlServerPresent()
{
messageContainer =... | /content/code_sandbox/LabXml/Validator/DscPullServer/DscSqlServerPresent.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 347 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab.Validator.FailoverCluster
{
class ClusterNoDomain : LabValidator, IValidate
{
public ClusterNoDomain()
{
messageContainer = RunVali... | /content/code_sandbox/LabXml/Validator/FailoverCluster/ClusterNoDomain.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 433 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class SqlIsosExist : LabValidator, IValida... | /content/code_sandbox/LabXml/Validator/SQL/SqlIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 269 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator informs about all defined domains.
/// </summary>
public class TooFewNodesForCluster : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/FailoverCluster/TooFewNodesForCluster.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 314 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab.Validator.FailoverCluster
{
class ClusterOperatingSystem : LabValidator, IValidate
{
public ClusterOperatingSystem()
{
messageConta... | /content/code_sandbox/LabXml/Validator/FailoverCluster/ClusterOperatingSystem.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 347 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab.Validator.FailoverCluster
{
class DuplicateClusterIp : LabValidator, IValidate
{
public DuplicateClusterIp()
{
messageContainer = R... | /content/code_sandbox/LabXml/Validator/FailoverCluster/DuplicateClusterIp.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 365 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// This validator creates an error if a machine's name is longer than 15 characters.
/// </summary>
public class LabNameContainsIllegalCharacters : LabValidator, IValidate
{
public LabN... | /content/code_sandbox/LabXml/Validator/LabInformation/LabNameContainsIllegalCharacters.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 290 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required OS Versions are used
/// </summary>
public class ScomMinOsVersion : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/SCOM/ScomMinOsVersion.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 230 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required SQL Versions are present
/// Scom 2022: SQL 2017, SQL 2019, SQL 2022
/// Scom 2019: SQL 2016, SQL 2017,... | /content/code_sandbox/LabXml/Validator/SCOM/ScomCorrectSql.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 935 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class ScomIsosExist : LabValidator, IValid... | /content/code_sandbox/LabXml/Validator/SCOM/ScomIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 287 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;
namespace AutomatedLab
{
public class PathValidator : XmlValidator, IValidate
{
public PathValidator()
{
messageContainer = RunValidation();
}
public override IEnum... | /content/code_sandbox/LabXml/Validator/Xml/PathValidator.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 259 |
```smalltalk
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// This validator makes sure the required ISOs are present
/// </summary>
public class OrchestratorIsosExist : LabValidator... | /content/code_sandbox/LabXml/Validator/Orchestrator/OrchestratorIsosExist.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 270 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// Validator checks if domain members point to a domain DNS inside the lab
/// Domain Controllers point to themselves and to a second Domain Controller
/// </summary>
public class DomainMemberD... | /content/code_sandbox/LabXml/Validator/Network/DomainMemberDns.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 475 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// New external switch has a name collision with an already exisitng private or internal one.
/// </summary>
public class DuplicateAddressAssigned : LabValidator, IValidate
{
public Dup... | /content/code_sandbox/LabXml/Validator/Network/DuplicateAddressAssigned.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 260 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// New external switch has a name collision with an already exisitng private or internal one.
/// </summary>
public class NonExistingDnsServerAssigned : LabValidator, IValidate
{
public... | /content/code_sandbox/LabXml/Validator/Network/NonExistingDnsServerAssigned.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 335 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// New external switch has a name collision with an already exisitng private or internal one.
/// </summary>
public class DuplicateAddres... | /content/code_sandbox/LabXml/Validator/Network/DuplicateAddressSpaceAssigned.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 251 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab.Validator.Network.Azure_Network
{
public class AzureVnetAddressSpaceTooSmall : LabValidator, IValidate
{
public AzureVnetAddressSpaceTooSmall()
... | /content/code_sandbox/LabXml/Validator/Network/Azure Network/AzureVnetAddressSpaceTooSmall.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 307 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// If DCs are installed on Azure there must be a DNS server configured on the connected Virtual Network Site.
/// </summary>
public class... | /content/code_sandbox/LabXml/Validator/Network/Azure Network/AzureVnetDnsServerRequiredForActiveDirectory.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 324 |
```smalltalk
using System.Collections.Generic;
using System.Linq;
namespace AutomatedLab
{
/// <summary>
/// If DCs are installed on Azure there must be a DNS server configured on the connected Virtual Network Site.
/// </summary>
public class AzureVnetDnsServerInvalid : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Network/Azure Network/AzureVnetDnsServerInvalid.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 382 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Check if the an external switch connects to a WiFi adapter. This is not supported.
/// </summary>
public class ExternalSwitchConnectsW... | /content/code_sandbox/LabXml/Validator/Network/HyperV Network/ExternalSwitchConnectsWifi.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 324 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// New external switch has a name collision with an already exisitng private or internal one.
/// </summary>
public class AzureVnetConnec... | /content/code_sandbox/LabXml/Validator/Network/Azure Network/AzureVnetConnectsToUnknownVnet.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 285 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// DHCP is not supported on external switches.
/// </summary>
public class DuplicateAdapterAddressSpace : LabValidator, IValidate
{
... | /content/code_sandbox/LabXml/Validator/Network/HyperV Network/DuplicateAdapterAddressSpace.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 302 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// Check if the specified network adapter for the external switches exists and generate an error if it does not.
/// </summary>
public cl... | /content/code_sandbox/LabXml/Validator/Network/HyperV Network/ExternalSwitchNetworkAdapterExists.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 296 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// The routing role must be in a root domain or non domain joined.
/// </summary>
public class RoutingRoleMustBeInRootDomainy : LabValida... | /content/code_sandbox/LabXml/Validator/Network/HyperV Network/RoutingRoleMustBeInRootDomainy.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 241 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// check if the new external switch should be bound to a network adapter that is bridged already.
/// </summary>
public class ExternalSwi... | /content/code_sandbox/LabXml/Validator/Network/HyperV Network/ExternalSwitchNetworkAdapterBridgedAlready.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 346 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// DHCP is not supported on external switches.
/// </summary>
public class ExternalSwitchNoDhcp : LabValidator, IValidate
{
p... | /content/code_sandbox/LabXml/Validator/Network/HyperV Network/ExternalSwitchNoDhcp.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 231 |
```smalltalk
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Xml;
namespace AutomatedLab
{
/// <summary>
/// New external switch has a name collision with an already exisitng private or internal one.
/// </summary>
public class ExternalSwitchN... | /content/code_sandbox/LabXml/Validator/Network/HyperV Network/ExternalSwitchNameCollision.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 352 |
```smalltalk
using System;
using System.Collections;
using System.Linq;
using System.Net;
namespace AutomatedLab
{
[Serializable]
public class AzureSubnet
{
private string name;
private IPNetwork addressSpace;
public string Name
{
get { return name; }
... | /content/code_sandbox/LabXml/Network/AzureSubnet.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 213 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Net;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public class VirtualNetwork
{
private string name;
private IPNetwork addressSpace;
private SwitchType switchType;
private st... | /content/code_sandbox/LabXml/Network/VirtualNetwork.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 845 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
namespace AutomatedLab
{
public static class SubnetHelper
{
public static readonly IPAddress ClassA = "255.0.0.0";
public static readonly IPAddress ClassB = "255.255.0.0";
public static rea... | /content/code_sandbox/LabXml/Network/IPAddressExtensions.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 390 |
```smalltalk
using System.Collections.Generic;
using System.Collections;
using System.Numerics;
using System.Net.Sockets;
using System;
/// <summary>
/// Code taken from path_to_url on 2015 10 26
/// </summary>
namespace AutomatedLab
{
public class IPNetworkCollection : IEnumerable<IPNetwork>, IEnumerator<IPNetwo... | /content/code_sandbox/LabXml/Network/IPNetworkCollection.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 701 |
```smalltalk
using System.Collections.Generic;
using System.Collections;
using System.Numerics;
using System;
using System.Net.Sockets;
/// <summary>
/// Code taken from path_to_url on 2015 10 26
/// </summary>
namespace AutomatedLab
{
public class IPAddressCollection : IEnumerable<IPAddress>, IEnumerator<IPAddre... | /content/code_sandbox/LabXml/Network/IPAddressCollection.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 427 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Numerics;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;
namespace AutomatedLab
{
public partial class IPNetwork
{
private IPAddress ipAddress;
... | /content/code_sandbox/LabXml/Network/IPNetwork Class/IPNetwork2.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 258 |
```smalltalk
/// <summary>
/// Code taken from path_to_url on 2015 10 26
/// </summary>
namespace AutomatedLab
{
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Text;
/// <summary>
/// Extension methods to convert <see cref="System.Numerics.BigInteger"/>
... | /content/code_sandbox/LabXml/Network/IPNetwork Class/BigIntegerExt.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,222 |
```smalltalk
using System;
using System.Xml.Serialization;
namespace AutomatedLab
{
public partial class IPAddress
{
//private int ipv4Prefix;
//public int Ipv4Prefix
//{
// get { return ipv4Prefix; }
// set { ipv4Prefix = value; }
//}
//public IP... | /content/code_sandbox/LabXml/Network/IPAddress Class/IPAddress Subnet.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 513 |
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AutomatedLab
{
public partial class IPAddress
{
//public IPAddress GetBroadcastAddress()
//{
// byte[] ipAdressBytes = GetAddressBytes();
... | /content/code_sandbox/LabXml/Network/IPAddress Class/IPAddress Conversion.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 1,005 |
```smalltalk
using System;
using System.Linq;
using System.Xml.Serialization;
namespace AutomatedLab
{
[Serializable]
public partial class IPAddress
{
private System.Net.IPAddress ip;
public static IPAddress Any { get { return System.Net.IPAddress.Any; } }
public static IPAddress B... | /content/code_sandbox/LabXml/Network/IPAddress Class/IPAddress Defaults.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 944 |
```smalltalk
namespace AutomatedLab
{
public partial class IPAddress
{
internal bool isAutoGenerated;
public static IPAddress Null
{
get { return "0.0.0.0"; }
}
public bool IsAutoGenerated
{
get { return isAutoGenerated; }
}
}... | /content/code_sandbox/LabXml/Network/IPAddress Class/IPAddress AddOns.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 68 |
```smalltalk
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text.RegularExpressions;
using System.IO;
using System.Numerics;
using System;
using System.Linq;
/// <summary>
/// Code taken from path_to_url on 2015 10 26
/// </summary>
namespace AutomatedLab
{
/// <summary>
/// IP Netwo... | /content/code_sandbox/LabXml/Network/IPNetwork Class/IPNetwork.cs | smalltalk | 2016-08-23T00:08:15 | 2024-08-16T12:01:05 | AutomatedLab | AutomatedLab/AutomatedLab | 1,988 | 13,995 |
```css
*{
color: #ffffff;
font-family: "Source Sans Pro";
font-style: normal;
font-weight: normal ;
line-height: 105px;
text-align: center;
}
``` | /content/code_sandbox/fastlane/appstoreres/assets/styles/style.css | css | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 45 |
```json
PODS:
- AppCenter (4.4.3):
- AppCenter/Analytics (= 4.4.3)
- AppCenter/Crashes (= 4.4.3)
- AppCenter/Analytics (4.4.3):
- AppCenter/Core
- AppCenter/Core (4.4.3)
- AppCenter/Crashes (4.4.3):
- AppCenter/Core
- AppCenter/Distribute (4.4.3):
- AppCenter/Core
- Gridicons (0.19)
- ... | /content/code_sandbox/Podfile.lock | json | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 684 |
```yaml
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2024-02-20 18:18:24 UTC using RuboCop version 1.60.2.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation... | /content/code_sandbox/.rubocop_todo.yml | yaml | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 355 |
```ruby
# frozen_string_literal: true
require 'dotenv'
# TODO: It would be nice to decouple this from Fastlane.
# To give a good UX in the current use case, however, it's best to access the Fastlane UI methods directly.
require 'fastlane'
# Manages loading of environment variables from a .env and accessing them in a ... | /content/code_sandbox/fastlane/lib/env_manager.rb | ruby | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 605 |
```yaml
inherit_from: .rubocop_todo.yml
AllCops:
Exclude:
- DerivedData/**/*
- Pods/**/*
- vendor/**/*
NewCops: enable
SuggestExtensions:
rubocop-rake: false
Metrics/MethodLength:
Max: 30
Layout/LineLength:
Max: 180
Metrics/BlockLength:
Exclude: &xfiles
- fastlane/Fastfile
- fast... | /content/code_sandbox/.rubocop.yml | yaml | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 158 |
```yaml
swiftlint_version: 0.54.0
# Project configuration
excluded:
- Pods
- fastlane
- vendor
# Rules
only_rules:
# Colons should be next to the identifier when specifying a type.
- colon
# There should be no space before and one after any comma.
- comma
# if,for,while,do statements shouldn't wrap ... | /content/code_sandbox/.swiftlint.yml | yaml | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 597 |
```ruby
# frozen_string_literal: true
APP_STORE_CONNECT_OUTPUT_NAME = 'Simplenote-AppStore'
XCARCHIVE_PATH = File.join(OUTPUT_DIRECTORY_PATH, "#{APP_STORE_CONNECT_OUTPUT_NAME}.xcarchive")
XCARCHIVE_ZIP_PATH = File.join(OUTPUT_DIRECTORY_PATH, "#{APP_STORE_CONNECT_OUTPUT_NAME}.xcarchive.zip")
lane :build_for_app_store_... | /content/code_sandbox/fastlane/lanes/build.rb | ruby | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 711 |
```ruby
# frozen_string_literal: true
# List of locales used for the app strings (GlotPress code => `*.lproj` folder name`)
#
# TODO: Replace with `LocaleHelper` once provided by release toolkit (path_to_url
GLOTPRESS_TO_LPROJ_APP_LOCALE_CODES = {
'ar' => 'ar', # Arabic
'cy' => 'cy', # Wels... | /content/code_sandbox/fastlane/lanes/localization.rb | ruby | 2016-08-11T15:55:22 | 2024-08-14T02:42:22 | simplenote-ios | Automattic/simplenote-ios | 2,038 | 2,000 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.