content stringlengths 7 1.05M | fixed_cases stringlengths 1 1.28M |
|---|---|
#
# PySNMP MIB module SIP-REGISTRAR-MIB (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/SIP-REGISTRAR-MIB
# Produced by pysmi-0.3.4 at Wed May 1 15:04:26 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, OctetString, ObjectIdentifier = mibBuilder.importSymbols("ASN1", "Integer", "OctetString", "ObjectIdentifier")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
SingleValueConstraint, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, ConstraintsUnion = mibBuilder.importSymbols("ASN1-REFINEMENT", "SingleValueConstraint", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "ConstraintsUnion")
applIndex, = mibBuilder.importSymbols("NETWORK-SERVICES-MIB", "applIndex")
sipMIB, = mibBuilder.importSymbols("SIP-MIB-SMI", "sipMIB")
SipServerActions, = mibBuilder.importSymbols("SIP-TC", "SipServerActions")
SnmpAdminString, = mibBuilder.importSymbols("SNMP-FRAMEWORK-MIB", "SnmpAdminString")
ObjectGroup, NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "ObjectGroup", "NotificationGroup", "ModuleCompliance")
Counter32, Integer32, IpAddress, MibIdentifier, iso, ObjectIdentity, Bits, Gauge32, MibScalar, MibTable, MibTableRow, MibTableColumn, Counter64, TimeTicks, ModuleIdentity, NotificationType, Unsigned32 = mibBuilder.importSymbols("SNMPv2-SMI", "Counter32", "Integer32", "IpAddress", "MibIdentifier", "iso", "ObjectIdentity", "Bits", "Gauge32", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Counter64", "TimeTicks", "ModuleIdentity", "NotificationType", "Unsigned32")
TimeStamp, DateAndTime, TextualConvention, DisplayString, TruthValue, RowStatus = mibBuilder.importSymbols("SNMPv2-TC", "TimeStamp", "DateAndTime", "TextualConvention", "DisplayString", "TruthValue", "RowStatus")
sipRegistrarMIB = ModuleIdentity((1, 3, 6, 1, 2, 1, 9998, 5))
if mibBuilder.loadTexts: sipRegistrarMIB.setLastUpdated('200007080000Z')
if mibBuilder.loadTexts: sipRegistrarMIB.setOrganization('IETF SIP Working Group, SIP MIB Team')
if mibBuilder.loadTexts: sipRegistrarMIB.setContactInfo('SIP MIB Team email: sip-mib@egroups.com Co-editor Kevin Lingle Cisco Systems, Inc. postal: 7025 Kit Creek Road P.O. Box 14987 Research Triangle Park, NC 27709 USA email: klingle@cisco.com phone: +1-919-392-2029 Co-editor Joon Maeng VTEL Corporation postal: 108 Wild Basin Rd. Austin, TX 78746 USA email: joon_maeng@vtel.com phone: +1-512-437-4567 Co-editor Dave Walker SS8 Networks, Inc. postal: 80 Hines Road Kanata, ON K2K 2T8 Canada email: drwalker@ss8networks.com phone: +1 613 592 2100')
if mibBuilder.loadTexts: sipRegistrarMIB.setDescription('Initial version of Session Initiation Protocol (SIP) Registrar MIB module. SIP is an application-layer signalling protocol for creating, modifying and terminating multimedia sessions with one or more participants. These sessions include Internet multimedia conferences and Internet telephone calls. SIP is defined in RFC 2543 (March 1999). A Registrar is a server that accepts REGISTER requests. A Registrar is typically co-located with a Proxy or Redirect Server.')
sipRegCfg = MibIdentifier((1, 3, 6, 1, 2, 1, 9998, 5, 1))
sipRegStats = MibIdentifier((1, 3, 6, 1, 2, 1, 9998, 5, 2))
sipRegCfgTable = MibTable((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1), )
if mibBuilder.loadTexts: sipRegCfgTable.setStatus('current')
if mibBuilder.loadTexts: sipRegCfgTable.setDescription('This table contains configuration objects applicable SIP registrars. Each row represents those objects for a particular SIP registrar present in this system. The instances of SIP registrars are uniquely identified by applIndex.')
sipRegCfgEntry = MibTableRow((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"))
if mibBuilder.loadTexts: sipRegCfgEntry.setStatus('current')
if mibBuilder.loadTexts: sipRegCfgEntry.setDescription('A row of common configuration.')
sipRegAllowThirdParty = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 1), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sipRegAllowThirdParty.setReference('RFC 2543, Section 4.2.6')
if mibBuilder.loadTexts: sipRegAllowThirdParty.setStatus('current')
if mibBuilder.loadTexts: sipRegAllowThirdParty.setDescription('This object specifies whether or not the Registrar should allows third party registrations. In third-party registration, the entity issuing the request (in the From header) is different from the entity being registered (in the To header) to whom the provided Contact information applies. If the value of this object is TRUE, the Registrar allows third party registrations. If the value is FALSE, third party registrations are rejected: a 403 Forbidden status code is returned to the requestor.')
sipRegContactDfltExpiryDuration = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 2), Unsigned32().clone(3600)).setUnits('seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: sipRegContactDfltExpiryDuration.setReference('RFC 2543, Section 4.2.6')
if mibBuilder.loadTexts: sipRegContactDfltExpiryDuration.setStatus('current')
if mibBuilder.loadTexts: sipRegContactDfltExpiryDuration.setDescription('This object specifies the default expiration (time-to- live) of Contact information that is provided by User Agents when registering with this Registrar. This value is only used when no expiration has been specified by the user in the REGISTER request. If the value is applied to a registration and is different from the default (one hour), the server must return the value to the registered User Agent. The value contained in this object only applies if the value of the sipContactDfltExpiryDate object is NULL. If the value of this object applies, and is zero, then no default expiry is applied to registered contact information.')
sipRegContactDfltExpiryDate = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 3), DateAndTime()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sipRegContactDfltExpiryDate.setReference('RFC 2543, Section 4.2.6')
if mibBuilder.loadTexts: sipRegContactDfltExpiryDate.setStatus('current')
if mibBuilder.loadTexts: sipRegContactDfltExpiryDate.setDescription('This object specifies the default expiration date (time- to-live) of Contact information that is provided by User Agents when registering with this Registrar. This value is only used when no expiration has been specified by the user in the REGISTER request. If this value is applied to a registration, the server must return the value to the registered User Agent. The value contained in this object only applies if the value of the sipContactDfltExpiryDuration object is zero. If the value of this object applies, and is NULL, then no default expiry is applied to registered contact information.')
sipRegMaxContactExpiryDate = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 4), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295)).clone(4294967295)).setUnits('seconds').setMaxAccess("readwrite")
if mibBuilder.loadTexts: sipRegMaxContactExpiryDate.setStatus('current')
if mibBuilder.loadTexts: sipRegMaxContactExpiryDate.setDescription('This object specifies the maximum expiry that may be requested by a User Agent for a particular Contact. User Agents can specify expiry using either an Expiry header in a REGISTER request, or using an Expires parameter in a Contact header in a REGISTER request. If the value requested by the User Agent is greater than the value of this object, then the contact information is given the duration specified by this object, and that duration is indicated to the User Agent in the response.')
sipRegRespHasContacts = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 5), TruthValue()).setMaxAccess("readwrite")
if mibBuilder.loadTexts: sipRegRespHasContacts.setStatus('current')
if mibBuilder.loadTexts: sipRegRespHasContacts.setDescription('This object specifies whether or not the Registrar should return all currently reachable locations for a successfully registering party in the REGISTER response message. If the value of this object is TRUE, the Registrar returns the locations in the REGISTER response. If the value is FALSE, no location information is provided.')
sipRegMaxUsers = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 6), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipRegMaxUsers.setStatus('current')
if mibBuilder.loadTexts: sipRegMaxUsers.setDescription('This object specifies the maximum number of users that the registrar supports. The current number of users is reflected by sipRegCurrentUsers.')
sipRegCurrentUsers = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 7), Gauge32().subtype(subtypeSpec=ValueRangeConstraint(0, 4294967295))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipRegCurrentUsers.setStatus('current')
if mibBuilder.loadTexts: sipRegCurrentUsers.setDescription('This object specifies the number of users currently configured on the registrar.')
sipRegUserTable = MibTable((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2), )
if mibBuilder.loadTexts: sipRegUserTable.setStatus('current')
if mibBuilder.loadTexts: sipRegUserTable.setDescription('This table contains information on all users registered to each Registrar in this system. The instances of SIP Registrar are uniquely identified by applIndex.')
sipRegUserEntry = MibTableRow((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-REGISTRAR-MIB", "sipUserIndex"))
if mibBuilder.loadTexts: sipRegUserEntry.setStatus('current')
if mibBuilder.loadTexts: sipRegUserEntry.setDescription('This entry contains information for a single user registered to this Registrar.')
sipUserIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)))
if mibBuilder.loadTexts: sipUserIndex.setStatus('current')
if mibBuilder.loadTexts: sipUserIndex.setDescription('This object uniquely identifies a conceptual row in the table.')
sipUserUri = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 2), SnmpAdminString()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: sipUserUri.setStatus('current')
if mibBuilder.loadTexts: sipUserUri.setDescription("This object contains the user's address-of-record. It is the main form by which the registrar knows the user. The format is typically 'user@domain'. It is contained in the To header for all REGISTER requests.")
sipUserPassword = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 3), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readcreate")
if mibBuilder.loadTexts: sipUserPassword.setStatus('current')
if mibBuilder.loadTexts: sipUserPassword.setDescription('This object specifies the password that the user must enter when being authenticated.')
sipUserAuthenticationFailures = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 4), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipUserAuthenticationFailures.setStatus('current')
if mibBuilder.loadTexts: sipUserAuthenticationFailures.setDescription('This object contains a count of the number of times the user has failed authentication.')
sipUserTableRowStatus = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 5), RowStatus()).setMaxAccess("readcreate")
if mibBuilder.loadTexts: sipUserTableRowStatus.setStatus('current')
if mibBuilder.loadTexts: sipUserTableRowStatus.setDescription('The row status of the entry. This object is required to create or delete rows remotely by a manager.')
sipContactTable = MibTable((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3), )
if mibBuilder.loadTexts: sipContactTable.setStatus('current')
if mibBuilder.loadTexts: sipContactTable.setDescription('This table contains information on every location where a registered user (specified by sipUserIndex) wishes to be found (i.e. has provided Contact information) to each SIP Registrar in this system. The instances of SIP Registrar are uniquely identified by applIndex.')
sipContactEntry = MibTableRow((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"), (0, "SIP-REGISTRAR-MIB", "sipUserIndex"), (0, "SIP-REGISTRAR-MIB", "sipContactIndex"))
if mibBuilder.loadTexts: sipContactEntry.setStatus('current')
if mibBuilder.loadTexts: sipContactEntry.setDescription('This entry contains information for a single Contact. Multiple contacts may exist for a single user.')
sipContactIndex = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 1), Unsigned32().subtype(subtypeSpec=ValueRangeConstraint(1, 4294967295)))
if mibBuilder.loadTexts: sipContactIndex.setStatus('current')
if mibBuilder.loadTexts: sipContactIndex.setDescription('Along with the sipUserIndex, this object uniquely identifies a conceptual row in the table.')
sipContactDisplayName = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 2), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipContactDisplayName.setStatus('current')
if mibBuilder.loadTexts: sipContactDisplayName.setDescription("This object contains the display name for the Contact. For example, 'Santa at Home', or 'Santa on his Sled', corresponding to contact URLs of sip:BigGuy@sip.northpole.ca or sip:sclaus817@sip.mobile.com, respectively.")
sipContactURI = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 3), SnmpAdminString()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipContactURI.setStatus('current')
if mibBuilder.loadTexts: sipContactURI.setDescription('This object contains either a SIP URL or a URI where the user can be contacted. This URI is normally returned to a client from a redirect server, or is used as the RequestURI in a SIP request line for requests forwarded by a proxy.')
sipContactLastUpdated = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 4), TimeStamp()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipContactLastUpdated.setStatus('current')
if mibBuilder.loadTexts: sipContactLastUpdated.setDescription('This object indicates the time when this contact information was accepted. If the contact information is updated via a subsequent REGISTER of the same information, this object is also updated.')
sipContactExpiry = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 5), DateAndTime()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipContactExpiry.setStatus('current')
if mibBuilder.loadTexts: sipContactExpiry.setDescription('This object contains the date and time when the contact information will no longer be valid. Such times may be specified by the user at registration (Expires header or expiry parameter in the Contact information), or a system default can be applied.')
sipContactPreference = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 6), OctetString().subtype(subtypeSpec=ValueSizeConstraint(0, 255))).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipContactPreference.setReference('RFC 2543, Section 6.13')
if mibBuilder.loadTexts: sipContactPreference.setStatus('current')
if mibBuilder.loadTexts: sipContactPreference.setDescription("This object specifies the preference for this contact relative to all other active contacts for same user. A registering user may provide this preference as a 'qvalue' parameter in the Contact header. The format of this item is a decimal number between 0 and 1 (for example 0.9). Higher values indicate locations preferred by the user.")
sipContactAction = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 7), SipServerActions()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipContactAction.setStatus('current')
if mibBuilder.loadTexts: sipContactAction.setDescription("This object indicates whether the user wanted the server to act as a redirect server or as a proxy server. It is specified by the optional 'action' parameter in the Contact header.")
sipContactRetryAfter = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 8), DateAndTime()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipContactRetryAfter.setReference('RFC 2543, Section 6.32')
if mibBuilder.loadTexts: sipContactRetryAfter.setStatus('current')
if mibBuilder.loadTexts: sipContactRetryAfter.setDescription('This object indicates that the contact information is currently inactive, and that it should only be activated after the date and time specified by the object. This value is provided by a user when deleting contact information using a REGISTER request containing a Retry- After header.')
sipRegStatsTable = MibTable((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1), )
if mibBuilder.loadTexts: sipRegStatsTable.setStatus('current')
if mibBuilder.loadTexts: sipRegStatsTable.setDescription('This table contains the summary statistics objects applicable to all SIP Registrars in this system. Each row represents those objects for a particular SIP Registrar. The instances of SIP Registrars are uniquely identified by applIndex.')
sipRegStatsEntry = MibTableRow((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1, 1), ).setIndexNames((0, "NETWORK-SERVICES-MIB", "applIndex"))
if mibBuilder.loadTexts: sipRegStatsEntry.setStatus('current')
if mibBuilder.loadTexts: sipRegStatsEntry.setDescription('A row of summary statistics.')
sipRegAcceptedRegistrations = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1, 1, 1), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipRegAcceptedRegistrations.setStatus('current')
if mibBuilder.loadTexts: sipRegAcceptedRegistrations.setDescription('This object contains a count of the number of REGISTER requests that have been accepted (status code 200) by the Registrar. This includes additions of new contact information, refreshing contact information, as well as requests for deletion of contact information.')
sipRegRejectedRegistrations = MibTableColumn((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1, 1, 2), Counter32()).setMaxAccess("readonly")
if mibBuilder.loadTexts: sipRegRejectedRegistrations.setStatus('current')
if mibBuilder.loadTexts: sipRegRejectedRegistrations.setDescription('This object contains a count of the number REGISTER requests that have been rejected by the Registrar.')
sipRegMIBNotif = MibIdentifier((1, 3, 6, 1, 2, 1, 9998, 5, 3))
sipRegMIBConformance = MibIdentifier((1, 3, 6, 1, 2, 1, 9998, 5, 4))
sipRegMIBCompliances = MibIdentifier((1, 3, 6, 1, 2, 1, 9998, 5, 4, 1))
sipRegMIBGroups = MibIdentifier((1, 3, 6, 1, 2, 1, 9998, 5, 4, 2))
sipRegCompliance = ModuleCompliance((1, 3, 6, 1, 2, 1, 9998, 5, 4, 1, 1)).setObjects(("SIP-REGISTRAR-MIB", "sipRegistrarConfigGroup"), ("SIP-REGISTRAR-MIB", "sipRegistrarStatsGroup"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sipRegCompliance = sipRegCompliance.setStatus('current')
if mibBuilder.loadTexts: sipRegCompliance.setDescription('The compliance statement for SIP entities.')
sipRegistrarConfigGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 9998, 5, 4, 2, 1)).setObjects(("SIP-REGISTRAR-MIB", "sipRegAllowThirdParty"), ("SIP-REGISTRAR-MIB", "sipRegContactDfltExpiryDuration"), ("SIP-REGISTRAR-MIB", "sipRegContactDfltExpiryDate"), ("SIP-REGISTRAR-MIB", "sipRegMaxContactExpiryDate"), ("SIP-REGISTRAR-MIB", "sipRegRespHasContacts"), ("SIP-REGISTRAR-MIB", "sipRegMaxUsers"), ("SIP-REGISTRAR-MIB", "sipRegCurrentUsers"), ("SIP-REGISTRAR-MIB", "sipUserUri"), ("SIP-REGISTRAR-MIB", "sipUserPassword"), ("SIP-REGISTRAR-MIB", "sipUserAuthenticationFailures"), ("SIP-REGISTRAR-MIB", "sipUserTableRowStatus"), ("SIP-REGISTRAR-MIB", "sipContactDisplayName"), ("SIP-REGISTRAR-MIB", "sipContactURI"), ("SIP-REGISTRAR-MIB", "sipContactLastUpdated"), ("SIP-REGISTRAR-MIB", "sipContactExpiry"), ("SIP-REGISTRAR-MIB", "sipContactPreference"), ("SIP-REGISTRAR-MIB", "sipContactAction"), ("SIP-REGISTRAR-MIB", "sipContactRetryAfter"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sipRegistrarConfigGroup = sipRegistrarConfigGroup.setStatus('current')
if mibBuilder.loadTexts: sipRegistrarConfigGroup.setDescription('A collection of objects providing configuration for SIP Registrars.')
sipRegistrarStatsGroup = ObjectGroup((1, 3, 6, 1, 2, 1, 9998, 5, 4, 2, 2)).setObjects(("SIP-REGISTRAR-MIB", "sipRegAcceptedRegistrations"), ("SIP-REGISTRAR-MIB", "sipRegRejectedRegistrations"))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sipRegistrarStatsGroup = sipRegistrarStatsGroup.setStatus('current')
if mibBuilder.loadTexts: sipRegistrarStatsGroup.setDescription('A collection of objects providing statistics for SIP Registrars.')
mibBuilder.exportSymbols("SIP-REGISTRAR-MIB", sipContactEntry=sipContactEntry, sipContactLastUpdated=sipContactLastUpdated, sipRegStats=sipRegStats, sipRegRespHasContacts=sipRegRespHasContacts, sipUserAuthenticationFailures=sipUserAuthenticationFailures, sipRegCfg=sipRegCfg, sipContactExpiry=sipContactExpiry, PYSNMP_MODULE_ID=sipRegistrarMIB, sipContactAction=sipContactAction, sipRegRejectedRegistrations=sipRegRejectedRegistrations, sipRegistrarConfigGroup=sipRegistrarConfigGroup, sipRegMIBNotif=sipRegMIBNotif, sipContactIndex=sipContactIndex, sipRegMIBGroups=sipRegMIBGroups, sipRegCfgEntry=sipRegCfgEntry, sipContactPreference=sipContactPreference, sipUserPassword=sipUserPassword, sipRegistrarStatsGroup=sipRegistrarStatsGroup, sipRegCompliance=sipRegCompliance, sipRegMIBCompliances=sipRegMIBCompliances, sipRegistrarMIB=sipRegistrarMIB, sipRegUserTable=sipRegUserTable, sipRegContactDfltExpiryDate=sipRegContactDfltExpiryDate, sipContactURI=sipContactURI, sipContactRetryAfter=sipContactRetryAfter, sipRegAcceptedRegistrations=sipRegAcceptedRegistrations, sipUserTableRowStatus=sipUserTableRowStatus, sipRegCfgTable=sipRegCfgTable, sipRegStatsEntry=sipRegStatsEntry, sipRegMaxContactExpiryDate=sipRegMaxContactExpiryDate, sipRegContactDfltExpiryDuration=sipRegContactDfltExpiryDuration, sipRegMaxUsers=sipRegMaxUsers, sipRegAllowThirdParty=sipRegAllowThirdParty, sipContactTable=sipContactTable, sipContactDisplayName=sipContactDisplayName, sipRegMIBConformance=sipRegMIBConformance, sipRegUserEntry=sipRegUserEntry, sipRegStatsTable=sipRegStatsTable, sipUserIndex=sipUserIndex, sipRegCurrentUsers=sipRegCurrentUsers, sipUserUri=sipUserUri)
| (integer, octet_string, object_identifier) = mibBuilder.importSymbols('ASN1', 'Integer', 'OctetString', 'ObjectIdentifier')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(single_value_constraint, value_size_constraint, constraints_intersection, value_range_constraint, constraints_union) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'SingleValueConstraint', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'ConstraintsUnion')
(appl_index,) = mibBuilder.importSymbols('NETWORK-SERVICES-MIB', 'applIndex')
(sip_mib,) = mibBuilder.importSymbols('SIP-MIB-SMI', 'sipMIB')
(sip_server_actions,) = mibBuilder.importSymbols('SIP-TC', 'SipServerActions')
(snmp_admin_string,) = mibBuilder.importSymbols('SNMP-FRAMEWORK-MIB', 'SnmpAdminString')
(object_group, notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'ObjectGroup', 'NotificationGroup', 'ModuleCompliance')
(counter32, integer32, ip_address, mib_identifier, iso, object_identity, bits, gauge32, mib_scalar, mib_table, mib_table_row, mib_table_column, counter64, time_ticks, module_identity, notification_type, unsigned32) = mibBuilder.importSymbols('SNMPv2-SMI', 'Counter32', 'Integer32', 'IpAddress', 'MibIdentifier', 'iso', 'ObjectIdentity', 'Bits', 'Gauge32', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Counter64', 'TimeTicks', 'ModuleIdentity', 'NotificationType', 'Unsigned32')
(time_stamp, date_and_time, textual_convention, display_string, truth_value, row_status) = mibBuilder.importSymbols('SNMPv2-TC', 'TimeStamp', 'DateAndTime', 'TextualConvention', 'DisplayString', 'TruthValue', 'RowStatus')
sip_registrar_mib = module_identity((1, 3, 6, 1, 2, 1, 9998, 5))
if mibBuilder.loadTexts:
sipRegistrarMIB.setLastUpdated('200007080000Z')
if mibBuilder.loadTexts:
sipRegistrarMIB.setOrganization('IETF SIP Working Group, SIP MIB Team')
if mibBuilder.loadTexts:
sipRegistrarMIB.setContactInfo('SIP MIB Team email: sip-mib@egroups.com Co-editor Kevin Lingle Cisco Systems, Inc. postal: 7025 Kit Creek Road P.O. Box 14987 Research Triangle Park, NC 27709 USA email: klingle@cisco.com phone: +1-919-392-2029 Co-editor Joon Maeng VTEL Corporation postal: 108 Wild Basin Rd. Austin, TX 78746 USA email: joon_maeng@vtel.com phone: +1-512-437-4567 Co-editor Dave Walker SS8 Networks, Inc. postal: 80 Hines Road Kanata, ON K2K 2T8 Canada email: drwalker@ss8networks.com phone: +1 613 592 2100')
if mibBuilder.loadTexts:
sipRegistrarMIB.setDescription('Initial version of Session Initiation Protocol (SIP) Registrar MIB module. SIP is an application-layer signalling protocol for creating, modifying and terminating multimedia sessions with one or more participants. These sessions include Internet multimedia conferences and Internet telephone calls. SIP is defined in RFC 2543 (March 1999). A Registrar is a server that accepts REGISTER requests. A Registrar is typically co-located with a Proxy or Redirect Server.')
sip_reg_cfg = mib_identifier((1, 3, 6, 1, 2, 1, 9998, 5, 1))
sip_reg_stats = mib_identifier((1, 3, 6, 1, 2, 1, 9998, 5, 2))
sip_reg_cfg_table = mib_table((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1))
if mibBuilder.loadTexts:
sipRegCfgTable.setStatus('current')
if mibBuilder.loadTexts:
sipRegCfgTable.setDescription('This table contains configuration objects applicable SIP registrars. Each row represents those objects for a particular SIP registrar present in this system. The instances of SIP registrars are uniquely identified by applIndex.')
sip_reg_cfg_entry = mib_table_row((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1)).setIndexNames((0, 'NETWORK-SERVICES-MIB', 'applIndex'))
if mibBuilder.loadTexts:
sipRegCfgEntry.setStatus('current')
if mibBuilder.loadTexts:
sipRegCfgEntry.setDescription('A row of common configuration.')
sip_reg_allow_third_party = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 1), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sipRegAllowThirdParty.setReference('RFC 2543, Section 4.2.6')
if mibBuilder.loadTexts:
sipRegAllowThirdParty.setStatus('current')
if mibBuilder.loadTexts:
sipRegAllowThirdParty.setDescription('This object specifies whether or not the Registrar should allows third party registrations. In third-party registration, the entity issuing the request (in the From header) is different from the entity being registered (in the To header) to whom the provided Contact information applies. If the value of this object is TRUE, the Registrar allows third party registrations. If the value is FALSE, third party registrations are rejected: a 403 Forbidden status code is returned to the requestor.')
sip_reg_contact_dflt_expiry_duration = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 2), unsigned32().clone(3600)).setUnits('seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sipRegContactDfltExpiryDuration.setReference('RFC 2543, Section 4.2.6')
if mibBuilder.loadTexts:
sipRegContactDfltExpiryDuration.setStatus('current')
if mibBuilder.loadTexts:
sipRegContactDfltExpiryDuration.setDescription('This object specifies the default expiration (time-to- live) of Contact information that is provided by User Agents when registering with this Registrar. This value is only used when no expiration has been specified by the user in the REGISTER request. If the value is applied to a registration and is different from the default (one hour), the server must return the value to the registered User Agent. The value contained in this object only applies if the value of the sipContactDfltExpiryDate object is NULL. If the value of this object applies, and is zero, then no default expiry is applied to registered contact information.')
sip_reg_contact_dflt_expiry_date = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 3), date_and_time()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sipRegContactDfltExpiryDate.setReference('RFC 2543, Section 4.2.6')
if mibBuilder.loadTexts:
sipRegContactDfltExpiryDate.setStatus('current')
if mibBuilder.loadTexts:
sipRegContactDfltExpiryDate.setDescription('This object specifies the default expiration date (time- to-live) of Contact information that is provided by User Agents when registering with this Registrar. This value is only used when no expiration has been specified by the user in the REGISTER request. If this value is applied to a registration, the server must return the value to the registered User Agent. The value contained in this object only applies if the value of the sipContactDfltExpiryDuration object is zero. If the value of this object applies, and is NULL, then no default expiry is applied to registered contact information.')
sip_reg_max_contact_expiry_date = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 4), unsigned32().subtype(subtypeSpec=value_range_constraint(0, 4294967295)).clone(4294967295)).setUnits('seconds').setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sipRegMaxContactExpiryDate.setStatus('current')
if mibBuilder.loadTexts:
sipRegMaxContactExpiryDate.setDescription('This object specifies the maximum expiry that may be requested by a User Agent for a particular Contact. User Agents can specify expiry using either an Expiry header in a REGISTER request, or using an Expires parameter in a Contact header in a REGISTER request. If the value requested by the User Agent is greater than the value of this object, then the contact information is given the duration specified by this object, and that duration is indicated to the User Agent in the response.')
sip_reg_resp_has_contacts = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 5), truth_value()).setMaxAccess('readwrite')
if mibBuilder.loadTexts:
sipRegRespHasContacts.setStatus('current')
if mibBuilder.loadTexts:
sipRegRespHasContacts.setDescription('This object specifies whether or not the Registrar should return all currently reachable locations for a successfully registering party in the REGISTER response message. If the value of this object is TRUE, the Registrar returns the locations in the REGISTER response. If the value is FALSE, no location information is provided.')
sip_reg_max_users = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 6), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4294967295))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipRegMaxUsers.setStatus('current')
if mibBuilder.loadTexts:
sipRegMaxUsers.setDescription('This object specifies the maximum number of users that the registrar supports. The current number of users is reflected by sipRegCurrentUsers.')
sip_reg_current_users = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 1, 1, 7), gauge32().subtype(subtypeSpec=value_range_constraint(0, 4294967295))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipRegCurrentUsers.setStatus('current')
if mibBuilder.loadTexts:
sipRegCurrentUsers.setDescription('This object specifies the number of users currently configured on the registrar.')
sip_reg_user_table = mib_table((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2))
if mibBuilder.loadTexts:
sipRegUserTable.setStatus('current')
if mibBuilder.loadTexts:
sipRegUserTable.setDescription('This table contains information on all users registered to each Registrar in this system. The instances of SIP Registrar are uniquely identified by applIndex.')
sip_reg_user_entry = mib_table_row((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1)).setIndexNames((0, 'NETWORK-SERVICES-MIB', 'applIndex'), (0, 'SIP-REGISTRAR-MIB', 'sipUserIndex'))
if mibBuilder.loadTexts:
sipRegUserEntry.setStatus('current')
if mibBuilder.loadTexts:
sipRegUserEntry.setDescription('This entry contains information for a single user registered to this Registrar.')
sip_user_index = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4294967295)))
if mibBuilder.loadTexts:
sipUserIndex.setStatus('current')
if mibBuilder.loadTexts:
sipUserIndex.setDescription('This object uniquely identifies a conceptual row in the table.')
sip_user_uri = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 2), snmp_admin_string()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
sipUserUri.setStatus('current')
if mibBuilder.loadTexts:
sipUserUri.setDescription("This object contains the user's address-of-record. It is the main form by which the registrar knows the user. The format is typically 'user@domain'. It is contained in the To header for all REGISTER requests.")
sip_user_password = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 3), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
sipUserPassword.setStatus('current')
if mibBuilder.loadTexts:
sipUserPassword.setDescription('This object specifies the password that the user must enter when being authenticated.')
sip_user_authentication_failures = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 4), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipUserAuthenticationFailures.setStatus('current')
if mibBuilder.loadTexts:
sipUserAuthenticationFailures.setDescription('This object contains a count of the number of times the user has failed authentication.')
sip_user_table_row_status = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 2, 1, 5), row_status()).setMaxAccess('readcreate')
if mibBuilder.loadTexts:
sipUserTableRowStatus.setStatus('current')
if mibBuilder.loadTexts:
sipUserTableRowStatus.setDescription('The row status of the entry. This object is required to create or delete rows remotely by a manager.')
sip_contact_table = mib_table((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3))
if mibBuilder.loadTexts:
sipContactTable.setStatus('current')
if mibBuilder.loadTexts:
sipContactTable.setDescription('This table contains information on every location where a registered user (specified by sipUserIndex) wishes to be found (i.e. has provided Contact information) to each SIP Registrar in this system. The instances of SIP Registrar are uniquely identified by applIndex.')
sip_contact_entry = mib_table_row((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1)).setIndexNames((0, 'NETWORK-SERVICES-MIB', 'applIndex'), (0, 'SIP-REGISTRAR-MIB', 'sipUserIndex'), (0, 'SIP-REGISTRAR-MIB', 'sipContactIndex'))
if mibBuilder.loadTexts:
sipContactEntry.setStatus('current')
if mibBuilder.loadTexts:
sipContactEntry.setDescription('This entry contains information for a single Contact. Multiple contacts may exist for a single user.')
sip_contact_index = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 1), unsigned32().subtype(subtypeSpec=value_range_constraint(1, 4294967295)))
if mibBuilder.loadTexts:
sipContactIndex.setStatus('current')
if mibBuilder.loadTexts:
sipContactIndex.setDescription('Along with the sipUserIndex, this object uniquely identifies a conceptual row in the table.')
sip_contact_display_name = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 2), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipContactDisplayName.setStatus('current')
if mibBuilder.loadTexts:
sipContactDisplayName.setDescription("This object contains the display name for the Contact. For example, 'Santa at Home', or 'Santa on his Sled', corresponding to contact URLs of sip:BigGuy@sip.northpole.ca or sip:sclaus817@sip.mobile.com, respectively.")
sip_contact_uri = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 3), snmp_admin_string()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipContactURI.setStatus('current')
if mibBuilder.loadTexts:
sipContactURI.setDescription('This object contains either a SIP URL or a URI where the user can be contacted. This URI is normally returned to a client from a redirect server, or is used as the RequestURI in a SIP request line for requests forwarded by a proxy.')
sip_contact_last_updated = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 4), time_stamp()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipContactLastUpdated.setStatus('current')
if mibBuilder.loadTexts:
sipContactLastUpdated.setDescription('This object indicates the time when this contact information was accepted. If the contact information is updated via a subsequent REGISTER of the same information, this object is also updated.')
sip_contact_expiry = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 5), date_and_time()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipContactExpiry.setStatus('current')
if mibBuilder.loadTexts:
sipContactExpiry.setDescription('This object contains the date and time when the contact information will no longer be valid. Such times may be specified by the user at registration (Expires header or expiry parameter in the Contact information), or a system default can be applied.')
sip_contact_preference = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 6), octet_string().subtype(subtypeSpec=value_size_constraint(0, 255))).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipContactPreference.setReference('RFC 2543, Section 6.13')
if mibBuilder.loadTexts:
sipContactPreference.setStatus('current')
if mibBuilder.loadTexts:
sipContactPreference.setDescription("This object specifies the preference for this contact relative to all other active contacts for same user. A registering user may provide this preference as a 'qvalue' parameter in the Contact header. The format of this item is a decimal number between 0 and 1 (for example 0.9). Higher values indicate locations preferred by the user.")
sip_contact_action = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 7), sip_server_actions()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipContactAction.setStatus('current')
if mibBuilder.loadTexts:
sipContactAction.setDescription("This object indicates whether the user wanted the server to act as a redirect server or as a proxy server. It is specified by the optional 'action' parameter in the Contact header.")
sip_contact_retry_after = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 1, 3, 1, 8), date_and_time()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipContactRetryAfter.setReference('RFC 2543, Section 6.32')
if mibBuilder.loadTexts:
sipContactRetryAfter.setStatus('current')
if mibBuilder.loadTexts:
sipContactRetryAfter.setDescription('This object indicates that the contact information is currently inactive, and that it should only be activated after the date and time specified by the object. This value is provided by a user when deleting contact information using a REGISTER request containing a Retry- After header.')
sip_reg_stats_table = mib_table((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1))
if mibBuilder.loadTexts:
sipRegStatsTable.setStatus('current')
if mibBuilder.loadTexts:
sipRegStatsTable.setDescription('This table contains the summary statistics objects applicable to all SIP Registrars in this system. Each row represents those objects for a particular SIP Registrar. The instances of SIP Registrars are uniquely identified by applIndex.')
sip_reg_stats_entry = mib_table_row((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1, 1)).setIndexNames((0, 'NETWORK-SERVICES-MIB', 'applIndex'))
if mibBuilder.loadTexts:
sipRegStatsEntry.setStatus('current')
if mibBuilder.loadTexts:
sipRegStatsEntry.setDescription('A row of summary statistics.')
sip_reg_accepted_registrations = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1, 1, 1), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipRegAcceptedRegistrations.setStatus('current')
if mibBuilder.loadTexts:
sipRegAcceptedRegistrations.setDescription('This object contains a count of the number of REGISTER requests that have been accepted (status code 200) by the Registrar. This includes additions of new contact information, refreshing contact information, as well as requests for deletion of contact information.')
sip_reg_rejected_registrations = mib_table_column((1, 3, 6, 1, 2, 1, 9998, 5, 2, 1, 1, 2), counter32()).setMaxAccess('readonly')
if mibBuilder.loadTexts:
sipRegRejectedRegistrations.setStatus('current')
if mibBuilder.loadTexts:
sipRegRejectedRegistrations.setDescription('This object contains a count of the number REGISTER requests that have been rejected by the Registrar.')
sip_reg_mib_notif = mib_identifier((1, 3, 6, 1, 2, 1, 9998, 5, 3))
sip_reg_mib_conformance = mib_identifier((1, 3, 6, 1, 2, 1, 9998, 5, 4))
sip_reg_mib_compliances = mib_identifier((1, 3, 6, 1, 2, 1, 9998, 5, 4, 1))
sip_reg_mib_groups = mib_identifier((1, 3, 6, 1, 2, 1, 9998, 5, 4, 2))
sip_reg_compliance = module_compliance((1, 3, 6, 1, 2, 1, 9998, 5, 4, 1, 1)).setObjects(('SIP-REGISTRAR-MIB', 'sipRegistrarConfigGroup'), ('SIP-REGISTRAR-MIB', 'sipRegistrarStatsGroup'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sip_reg_compliance = sipRegCompliance.setStatus('current')
if mibBuilder.loadTexts:
sipRegCompliance.setDescription('The compliance statement for SIP entities.')
sip_registrar_config_group = object_group((1, 3, 6, 1, 2, 1, 9998, 5, 4, 2, 1)).setObjects(('SIP-REGISTRAR-MIB', 'sipRegAllowThirdParty'), ('SIP-REGISTRAR-MIB', 'sipRegContactDfltExpiryDuration'), ('SIP-REGISTRAR-MIB', 'sipRegContactDfltExpiryDate'), ('SIP-REGISTRAR-MIB', 'sipRegMaxContactExpiryDate'), ('SIP-REGISTRAR-MIB', 'sipRegRespHasContacts'), ('SIP-REGISTRAR-MIB', 'sipRegMaxUsers'), ('SIP-REGISTRAR-MIB', 'sipRegCurrentUsers'), ('SIP-REGISTRAR-MIB', 'sipUserUri'), ('SIP-REGISTRAR-MIB', 'sipUserPassword'), ('SIP-REGISTRAR-MIB', 'sipUserAuthenticationFailures'), ('SIP-REGISTRAR-MIB', 'sipUserTableRowStatus'), ('SIP-REGISTRAR-MIB', 'sipContactDisplayName'), ('SIP-REGISTRAR-MIB', 'sipContactURI'), ('SIP-REGISTRAR-MIB', 'sipContactLastUpdated'), ('SIP-REGISTRAR-MIB', 'sipContactExpiry'), ('SIP-REGISTRAR-MIB', 'sipContactPreference'), ('SIP-REGISTRAR-MIB', 'sipContactAction'), ('SIP-REGISTRAR-MIB', 'sipContactRetryAfter'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sip_registrar_config_group = sipRegistrarConfigGroup.setStatus('current')
if mibBuilder.loadTexts:
sipRegistrarConfigGroup.setDescription('A collection of objects providing configuration for SIP Registrars.')
sip_registrar_stats_group = object_group((1, 3, 6, 1, 2, 1, 9998, 5, 4, 2, 2)).setObjects(('SIP-REGISTRAR-MIB', 'sipRegAcceptedRegistrations'), ('SIP-REGISTRAR-MIB', 'sipRegRejectedRegistrations'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
sip_registrar_stats_group = sipRegistrarStatsGroup.setStatus('current')
if mibBuilder.loadTexts:
sipRegistrarStatsGroup.setDescription('A collection of objects providing statistics for SIP Registrars.')
mibBuilder.exportSymbols('SIP-REGISTRAR-MIB', sipContactEntry=sipContactEntry, sipContactLastUpdated=sipContactLastUpdated, sipRegStats=sipRegStats, sipRegRespHasContacts=sipRegRespHasContacts, sipUserAuthenticationFailures=sipUserAuthenticationFailures, sipRegCfg=sipRegCfg, sipContactExpiry=sipContactExpiry, PYSNMP_MODULE_ID=sipRegistrarMIB, sipContactAction=sipContactAction, sipRegRejectedRegistrations=sipRegRejectedRegistrations, sipRegistrarConfigGroup=sipRegistrarConfigGroup, sipRegMIBNotif=sipRegMIBNotif, sipContactIndex=sipContactIndex, sipRegMIBGroups=sipRegMIBGroups, sipRegCfgEntry=sipRegCfgEntry, sipContactPreference=sipContactPreference, sipUserPassword=sipUserPassword, sipRegistrarStatsGroup=sipRegistrarStatsGroup, sipRegCompliance=sipRegCompliance, sipRegMIBCompliances=sipRegMIBCompliances, sipRegistrarMIB=sipRegistrarMIB, sipRegUserTable=sipRegUserTable, sipRegContactDfltExpiryDate=sipRegContactDfltExpiryDate, sipContactURI=sipContactURI, sipContactRetryAfter=sipContactRetryAfter, sipRegAcceptedRegistrations=sipRegAcceptedRegistrations, sipUserTableRowStatus=sipUserTableRowStatus, sipRegCfgTable=sipRegCfgTable, sipRegStatsEntry=sipRegStatsEntry, sipRegMaxContactExpiryDate=sipRegMaxContactExpiryDate, sipRegContactDfltExpiryDuration=sipRegContactDfltExpiryDuration, sipRegMaxUsers=sipRegMaxUsers, sipRegAllowThirdParty=sipRegAllowThirdParty, sipContactTable=sipContactTable, sipContactDisplayName=sipContactDisplayName, sipRegMIBConformance=sipRegMIBConformance, sipRegUserEntry=sipRegUserEntry, sipRegStatsTable=sipRegStatsTable, sipUserIndex=sipUserIndex, sipRegCurrentUsers=sipRegCurrentUsers, sipUserUri=sipUserUri) |
#Leia um numero inteiro e monte sua tabuada
n1 = int(input('Digite um numero inteiro: '))
print('Tabuada do numero : '.format(n1))
print(' 1 x {} = {}'.format(n1, n1*1))
print(' 2 x {} = {}'.format(n1, n1*2))
print(' 3 x {} = {}'.format(n1, n1*3))
print(' 4 x {} = {}'.format(n1, n1*4))
print(' 5 x {} = {}'.format(n1, n1*5))
print(' 6 x {} = {}'.format(n1, n1*6))
print(' 7 x {} = {}'.format(n1, n1*7))
print(' 8 x {} = {}'.format(n1, n1*8))
print(' 9 x {} = {}'.format(n1, n1*9))
| n1 = int(input('Digite um numero inteiro: '))
print('Tabuada do numero : '.format(n1))
print(' 1 x {} = {}'.format(n1, n1 * 1))
print(' 2 x {} = {}'.format(n1, n1 * 2))
print(' 3 x {} = {}'.format(n1, n1 * 3))
print(' 4 x {} = {}'.format(n1, n1 * 4))
print(' 5 x {} = {}'.format(n1, n1 * 5))
print(' 6 x {} = {}'.format(n1, n1 * 6))
print(' 7 x {} = {}'.format(n1, n1 * 7))
print(' 8 x {} = {}'.format(n1, n1 * 8))
print(' 9 x {} = {}'.format(n1, n1 * 9)) |
def calc_eval(exp):
if isinstance(exp, Pair):
if exp.first == "and":
return eval_and(exp.rest)
else:
return calc_apply(calc_eval(exp, first), list(exp.rest.map(calc_eval)))
elif exp in OPERATORS:
return OPERATORS[exp]
else:
return exp
def eval_and(operands):
curr, val = operands, True
while curr is not nil:
val = calc_eval(curr.first)
if val is False:
return False
curr = curr.rest
return val
| def calc_eval(exp):
if isinstance(exp, Pair):
if exp.first == 'and':
return eval_and(exp.rest)
else:
return calc_apply(calc_eval(exp, first), list(exp.rest.map(calc_eval)))
elif exp in OPERATORS:
return OPERATORS[exp]
else:
return exp
def eval_and(operands):
(curr, val) = (operands, True)
while curr is not nil:
val = calc_eval(curr.first)
if val is False:
return False
curr = curr.rest
return val |
class ErrorMsg:
float
#float64 X_One
#float64 Height_Of_Cone
#float64 Area_Of_View_Top
#float64 Area_Of_View_Bottom
#bool Stop_Now
| class Errormsg:
float |
class HDPath:
"""
A class representing an HD path. This class is the base class
for both account specific HD paths (:class:`~ape_trezor.hdpath.HDPath`)
as well as the derivation HD path class :class:`~ape_trezor.hdpath.HDBasePath`.
"""
def __init__(self, path: str):
path = path.rstrip("/")
if not path.startswith("m/"):
raise ValueError("HD path must begin with m/")
self.path = path
def __str__(self):
return self.path
class HDBasePath(HDPath):
"""
A derivation HD path useful for creating objects of type
:class:`~ape_trezor.hdpath.HDPath`.
"""
def __init__(self, base_path=None):
base_path = base_path or "m/44'/60'/0'/0"
base_path = base_path.rstrip("/")
super().__init__(base_path)
def get_account_path(self, account_id) -> HDPath:
return HDPath(f"{self.path}/{account_id}")
| class Hdpath:
"""
A class representing an HD path. This class is the base class
for both account specific HD paths (:class:`~ape_trezor.hdpath.HDPath`)
as well as the derivation HD path class :class:`~ape_trezor.hdpath.HDBasePath`.
"""
def __init__(self, path: str):
path = path.rstrip('/')
if not path.startswith('m/'):
raise value_error('HD path must begin with m/')
self.path = path
def __str__(self):
return self.path
class Hdbasepath(HDPath):
"""
A derivation HD path useful for creating objects of type
:class:`~ape_trezor.hdpath.HDPath`.
"""
def __init__(self, base_path=None):
base_path = base_path or "m/44'/60'/0'/0"
base_path = base_path.rstrip('/')
super().__init__(base_path)
def get_account_path(self, account_id) -> HDPath:
return hd_path(f'{self.path}/{account_id}') |
#
# PySNMP MIB module NTWS-RF-DETECT-TC (http://snmplabs.com/pysmi)
# ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/NTWS-RF-DETECT-TC
# Produced by pysmi-0.3.4 at Wed May 1 14:25:43 2019
# On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4
# Using Python version 3.7.3 (default, Mar 27 2019, 09:23:15)
#
Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString")
NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")
ConstraintsUnion, ValueSizeConstraint, ConstraintsIntersection, ValueRangeConstraint, SingleValueConstraint = mibBuilder.importSymbols("ASN1-REFINEMENT", "ConstraintsUnion", "ValueSizeConstraint", "ConstraintsIntersection", "ValueRangeConstraint", "SingleValueConstraint")
ntwsMibs, = mibBuilder.importSymbols("NTWS-ROOT-MIB", "ntwsMibs")
NotificationGroup, ModuleCompliance = mibBuilder.importSymbols("SNMPv2-CONF", "NotificationGroup", "ModuleCompliance")
TimeTicks, NotificationType, IpAddress, ObjectIdentity, ModuleIdentity, MibScalar, MibTable, MibTableRow, MibTableColumn, Unsigned32, Counter32, Integer32, Counter64, iso, Bits, MibIdentifier, Gauge32 = mibBuilder.importSymbols("SNMPv2-SMI", "TimeTicks", "NotificationType", "IpAddress", "ObjectIdentity", "ModuleIdentity", "MibScalar", "MibTable", "MibTableRow", "MibTableColumn", "Unsigned32", "Counter32", "Integer32", "Counter64", "iso", "Bits", "MibIdentifier", "Gauge32")
TextualConvention, DisplayString = mibBuilder.importSymbols("SNMPv2-TC", "TextualConvention", "DisplayString")
ntwsRFDetectTc = ModuleIdentity((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 11))
ntwsRFDetectTc.setRevisions(('2008-05-15 00:03', '2007-04-18 00:02', '2007-03-28 00:01',))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts: ntwsRFDetectTc.setRevisionsDescriptions(('v1.1.1, MRT v1.1: Made changes in order to comply with corporate MIB conventions.', 'v1.1.0: added two new TCs, for use in ntwsInfoRFDetectMib', 'v1.0.0: initial version',))
if mibBuilder.loadTexts: ntwsRFDetectTc.setLastUpdated('200805150003Z')
if mibBuilder.loadTexts: ntwsRFDetectTc.setOrganization('Nortel Networks')
if mibBuilder.loadTexts: ntwsRFDetectTc.setContactInfo('www.nortelnetworks.com')
if mibBuilder.loadTexts: ntwsRFDetectTc.setDescription("Textual Conventions used by Nortel Networks wireless switches. Copyright 2008 Nortel Networks. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.")
class NtwsRFDetectClassificationReason(TextualConvention, Integer32):
description = 'Enumeration of the reasons why a RF device is classified the way it is.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))
namedValues = NamedValues(("other", 1), ("default-classification", 2), ("rogue-list", 3), ("ap-in-modo", 4), ("neighbor-list", 5), ("ssid-masquerade", 6), ("seen-in-network", 7), ("ad-hoc", 8), ("ssid-list", 9), ("pass-fingerprint", 10), ("fail-fingerprint", 11))
class NtwsRFDetectClassification(TextualConvention, Integer32):
description = 'The classification of an RF device.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2, 3, 4, 5, 6))
namedValues = NamedValues(("other", 1), ("not-classified", 2), ("member", 3), ("neighbor", 4), ("suspect", 5), ("rogue", 6))
class NtwsRFDetectNetworkingMode(TextualConvention, Integer32):
description = 'The way an RF device is doing wireless networking.'
status = 'current'
subtypeSpec = Integer32.subtypeSpec + ConstraintsUnion(SingleValueConstraint(1, 2))
namedValues = NamedValues(("ad-hoc", 1), ("infrastructure", 2))
mibBuilder.exportSymbols("NTWS-RF-DETECT-TC", ntwsRFDetectTc=ntwsRFDetectTc, NtwsRFDetectClassificationReason=NtwsRFDetectClassificationReason, NtwsRFDetectClassification=NtwsRFDetectClassification, NtwsRFDetectNetworkingMode=NtwsRFDetectNetworkingMode, PYSNMP_MODULE_ID=ntwsRFDetectTc)
| (integer, object_identifier, octet_string) = mibBuilder.importSymbols('ASN1', 'Integer', 'ObjectIdentifier', 'OctetString')
(named_values,) = mibBuilder.importSymbols('ASN1-ENUMERATION', 'NamedValues')
(constraints_union, value_size_constraint, constraints_intersection, value_range_constraint, single_value_constraint) = mibBuilder.importSymbols('ASN1-REFINEMENT', 'ConstraintsUnion', 'ValueSizeConstraint', 'ConstraintsIntersection', 'ValueRangeConstraint', 'SingleValueConstraint')
(ntws_mibs,) = mibBuilder.importSymbols('NTWS-ROOT-MIB', 'ntwsMibs')
(notification_group, module_compliance) = mibBuilder.importSymbols('SNMPv2-CONF', 'NotificationGroup', 'ModuleCompliance')
(time_ticks, notification_type, ip_address, object_identity, module_identity, mib_scalar, mib_table, mib_table_row, mib_table_column, unsigned32, counter32, integer32, counter64, iso, bits, mib_identifier, gauge32) = mibBuilder.importSymbols('SNMPv2-SMI', 'TimeTicks', 'NotificationType', 'IpAddress', 'ObjectIdentity', 'ModuleIdentity', 'MibScalar', 'MibTable', 'MibTableRow', 'MibTableColumn', 'Unsigned32', 'Counter32', 'Integer32', 'Counter64', 'iso', 'Bits', 'MibIdentifier', 'Gauge32')
(textual_convention, display_string) = mibBuilder.importSymbols('SNMPv2-TC', 'TextualConvention', 'DisplayString')
ntws_rf_detect_tc = module_identity((1, 3, 6, 1, 4, 1, 45, 6, 1, 4, 11))
ntwsRFDetectTc.setRevisions(('2008-05-15 00:03', '2007-04-18 00:02', '2007-03-28 00:01'))
if getattr(mibBuilder, 'version', (0, 0, 0)) > (4, 4, 0):
if mibBuilder.loadTexts:
ntwsRFDetectTc.setRevisionsDescriptions(('v1.1.1, MRT v1.1: Made changes in order to comply with corporate MIB conventions.', 'v1.1.0: added two new TCs, for use in ntwsInfoRFDetectMib', 'v1.0.0: initial version'))
if mibBuilder.loadTexts:
ntwsRFDetectTc.setLastUpdated('200805150003Z')
if mibBuilder.loadTexts:
ntwsRFDetectTc.setOrganization('Nortel Networks')
if mibBuilder.loadTexts:
ntwsRFDetectTc.setContactInfo('www.nortelnetworks.com')
if mibBuilder.loadTexts:
ntwsRFDetectTc.setDescription("Textual Conventions used by Nortel Networks wireless switches. Copyright 2008 Nortel Networks. All rights reserved. This Nortel Networks SNMP Management Information Base Specification (Specification) embodies Nortel Networks' confidential and proprietary intellectual property. This Specification is supplied 'AS IS' and Nortel Networks makes no warranty, either express or implied, as to the use, operation, condition, or performance of the Specification.")
class Ntwsrfdetectclassificationreason(TextualConvention, Integer32):
description = 'Enumeration of the reasons why a RF device is classified the way it is.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11))
named_values = named_values(('other', 1), ('default-classification', 2), ('rogue-list', 3), ('ap-in-modo', 4), ('neighbor-list', 5), ('ssid-masquerade', 6), ('seen-in-network', 7), ('ad-hoc', 8), ('ssid-list', 9), ('pass-fingerprint', 10), ('fail-fingerprint', 11))
class Ntwsrfdetectclassification(TextualConvention, Integer32):
description = 'The classification of an RF device.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2, 3, 4, 5, 6))
named_values = named_values(('other', 1), ('not-classified', 2), ('member', 3), ('neighbor', 4), ('suspect', 5), ('rogue', 6))
class Ntwsrfdetectnetworkingmode(TextualConvention, Integer32):
description = 'The way an RF device is doing wireless networking.'
status = 'current'
subtype_spec = Integer32.subtypeSpec + constraints_union(single_value_constraint(1, 2))
named_values = named_values(('ad-hoc', 1), ('infrastructure', 2))
mibBuilder.exportSymbols('NTWS-RF-DETECT-TC', ntwsRFDetectTc=ntwsRFDetectTc, NtwsRFDetectClassificationReason=NtwsRFDetectClassificationReason, NtwsRFDetectClassification=NtwsRFDetectClassification, NtwsRFDetectNetworkingMode=NtwsRFDetectNetworkingMode, PYSNMP_MODULE_ID=ntwsRFDetectTc) |
# -*- coding: utf-8 -*-
#import ultron.sentry.api as api
#import ultron.sentry.Math as Math
#import ultron.sentry.Analysis as Analysis
#import ultron.sentry.Utilities as Utilities
__all__ = ['__version__']
__version__ = "0.0.1" | __all__ = ['__version__']
__version__ = '0.0.1' |
expected_output ={
"lisp_id": {
0: {
"instance_id": {
8188: {
"eid_table": "Vlan 210",
"entries": 1,
"eid_prefix": {
"0017.0100.0001/48": {
"uptime": "01:13:15",
"expiry_time": "22:46:44",
"via": "map-reply",
"map_reply_state": "complete",
"prefix_location": "local-to-site",
"source_type": "map-reply",
"last_modified": "01:13:15,",
"source_ip": "1.1.1.10",
"prefix_state": "Active",
"encap": "dynamic-EID traffic",
"rloc_set": {
"1.1.1.10": {
"uptime": "01:13:15",
"rloc_state": "up",
"priority": 10,
"weight": 10,
"encap_iid": "-",
"last_state_change": {
"time": "01:13:15",
"count": 1,
},
"last_route_reach_change": {
"time": "01:13:15",
"count": 1,
},
"last_pri_weight_change": {
"priority": "never",
"weight": "never",
},
"rloc_probe_sent": {
"time": "01:13:15",
"rtt": 1,
"rtt_unit": "ms",
},
}
},
}
},
}
}
}
}
}
| expected_output = {'lisp_id': {0: {'instance_id': {8188: {'eid_table': 'Vlan 210', 'entries': 1, 'eid_prefix': {'0017.0100.0001/48': {'uptime': '01:13:15', 'expiry_time': '22:46:44', 'via': 'map-reply', 'map_reply_state': 'complete', 'prefix_location': 'local-to-site', 'source_type': 'map-reply', 'last_modified': '01:13:15,', 'source_ip': '1.1.1.10', 'prefix_state': 'Active', 'encap': 'dynamic-EID traffic', 'rloc_set': {'1.1.1.10': {'uptime': '01:13:15', 'rloc_state': 'up', 'priority': 10, 'weight': 10, 'encap_iid': '-', 'last_state_change': {'time': '01:13:15', 'count': 1}, 'last_route_reach_change': {'time': '01:13:15', 'count': 1}, 'last_pri_weight_change': {'priority': 'never', 'weight': 'never'}, 'rloc_probe_sent': {'time': '01:13:15', 'rtt': 1, 'rtt_unit': 'ms'}}}}}}}}}} |
a = 100
b = 3
print(a % b)
print(divmod(a, b))
| a = 100
b = 3
print(a % b)
print(divmod(a, b)) |
"""
A collection of Python modules used by Open GEE during the build process.
"""
__all__ = ['c_compiler', 'environ', 'version']
| """
A collection of Python modules used by Open GEE during the build process.
"""
__all__ = ['c_compiler', 'environ', 'version'] |
#!usr/bin/env python
#-*-coding:utf-8 -*-
#Filename:Class_Inherit.py
########This chapter is the most beautiful that can be felt from all the based practice
#Multi-inherit to classify
#Main
class Animal(object):
pass
#Big class
class Mammal(Animal):
pass
class Bird(Animal):
pass
#Small class
class Dog(Mammal):
pass
class Bat(Mammal):
pass
class Parrot(Bird):
pass
class Ostrich(Bird):
pass
#Another self-defined main class
class Runnable(object):
def run(self):
print('Running...')
class Flyable(object):
def fly(self):
print('Flying...')
#Inherit many parent/base/super class, called MixIn
#While Java is allowed single parent-class inherited
class Dog(Mammal,Runnable):
pass
class Bat(Mammal,Flyable):
pass
#Special defined class
#Original class
class Student(object):
def __init__(self,name):
self.name=name
print(Student('Michael')) #This will print a address in hex
#Speacil in __xx__ the inside method
#The first is __str__
class SStudent(object):
def __init__(self,name):
self.name=name
def __str__(self): #This inside method limits return the name as a str
return 'SStudent object (name: %s)'%self.name
print(SStudent('Michael'))
#The second is __iter__,as its name seen, it's always used in iteration
class Fib(object):
def __init__(self):
self.a,self.b=0,1 #initialize two beginning number
def __iter__(self):
return self #the iteration is itself so return itself
def __next__(self):
self.a,self.b,=self.b,self.a+self.b #calculate the next fib-num
if self.a>100000: #Terminate the loop
raise StopIteration()
return self.a
#Test the __iter__ in Fib class
def test(s):
for n in s:
print(n)
#print(n,end=' ')
test(Fib())
"""
#Make the fib a list
class Fiblist(object):
def __getitem__(self,n=100): #Default to print the first 100 numbers
a,b=1,1
for x in range(n): #Be care! This appear a x #This loop no stop sentence
a,b=b,a+b
return a
for i in Fiblist():
print(i)
if i>1000000: #use the error to stop the loop
raise ValueError()
f=Fiblist()
f[10] #Seen as a list
#but f[5:10] will be an error, because the slice might be a integer
"""
#Fiblist in slice
class Fibslice(object):
def __getitem__(self,n):
if isinstance(n,int):
a,b=1,1
for x in range(n):
a,b=b,a+b
return a
if isinstance(n,slice):
start=n.start
stop=n.stop
if start is None:
start=0
a,b=1,1
L=[]
for x in range(stop):
if x>=start:
L.append(a)
a,b=b,a+b
return L
#f=Fibslice()
#f[5:18]
#customized class attribution
class student(object):
def __init__(self,name):
self.name=name
def __getattr__(self,attr): #Student.
if attr=='age':
return lambda:25
raise AttributeError('\'Student\' object has no attribution \'%s\'' %attr)
#Change the url for write the new APi, the path can be write once a time
class Chain(object):
def __init__(self,path=''): #Attention the '' or ' ',always end=' ' has a blank space
self.path=path
def __getattr__(self,path): #Made the attribution as the path!!!!!!!!!!!
return Chain('%s/%s'%(self.path,path))
def __str__(self):
return self.path
__repr__=__str__
| class Animal(object):
pass
class Mammal(Animal):
pass
class Bird(Animal):
pass
class Dog(Mammal):
pass
class Bat(Mammal):
pass
class Parrot(Bird):
pass
class Ostrich(Bird):
pass
class Runnable(object):
def run(self):
print('Running...')
class Flyable(object):
def fly(self):
print('Flying...')
class Dog(Mammal, Runnable):
pass
class Bat(Mammal, Flyable):
pass
class Student(object):
def __init__(self, name):
self.name = name
print(student('Michael'))
class Sstudent(object):
def __init__(self, name):
self.name = name
def __str__(self):
return 'SStudent object (name: %s)' % self.name
print(s_student('Michael'))
class Fib(object):
def __init__(self):
(self.a, self.b) = (0, 1)
def __iter__(self):
return self
def __next__(self):
(self.a, self.b) = (self.b, self.a + self.b)
if self.a > 100000:
raise stop_iteration()
return self.a
def test(s):
for n in s:
print(n)
test(fib())
'\n#Make the fib a list\nclass Fiblist(object):\n def __getitem__(self,n=100): #Default to print the first 100 numbers\n a,b=1,1\n for x in range(n): #Be care! This appear a x #This loop no stop sentence\n a,b=b,a+b\n return a\nfor i in Fiblist():\n print(i)\n if i>1000000: #use the error to stop the loop\n raise ValueError()\nf=Fiblist()\nf[10] #Seen as a list\n#but f[5:10] will be an error, because the slice might be a integer\n'
class Fibslice(object):
def __getitem__(self, n):
if isinstance(n, int):
(a, b) = (1, 1)
for x in range(n):
(a, b) = (b, a + b)
return a
if isinstance(n, slice):
start = n.start
stop = n.stop
if start is None:
start = 0
(a, b) = (1, 1)
l = []
for x in range(stop):
if x >= start:
L.append(a)
(a, b) = (b, a + b)
return L
class Student(object):
def __init__(self, name):
self.name = name
def __getattr__(self, attr):
if attr == 'age':
return lambda : 25
raise attribute_error("'Student' object has no attribution '%s'" % attr)
class Chain(object):
def __init__(self, path=''):
self.path = path
def __getattr__(self, path):
return chain('%s/%s' % (self.path, path))
def __str__(self):
return self.path
__repr__ = __str__ |
#!/usr/bin/python3
# -*- coding: utf-8 -*-
'''\
Nomad-RPi testing modules.
since: 23-APR-2018
'''
| """Nomad-RPi testing modules.
since: 23-APR-2018
""" |
#!/usr/bin/env python3
"""
Deal with spatial location of the cube.
The grid definition in gpiline, gpxline, gpx, and gpy defines
an affine transform from inline, crossline to world X, Y.
Older ZGY files might use several ways to specify the transform.
Since an affine transform is used it is possible to define a
coordinate system where the X and Y axes are not precisely
perpendicular to each other. It is up to the application reading the
files to decide whether to accept non-orthogonal coordinate systems.
When writing files you should think long and hard about whether you
really need to allow the user to create a non orthogonal ZGY file.
If you do, you might regret it after a few decades of supporting that
feature in all your applications that read ZGY.
"FourPoint" is what new ZGY files should use on write. This provides
the coordinates of the four corners of the survey both in ordinal
(i, j), annotation (inline, crossline), and world (X, Y) coordinates.
The order of these points is:
First inline / first crossline,
last inline / first crossline,
first inline / last crossline,
last inline / last crossline.
The API will always return the lattice as "FourPoint", even if the ZGY
file uses a different way of specifying geometry.
The ordinal cornere are not stored. They are implied to be
( 0, 0)
(size[0] - 1, 0)
( 0, size[1] - 1)
(size[0] - 1, size[1] - 1)
The annotation corners are required to be stored, even though this is
redundant with "orig" and "inc":
(orig[0], orig[1])
(orig[0]+inc[0]*(size[0]-1), orig[1])
(orig[0], orig[1]+inc[1]*(size[1]-1))
(orig[0]+inc[0]*(size[0]-1), orig[1]+inc[1]*(size[1]-1))
The world X, Y coordinates are required to be stored for all four
corners, in spite of the last corner being redundant. As long as the
transform is required to be affine, three points are sufficient.
"ThreePoint" is more general. Instead of storing the four corners,
three arbitrary points are specified with both inline, crossline and
world X, Y coordinates. The last point in the arrays is unused. As
long as the points are not colinear or duplicated, this is enough to
define the affine transform.
The "Parametric" type is not used. The original intent was that with
"Parametric", the "gazim" field would contain Inline, crossline
azimuths (a.k.a. "base angle" and "side angle", respectively) as
360-degree compass direction (0 = N, 90 = E, 180 = S, 270 = W). The
"gbinsz" field would contain Inline, crossline bin size as METERS
always (i.e. NOT dependent on hdim or hunit). To my knowledge, no ZGY
files have ever been written using these fields. So, readers should
treat both "Unknown" and "Parametric" as errors.
New files should always be written using "FourPoint" to assure that
all ZGY readers handle them correctly. When reading, always assume
"ThreePoint" on the file but convert to "FourPoint" before providing
presenting the information to the user.
This means the reader should trust that the first three points in
(gpiline, gpxline) line up with the first three points in (gpx, gpy).
The reader should not trust that those points are in fact the corners.
And the reader should ignore the last point completely. ZGY files in
the wild might have been written explicitly in "ThreePoint" mode, or
they might accidentally have been written as "FourPoint" with the
corners in the wrong order. Reading in "ThreePoint" mode handles all
those cases.
"""
##@package openzgy.impl.transform
#@brief Deal with spatial location of the cube.
def generalTransform(ax0, ay0, ax1, ay1, ax2, ay2,
bx0, by0, bx1, by1, bx2, by2,
data):
"""
Coordinate conversion based on 3 arbitrary control points
in both the source and the target system, i.e. no need
to calculate the transformation matrix first.
This is my favorite code snippet for coordinate conversion.
Almost no ambiguity about what it does and how to use it.
The data array is converted in place. The code tries to ensure
that the output is floating point even though the input might
not be. This is to prevent surprises if converting the result
to a numpy type (where types are more strict) and forgetting
to give an explicit type.
See iltf2d.cpp.cpp.
TODO-Test, since this Python code was not ported from there
(I used lattice.py in interpretation-sandbox instead),
some extra testing is needed to verify the code.
"""
# Make everything relative to p0
ax1 -= ax0; ay1 -= ay0;
ax2 -= ax0; ay2 -= ay0;
bx1 -= bx0; by1 -= by0;
bx2 -= bx0; by2 -= by0;
det = ax1*ay2 - ax2*ay1; # The determinant
if abs(det) < 1.0e-6:
# If this is used to interpret coords from a ZGY file
# then caller should catch the exception and either
# just substitute a default or raise ZgyFormatError
raise RuntimeError("Colinear or coincident points.")
for pos in range(len(data)):
xq = data[pos][0] - ax0;
yq = data[pos][1] - ay0;
s = (xq*ay2 - ax2*yq)/det;
t = (ax1*yq - xq*ay1)/det;
data[pos][0] = float(bx0 + s*bx1 + t*bx2);
data[pos][1] = float(by0 + s*by1 + t*by2);
def acpToOcp(orig, inc, size, il, xl, wx, wy):
"""
Convert 3 arbitrary control points containing annotation- and world coords
into 4 ordered corner points according to the Petrel Ordered Corner Points
(OCP) definition, which corresponds to these bulk data indices:
( 0, 0)
(size[0] - 1, 0)
( 0, size[1] - 1)
(size[0] - 1, size[1] - 1)
See PetrelOrientationHandling
This is used to convert from a ThreePoint to a FourPoint definition.
If the definition is already FourPoint then calling this function with
the 3 first points should return the same result.
See OrderedCornerPoints.cpp.
TODO-Test, since this Python code was not ported from there
(I used lattice.py in interpretation-sandbox instead),
some extra testing is needed to verify the code.
"""
last = [orig[0] + inc[0] * (size[0]-1), orig[1] + inc[1] * (size[1]-1)]
corners = [[orig[0], orig[1]],
[last[0], orig[1]],
[orig[0], last[1]],
[last[0], last[1]]]
generalTransform(il[0], xl[0], il[1], xl[1], il[2], xl[2],
wx[0], wy[0], wx[1], wy[1], wx[2], wy[2],
corners)
return corners
# Copyright 2017-2020, Schlumberger
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
| """
Deal with spatial location of the cube.
The grid definition in gpiline, gpxline, gpx, and gpy defines
an affine transform from inline, crossline to world X, Y.
Older ZGY files might use several ways to specify the transform.
Since an affine transform is used it is possible to define a
coordinate system where the X and Y axes are not precisely
perpendicular to each other. It is up to the application reading the
files to decide whether to accept non-orthogonal coordinate systems.
When writing files you should think long and hard about whether you
really need to allow the user to create a non orthogonal ZGY file.
If you do, you might regret it after a few decades of supporting that
feature in all your applications that read ZGY.
"FourPoint" is what new ZGY files should use on write. This provides
the coordinates of the four corners of the survey both in ordinal
(i, j), annotation (inline, crossline), and world (X, Y) coordinates.
The order of these points is:
First inline / first crossline,
last inline / first crossline,
first inline / last crossline,
last inline / last crossline.
The API will always return the lattice as "FourPoint", even if the ZGY
file uses a different way of specifying geometry.
The ordinal cornere are not stored. They are implied to be
( 0, 0)
(size[0] - 1, 0)
( 0, size[1] - 1)
(size[0] - 1, size[1] - 1)
The annotation corners are required to be stored, even though this is
redundant with "orig" and "inc":
(orig[0], orig[1])
(orig[0]+inc[0]*(size[0]-1), orig[1])
(orig[0], orig[1]+inc[1]*(size[1]-1))
(orig[0]+inc[0]*(size[0]-1), orig[1]+inc[1]*(size[1]-1))
The world X, Y coordinates are required to be stored for all four
corners, in spite of the last corner being redundant. As long as the
transform is required to be affine, three points are sufficient.
"ThreePoint" is more general. Instead of storing the four corners,
three arbitrary points are specified with both inline, crossline and
world X, Y coordinates. The last point in the arrays is unused. As
long as the points are not colinear or duplicated, this is enough to
define the affine transform.
The "Parametric" type is not used. The original intent was that with
"Parametric", the "gazim" field would contain Inline, crossline
azimuths (a.k.a. "base angle" and "side angle", respectively) as
360-degree compass direction (0 = N, 90 = E, 180 = S, 270 = W). The
"gbinsz" field would contain Inline, crossline bin size as METERS
always (i.e. NOT dependent on hdim or hunit). To my knowledge, no ZGY
files have ever been written using these fields. So, readers should
treat both "Unknown" and "Parametric" as errors.
New files should always be written using "FourPoint" to assure that
all ZGY readers handle them correctly. When reading, always assume
"ThreePoint" on the file but convert to "FourPoint" before providing
presenting the information to the user.
This means the reader should trust that the first three points in
(gpiline, gpxline) line up with the first three points in (gpx, gpy).
The reader should not trust that those points are in fact the corners.
And the reader should ignore the last point completely. ZGY files in
the wild might have been written explicitly in "ThreePoint" mode, or
they might accidentally have been written as "FourPoint" with the
corners in the wrong order. Reading in "ThreePoint" mode handles all
those cases.
"""
def general_transform(ax0, ay0, ax1, ay1, ax2, ay2, bx0, by0, bx1, by1, bx2, by2, data):
"""
Coordinate conversion based on 3 arbitrary control points
in both the source and the target system, i.e. no need
to calculate the transformation matrix first.
This is my favorite code snippet for coordinate conversion.
Almost no ambiguity about what it does and how to use it.
The data array is converted in place. The code tries to ensure
that the output is floating point even though the input might
not be. This is to prevent surprises if converting the result
to a numpy type (where types are more strict) and forgetting
to give an explicit type.
See iltf2d.cpp.cpp.
TODO-Test, since this Python code was not ported from there
(I used lattice.py in interpretation-sandbox instead),
some extra testing is needed to verify the code.
"""
ax1 -= ax0
ay1 -= ay0
ax2 -= ax0
ay2 -= ay0
bx1 -= bx0
by1 -= by0
bx2 -= bx0
by2 -= by0
det = ax1 * ay2 - ax2 * ay1
if abs(det) < 1e-06:
raise runtime_error('Colinear or coincident points.')
for pos in range(len(data)):
xq = data[pos][0] - ax0
yq = data[pos][1] - ay0
s = (xq * ay2 - ax2 * yq) / det
t = (ax1 * yq - xq * ay1) / det
data[pos][0] = float(bx0 + s * bx1 + t * bx2)
data[pos][1] = float(by0 + s * by1 + t * by2)
def acp_to_ocp(orig, inc, size, il, xl, wx, wy):
"""
Convert 3 arbitrary control points containing annotation- and world coords
into 4 ordered corner points according to the Petrel Ordered Corner Points
(OCP) definition, which corresponds to these bulk data indices:
( 0, 0)
(size[0] - 1, 0)
( 0, size[1] - 1)
(size[0] - 1, size[1] - 1)
See PetrelOrientationHandling
This is used to convert from a ThreePoint to a FourPoint definition.
If the definition is already FourPoint then calling this function with
the 3 first points should return the same result.
See OrderedCornerPoints.cpp.
TODO-Test, since this Python code was not ported from there
(I used lattice.py in interpretation-sandbox instead),
some extra testing is needed to verify the code.
"""
last = [orig[0] + inc[0] * (size[0] - 1), orig[1] + inc[1] * (size[1] - 1)]
corners = [[orig[0], orig[1]], [last[0], orig[1]], [orig[0], last[1]], [last[0], last[1]]]
general_transform(il[0], xl[0], il[1], xl[1], il[2], xl[2], wx[0], wy[0], wx[1], wy[1], wx[2], wy[2], corners)
return corners |
ICONS = ['new_file', 'open_file', 'save', 'cut', 'copy', 'paste',
'undo', 'redo', 'find_text']
theme_color = {
'Default': '#000000.#FFFFFF',
'Greygarious': '#83406A.#D1D4D1',
'Aquamarine': '#5B8340.#D1E7E0',
'Bold Beige': '#4B4620.#FFF0E1',
'Cobalt Blue': '#ffffBB.#3333aa',
'Olive Green': '#D1E7E0.#5B8340',
'Night Mode': '#FFFFFF.#000000',
}
| icons = ['new_file', 'open_file', 'save', 'cut', 'copy', 'paste', 'undo', 'redo', 'find_text']
theme_color = {'Default': '#000000.#FFFFFF', 'Greygarious': '#83406A.#D1D4D1', 'Aquamarine': '#5B8340.#D1E7E0', 'Bold Beige': '#4B4620.#FFF0E1', 'Cobalt Blue': '#ffffBB.#3333aa', 'Olive Green': '#D1E7E0.#5B8340', 'Night Mode': '#FFFFFF.#000000'} |
"""
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 -> A
2 -> B
3 -> C
...
26 -> Z
27 -> AA
28 -> AB
"""
class Solution:
# @param A : integer
# @return a strings
def convertToTitle(self, n):
s = ''
d = {0: 'A', 1: 'B', 2: 'C', 3: 'D', 4: 'E', 5: 'F', 6: 'G', 7: 'H', 8: 'I', 9: 'J', 10: 'K', 11: 'L', 12: 'M',
13: 'N', 14: 'O', 15: 'P', 16: 'Q', 17: 'R', 18: 'S', 19: 'T', 20: 'U', 21: 'V', 22: 'W', 23: 'X', 24: 'Y',
25: 'Z'}
while n > 0:
s += d[(n - 1) % 26]
n = (n - 1) // 26
return s[::-1]
s = Solution()
print(s.convertToTitle(703))
# output :: 'AAA'
| """
Given a positive integer, return its corresponding column title as appear in an Excel sheet.
For example:
1 -> A
2 -> B
3 -> C
...
26 -> Z
27 -> AA
28 -> AB
"""
class Solution:
def convert_to_title(self, n):
s = ''
d = {0: 'A', 1: 'B', 2: 'C', 3: 'D', 4: 'E', 5: 'F', 6: 'G', 7: 'H', 8: 'I', 9: 'J', 10: 'K', 11: 'L', 12: 'M', 13: 'N', 14: 'O', 15: 'P', 16: 'Q', 17: 'R', 18: 'S', 19: 'T', 20: 'U', 21: 'V', 22: 'W', 23: 'X', 24: 'Y', 25: 'Z'}
while n > 0:
s += d[(n - 1) % 26]
n = (n - 1) // 26
return s[::-1]
s = solution()
print(s.convertToTitle(703)) |
# -*- coding: utf-8 -*-
"""
Created on Wed Apr 21 16:40:10 2021
@author: leyuan
reference:
https://github.com/brynhayder/reinforcement_learning_an_introduction/tree/master/code/exercises/ex_5_10
"""
'''
TO DO
''' | """
Created on Wed Apr 21 16:40:10 2021
@author: leyuan
reference:
https://github.com/brynhayder/reinforcement_learning_an_introduction/tree/master/code/exercises/ex_5_10
"""
'\nTO DO\n' |
# -*- coding: utf-8 -*-
"""
jinja.exceptions
~~~~~~~~~~~~~~~~
Jinja exceptions.
:copyright: 2007 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
class TemplateError(RuntimeError):
pass
class SecurityException(TemplateError):
"""
Raise if the template designer tried to do something dangerous.
"""
class FilterNotFound(KeyError, TemplateError):
"""
Raised if a filter does not exist.
"""
def __init__(self, message):
KeyError.__init__(self, message)
class FilterArgumentError(TypeError, TemplateError):
"""
An argument passed to the filter was invalid.
"""
def __init__(self, message):
TypeError.__init__(self, message)
class TestNotFound(KeyError, TemplateError):
"""
Raised if a test does not exist.
"""
def __init__(self, message):
KeyError.__init__(self, message)
class TestArgumentError(TypeError, TemplateError):
"""
An argument passed to a test function was invalid.
"""
def __init__(self, message):
TypeError.__init__(self, message)
class TemplateNotFound(IOError, TemplateError):
"""
Raised if a template does not exist.
"""
def __init__(self, name):
IOError.__init__(self, name)
self.name = name
class TemplateSyntaxError(SyntaxError, TemplateError):
"""
Raised to tell the user that there is a problem with the template.
"""
def __init__(self, message, lineno, filename):
SyntaxError.__init__(self, message)
self.lineno = lineno
self.filename = filename
class TemplateRuntimeError(TemplateError):
"""
Raised by the template engine if a tag encountered an error when
rendering.
"""
class TemplateIncludeError(TemplateError):
"""
Raised by the `ControlledLoader` if recursive includes where
detected.
"""
| """
jinja.exceptions
~~~~~~~~~~~~~~~~
Jinja exceptions.
:copyright: 2007 by Armin Ronacher.
:license: BSD, see LICENSE for more details.
"""
class Templateerror(RuntimeError):
pass
class Securityexception(TemplateError):
"""
Raise if the template designer tried to do something dangerous.
"""
class Filternotfound(KeyError, TemplateError):
"""
Raised if a filter does not exist.
"""
def __init__(self, message):
KeyError.__init__(self, message)
class Filterargumenterror(TypeError, TemplateError):
"""
An argument passed to the filter was invalid.
"""
def __init__(self, message):
TypeError.__init__(self, message)
class Testnotfound(KeyError, TemplateError):
"""
Raised if a test does not exist.
"""
def __init__(self, message):
KeyError.__init__(self, message)
class Testargumenterror(TypeError, TemplateError):
"""
An argument passed to a test function was invalid.
"""
def __init__(self, message):
TypeError.__init__(self, message)
class Templatenotfound(IOError, TemplateError):
"""
Raised if a template does not exist.
"""
def __init__(self, name):
IOError.__init__(self, name)
self.name = name
class Templatesyntaxerror(SyntaxError, TemplateError):
"""
Raised to tell the user that there is a problem with the template.
"""
def __init__(self, message, lineno, filename):
SyntaxError.__init__(self, message)
self.lineno = lineno
self.filename = filename
class Templateruntimeerror(TemplateError):
"""
Raised by the template engine if a tag encountered an error when
rendering.
"""
class Templateincludeerror(TemplateError):
"""
Raised by the `ControlledLoader` if recursive includes where
detected.
""" |
# AUTOGENERATED BY NBDEV! DO NOT EDIT!
__all__ = ["index", "modules", "custom_doc_links", "git_url"]
index = {"convert_file_to_json": "00-documentation.ipynb",
"encode_file_as_utf8": "00-documentation.ipynb",
"convert_nb_to_md": "00-documentation.ipynb",
"junix.exporter.convert_file_to_json": "00-documentation.ipynb",
"MyHTMLParser": "00-documentation.ipynb",
"convert_df_to_md": "00-documentation.ipynb",
"remove_empty_index_col": "00-documentation.ipynb",
"extract_div_to_md_table": "00-documentation.ipynb",
"extract_div_to_md_tables": "00-documentation.ipynb",
"clean_md_file_tables": "00-documentation.ipynb",
"get_substring_idxs": "00-documentation.ipynb",
"clean_progress_bars": "00-documentation.ipynb",
"correct_png_name": "00-documentation.ipynb",
"specify_nb_in_img_fp": "00-documentation.ipynb",
"get_nb_naive_png_names": "00-documentation.ipynb",
"get_filename_correction_map": "00-documentation.ipynb",
"clean_md_text_img_fps": "00-documentation.ipynb",
"clean_md_files_img_fps": "00-documentation.ipynb",
"convert_and_clean_nb_to_md": "00-documentation.ipynb",
"construct_contributor_txt": "01-dictionary-page.ipynb",
"construct_licence_txt": "01-dictionary-page.ipynb",
"construct_metadata_table_str": "01-dictionary-page.ipynb",
"construct_field_desc_table_str": "01-dictionary-page.ipynb",
"get_dp_field_to_url_format_str": "03-page-population.ipynb",
"get_dp_field_to_title": "03-page-population.ipynb",
"format_id_values": "03-page-population.ipynb",
"construct_linked_ids_table_str": "01-dictionary-page.ipynb",
"construct_linked_idxs": "01-dictionary-page.ipynb",
"populate_and_save_template": "03-page-population.ipynb",
"populate_dictionary_page": "01-dictionary-page.ipynb",
"get_field_name_tags": "02-attribute extraction.ipynb",
"field_hierarchies_to_root": "02-attribute extraction.ipynb",
"assign_idx_fields": "02-attribute extraction.ipynb",
"initialise_site_data_with_ids": "02-attribute extraction.ipynb",
"get_dict_head": "02-attribute extraction.ipynb",
"datapackage_ref_to_ds_schema": "02-attribute extraction.ipynb",
"init_datapackage_ref": "02-attribute extraction.ipynb",
"extract_external_foreignkey_datapackage_refs": "02-attribute extraction.ipynb",
"add_resource_locs_to_external_datapackage_refs": "02-attribute extraction.ipynb",
"create_dir": "02-attribute extraction.ipynb",
"download_attribute_data_to_temp_dir": "02-attribute extraction.ipynb",
"load_datapackage": "02-attribute extraction.ipynb",
"load_resource_attr_dfs": "02-attribute extraction.ipynb",
"load_dataset_ref": "02-attribute extraction.ipynb",
"get_datapackage_ref": "02-attribute extraction.ipynb",
"load_full_id_map": "02-attribute extraction.ipynb",
"determine_matched_ids": "02-attribute extraction.ipynb",
"delete_null_attributes": "02-attribute extraction.ipynb",
"delete_null_values": "02-attribute extraction.ipynb",
"format_attr_value_type": "02-attribute extraction.ipynb",
"format_all_attr_value_types": "02-attribute extraction.ipynb",
"extract_attrs_from_resource_dfs": "02-attribute extraction.ipynb",
"flatten_list": "02-attribute extraction.ipynb",
"drop_duplicates_attrs": "02-attribute extraction.ipynb",
"json_nan_to_none": "02-attribute extraction.ipynb",
"construct_dictionary_knowledge_graph": "02-attribute extraction.ipynb",
"single_site_data_to_ids_df": "03-page-population.ipynb",
"single_site_data_to_ids_md_str": "03-page-population.ipynb",
"get_datapackage_url_to_alt_indexes": "03-page-population.ipynb",
"get_datapackage_url_to_attributes": "03-page-population.ipynb",
"filter_dict": "03-page-population.ipynb",
"set_multi_index_names": "03-page-population.ipynb",
"create_multi_index_attrs_df": "03-page-population.ipynb",
"get_attrs_df_index_cols": "03-page-population.ipynb",
"create_single_index_attrs_df": "03-page-population.ipynb",
"idx_to_attr_name": "03-page-population.ipynb",
"get_field_class": "03-page-population.ipynb",
"format_attribute_value_types": "03-page-population.ipynb",
"construct_attr_to_field_schema": "03-page-population.ipynb",
"extract_datapackage_url_to_ids": "03-page-population.ipynb",
"extract_combined_attrs_df": "03-page-population.ipynb",
"extract_datapackage_url_to_dict_id_type": "03-page-population.ipynb",
"get_datapackage_url_to_attrs_md_str": "03-page-population.ipynb",
"construct_dataset_md_str": "03-page-population.ipynb",
"single_site_data_to_datasets_md_str": "03-page-population.ipynb",
"clean_dp_name": "03-page-population.ipynb",
"construct_downloads_md_str": "03-page-population.ipynb",
"extract_name_from_single_site_data": "03-page-population.ipynb",
"single_site_data_to_md_str": "03-page-population.ipynb",
"clean_object_ids_to_names": "03-page-population.ipynb",
"get_object_ids_to_names": "03-page-population.ipynb",
"construct_object_docs": "03-page-population.ipynb",
"resource_to_title": "07-dataset-pages.ipynb",
"resource_to_description": "07-dataset-pages.ipynb",
"package_to_homepage": "07-dataset-pages.ipynb",
"resource_to_fields_table_str": "07-dataset-pages.ipynb",
"extract_resource_elements": "07-dataset-pages.ipynb",
"extract_package_elements": "07-dataset-pages.ipynb",
"resource_to_download_url": "07-dataset-pages.ipynb",
"identify_valid_datasets": "07-dataset-pages.ipynb",
"update_mkdocs_config": "07-dataset-pages.ipynb",
"populate_dataset_pages": "07-dataset-pages.ipynb",
"move_attribute_source_data_to_docs": "07-dataset-pages.ipynb"}
modules = ["dev/docs.py",
"dictionary.py",
"extraction.py",
"population.py",
"datasets.py"]
doc_url = "https://OSUKED.github.io/Power-Station-Dictionary/"
git_url = "https://github.com/OSUKED/Power-Station-Dictionary"
def custom_doc_links(name): return None
| __all__ = ['index', 'modules', 'custom_doc_links', 'git_url']
index = {'convert_file_to_json': '00-documentation.ipynb', 'encode_file_as_utf8': '00-documentation.ipynb', 'convert_nb_to_md': '00-documentation.ipynb', 'junix.exporter.convert_file_to_json': '00-documentation.ipynb', 'MyHTMLParser': '00-documentation.ipynb', 'convert_df_to_md': '00-documentation.ipynb', 'remove_empty_index_col': '00-documentation.ipynb', 'extract_div_to_md_table': '00-documentation.ipynb', 'extract_div_to_md_tables': '00-documentation.ipynb', 'clean_md_file_tables': '00-documentation.ipynb', 'get_substring_idxs': '00-documentation.ipynb', 'clean_progress_bars': '00-documentation.ipynb', 'correct_png_name': '00-documentation.ipynb', 'specify_nb_in_img_fp': '00-documentation.ipynb', 'get_nb_naive_png_names': '00-documentation.ipynb', 'get_filename_correction_map': '00-documentation.ipynb', 'clean_md_text_img_fps': '00-documentation.ipynb', 'clean_md_files_img_fps': '00-documentation.ipynb', 'convert_and_clean_nb_to_md': '00-documentation.ipynb', 'construct_contributor_txt': '01-dictionary-page.ipynb', 'construct_licence_txt': '01-dictionary-page.ipynb', 'construct_metadata_table_str': '01-dictionary-page.ipynb', 'construct_field_desc_table_str': '01-dictionary-page.ipynb', 'get_dp_field_to_url_format_str': '03-page-population.ipynb', 'get_dp_field_to_title': '03-page-population.ipynb', 'format_id_values': '03-page-population.ipynb', 'construct_linked_ids_table_str': '01-dictionary-page.ipynb', 'construct_linked_idxs': '01-dictionary-page.ipynb', 'populate_and_save_template': '03-page-population.ipynb', 'populate_dictionary_page': '01-dictionary-page.ipynb', 'get_field_name_tags': '02-attribute extraction.ipynb', 'field_hierarchies_to_root': '02-attribute extraction.ipynb', 'assign_idx_fields': '02-attribute extraction.ipynb', 'initialise_site_data_with_ids': '02-attribute extraction.ipynb', 'get_dict_head': '02-attribute extraction.ipynb', 'datapackage_ref_to_ds_schema': '02-attribute extraction.ipynb', 'init_datapackage_ref': '02-attribute extraction.ipynb', 'extract_external_foreignkey_datapackage_refs': '02-attribute extraction.ipynb', 'add_resource_locs_to_external_datapackage_refs': '02-attribute extraction.ipynb', 'create_dir': '02-attribute extraction.ipynb', 'download_attribute_data_to_temp_dir': '02-attribute extraction.ipynb', 'load_datapackage': '02-attribute extraction.ipynb', 'load_resource_attr_dfs': '02-attribute extraction.ipynb', 'load_dataset_ref': '02-attribute extraction.ipynb', 'get_datapackage_ref': '02-attribute extraction.ipynb', 'load_full_id_map': '02-attribute extraction.ipynb', 'determine_matched_ids': '02-attribute extraction.ipynb', 'delete_null_attributes': '02-attribute extraction.ipynb', 'delete_null_values': '02-attribute extraction.ipynb', 'format_attr_value_type': '02-attribute extraction.ipynb', 'format_all_attr_value_types': '02-attribute extraction.ipynb', 'extract_attrs_from_resource_dfs': '02-attribute extraction.ipynb', 'flatten_list': '02-attribute extraction.ipynb', 'drop_duplicates_attrs': '02-attribute extraction.ipynb', 'json_nan_to_none': '02-attribute extraction.ipynb', 'construct_dictionary_knowledge_graph': '02-attribute extraction.ipynb', 'single_site_data_to_ids_df': '03-page-population.ipynb', 'single_site_data_to_ids_md_str': '03-page-population.ipynb', 'get_datapackage_url_to_alt_indexes': '03-page-population.ipynb', 'get_datapackage_url_to_attributes': '03-page-population.ipynb', 'filter_dict': '03-page-population.ipynb', 'set_multi_index_names': '03-page-population.ipynb', 'create_multi_index_attrs_df': '03-page-population.ipynb', 'get_attrs_df_index_cols': '03-page-population.ipynb', 'create_single_index_attrs_df': '03-page-population.ipynb', 'idx_to_attr_name': '03-page-population.ipynb', 'get_field_class': '03-page-population.ipynb', 'format_attribute_value_types': '03-page-population.ipynb', 'construct_attr_to_field_schema': '03-page-population.ipynb', 'extract_datapackage_url_to_ids': '03-page-population.ipynb', 'extract_combined_attrs_df': '03-page-population.ipynb', 'extract_datapackage_url_to_dict_id_type': '03-page-population.ipynb', 'get_datapackage_url_to_attrs_md_str': '03-page-population.ipynb', 'construct_dataset_md_str': '03-page-population.ipynb', 'single_site_data_to_datasets_md_str': '03-page-population.ipynb', 'clean_dp_name': '03-page-population.ipynb', 'construct_downloads_md_str': '03-page-population.ipynb', 'extract_name_from_single_site_data': '03-page-population.ipynb', 'single_site_data_to_md_str': '03-page-population.ipynb', 'clean_object_ids_to_names': '03-page-population.ipynb', 'get_object_ids_to_names': '03-page-population.ipynb', 'construct_object_docs': '03-page-population.ipynb', 'resource_to_title': '07-dataset-pages.ipynb', 'resource_to_description': '07-dataset-pages.ipynb', 'package_to_homepage': '07-dataset-pages.ipynb', 'resource_to_fields_table_str': '07-dataset-pages.ipynb', 'extract_resource_elements': '07-dataset-pages.ipynb', 'extract_package_elements': '07-dataset-pages.ipynb', 'resource_to_download_url': '07-dataset-pages.ipynb', 'identify_valid_datasets': '07-dataset-pages.ipynb', 'update_mkdocs_config': '07-dataset-pages.ipynb', 'populate_dataset_pages': '07-dataset-pages.ipynb', 'move_attribute_source_data_to_docs': '07-dataset-pages.ipynb'}
modules = ['dev/docs.py', 'dictionary.py', 'extraction.py', 'population.py', 'datasets.py']
doc_url = 'https://OSUKED.github.io/Power-Station-Dictionary/'
git_url = 'https://github.com/OSUKED/Power-Station-Dictionary'
def custom_doc_links(name):
return None |
"""Create an executable with runfiles.
Runfiles are files that are needed at runtime (when the executable in run).
This example also shows a use of `ctx.expand_location`.
"""
def _impl(ctx):
# Expand the label in the command string to a runfiles-relative path.
# The second arg is the list of labels that may be expanded.
command = ctx.expand_location(ctx.attr.command, ctx.attr.data)
# Create the output executable file with command as its content.
ctx.actions.write(
output = ctx.outputs.executable,
content = command,
is_executable = True,
)
# Create runfiles from the files specified in the data attribute.
# The shell executable - the output of this rule - can use them at
# runtime.
return [DefaultInfo(
runfiles = ctx.runfiles(files = ctx.files.data),
)]
execute = rule(
implementation = _impl,
executable = True,
attrs = {
"command": attr.string(),
"data": attr.label_list(allow_files = True),
},
)
| """Create an executable with runfiles.
Runfiles are files that are needed at runtime (when the executable in run).
This example also shows a use of `ctx.expand_location`.
"""
def _impl(ctx):
command = ctx.expand_location(ctx.attr.command, ctx.attr.data)
ctx.actions.write(output=ctx.outputs.executable, content=command, is_executable=True)
return [default_info(runfiles=ctx.runfiles(files=ctx.files.data))]
execute = rule(implementation=_impl, executable=True, attrs={'command': attr.string(), 'data': attr.label_list(allow_files=True)}) |
OCTICON_LOCATION = """
<svg class="octicon octicon-location" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M11.536 3.464a5 5 0 010 7.072L8 14.07l-3.536-3.535a5 5 0 117.072-7.072v.001zm1.06 8.132a6.5 6.5 0 10-9.192 0l3.535 3.536a1.5 1.5 0 002.122 0l3.535-3.536zM8 9a2 2 0 100-4 2 2 0 000 4z"></path></svg>
"""
| octicon_location = '\n<svg class="octicon octicon-location" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M11.536 3.464a5 5 0 010 7.072L8 14.07l-3.536-3.535a5 5 0 117.072-7.072v.001zm1.06 8.132a6.5 6.5 0 10-9.192 0l3.535 3.536a1.5 1.5 0 002.122 0l3.535-3.536zM8 9a2 2 0 100-4 2 2 0 000 4z"></path></svg>\n' |
# Holds the state of the program, such as the items stored in the inventory
# The State class will only store data, and will not itself perform operations on data
class State:
def __init__(self, targetTier):
# Information about the world
self.itemDependencyGraph = {} # key: name of an item, value: a list of sub-items that consitute the item
self.reverseItemDependencyGraph = {} # key: name of an item, value: a list of super-items that can be formed from the item
self.itemToConstituents = {} # key: name of an item, value: a list of tuples (sub-item, instances) representing the item recipe
self.itemToTier = {} # key: name of an item, value: an integer representing the tier of the item
self.tierToItem = {} # key: an integer representing a tier, value: a list of item names in that tier
self.tierToItem[targetTier] = []
# Information about the inventory
self.itemNameToNumberOwned = {} # key: name of an item, value: an integer, representing the number of instances in the inventory
# Information about goals
self.itemDesireSatisfaction = {} # key: name of an item, value: a list [fulfillment, desires], representing the level of satisfaction of each item
| class State:
def __init__(self, targetTier):
self.itemDependencyGraph = {}
self.reverseItemDependencyGraph = {}
self.itemToConstituents = {}
self.itemToTier = {}
self.tierToItem = {}
self.tierToItem[targetTier] = []
self.itemNameToNumberOwned = {}
self.itemDesireSatisfaction = {} |
"""
Print this Pyramid in python
1
2 3 2
3 4 5 4 3
4 5 6 7 6 5 4
5 6 7 8 9 8 7 6 5
"""
n = 5
num = 1
gap = n - 1
for j in range(1, n + 1):
num = j
for i in range(1, gap - 1):
print(" ", end="")
gap = gap - 1
for i in range(1, j + 1):
print(num, end="")
num = num + 1
num = num - 2
for i in range(1, j):
print(num, end="")
num = num - 1
print()
| """
Print this Pyramid in python
1
2 3 2
3 4 5 4 3
4 5 6 7 6 5 4
5 6 7 8 9 8 7 6 5
"""
n = 5
num = 1
gap = n - 1
for j in range(1, n + 1):
num = j
for i in range(1, gap - 1):
print(' ', end='')
gap = gap - 1
for i in range(1, j + 1):
print(num, end='')
num = num + 1
num = num - 2
for i in range(1, j):
print(num, end='')
num = num - 1
print() |
'''
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is.
You may not alter the values in the nodes, only nodes itself may be changed.
Only constant memory is allowed.
For example,
Given this linked list: 1->2->3->4->5
For k = 2, you should return: 2->1->4->3->5
For k = 3, you should return: 3->2->1->4->5
'''
# Definition for singly-linked list.
class ListNode(object):
def __init__(self, x):
self.val = x
self.next = None
class Solution(object):
def reverseKGroup(self, head, k):
"""
:type head: ListNode
:type k: int
:rtype: ListNode
"""
if not head or k <= 1:
return head
dummy = ListNode(-1)
dummy.next = head
temp = dummy
while temp:
temp = self.reverseNextK(temp, k)
return dummy.next
def reverseNextK(self, head, k):
# Check if there are k nodes left
temp = head
for i in range(k):
if not temp.next:
return None
temp = temp.next
# The last node when the k nodes reversed
node = head.next
prev = head
curr = head.next
# Reverse k nodes
for i in range(k):
nextNode = curr.nex
curr.next = prev
prev = curr
curr = nextNode
# Connect with head and tail
node.next = curr
head.next = prev
return node | """
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should remain as it is.
You may not alter the values in the nodes, only nodes itself may be changed.
Only constant memory is allowed.
For example,
Given this linked list: 1->2->3->4->5
For k = 2, you should return: 2->1->4->3->5
For k = 3, you should return: 3->2->1->4->5
"""
class Listnode(object):
def __init__(self, x):
self.val = x
self.next = None
class Solution(object):
def reverse_k_group(self, head, k):
"""
:type head: ListNode
:type k: int
:rtype: ListNode
"""
if not head or k <= 1:
return head
dummy = list_node(-1)
dummy.next = head
temp = dummy
while temp:
temp = self.reverseNextK(temp, k)
return dummy.next
def reverse_next_k(self, head, k):
temp = head
for i in range(k):
if not temp.next:
return None
temp = temp.next
node = head.next
prev = head
curr = head.next
for i in range(k):
next_node = curr.nex
curr.next = prev
prev = curr
curr = nextNode
node.next = curr
head.next = prev
return node |
class Solution:
def countRoutes(self, locations: List[int], start: int, finish: int, fuel: int) -> int:
dp = [[-1] * 201 for _ in range(101)]
MOD = 1000000007
def helper(pos, left):
if left < 0:
return 0
if dp[pos][left] != -1:
return dp[pos][left]
ans = 1 if pos == finish else 0
for i, loc in enumerate(locations):
if i != pos and left - abs(loc - locations[pos]) >= 0:
ans += helper(i, left - abs(loc - locations[pos]))
ans %= MOD
dp[pos][left] = ans
return ans
return helper(start, fuel)
| class Solution:
def count_routes(self, locations: List[int], start: int, finish: int, fuel: int) -> int:
dp = [[-1] * 201 for _ in range(101)]
mod = 1000000007
def helper(pos, left):
if left < 0:
return 0
if dp[pos][left] != -1:
return dp[pos][left]
ans = 1 if pos == finish else 0
for (i, loc) in enumerate(locations):
if i != pos and left - abs(loc - locations[pos]) >= 0:
ans += helper(i, left - abs(loc - locations[pos]))
ans %= MOD
dp[pos][left] = ans
return ans
return helper(start, fuel) |
def make_averager():
## Scope average implementation, with nonlocal to best performance.
count = 0
total = 0
def averager(new_value):
nonlocal count, total
count += 1
total += new_value
return total / count
return averager
| def make_averager():
count = 0
total = 0
def averager(new_value):
nonlocal count, total
count += 1
total += new_value
return total / count
return averager |
"""Quicksort with Lomuto partitioning."""
def sort(lst, start=0, stop=None):
"""In-place quicksort.
Args:
lst: List to sort
start: Start index
stop: Stop index
"""
if stop is None:
stop = len(lst)
length = stop - start
if length <= 1:
return
pivot = stop - 1
j = start
for i in range(start, pivot):
if lst[i] < lst[pivot]:
lst[i], lst[j] = lst[j], lst[i]
j += 1
lst[pivot], lst[j] = lst[j], lst[pivot]
sort(lst, start, j)
sort(lst, j + 1, stop)
| """Quicksort with Lomuto partitioning."""
def sort(lst, start=0, stop=None):
"""In-place quicksort.
Args:
lst: List to sort
start: Start index
stop: Stop index
"""
if stop is None:
stop = len(lst)
length = stop - start
if length <= 1:
return
pivot = stop - 1
j = start
for i in range(start, pivot):
if lst[i] < lst[pivot]:
(lst[i], lst[j]) = (lst[j], lst[i])
j += 1
(lst[pivot], lst[j]) = (lst[j], lst[pivot])
sort(lst, start, j)
sort(lst, j + 1, stop) |
class Solution:
def isMatch(self, s, p):
def compare(a, b):
return a == '.' or a == b
s = '=' + s + '='
p = '=' + p + '='
n = len(s)
m = len(p)
flag = [0] * n
flag[0] = 1
cur = 1
while cur < m:
target = p[cur]
if cur + 1 < m and p[cur + 1] == '*':
cur += 1
new_flag = flag.copy()
for id in range(1, n):
if new_flag[id-1] and compare(target, s[id]):
new_flag[id] = 1
else:
new_flag = [0] * n
cnt = 0
for id in range(1, n):
if flag[id-1] and compare(target, s[id]):
new_flag[id] = 1
cnt += 1
if not cnt:
return False
cur += 1
flag = new_flag
return True if flag[-1] else False
def test():
cases = [
('aa', 'a*'),
('ab', '.*'),
('aab', 'c*a*b'),
('mississippi', 'mis*is*p*.')
]
sol = Solution()
for case in cases:
print(*case)
print(sol.isMatch(*case))
if __name__ == '__main__':
test()
| class Solution:
def is_match(self, s, p):
def compare(a, b):
return a == '.' or a == b
s = '=' + s + '='
p = '=' + p + '='
n = len(s)
m = len(p)
flag = [0] * n
flag[0] = 1
cur = 1
while cur < m:
target = p[cur]
if cur + 1 < m and p[cur + 1] == '*':
cur += 1
new_flag = flag.copy()
for id in range(1, n):
if new_flag[id - 1] and compare(target, s[id]):
new_flag[id] = 1
else:
new_flag = [0] * n
cnt = 0
for id in range(1, n):
if flag[id - 1] and compare(target, s[id]):
new_flag[id] = 1
cnt += 1
if not cnt:
return False
cur += 1
flag = new_flag
return True if flag[-1] else False
def test():
cases = [('aa', 'a*'), ('ab', '.*'), ('aab', 'c*a*b'), ('mississippi', 'mis*is*p*.')]
sol = solution()
for case in cases:
print(*case)
print(sol.isMatch(*case))
if __name__ == '__main__':
test() |
'''
01 - Bar chart
Bar charts visualize data that is organized according to categories as a series of
bars, where the height of each bar represents the values of the data in this category.
For example, in this exercise, you will visualize the number of gold medals won by each
country in the provided medals DataFrame. The DataFrame contains the countries as the index,
and a column called "Gold" that contains the number of gold medals won by each country, according
to their rows.
Instructions:
- Call the ax.bar method to plot the "Gold" column as a function of the country.
- Use the ax.set_xticklabels to set the x-axis tick labels to be the country names.
- In the call to ax.set_xticklabels rotate the x-axis tick labels by 90 degrees by using the rotation
key-word argument.
- Set the y-axis label to "Number of medals".
'''
fig, ax = plt.subplots()
# Plot a bar-chart of gold medals as a function of country
ax.bar(medals.index, medals['Gold'])
# Set the x-axis tick labels to the country names
ax.set_xticklabels(medals.index, rotation=90)
# Set the y-axis label
ax.set_ylabel('Number of medals')
plt.show() | """
01 - Bar chart
Bar charts visualize data that is organized according to categories as a series of
bars, where the height of each bar represents the values of the data in this category.
For example, in this exercise, you will visualize the number of gold medals won by each
country in the provided medals DataFrame. The DataFrame contains the countries as the index,
and a column called "Gold" that contains the number of gold medals won by each country, according
to their rows.
Instructions:
- Call the ax.bar method to plot the "Gold" column as a function of the country.
- Use the ax.set_xticklabels to set the x-axis tick labels to be the country names.
- In the call to ax.set_xticklabels rotate the x-axis tick labels by 90 degrees by using the rotation
key-word argument.
- Set the y-axis label to "Number of medals".
"""
(fig, ax) = plt.subplots()
ax.bar(medals.index, medals['Gold'])
ax.set_xticklabels(medals.index, rotation=90)
ax.set_ylabel('Number of medals')
plt.show() |
print("There once was a man named John")
print("he was 35 years old.")
print("He really liked the name John, ")
print("but didnt like being 35")
""" Basically there are several types of variables in python. Booleans, Strings, Floats, etc.
We can call any variables as the name we want to. Just by typping Variable_name = variable_value
the strings variables will be represented with "", booleans with "False or True" and the floats
with just numbers. As we can see, i can write exactly the same as before but using variables """
character_name = "John"
character_age = 35
print("There once was a man named "+ character_name +", ")
print("he was" + str(character_age) + "years old.") #In this scenario we have to change the variable to string because python cant interpet a integer next to a string
print("He really liked the name "+ character_name +",")
print("but didnt like being "+ str(character_age) +".")
# We can also add another Boolean variable
is_male = False
| print('There once was a man named John')
print('he was 35 years old.')
print('He really liked the name John, ')
print('but didnt like being 35')
' Basically there are several types of variables in python. Booleans, Strings, Floats, etc.\nWe can call any variables as the name we want to. Just by typping Variable_name = variable_value\nthe strings variables will be represented with "", booleans with "False or True" and the floats\nwith just numbers. As we can see, i can write exactly the same as before but using variables '
character_name = 'John'
character_age = 35
print('There once was a man named ' + character_name + ', ')
print('he was' + str(character_age) + 'years old.')
print('He really liked the name ' + character_name + ',')
print('but didnt like being ' + str(character_age) + '.')
is_male = False |
SPOTIFY_SCOPE = "user-read-playback-state user-modify-playback-state"
SPOTIFY_CLIENT_ID = "123123adads"
SPOTIFY_CLIENT_SECRET = "76756757jgjghgjh"
# don't change or don't forget to update app.py as well
SPOTIFY_REDIRECT_URI = "http://localhost:8080/callback"
| spotify_scope = 'user-read-playback-state user-modify-playback-state'
spotify_client_id = '123123adads'
spotify_client_secret = '76756757jgjghgjh'
spotify_redirect_uri = 'http://localhost:8080/callback' |
words = input().split(" ")
dictionary = {}
for current_word in words:
current_word = current_word.lower()
if current_word not in dictionary:
dictionary[current_word] = 0
dictionary[current_word] += 1
for key, value in dictionary.items():
if value % 2 != 0:
print(key, end=" ") | words = input().split(' ')
dictionary = {}
for current_word in words:
current_word = current_word.lower()
if current_word not in dictionary:
dictionary[current_word] = 0
dictionary[current_word] += 1
for (key, value) in dictionary.items():
if value % 2 != 0:
print(key, end=' ') |
class FunctionNotAllowed(Exception):
...
class TelegramBaseException(Exception):
...
class TelegramAPIException(TelegramBaseException):
...
class TelegramDataObjectException(TelegramBaseException):
...
class HandlerException(TelegramBaseException):
...
class HandlerCloseException(TelegramBaseException):
...
class DispatcherException(TelegramBaseException):
...
| class Functionnotallowed(Exception):
...
class Telegrambaseexception(Exception):
...
class Telegramapiexception(TelegramBaseException):
...
class Telegramdataobjectexception(TelegramBaseException):
...
class Handlerexception(TelegramBaseException):
...
class Handlercloseexception(TelegramBaseException):
...
class Dispatcherexception(TelegramBaseException):
... |
class Solution(object):
def myPow(self, x, n):
"""
:type x: float
:type n: int
:rtype: float
"""
if n == 0:
return 1.0
if n < 0:
return 1.0/self.myPow(x, -n)
tmp = self.myPow(x, n/2)
if n%2 == 0:
return tmp*tmp
if n%2 == 1:
return x*tmp*tmp
| class Solution(object):
def my_pow(self, x, n):
"""
:type x: float
:type n: int
:rtype: float
"""
if n == 0:
return 1.0
if n < 0:
return 1.0 / self.myPow(x, -n)
tmp = self.myPow(x, n / 2)
if n % 2 == 0:
return tmp * tmp
if n % 2 == 1:
return x * tmp * tmp |
# 12. Integer to Roman(https://leetcode.com/problems/integer-to-roman/)
# Question: Given an integer, convert it to a roman numeral.
# Solution: https://www.w3resource.com/python-exercises/class-exercises/python-class-exercise-1.php
# Ideas:
"""
Get num divided by roman units, starting from the largest, till result is less than or euqal to 0;
and save correspondence syb.
"""
# Steps:
"""
1. let num conduct floor division with each roman unit (starting from the larges);
2. pass the result as a arg to range(). If range(0), the for loop will return nothing and exit the for loop;
3. outside for loop, i will inceare by 1;
4. num is still larger than 0, so still inside while loop
5. repeat for loop for second time, and on; till the reulst of num // val[i] is equal or larger than 1;
6. append correspondence syb to roman_num string;
7. deduct the correspondence val[i] and repeat for loop;
8. until num is euqal or less than 0.
"""
# Notes:
"""
1. Roman Numeral ranges from 1 to 3,999,999.
"""
class Solution:
def intToRoman(self, num: int) -> str:
val = [
1000, 900, 500, 400,
100, 90, 50, 40,
10, 9, 5, 4,
1
]
syb = [
"M", "CM", "D", "CD",
"C", "XC", "L", "XL",
"X", "IX", "V", "IV",
"I"
]
roman_num = ''
i = 0
while num > 0:
for _ in range(num // val[i]):
roman_num += syb[i]
num -= val[i]
i += 1
return roman_num
# Testing:
"""
convert = Solution()
result = convert.intToRoman(4)
print(result)
"""
| """
Get num divided by roman units, starting from the largest, till result is less than or euqal to 0;
and save correspondence syb.
"""
' \n1. let num conduct floor division with each roman unit (starting from the larges);\n2. pass the result as a arg to range(). If range(0), the for loop will return nothing and exit the for loop;\n3. outside for loop, i will inceare by 1;\n4. num is still larger than 0, so still inside while loop\n5. repeat for loop for second time, and on; till the reulst of num // val[i] is equal or larger than 1;\n6. append correspondence syb to roman_num string;\n7. deduct the correspondence val[i] and repeat for loop;\n8. until num is euqal or less than 0. \n'
'\n1. Roman Numeral ranges from 1 to 3,999,999.\n'
class Solution:
def int_to_roman(self, num: int) -> str:
val = [1000, 900, 500, 400, 100, 90, 50, 40, 10, 9, 5, 4, 1]
syb = ['M', 'CM', 'D', 'CD', 'C', 'XC', 'L', 'XL', 'X', 'IX', 'V', 'IV', 'I']
roman_num = ''
i = 0
while num > 0:
for _ in range(num // val[i]):
roman_num += syb[i]
num -= val[i]
i += 1
return roman_num
' \nconvert = Solution()\nresult = convert.intToRoman(4)\nprint(result) \n' |
def check_bunch_match(bunch, symbol):
res = True
for one in bunch:
if one != symbol:
res = False
break
return res
def get_ttt_winner(board):
r, c = len(board), len(board[0])
for symbol in "XO":
for ri in range(r):
row = board[ri]
if check_bunch_match(row, symbol):
return symbol
for ci in range(c):
column = [board[ri][ci] for ri in range(r)]
if check_bunch_match(column, symbol):
return symbol
diagonal_1 = [board[ri][ri] for ri in range(r)]
diagonal_2 = [board[ri][c-ri-1] for ri in range(r)]
if check_bunch_match(diagonal_1, symbol):
return symbol
if check_bunch_match(diagonal_2, symbol):
return symbol
return "N"
board = [
["X", "X", "X"],
["O", "X", " "],
["O", " ", "O"],
]
r = get_ttt_winner(board)
print(r)
| def check_bunch_match(bunch, symbol):
res = True
for one in bunch:
if one != symbol:
res = False
break
return res
def get_ttt_winner(board):
(r, c) = (len(board), len(board[0]))
for symbol in 'XO':
for ri in range(r):
row = board[ri]
if check_bunch_match(row, symbol):
return symbol
for ci in range(c):
column = [board[ri][ci] for ri in range(r)]
if check_bunch_match(column, symbol):
return symbol
diagonal_1 = [board[ri][ri] for ri in range(r)]
diagonal_2 = [board[ri][c - ri - 1] for ri in range(r)]
if check_bunch_match(diagonal_1, symbol):
return symbol
if check_bunch_match(diagonal_2, symbol):
return symbol
return 'N'
board = [['X', 'X', 'X'], ['O', 'X', ' '], ['O', ' ', 'O']]
r = get_ttt_winner(board)
print(r) |
def concat(*args, sep="/"):
return sep.join(args)
print(concat("earth", "mars", "venus"))
print(*list(range(5,10))) | def concat(*args, sep='/'):
return sep.join(args)
print(concat('earth', 'mars', 'venus'))
print(*list(range(5, 10))) |
def create_dictionaries():
JupiterMoons = ('Io','Europa','Ganymede','Callisto')
Radius = (1821.6,1560.8,2634.1,2410.3)
Gravity = (1.796,1.314,1.438,1.235)
Orbit = (1.769,3.551,7.154,16.689)
MeanRadius = dict()
SurfaceGravity = dict()
OrbitalPeriod = dict()
for index in range(len(JupiterMoons)):
MeanRadius[JupiterMoons[index]] = Radius[index]
SurfaceGravity[JupiterMoons[index]] = Gravity[index]
OrbitalPeriod[JupiterMoons[index]] = Orbit[index]
return JupiterMoons,MeanRadius, SurfaceGravity,OrbitalPeriod
def main():
JupiterMoons, MeanRadius, SurfaceGravity, OrbitalPeriod = create_dictionaries()
print("This program displays information about Jupiter's Moons")
print()
print('The Moons are: ',end ='')
for moon in JupiterMoons:
print(moon + ' ',end='')
print()
choice = input('For which moon, would you like to see more information? ')
print()
if choice in JupiterMoons:
print('Mean Radius in KM: ', MeanRadius[choice])
print('Surface Gravity in m/sec squared: ', SurfaceGravity[choice])
print('Orbital period in days: ',OrbitalPeriod[choice])
else:
print('There is no moon by this name')
main()
| def create_dictionaries():
jupiter_moons = ('Io', 'Europa', 'Ganymede', 'Callisto')
radius = (1821.6, 1560.8, 2634.1, 2410.3)
gravity = (1.796, 1.314, 1.438, 1.235)
orbit = (1.769, 3.551, 7.154, 16.689)
mean_radius = dict()
surface_gravity = dict()
orbital_period = dict()
for index in range(len(JupiterMoons)):
MeanRadius[JupiterMoons[index]] = Radius[index]
SurfaceGravity[JupiterMoons[index]] = Gravity[index]
OrbitalPeriod[JupiterMoons[index]] = Orbit[index]
return (JupiterMoons, MeanRadius, SurfaceGravity, OrbitalPeriod)
def main():
(jupiter_moons, mean_radius, surface_gravity, orbital_period) = create_dictionaries()
print("This program displays information about Jupiter's Moons")
print()
print('The Moons are: ', end='')
for moon in JupiterMoons:
print(moon + ' ', end='')
print()
choice = input('For which moon, would you like to see more information? ')
print()
if choice in JupiterMoons:
print('Mean Radius in KM: ', MeanRadius[choice])
print('Surface Gravity in m/sec squared: ', SurfaceGravity[choice])
print('Orbital period in days: ', OrbitalPeriod[choice])
else:
print('There is no moon by this name')
main() |
# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
class SourceNotAvailable(RuntimeError):
"""The requested data source is unavailable."""
class SourceNotConfigured(RuntimeError):
"""The requested data source is not configured."""
class Ec2MetadataNotAvailable(SourceNotAvailable):
"""The EC2 metadata service is not available."""
class CfnMetadataNotAvailable(SourceNotAvailable):
"""The cfn metadata service is not available."""
class HeatMetadataNotAvailable(SourceNotAvailable):
"""The heat metadata service is not available."""
class CfnMetadataNotConfigured(SourceNotConfigured):
"""The cfn metadata service is not fully configured."""
class HeatMetadataNotConfigured(SourceNotConfigured):
"""The heat metadata service is not fully configured."""
class HeatLocalMetadataNotAvailable(SourceNotAvailable):
"""The local Heat metadata is not available."""
class LocalMetadataNotAvailable(SourceNotAvailable):
"""The local metadata is not available."""
class RequestMetadataNotAvailable(SourceNotAvailable):
"""The request metadata is not available."""
class RequestMetadataNotConfigured(SourceNotAvailable):
"""The request metadata is not fully configured."""
class ZaqarMetadataNotConfigured(SourceNotConfigured):
"""The zaqar metadata service is not fully configured."""
class ZaqarMetadataNotAvailable(SourceNotAvailable):
"""The Zaqar metadata is not available."""
class InvalidArguments(ValueError):
"""Invalid arguments."""
| class Sourcenotavailable(RuntimeError):
"""The requested data source is unavailable."""
class Sourcenotconfigured(RuntimeError):
"""The requested data source is not configured."""
class Ec2Metadatanotavailable(SourceNotAvailable):
"""The EC2 metadata service is not available."""
class Cfnmetadatanotavailable(SourceNotAvailable):
"""The cfn metadata service is not available."""
class Heatmetadatanotavailable(SourceNotAvailable):
"""The heat metadata service is not available."""
class Cfnmetadatanotconfigured(SourceNotConfigured):
"""The cfn metadata service is not fully configured."""
class Heatmetadatanotconfigured(SourceNotConfigured):
"""The heat metadata service is not fully configured."""
class Heatlocalmetadatanotavailable(SourceNotAvailable):
"""The local Heat metadata is not available."""
class Localmetadatanotavailable(SourceNotAvailable):
"""The local metadata is not available."""
class Requestmetadatanotavailable(SourceNotAvailable):
"""The request metadata is not available."""
class Requestmetadatanotconfigured(SourceNotAvailable):
"""The request metadata is not fully configured."""
class Zaqarmetadatanotconfigured(SourceNotConfigured):
"""The zaqar metadata service is not fully configured."""
class Zaqarmetadatanotavailable(SourceNotAvailable):
"""The Zaqar metadata is not available."""
class Invalidarguments(ValueError):
"""Invalid arguments.""" |
# Copyright 2018 - Nokia Corporation
#
# 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
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
def db_row_to_dict(row):
return {
'id': row.id,
'project_id': row.project_id,
'is_admin_webhook': row.is_admin_webhook,
'created_at': row.created_at,
'url': row.url,
'regex_filter': row.regex_filter,
'headers': row.headers
}
| def db_row_to_dict(row):
return {'id': row.id, 'project_id': row.project_id, 'is_admin_webhook': row.is_admin_webhook, 'created_at': row.created_at, 'url': row.url, 'regex_filter': row.regex_filter, 'headers': row.headers} |
# -*- coding: utf-8 -*-
"""
Spyder Editor
This is a temporary script file.
"""
n = float(input("Enter no.: "))
i = int(n)
f = n - i
d = ""
for t in range(4):
f *= 2
p = int(f)
d += str(p)
f -= p
print("{0}.{1}".format(bin(i), d))
| """
Spyder Editor
This is a temporary script file.
"""
n = float(input('Enter no.: '))
i = int(n)
f = n - i
d = ''
for t in range(4):
f *= 2
p = int(f)
d += str(p)
f -= p
print('{0}.{1}'.format(bin(i), d)) |
USER_AGENT_PRODUCT: str = "uHoo"
USER_AGENT_PRODUCT_VERSION: str = "10.3.1"
USER_AGENT_SYSTEM_INFORMATION: str = "iPhone;13.3; iOS 14.7.1; Scale/3.00"
APP_VERSION: int = 93
CLIENT_ID: str = "0000000000000000000|0000000000000000000"
| user_agent_product: str = 'uHoo'
user_agent_product_version: str = '10.3.1'
user_agent_system_information: str = 'iPhone;13.3; iOS 14.7.1; Scale/3.00'
app_version: int = 93
client_id: str = '0000000000000000000|0000000000000000000' |
def decoupling_softing_prepare(graph, sigma_square,lambda_input):
# get W matrix, Z(for row sum) and Z_prime(for col sum), and A_tilde
# get matrix W:
A = np.array(nx.adjacency_matrix(graph).todense())
d = np.sum(A, axis=1)
D = np.diag(d)
# Alternative way(19): set Sigma_square = sigma_square./d, where sigma_square is fixed
Sigma_square = np.divide(sigma_square,d)
Sigma = np.diag(Sigma_square)
W = np.dot(A,inv(Sigma))
w_col_sum = np.sum(W, axis=0)
w_row_sum = np.sum(W, axis=1)
Z_prime = np.diag(w_col_sum)
Z = np.diag(w_row_sum)
A_tilde = np.dot(np.dot(W,inv(Z_prime)),np.transpose(W))
# linear combination for both A and A_tilde
A_result = (1 - lambda_input)* A + lambda_input * A_tilde
return (A_result) | def decoupling_softing_prepare(graph, sigma_square, lambda_input):
a = np.array(nx.adjacency_matrix(graph).todense())
d = np.sum(A, axis=1)
d = np.diag(d)
sigma_square = np.divide(sigma_square, d)
sigma = np.diag(Sigma_square)
w = np.dot(A, inv(Sigma))
w_col_sum = np.sum(W, axis=0)
w_row_sum = np.sum(W, axis=1)
z_prime = np.diag(w_col_sum)
z = np.diag(w_row_sum)
a_tilde = np.dot(np.dot(W, inv(Z_prime)), np.transpose(W))
a_result = (1 - lambda_input) * A + lambda_input * A_tilde
return A_result |
def one_away(string1,string2):
idx = 0
if(len(string1) > len(string2)):
aux = string1
string2 = string1
string1 = aux
if(len(string2) -len(string1) > 1):
return False
while(idx < len(string1) and idx < len(string2)):
char1 = string1[idx]
char2 = string2[idx]
if(char1 == char2):
idx += 1
else:
if(idx == len(string1)-1 and idx == len(string2)-1):
return True
elif(idx == len(string1)-1 and idx == len(string2) - 2):
return char1 == string2[idx+1]
elif(string1[idx+1] == char2):
return string1[idx+1:] == string2[idx:]
elif(char1 == string2[idx+1]):
return string1[idx:] == string2[idx+1:]
elif(string1[idx+1] == string2[idx+1]):
return string1[idx+1:] == string2[idx+1:]
else:
return False
return True
print(one_away("pale","ple"))
print(one_away("pales","pale"))
print(one_away("pale","bale"))
print(one_away("pale","bake")) | def one_away(string1, string2):
idx = 0
if len(string1) > len(string2):
aux = string1
string2 = string1
string1 = aux
if len(string2) - len(string1) > 1:
return False
while idx < len(string1) and idx < len(string2):
char1 = string1[idx]
char2 = string2[idx]
if char1 == char2:
idx += 1
elif idx == len(string1) - 1 and idx == len(string2) - 1:
return True
elif idx == len(string1) - 1 and idx == len(string2) - 2:
return char1 == string2[idx + 1]
elif string1[idx + 1] == char2:
return string1[idx + 1:] == string2[idx:]
elif char1 == string2[idx + 1]:
return string1[idx:] == string2[idx + 1:]
elif string1[idx + 1] == string2[idx + 1]:
return string1[idx + 1:] == string2[idx + 1:]
else:
return False
return True
print(one_away('pale', 'ple'))
print(one_away('pales', 'pale'))
print(one_away('pale', 'bale'))
print(one_away('pale', 'bake')) |
#!/usr/bin/env python3 -tt
def doAttackNavigator(case, nav_list, eachtechnique):
nav_pairs = {
"T1001": "{\n \"techniqueID\": \"T1001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1001.001": "{\n \"techniqueID\": \"T1001.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1001.002": "{\n \"techniqueID\": \"T1001.002\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1001.003": "{\n \"techniqueID\": \"T1001.003\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003": "{\n \"techniqueID\": \"T1003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.001": "{\n \"techniqueID\": \"T1003.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.002": "{\n \"techniqueID\": \"T1003.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.003": "{\n \"techniqueID\": \"T1003.003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.004": "{\n \"techniqueID\": \"T1003.004\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.005": "{\n \"techniqueID\": \"T1003.005\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.006": "{\n \"techniqueID\": \"T1003.006\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.007": "{\n \"techniqueID\": \"T1003.007\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1003.008": "{\n \"techniqueID\": \"T1003.008\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1005": "{\n \"techniqueID\": \"T1005\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1006": "{\n \"techniqueID\": \"T1006\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1007": "{\n \"techniqueID\": \"T1007\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1008": "{\n \"techniqueID\": \"T1008\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1010": "{\n \"techniqueID\": \"T1010\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1011": "{\n \"techniqueID\": \"T1011\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1011.001": "{\n \"techniqueID\": \"T1011.001\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1012": "{\n \"techniqueID\": \"T1012\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1014": "{\n \"techniqueID\": \"T1014\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1016": "{\n \"techniqueID\": \"T1016\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1016.001": "{\n \"techniqueID\": \"T1016.001\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1018": "{\n \"techniqueID\": \"T1018\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1020": "{\n \"techniqueID\": \"T1020\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1020.001": "{\n \"techniqueID\": \"T1020.001\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1021": "{\n \"techniqueID\": \"T1021\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1021.001": "{\n \"techniqueID\": \"T1021.001\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1021.002": "{\n \"techniqueID\": \"T1021.002\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1021.003": "{\n \"techniqueID\": \"T1021.003\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1021.004": "{\n \"techniqueID\": \"T1021.004\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1021.005": "{\n \"techniqueID\": \"T1021.005\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1021.006": "{\n \"techniqueID\": \"T1021.006\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1025": "{\n \"techniqueID\": \"T1025\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1027": "{\n \"techniqueID\": \"T1027\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1027.001": "{\n \"techniqueID\": \"T1027.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1027.002": "{\n \"techniqueID\": \"T1027.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1027.003": "{\n \"techniqueID\": \"T1027.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1027.004": "{\n \"techniqueID\": \"T1027.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1027.005": "{\n \"techniqueID\": \"T1027.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1029": "{\n \"techniqueID\": \"T1029\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1030": "{\n \"techniqueID\": \"T1030\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1033": "{\n \"techniqueID\": \"T1033\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1036": "{\n \"techniqueID\": \"T1036\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1036.001": "{\n \"techniqueID\": \"T1036.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1036.002": "{\n \"techniqueID\": \"T1036.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1036.003": "{\n \"techniqueID\": \"T1036.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1036.004": "{\n \"techniqueID\": \"T1036.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1036.005": "{\n \"techniqueID\": \"T1036.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1036.006": "{\n \"techniqueID\": \"T1036.006\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1037": "{\n \"techniqueID\": \"T1037\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1037.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1037.001": "{\n \"techniqueID\": \"T1037.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1037.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1037.002": "{\n \"techniqueID\": \"T1037.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1037.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1037.003": "{\n \"techniqueID\": \"T1037.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1037.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1037.004": "{\n \"techniqueID\": \"T1037.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1037.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1037.005": "{\n \"techniqueID\": \"T1037.005\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1037.005\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1039": "{\n \"techniqueID\": \"T1039\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1040": "{\n \"techniqueID\": \"T1040\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1040\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1041": "{\n \"techniqueID\": \"T1041\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1046": "{\n \"techniqueID\": \"T1046\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1047": "{\n \"techniqueID\": \"T1047\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1048": "{\n \"techniqueID\": \"T1048\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1048.001": "{\n \"techniqueID\": \"T1048.001\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1048.002": "{\n \"techniqueID\": \"T1048.002\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1048.003": "{\n \"techniqueID\": \"T1048.003\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1049": "{\n \"techniqueID\": \"T1049\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1052": "{\n \"techniqueID\": \"T1052\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1052.001": "{\n \"techniqueID\": \"T1052.001\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053": "{\n \"techniqueID\": \"T1053\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053.001": "{\n \"techniqueID\": \"T1053.001\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053.002": "{\n \"techniqueID\": \"T1053.002\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053.003": "{\n \"techniqueID\": \"T1053.003\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053.004": "{\n \"techniqueID\": \"T1053.004\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053.005": "{\n \"techniqueID\": \"T1053.005\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.005\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.005\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053.006": "{\n \"techniqueID\": \"T1053.006\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.006\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.006\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1053.007": "{\n \"techniqueID\": \"T1053.007\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.007\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1053.007\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055": "{\n \"techniqueID\": \"T1055\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.001": "{\n \"techniqueID\": \"T1055.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.002": "{\n \"techniqueID\": \"T1055.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.003": "{\n \"techniqueID\": \"T1055.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.004": "{\n \"techniqueID\": \"T1055.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.005": "{\n \"techniqueID\": \"T1055.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.005\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.008": "{\n \"techniqueID\": \"T1055.008\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.008\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.009": "{\n \"techniqueID\": \"T1055.009\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.009\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.011": "{\n \"techniqueID\": \"T1055.011\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.011\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.012": "{\n \"techniqueID\": \"T1055.012\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.012\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.013": "{\n \"techniqueID\": \"T1055.013\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.013\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1055.014": "{\n \"techniqueID\": \"T1055.014\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1055.014\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1056": "{\n \"techniqueID\": \"T1056\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1056\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1056.001": "{\n \"techniqueID\": \"T1056.001\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1056.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1056.002": "{\n \"techniqueID\": \"T1056.002\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1056.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1056.003": "{\n \"techniqueID\": \"T1056.003\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1056.003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1056.004": "{\n \"techniqueID\": \"T1056.004\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1056.004\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1057": "{\n \"techniqueID\": \"T1057\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059": "{\n \"techniqueID\": \"T1059\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.001": "{\n \"techniqueID\": \"T1059.001\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.002": "{\n \"techniqueID\": \"T1059.002\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.003": "{\n \"techniqueID\": \"T1059.003\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.004": "{\n \"techniqueID\": \"T1059.004\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.005": "{\n \"techniqueID\": \"T1059.005\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.006": "{\n \"techniqueID\": \"T1059.006\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.007": "{\n \"techniqueID\": \"T1059.007\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1059.008": "{\n \"techniqueID\": \"T1059.008\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1068": "{\n \"techniqueID\": \"T1068\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1069": "{\n \"techniqueID\": \"T1069\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1069.001": "{\n \"techniqueID\": \"T1069.001\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1069.002": "{\n \"techniqueID\": \"T1069.002\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1069.003": "{\n \"techniqueID\": \"T1069.003\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1070": "{\n \"techniqueID\": \"T1070\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1070.001": "{\n \"techniqueID\": \"T1070.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1070.002": "{\n \"techniqueID\": \"T1070.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1070.003": "{\n \"techniqueID\": \"T1070.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1070.004": "{\n \"techniqueID\": \"T1070.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1070.005": "{\n \"techniqueID\": \"T1070.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1070.006": "{\n \"techniqueID\": \"T1070.006\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1071": "{\n \"techniqueID\": \"T1071\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1071.001": "{\n \"techniqueID\": \"T1071.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1071.002": "{\n \"techniqueID\": \"T1071.002\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1071.003": "{\n \"techniqueID\": \"T1071.003\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1071.004": "{\n \"techniqueID\": \"T1071.004\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1072": "{\n \"techniqueID\": \"T1072\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1072\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1074": "{\n \"techniqueID\": \"T1074\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1074.001": "{\n \"techniqueID\": \"T1074.001\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1074.002": "{\n \"techniqueID\": \"T1074.002\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078": "{\n \"techniqueID\": \"T1078\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.001\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078": "{\n \"techniqueID\": \"T1078\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.001": "{\n \"techniqueID\": \"T1078.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.001\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.001": "{\n \"techniqueID\": \"T1078.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.002": "{\n \"techniqueID\": \"T1078.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.002\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.002": "{\n \"techniqueID\": \"T1078.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.003": "{\n \"techniqueID\": \"T1078.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.003\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.003": "{\n \"techniqueID\": \"T1078.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.004": "{\n \"techniqueID\": \"T1078.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.004\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1078.004": "{\n \"techniqueID\": \"T1078.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1078.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1080": "{\n \"techniqueID\": \"T1080\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1082": "{\n \"techniqueID\": \"T1082\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1083": "{\n \"techniqueID\": \"T1083\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1087": "{\n \"techniqueID\": \"T1087\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1087.001": "{\n \"techniqueID\": \"T1087.001\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1087.002": "{\n \"techniqueID\": \"T1087.002\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1087.003": "{\n \"techniqueID\": \"T1087.003\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1087.004": "{\n \"techniqueID\": \"T1087.004\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1090": "{\n \"techniqueID\": \"T1090\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1090.001": "{\n \"techniqueID\": \"T1090.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1090.002": "{\n \"techniqueID\": \"T1090.002\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1090.003": "{\n \"techniqueID\": \"T1090.003\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1090.004": "{\n \"techniqueID\": \"T1090.004\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1091": "{\n \"techniqueID\": \"T1091\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1091\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1092": "{\n \"techniqueID\": \"T1092\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1095": "{\n \"techniqueID\": \"T1095\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1098": "{\n \"techniqueID\": \"T1098\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1098.001": "{\n \"techniqueID\": \"T1098.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1098.002": "{\n \"techniqueID\": \"T1098.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1098.003": "{\n \"techniqueID\": \"T1098.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1098.004": "{\n \"techniqueID\": \"T1098.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1102": "{\n \"techniqueID\": \"T1102\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1102.001": "{\n \"techniqueID\": \"T1102.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1102.002": "{\n \"techniqueID\": \"T1102.002\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1102.003": "{\n \"techniqueID\": \"T1102.003\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1104": "{\n \"techniqueID\": \"T1104\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1105": "{\n \"techniqueID\": \"T1105\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1106": "{\n \"techniqueID\": \"T1106\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1110": "{\n \"techniqueID\": \"T1110\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1110.001": "{\n \"techniqueID\": \"T1110.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1110.002": "{\n \"techniqueID\": \"T1110.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1110.003": "{\n \"techniqueID\": \"T1110.003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1110.004": "{\n \"techniqueID\": \"T1110.004\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1111": "{\n \"techniqueID\": \"T1111\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1112": "{\n \"techniqueID\": \"T1112\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1113": "{\n \"techniqueID\": \"T1113\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1114": "{\n \"techniqueID\": \"T1114\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1114.001": "{\n \"techniqueID\": \"T1114.001\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1114.002": "{\n \"techniqueID\": \"T1114.002\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1114.003": "{\n \"techniqueID\": \"T1114.003\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1115": "{\n \"techniqueID\": \"T1115\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1119": "{\n \"techniqueID\": \"T1119\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1120": "{\n \"techniqueID\": \"T1120\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1123": "{\n \"techniqueID\": \"T1123\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1124": "{\n \"techniqueID\": \"T1124\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1125": "{\n \"techniqueID\": \"T1125\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1127": "{\n \"techniqueID\": \"T1127\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1127.001": "{\n \"techniqueID\": \"T1127.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1129": "{\n \"techniqueID\": \"T1129\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1132": "{\n \"techniqueID\": \"T1132\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1132.001": "{\n \"techniqueID\": \"T1132.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1132.002": "{\n \"techniqueID\": \"T1132.002\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1133": "{\n \"techniqueID\": \"T1133\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1133\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1134": "{\n \"techniqueID\": \"T1134\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1134.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1134.001": "{\n \"techniqueID\": \"T1134.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1134.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1134.002": "{\n \"techniqueID\": \"T1134.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1134.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1134.003": "{\n \"techniqueID\": \"T1134.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1134.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1134.004": "{\n \"techniqueID\": \"T1134.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1134.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1134.005": "{\n \"techniqueID\": \"T1134.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1134.005\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1135": "{\n \"techniqueID\": \"T1135\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1136": "{\n \"techniqueID\": \"T1136\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1136.001": "{\n \"techniqueID\": \"T1136.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1136.002": "{\n \"techniqueID\": \"T1136.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1136.003": "{\n \"techniqueID\": \"T1136.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1137": "{\n \"techniqueID\": \"T1137\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1137.001": "{\n \"techniqueID\": \"T1137.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1137.002": "{\n \"techniqueID\": \"T1137.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1137.003": "{\n \"techniqueID\": \"T1137.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1137.004": "{\n \"techniqueID\": \"T1137.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1137.005": "{\n \"techniqueID\": \"T1137.005\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1137.006": "{\n \"techniqueID\": \"T1137.006\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1140": "{\n \"techniqueID\": \"T1140\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1176": "{\n \"techniqueID\": \"T1176\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1185": "{\n \"techniqueID\": \"T1185\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1187": "{\n \"techniqueID\": \"T1187\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1189": "{\n \"techniqueID\": \"T1189\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1190": "{\n \"techniqueID\": \"T1190\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1195": "{\n \"techniqueID\": \"T1195\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1195.001": "{\n \"techniqueID\": \"T1195.001\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1195.002": "{\n \"techniqueID\": \"T1195.002\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1195.003": "{\n \"techniqueID\": \"T1195.003\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1197": "{\n \"techniqueID\": \"T1197\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1197\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1199": "{\n \"techniqueID\": \"T1199\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1200": "{\n \"techniqueID\": \"T1200\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1201": "{\n \"techniqueID\": \"T1201\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1202": "{\n \"techniqueID\": \"T1202\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1203": "{\n \"techniqueID\": \"T1203\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1204": "{\n \"techniqueID\": \"T1204\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1204.001": "{\n \"techniqueID\": \"T1204.001\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1204.002": "{\n \"techniqueID\": \"T1204.002\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1204.003": "{\n \"techniqueID\": \"T1204.003\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1205": "{\n \"techniqueID\": \"T1205\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1205.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1205": "{\n \"techniqueID\": \"T1205\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1205.001": "{\n \"techniqueID\": \"T1205.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1205.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1205.001": "{\n \"techniqueID\": \"T1205.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1207": "{\n \"techniqueID\": \"T1207\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1210": "{\n \"techniqueID\": \"T1210\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1211": "{\n \"techniqueID\": \"T1211\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1212": "{\n \"techniqueID\": \"T1212\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1213": "{\n \"techniqueID\": \"T1213\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1213.001": "{\n \"techniqueID\": \"T1213.001\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1213.002": "{\n \"techniqueID\": \"T1213.002\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1216": "{\n \"techniqueID\": \"T1216\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1216.001": "{\n \"techniqueID\": \"T1216.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1217": "{\n \"techniqueID\": \"T1217\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218": "{\n \"techniqueID\": \"T1218\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.001": "{\n \"techniqueID\": \"T1218.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.002": "{\n \"techniqueID\": \"T1218.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.003": "{\n \"techniqueID\": \"T1218.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.004": "{\n \"techniqueID\": \"T1218.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.005": "{\n \"techniqueID\": \"T1218.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.007": "{\n \"techniqueID\": \"T1218.007\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.008": "{\n \"techniqueID\": \"T1218.008\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.009": "{\n \"techniqueID\": \"T1218.009\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.010": "{\n \"techniqueID\": \"T1218.010\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.011": "{\n \"techniqueID\": \"T1218.011\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1218.012": "{\n \"techniqueID\": \"T1218.012\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1219": "{\n \"techniqueID\": \"T1219\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1220": "{\n \"techniqueID\": \"T1220\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1221": "{\n \"techniqueID\": \"T1221\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1222": "{\n \"techniqueID\": \"T1222\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1222.001": "{\n \"techniqueID\": \"T1222.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1222.002": "{\n \"techniqueID\": \"T1222.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1480": "{\n \"techniqueID\": \"T1480\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1480.001": "{\n \"techniqueID\": \"T1480.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1482": "{\n \"techniqueID\": \"T1482\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1484": "{\n \"techniqueID\": \"T1484\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1484.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1484.001": "{\n \"techniqueID\": \"T1484.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1484.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1484.002": "{\n \"techniqueID\": \"T1484.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1484.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1485": "{\n \"techniqueID\": \"T1485\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1486": "{\n \"techniqueID\": \"T1486\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1489": "{\n \"techniqueID\": \"T1489\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1490": "{\n \"techniqueID\": \"T1490\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1491": "{\n \"techniqueID\": \"T1491\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1491.001": "{\n \"techniqueID\": \"T1491.001\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1491.002": "{\n \"techniqueID\": \"T1491.002\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1495": "{\n \"techniqueID\": \"T1495\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1496": "{\n \"techniqueID\": \"T1496\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1497": "{\n \"techniqueID\": \"T1497\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1497\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1497.001": "{\n \"techniqueID\": \"T1497.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1497.001\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1497.002": "{\n \"techniqueID\": \"T1497.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1497.002\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1497.003": "{\n \"techniqueID\": \"T1497.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1497.003\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1498": "{\n \"techniqueID\": \"T1498\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1498.001": "{\n \"techniqueID\": \"T1498.001\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1498.002": "{\n \"techniqueID\": \"T1498.002\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1499": "{\n \"techniqueID\": \"T1499\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1499.001": "{\n \"techniqueID\": \"T1499.001\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1499.002": "{\n \"techniqueID\": \"T1499.002\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1499.003": "{\n \"techniqueID\": \"T1499.003\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1499.004": "{\n \"techniqueID\": \"T1499.004\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1505": "{\n \"techniqueID\": \"T1505\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1505.001": "{\n \"techniqueID\": \"T1505.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1505.002": "{\n \"techniqueID\": \"T1505.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1505.003": "{\n \"techniqueID\": \"T1505.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1518": "{\n \"techniqueID\": \"T1518\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1518.001": "{\n \"techniqueID\": \"T1518.001\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1525": "{\n \"techniqueID\": \"T1525\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1526": "{\n \"techniqueID\": \"T1526\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1528": "{\n \"techniqueID\": \"T1528\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1529": "{\n \"techniqueID\": \"T1529\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1530": "{\n \"techniqueID\": \"T1530\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1531": "{\n \"techniqueID\": \"T1531\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1534": "{\n \"techniqueID\": \"T1534\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1535": "{\n \"techniqueID\": \"T1535\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1537": "{\n \"techniqueID\": \"T1537\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1538": "{\n \"techniqueID\": \"T1538\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1539": "{\n \"techniqueID\": \"T1539\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1542": "{\n \"techniqueID\": \"T1542\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1542.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1542.001": "{\n \"techniqueID\": \"T1542.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1542.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1542.002": "{\n \"techniqueID\": \"T1542.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1542.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1542.003": "{\n \"techniqueID\": \"T1542.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1542.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1542.004": "{\n \"techniqueID\": \"T1542.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1542.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1542.005": "{\n \"techniqueID\": \"T1542.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1542.005\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1543": "{\n \"techniqueID\": \"T1543\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1543\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1543.001": "{\n \"techniqueID\": \"T1543.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1543.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1543.002": "{\n \"techniqueID\": \"T1543.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1543.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1543.003": "{\n \"techniqueID\": \"T1543.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1543.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1543.004": "{\n \"techniqueID\": \"T1543.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1543.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546": "{\n \"techniqueID\": \"T1546\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.001": "{\n \"techniqueID\": \"T1546.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.002": "{\n \"techniqueID\": \"T1546.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.003": "{\n \"techniqueID\": \"T1546.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.004": "{\n \"techniqueID\": \"T1546.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.005": "{\n \"techniqueID\": \"T1546.005\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.005\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.006": "{\n \"techniqueID\": \"T1546.006\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.006\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.007": "{\n \"techniqueID\": \"T1546.007\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.007\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.008": "{\n \"techniqueID\": \"T1546.008\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.008\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.009": "{\n \"techniqueID\": \"T1546.009\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.009\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.010": "{\n \"techniqueID\": \"T1546.010\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.010\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.011": "{\n \"techniqueID\": \"T1546.011\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.011\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.012": "{\n \"techniqueID\": \"T1546.012\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.012\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.013": "{\n \"techniqueID\": \"T1546.013\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.013\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.014": "{\n \"techniqueID\": \"T1546.014\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.014\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1546.015": "{\n \"techniqueID\": \"T1546.015\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1546.015\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547": "{\n \"techniqueID\": \"T1547\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.001": "{\n \"techniqueID\": \"T1547.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.002": "{\n \"techniqueID\": \"T1547.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.003": "{\n \"techniqueID\": \"T1547.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.004": "{\n \"techniqueID\": \"T1547.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.005": "{\n \"techniqueID\": \"T1547.005\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.005\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.006": "{\n \"techniqueID\": \"T1547.006\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.006\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.007": "{\n \"techniqueID\": \"T1547.007\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.007\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.008": "{\n \"techniqueID\": \"T1547.008\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.008\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.009": "{\n \"techniqueID\": \"T1547.009\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.009\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.010": "{\n \"techniqueID\": \"T1547.010\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.010\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.011": "{\n \"techniqueID\": \"T1547.011\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.011\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.012": "{\n \"techniqueID\": \"T1547.012\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.012\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.013": "{\n \"techniqueID\": \"T1547.013\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.013\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1547.014": "{\n \"techniqueID\": \"T1547.014\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1547.014\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1548": "{\n \"techniqueID\": \"T1548\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1548\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1548.001": "{\n \"techniqueID\": \"T1548.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1548.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1548.002": "{\n \"techniqueID\": \"T1548.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1548.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1548.003": "{\n \"techniqueID\": \"T1548.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1548.003\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1548.004": "{\n \"techniqueID\": \"T1548.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1548.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1550": "{\n \"techniqueID\": \"T1550\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1550\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1550.001": "{\n \"techniqueID\": \"T1550.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1550.001\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1550.002": "{\n \"techniqueID\": \"T1550.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1550.002\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1550.003": "{\n \"techniqueID\": \"T1550.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1550.003\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1550.004": "{\n \"techniqueID\": \"T1550.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1550.004\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552": "{\n \"techniqueID\": \"T1552\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552.001": "{\n \"techniqueID\": \"T1552.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552.002": "{\n \"techniqueID\": \"T1552.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552.003": "{\n \"techniqueID\": \"T1552.003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552.004": "{\n \"techniqueID\": \"T1552.004\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552.005": "{\n \"techniqueID\": \"T1552.005\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552.006": "{\n \"techniqueID\": \"T1552.006\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1552.007": "{\n \"techniqueID\": \"T1552.007\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1553": "{\n \"techniqueID\": \"T1553\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1553.001": "{\n \"techniqueID\": \"T1553.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1553.002": "{\n \"techniqueID\": \"T1553.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1553.003": "{\n \"techniqueID\": \"T1553.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1553.004": "{\n \"techniqueID\": \"T1553.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1553.005": "{\n \"techniqueID\": \"T1553.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1553.006": "{\n \"techniqueID\": \"T1553.006\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1554": "{\n \"techniqueID\": \"T1554\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1555": "{\n \"techniqueID\": \"T1555\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1555.001": "{\n \"techniqueID\": \"T1555.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1555.002": "{\n \"techniqueID\": \"T1555.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1555.003": "{\n \"techniqueID\": \"T1555.003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1555.004": "{\n \"techniqueID\": \"T1555.004\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1555.005": "{\n \"techniqueID\": \"T1555.005\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556": "{\n \"techniqueID\": \"T1556\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1556.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556": "{\n \"techniqueID\": \"T1556\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.001": "{\n \"techniqueID\": \"T1556.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1556.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.001": "{\n \"techniqueID\": \"T1556.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.002": "{\n \"techniqueID\": \"T1556.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1556.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.002": "{\n \"techniqueID\": \"T1556.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.003": "{\n \"techniqueID\": \"T1556.003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1556.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.003": "{\n \"techniqueID\": \"T1556.003\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.004": "{\n \"techniqueID\": \"T1556.004\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1556.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1556.004": "{\n \"techniqueID\": \"T1556.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1557": "{\n \"techniqueID\": \"T1557\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1557.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1557.001": "{\n \"techniqueID\": \"T1557.001\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1557.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1557.002": "{\n \"techniqueID\": \"T1557.002\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1557.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1558": "{\n \"techniqueID\": \"T1558\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1558.001": "{\n \"techniqueID\": \"T1558.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1558.002": "{\n \"techniqueID\": \"T1558.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1558.003": "{\n \"techniqueID\": \"T1558.003\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1558.004": "{\n \"techniqueID\": \"T1558.004\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1559": "{\n \"techniqueID\": \"T1559\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1559.001": "{\n \"techniqueID\": \"T1559.001\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1559.002": "{\n \"techniqueID\": \"T1559.002\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1560": "{\n \"techniqueID\": \"T1560\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1560.001": "{\n \"techniqueID\": \"T1560.001\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1560.002": "{\n \"techniqueID\": \"T1560.002\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1560.003": "{\n \"techniqueID\": \"T1560.003\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1561": "{\n \"techniqueID\": \"T1561\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1561.001": "{\n \"techniqueID\": \"T1561.001\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1561.002": "{\n \"techniqueID\": \"T1561.002\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562": "{\n \"techniqueID\": \"T1562\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562.001": "{\n \"techniqueID\": \"T1562.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562.002": "{\n \"techniqueID\": \"T1562.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562.003": "{\n \"techniqueID\": \"T1562.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562.004": "{\n \"techniqueID\": \"T1562.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562.006": "{\n \"techniqueID\": \"T1562.006\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562.007": "{\n \"techniqueID\": \"T1562.007\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1562.008": "{\n \"techniqueID\": \"T1562.008\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1563": "{\n \"techniqueID\": \"T1563\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1563.001": "{\n \"techniqueID\": \"T1563.001\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1563.002": "{\n \"techniqueID\": \"T1563.002\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564": "{\n \"techniqueID\": \"T1564\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564.001": "{\n \"techniqueID\": \"T1564.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564.002": "{\n \"techniqueID\": \"T1564.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564.003": "{\n \"techniqueID\": \"T1564.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564.004": "{\n \"techniqueID\": \"T1564.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564.005": "{\n \"techniqueID\": \"T1564.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564.006": "{\n \"techniqueID\": \"T1564.006\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1564.007": "{\n \"techniqueID\": \"T1564.007\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1565": "{\n \"techniqueID\": \"T1565\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1565.001": "{\n \"techniqueID\": \"T1565.001\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1565.002": "{\n \"techniqueID\": \"T1565.002\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1565.003": "{\n \"techniqueID\": \"T1565.003\",\n \"tactic\": \"impact\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1566": "{\n \"techniqueID\": \"T1566\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1566.001": "{\n \"techniqueID\": \"T1566.001\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1566.002": "{\n \"techniqueID\": \"T1566.002\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1566.003": "{\n \"techniqueID\": \"T1566.003\",\n \"tactic\": \"initial-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1567": "{\n \"techniqueID\": \"T1567\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1567.001": "{\n \"techniqueID\": \"T1567.001\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1567.002": "{\n \"techniqueID\": \"T1567.002\",\n \"tactic\": \"exfiltration\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1568": "{\n \"techniqueID\": \"T1568\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1568.001": "{\n \"techniqueID\": \"T1568.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1568.002": "{\n \"techniqueID\": \"T1568.002\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1568.003": "{\n \"techniqueID\": \"T1568.003\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1569": "{\n \"techniqueID\": \"T1569\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1569.001": "{\n \"techniqueID\": \"T1569.001\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1569.002": "{\n \"techniqueID\": \"T1569.002\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1570": "{\n \"techniqueID\": \"T1570\",\n \"tactic\": \"lateral-movement\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1571": "{\n \"techniqueID\": \"T1571\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1572": "{\n \"techniqueID\": \"T1572\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1573": "{\n \"techniqueID\": \"T1573\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1573.001": "{\n \"techniqueID\": \"T1573.001\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1573.002": "{\n \"techniqueID\": \"T1573.002\",\n \"tactic\": \"command-and-control\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574": "{\n \"techniqueID\": \"T1574\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574": "{\n \"techniqueID\": \"T1574\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.001": "{\n \"techniqueID\": \"T1574.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.001\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.001": "{\n \"techniqueID\": \"T1574.001\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.002": "{\n \"techniqueID\": \"T1574.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.002\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.002": "{\n \"techniqueID\": \"T1574.002\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.004": "{\n \"techniqueID\": \"T1574.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.004\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.004": "{\n \"techniqueID\": \"T1574.004\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.005": "{\n \"techniqueID\": \"T1574.005\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.005\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.005": "{\n \"techniqueID\": \"T1574.005\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.006": "{\n \"techniqueID\": \"T1574.006\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.006\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.006": "{\n \"techniqueID\": \"T1574.006\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.007": "{\n \"techniqueID\": \"T1574.007\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.007\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.007": "{\n \"techniqueID\": \"T1574.007\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.008": "{\n \"techniqueID\": \"T1574.008\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.008\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.008": "{\n \"techniqueID\": \"T1574.008\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.009": "{\n \"techniqueID\": \"T1574.009\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.009\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.009": "{\n \"techniqueID\": \"T1574.009\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.010": "{\n \"techniqueID\": \"T1574.010\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.010\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.010": "{\n \"techniqueID\": \"T1574.010\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.011": "{\n \"techniqueID\": \"T1574.011\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.011\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.011": "{\n \"techniqueID\": \"T1574.011\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.012": "{\n \"techniqueID\": \"T1574.012\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1574.012\",\n \"tactic\": \"persistence\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1574.012": "{\n \"techniqueID\": \"T1574.012\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1578": "{\n \"techniqueID\": \"T1578\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1578.001": "{\n \"techniqueID\": \"T1578.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1578.002": "{\n \"techniqueID\": \"T1578.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1578.003": "{\n \"techniqueID\": \"T1578.003\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1578.004": "{\n \"techniqueID\": \"T1578.004\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1580": "{\n \"techniqueID\": \"T1580\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1599": "{\n \"techniqueID\": \"T1599\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1599.001": "{\n \"techniqueID\": \"T1599.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1600": "{\n \"techniqueID\": \"T1600\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1600.001": "{\n \"techniqueID\": \"T1600.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1600.002": "{\n \"techniqueID\": \"T1600.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1601": "{\n \"techniqueID\": \"T1601\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1601.001": "{\n \"techniqueID\": \"T1601.001\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1601.002": "{\n \"techniqueID\": \"T1601.002\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1602": "{\n \"techniqueID\": \"T1602\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1602.001": "{\n \"techniqueID\": \"T1602.001\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1602.002": "{\n \"techniqueID\": \"T1602.002\",\n \"tactic\": \"collection\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1606": "{\n \"techniqueID\": \"T1606\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1606.001": "{\n \"techniqueID\": \"T1606.001\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1606.002": "{\n \"techniqueID\": \"T1606.002\",\n \"tactic\": \"credential-access\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1609": "{\n \"techniqueID\": \"T1609\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1610": "{\n \"techniqueID\": \"T1610\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n {\n \"techniqueID\": \"T1610\",\n \"tactic\": \"execution\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1611": "{\n \"techniqueID\": \"T1611\",\n \"tactic\": \"privilege-escalation\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1612": "{\n \"techniqueID\": \"T1612\",\n \"tactic\": \"defense-evasion\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1613": "{\n \"techniqueID\": \"T1613\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n ",
"T1614": "{\n \"techniqueID\": \"T1614\",\n \"tactic\": \"discovery\",\n \"color\": \"#00ACB4\",\n \"comment\": \"\",\n \"enabled\": true,\n \"metadata\": [],\n \"showSubtechniques\": false\n },\n "}
for technique, content in nav_pairs.items():
if eachtechnique == technique:
nav_list.append(content)
else:
pass
navlist = list(set(nav_list.copy()))
return navlist
| def do_attack_navigator(case, nav_list, eachtechnique):
nav_pairs = {'T1001': '{\n "techniqueID": "T1001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1001.001': '{\n "techniqueID": "T1001.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1001.002': '{\n "techniqueID": "T1001.002",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1001.003': '{\n "techniqueID": "T1001.003",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003': '{\n "techniqueID": "T1003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.001': '{\n "techniqueID": "T1003.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.002': '{\n "techniqueID": "T1003.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.003': '{\n "techniqueID": "T1003.003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.004': '{\n "techniqueID": "T1003.004",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.005': '{\n "techniqueID": "T1003.005",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.006': '{\n "techniqueID": "T1003.006",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.007': '{\n "techniqueID": "T1003.007",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1003.008': '{\n "techniqueID": "T1003.008",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1005': '{\n "techniqueID": "T1005",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1006': '{\n "techniqueID": "T1006",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1007': '{\n "techniqueID": "T1007",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1008': '{\n "techniqueID": "T1008",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1010': '{\n "techniqueID": "T1010",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1011': '{\n "techniqueID": "T1011",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1011.001': '{\n "techniqueID": "T1011.001",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1012': '{\n "techniqueID": "T1012",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1014': '{\n "techniqueID": "T1014",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1016': '{\n "techniqueID": "T1016",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1016.001': '{\n "techniqueID": "T1016.001",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1018': '{\n "techniqueID": "T1018",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1020': '{\n "techniqueID": "T1020",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1020.001': '{\n "techniqueID": "T1020.001",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1021': '{\n "techniqueID": "T1021",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1021.001': '{\n "techniqueID": "T1021.001",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1021.002': '{\n "techniqueID": "T1021.002",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1021.003': '{\n "techniqueID": "T1021.003",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1021.004': '{\n "techniqueID": "T1021.004",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1021.005': '{\n "techniqueID": "T1021.005",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1021.006': '{\n "techniqueID": "T1021.006",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1025': '{\n "techniqueID": "T1025",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1027': '{\n "techniqueID": "T1027",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1027.001': '{\n "techniqueID": "T1027.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1027.002': '{\n "techniqueID": "T1027.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1027.003': '{\n "techniqueID": "T1027.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1027.004': '{\n "techniqueID": "T1027.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1027.005': '{\n "techniqueID": "T1027.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1029': '{\n "techniqueID": "T1029",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1030': '{\n "techniqueID": "T1030",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1033': '{\n "techniqueID": "T1033",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1036': '{\n "techniqueID": "T1036",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1036.001': '{\n "techniqueID": "T1036.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1036.002': '{\n "techniqueID": "T1036.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1036.003': '{\n "techniqueID": "T1036.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1036.004': '{\n "techniqueID": "T1036.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1036.005': '{\n "techniqueID": "T1036.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1036.006': '{\n "techniqueID": "T1036.006",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1037': '{\n "techniqueID": "T1037",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1037.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1037.001': '{\n "techniqueID": "T1037.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1037.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1037.002': '{\n "techniqueID": "T1037.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1037.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1037.003': '{\n "techniqueID": "T1037.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1037.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1037.004': '{\n "techniqueID": "T1037.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1037.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1037.005': '{\n "techniqueID": "T1037.005",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1037.005",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1039': '{\n "techniqueID": "T1039",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1040': '{\n "techniqueID": "T1040",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1040",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1041': '{\n "techniqueID": "T1041",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1046': '{\n "techniqueID": "T1046",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1047': '{\n "techniqueID": "T1047",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1048': '{\n "techniqueID": "T1048",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1048.001': '{\n "techniqueID": "T1048.001",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1048.002': '{\n "techniqueID": "T1048.002",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1048.003': '{\n "techniqueID": "T1048.003",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1049': '{\n "techniqueID": "T1049",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1052': '{\n "techniqueID": "T1052",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1052.001': '{\n "techniqueID": "T1052.001",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053': '{\n "techniqueID": "T1053",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053.001': '{\n "techniqueID": "T1053.001",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053.002': '{\n "techniqueID": "T1053.002",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053.003': '{\n "techniqueID": "T1053.003",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053.004': '{\n "techniqueID": "T1053.004",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053.005': '{\n "techniqueID": "T1053.005",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.005",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.005",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053.006': '{\n "techniqueID": "T1053.006",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.006",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.006",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1053.007': '{\n "techniqueID": "T1053.007",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.007",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1053.007",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055': '{\n "techniqueID": "T1055",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.001': '{\n "techniqueID": "T1055.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.002': '{\n "techniqueID": "T1055.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.003': '{\n "techniqueID": "T1055.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.004': '{\n "techniqueID": "T1055.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.005': '{\n "techniqueID": "T1055.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.005",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.008': '{\n "techniqueID": "T1055.008",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.008",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.009': '{\n "techniqueID": "T1055.009",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.009",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.011': '{\n "techniqueID": "T1055.011",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.011",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.012': '{\n "techniqueID": "T1055.012",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.012",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.013': '{\n "techniqueID": "T1055.013",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.013",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1055.014': '{\n "techniqueID": "T1055.014",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1055.014",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1056': '{\n "techniqueID": "T1056",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1056",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1056.001': '{\n "techniqueID": "T1056.001",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1056.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1056.002': '{\n "techniqueID": "T1056.002",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1056.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1056.003': '{\n "techniqueID": "T1056.003",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1056.003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1056.004': '{\n "techniqueID": "T1056.004",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1056.004",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1057': '{\n "techniqueID": "T1057",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059': '{\n "techniqueID": "T1059",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.001': '{\n "techniqueID": "T1059.001",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.002': '{\n "techniqueID": "T1059.002",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.003': '{\n "techniqueID": "T1059.003",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.004': '{\n "techniqueID": "T1059.004",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.005': '{\n "techniqueID": "T1059.005",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.006': '{\n "techniqueID": "T1059.006",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.007': '{\n "techniqueID": "T1059.007",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1059.008': '{\n "techniqueID": "T1059.008",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1068': '{\n "techniqueID": "T1068",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1069': '{\n "techniqueID": "T1069",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1069.001': '{\n "techniqueID": "T1069.001",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1069.002': '{\n "techniqueID": "T1069.002",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1069.003': '{\n "techniqueID": "T1069.003",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1070': '{\n "techniqueID": "T1070",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1070.001': '{\n "techniqueID": "T1070.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1070.002': '{\n "techniqueID": "T1070.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1070.003': '{\n "techniqueID": "T1070.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1070.004': '{\n "techniqueID": "T1070.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1070.005': '{\n "techniqueID": "T1070.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1070.006': '{\n "techniqueID": "T1070.006",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1071': '{\n "techniqueID": "T1071",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1071.001': '{\n "techniqueID": "T1071.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1071.002': '{\n "techniqueID": "T1071.002",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1071.003': '{\n "techniqueID": "T1071.003",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1071.004': '{\n "techniqueID": "T1071.004",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1072': '{\n "techniqueID": "T1072",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1072",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1074': '{\n "techniqueID": "T1074",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1074.001': '{\n "techniqueID": "T1074.001",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1074.002': '{\n "techniqueID": "T1074.002",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078': '{\n "techniqueID": "T1078",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.001",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078': '{\n "techniqueID": "T1078",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.001': '{\n "techniqueID": "T1078.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.001",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.001': '{\n "techniqueID": "T1078.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.002': '{\n "techniqueID": "T1078.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.002",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.002': '{\n "techniqueID": "T1078.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.003': '{\n "techniqueID": "T1078.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.003",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.003': '{\n "techniqueID": "T1078.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.004': '{\n "techniqueID": "T1078.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.004",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1078.004': '{\n "techniqueID": "T1078.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1078.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1080': '{\n "techniqueID": "T1080",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1082': '{\n "techniqueID": "T1082",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1083': '{\n "techniqueID": "T1083",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1087': '{\n "techniqueID": "T1087",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1087.001': '{\n "techniqueID": "T1087.001",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1087.002': '{\n "techniqueID": "T1087.002",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1087.003': '{\n "techniqueID": "T1087.003",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1087.004': '{\n "techniqueID": "T1087.004",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1090': '{\n "techniqueID": "T1090",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1090.001': '{\n "techniqueID": "T1090.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1090.002': '{\n "techniqueID": "T1090.002",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1090.003': '{\n "techniqueID": "T1090.003",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1090.004': '{\n "techniqueID": "T1090.004",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1091': '{\n "techniqueID": "T1091",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1091",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1092': '{\n "techniqueID": "T1092",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1095': '{\n "techniqueID": "T1095",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1098': '{\n "techniqueID": "T1098",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1098.001': '{\n "techniqueID": "T1098.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1098.002': '{\n "techniqueID": "T1098.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1098.003': '{\n "techniqueID": "T1098.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1098.004': '{\n "techniqueID": "T1098.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1102': '{\n "techniqueID": "T1102",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1102.001': '{\n "techniqueID": "T1102.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1102.002': '{\n "techniqueID": "T1102.002",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1102.003': '{\n "techniqueID": "T1102.003",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1104': '{\n "techniqueID": "T1104",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1105': '{\n "techniqueID": "T1105",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1106': '{\n "techniqueID": "T1106",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1110': '{\n "techniqueID": "T1110",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1110.001': '{\n "techniqueID": "T1110.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1110.002': '{\n "techniqueID": "T1110.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1110.003': '{\n "techniqueID": "T1110.003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1110.004': '{\n "techniqueID": "T1110.004",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1111': '{\n "techniqueID": "T1111",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1112': '{\n "techniqueID": "T1112",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1113': '{\n "techniqueID": "T1113",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1114': '{\n "techniqueID": "T1114",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1114.001': '{\n "techniqueID": "T1114.001",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1114.002': '{\n "techniqueID": "T1114.002",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1114.003': '{\n "techniqueID": "T1114.003",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1115': '{\n "techniqueID": "T1115",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1119': '{\n "techniqueID": "T1119",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1120': '{\n "techniqueID": "T1120",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1123': '{\n "techniqueID": "T1123",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1124': '{\n "techniqueID": "T1124",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1125': '{\n "techniqueID": "T1125",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1127': '{\n "techniqueID": "T1127",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1127.001': '{\n "techniqueID": "T1127.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1129': '{\n "techniqueID": "T1129",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1132': '{\n "techniqueID": "T1132",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1132.001': '{\n "techniqueID": "T1132.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1132.002': '{\n "techniqueID": "T1132.002",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1133': '{\n "techniqueID": "T1133",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1133",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1134': '{\n "techniqueID": "T1134",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1134.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1134.001': '{\n "techniqueID": "T1134.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1134.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1134.002': '{\n "techniqueID": "T1134.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1134.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1134.003': '{\n "techniqueID": "T1134.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1134.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1134.004': '{\n "techniqueID": "T1134.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1134.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1134.005': '{\n "techniqueID": "T1134.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1134.005",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1135': '{\n "techniqueID": "T1135",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1136': '{\n "techniqueID": "T1136",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1136.001': '{\n "techniqueID": "T1136.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1136.002': '{\n "techniqueID": "T1136.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1136.003': '{\n "techniqueID": "T1136.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1137': '{\n "techniqueID": "T1137",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1137.001': '{\n "techniqueID": "T1137.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1137.002': '{\n "techniqueID": "T1137.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1137.003': '{\n "techniqueID": "T1137.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1137.004': '{\n "techniqueID": "T1137.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1137.005': '{\n "techniqueID": "T1137.005",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1137.006': '{\n "techniqueID": "T1137.006",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1140': '{\n "techniqueID": "T1140",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1176': '{\n "techniqueID": "T1176",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1185': '{\n "techniqueID": "T1185",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1187': '{\n "techniqueID": "T1187",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1189': '{\n "techniqueID": "T1189",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1190': '{\n "techniqueID": "T1190",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1195': '{\n "techniqueID": "T1195",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1195.001': '{\n "techniqueID": "T1195.001",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1195.002': '{\n "techniqueID": "T1195.002",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1195.003': '{\n "techniqueID": "T1195.003",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1197': '{\n "techniqueID": "T1197",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1197",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1199': '{\n "techniqueID": "T1199",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1200': '{\n "techniqueID": "T1200",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1201': '{\n "techniqueID": "T1201",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1202': '{\n "techniqueID": "T1202",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1203': '{\n "techniqueID": "T1203",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1204': '{\n "techniqueID": "T1204",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1204.001': '{\n "techniqueID": "T1204.001",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1204.002': '{\n "techniqueID": "T1204.002",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1204.003': '{\n "techniqueID": "T1204.003",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1205': '{\n "techniqueID": "T1205",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1205.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1205': '{\n "techniqueID": "T1205",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1205.001': '{\n "techniqueID": "T1205.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1205.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1205.001': '{\n "techniqueID": "T1205.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1207': '{\n "techniqueID": "T1207",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1210': '{\n "techniqueID": "T1210",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1211': '{\n "techniqueID": "T1211",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1212': '{\n "techniqueID": "T1212",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1213': '{\n "techniqueID": "T1213",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1213.001': '{\n "techniqueID": "T1213.001",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1213.002': '{\n "techniqueID": "T1213.002",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1216': '{\n "techniqueID": "T1216",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1216.001': '{\n "techniqueID": "T1216.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1217': '{\n "techniqueID": "T1217",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218': '{\n "techniqueID": "T1218",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.001': '{\n "techniqueID": "T1218.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.002': '{\n "techniqueID": "T1218.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.003': '{\n "techniqueID": "T1218.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.004': '{\n "techniqueID": "T1218.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.005': '{\n "techniqueID": "T1218.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.007': '{\n "techniqueID": "T1218.007",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.008': '{\n "techniqueID": "T1218.008",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.009': '{\n "techniqueID": "T1218.009",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.010': '{\n "techniqueID": "T1218.010",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.011': '{\n "techniqueID": "T1218.011",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1218.012': '{\n "techniqueID": "T1218.012",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1219': '{\n "techniqueID": "T1219",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1220': '{\n "techniqueID": "T1220",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1221': '{\n "techniqueID": "T1221",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1222': '{\n "techniqueID": "T1222",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1222.001': '{\n "techniqueID": "T1222.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1222.002': '{\n "techniqueID": "T1222.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1480': '{\n "techniqueID": "T1480",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1480.001': '{\n "techniqueID": "T1480.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1482': '{\n "techniqueID": "T1482",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1484': '{\n "techniqueID": "T1484",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1484.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1484.001': '{\n "techniqueID": "T1484.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1484.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1484.002': '{\n "techniqueID": "T1484.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1484.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1485': '{\n "techniqueID": "T1485",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1486': '{\n "techniqueID": "T1486",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1489': '{\n "techniqueID": "T1489",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1490': '{\n "techniqueID": "T1490",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1491': '{\n "techniqueID": "T1491",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1491.001': '{\n "techniqueID": "T1491.001",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1491.002': '{\n "techniqueID": "T1491.002",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1495': '{\n "techniqueID": "T1495",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1496': '{\n "techniqueID": "T1496",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1497': '{\n "techniqueID": "T1497",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1497",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1497.001': '{\n "techniqueID": "T1497.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1497.001",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1497.002': '{\n "techniqueID": "T1497.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1497.002",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1497.003': '{\n "techniqueID": "T1497.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1497.003",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1498': '{\n "techniqueID": "T1498",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1498.001': '{\n "techniqueID": "T1498.001",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1498.002': '{\n "techniqueID": "T1498.002",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1499': '{\n "techniqueID": "T1499",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1499.001': '{\n "techniqueID": "T1499.001",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1499.002': '{\n "techniqueID": "T1499.002",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1499.003': '{\n "techniqueID": "T1499.003",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1499.004': '{\n "techniqueID": "T1499.004",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1505': '{\n "techniqueID": "T1505",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1505.001': '{\n "techniqueID": "T1505.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1505.002': '{\n "techniqueID": "T1505.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1505.003': '{\n "techniqueID": "T1505.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1518': '{\n "techniqueID": "T1518",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1518.001': '{\n "techniqueID": "T1518.001",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1525': '{\n "techniqueID": "T1525",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1526': '{\n "techniqueID": "T1526",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1528': '{\n "techniqueID": "T1528",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1529': '{\n "techniqueID": "T1529",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1530': '{\n "techniqueID": "T1530",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1531': '{\n "techniqueID": "T1531",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1534': '{\n "techniqueID": "T1534",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1535': '{\n "techniqueID": "T1535",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1537': '{\n "techniqueID": "T1537",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1538': '{\n "techniqueID": "T1538",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1539': '{\n "techniqueID": "T1539",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1542': '{\n "techniqueID": "T1542",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1542.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1542.001': '{\n "techniqueID": "T1542.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1542.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1542.002': '{\n "techniqueID": "T1542.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1542.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1542.003': '{\n "techniqueID": "T1542.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1542.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1542.004': '{\n "techniqueID": "T1542.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1542.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1542.005': '{\n "techniqueID": "T1542.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1542.005",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1543': '{\n "techniqueID": "T1543",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1543",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1543.001': '{\n "techniqueID": "T1543.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1543.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1543.002': '{\n "techniqueID": "T1543.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1543.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1543.003': '{\n "techniqueID": "T1543.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1543.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1543.004': '{\n "techniqueID": "T1543.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1543.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546': '{\n "techniqueID": "T1546",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.001': '{\n "techniqueID": "T1546.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.002': '{\n "techniqueID": "T1546.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.003': '{\n "techniqueID": "T1546.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.004': '{\n "techniqueID": "T1546.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.005': '{\n "techniqueID": "T1546.005",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.005",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.006': '{\n "techniqueID": "T1546.006",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.006",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.007': '{\n "techniqueID": "T1546.007",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.007",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.008': '{\n "techniqueID": "T1546.008",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.008",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.009': '{\n "techniqueID": "T1546.009",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.009",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.010': '{\n "techniqueID": "T1546.010",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.010",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.011': '{\n "techniqueID": "T1546.011",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.011",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.012': '{\n "techniqueID": "T1546.012",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.012",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.013': '{\n "techniqueID": "T1546.013",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.013",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.014': '{\n "techniqueID": "T1546.014",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.014",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1546.015': '{\n "techniqueID": "T1546.015",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1546.015",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547': '{\n "techniqueID": "T1547",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.001': '{\n "techniqueID": "T1547.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.002': '{\n "techniqueID": "T1547.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.003': '{\n "techniqueID": "T1547.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.004': '{\n "techniqueID": "T1547.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.005': '{\n "techniqueID": "T1547.005",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.005",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.006': '{\n "techniqueID": "T1547.006",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.006",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.007': '{\n "techniqueID": "T1547.007",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.007",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.008': '{\n "techniqueID": "T1547.008",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.008",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.009': '{\n "techniqueID": "T1547.009",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.009",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.010': '{\n "techniqueID": "T1547.010",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.010",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.011': '{\n "techniqueID": "T1547.011",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.011",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.012': '{\n "techniqueID": "T1547.012",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.012",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.013': '{\n "techniqueID": "T1547.013",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.013",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1547.014': '{\n "techniqueID": "T1547.014",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1547.014",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1548': '{\n "techniqueID": "T1548",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1548",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1548.001': '{\n "techniqueID": "T1548.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1548.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1548.002': '{\n "techniqueID": "T1548.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1548.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1548.003': '{\n "techniqueID": "T1548.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1548.003",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1548.004': '{\n "techniqueID": "T1548.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1548.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1550': '{\n "techniqueID": "T1550",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1550",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1550.001': '{\n "techniqueID": "T1550.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1550.001",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1550.002': '{\n "techniqueID": "T1550.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1550.002",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1550.003': '{\n "techniqueID": "T1550.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1550.003",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1550.004': '{\n "techniqueID": "T1550.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1550.004",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552': '{\n "techniqueID": "T1552",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552.001': '{\n "techniqueID": "T1552.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552.002': '{\n "techniqueID": "T1552.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552.003': '{\n "techniqueID": "T1552.003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552.004': '{\n "techniqueID": "T1552.004",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552.005': '{\n "techniqueID": "T1552.005",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552.006': '{\n "techniqueID": "T1552.006",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1552.007': '{\n "techniqueID": "T1552.007",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1553': '{\n "techniqueID": "T1553",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1553.001': '{\n "techniqueID": "T1553.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1553.002': '{\n "techniqueID": "T1553.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1553.003': '{\n "techniqueID": "T1553.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1553.004': '{\n "techniqueID": "T1553.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1553.005': '{\n "techniqueID": "T1553.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1553.006': '{\n "techniqueID": "T1553.006",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1554': '{\n "techniqueID": "T1554",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1555': '{\n "techniqueID": "T1555",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1555.001': '{\n "techniqueID": "T1555.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1555.002': '{\n "techniqueID": "T1555.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1555.003': '{\n "techniqueID": "T1555.003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1555.004': '{\n "techniqueID": "T1555.004",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1555.005': '{\n "techniqueID": "T1555.005",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556': '{\n "techniqueID": "T1556",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1556.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556': '{\n "techniqueID": "T1556",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.001': '{\n "techniqueID": "T1556.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1556.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.001': '{\n "techniqueID": "T1556.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.002': '{\n "techniqueID": "T1556.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1556.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.002': '{\n "techniqueID": "T1556.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.003': '{\n "techniqueID": "T1556.003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1556.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.003': '{\n "techniqueID": "T1556.003",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.004': '{\n "techniqueID": "T1556.004",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1556.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1556.004': '{\n "techniqueID": "T1556.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1557': '{\n "techniqueID": "T1557",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1557.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1557.001': '{\n "techniqueID": "T1557.001",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1557.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1557.002': '{\n "techniqueID": "T1557.002",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1557.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1558': '{\n "techniqueID": "T1558",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1558.001': '{\n "techniqueID": "T1558.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1558.002': '{\n "techniqueID": "T1558.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1558.003': '{\n "techniqueID": "T1558.003",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1558.004': '{\n "techniqueID": "T1558.004",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1559': '{\n "techniqueID": "T1559",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1559.001': '{\n "techniqueID": "T1559.001",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1559.002': '{\n "techniqueID": "T1559.002",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1560': '{\n "techniqueID": "T1560",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1560.001': '{\n "techniqueID": "T1560.001",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1560.002': '{\n "techniqueID": "T1560.002",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1560.003': '{\n "techniqueID": "T1560.003",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1561': '{\n "techniqueID": "T1561",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1561.001': '{\n "techniqueID": "T1561.001",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1561.002': '{\n "techniqueID": "T1561.002",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562': '{\n "techniqueID": "T1562",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562.001': '{\n "techniqueID": "T1562.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562.002': '{\n "techniqueID": "T1562.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562.003': '{\n "techniqueID": "T1562.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562.004': '{\n "techniqueID": "T1562.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562.006': '{\n "techniqueID": "T1562.006",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562.007': '{\n "techniqueID": "T1562.007",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1562.008': '{\n "techniqueID": "T1562.008",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1563': '{\n "techniqueID": "T1563",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1563.001': '{\n "techniqueID": "T1563.001",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1563.002': '{\n "techniqueID": "T1563.002",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564': '{\n "techniqueID": "T1564",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564.001': '{\n "techniqueID": "T1564.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564.002': '{\n "techniqueID": "T1564.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564.003': '{\n "techniqueID": "T1564.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564.004': '{\n "techniqueID": "T1564.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564.005': '{\n "techniqueID": "T1564.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564.006': '{\n "techniqueID": "T1564.006",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1564.007': '{\n "techniqueID": "T1564.007",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1565': '{\n "techniqueID": "T1565",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1565.001': '{\n "techniqueID": "T1565.001",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1565.002': '{\n "techniqueID": "T1565.002",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1565.003': '{\n "techniqueID": "T1565.003",\n "tactic": "impact",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1566': '{\n "techniqueID": "T1566",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1566.001': '{\n "techniqueID": "T1566.001",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1566.002': '{\n "techniqueID": "T1566.002",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1566.003': '{\n "techniqueID": "T1566.003",\n "tactic": "initial-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1567': '{\n "techniqueID": "T1567",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1567.001': '{\n "techniqueID": "T1567.001",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1567.002': '{\n "techniqueID": "T1567.002",\n "tactic": "exfiltration",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1568': '{\n "techniqueID": "T1568",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1568.001': '{\n "techniqueID": "T1568.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1568.002': '{\n "techniqueID": "T1568.002",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1568.003': '{\n "techniqueID": "T1568.003",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1569': '{\n "techniqueID": "T1569",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1569.001': '{\n "techniqueID": "T1569.001",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1569.002': '{\n "techniqueID": "T1569.002",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1570': '{\n "techniqueID": "T1570",\n "tactic": "lateral-movement",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1571': '{\n "techniqueID": "T1571",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1572': '{\n "techniqueID": "T1572",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1573': '{\n "techniqueID": "T1573",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1573.001': '{\n "techniqueID": "T1573.001",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1573.002': '{\n "techniqueID": "T1573.002",\n "tactic": "command-and-control",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574': '{\n "techniqueID": "T1574",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574': '{\n "techniqueID": "T1574",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.001': '{\n "techniqueID": "T1574.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.001",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.001': '{\n "techniqueID": "T1574.001",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.002': '{\n "techniqueID": "T1574.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.002",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.002': '{\n "techniqueID": "T1574.002",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.004': '{\n "techniqueID": "T1574.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.004",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.004': '{\n "techniqueID": "T1574.004",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.005': '{\n "techniqueID": "T1574.005",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.005",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.005': '{\n "techniqueID": "T1574.005",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.006': '{\n "techniqueID": "T1574.006",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.006",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.006': '{\n "techniqueID": "T1574.006",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.007': '{\n "techniqueID": "T1574.007",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.007",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.007': '{\n "techniqueID": "T1574.007",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.008': '{\n "techniqueID": "T1574.008",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.008",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.008': '{\n "techniqueID": "T1574.008",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.009': '{\n "techniqueID": "T1574.009",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.009",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.009': '{\n "techniqueID": "T1574.009",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.010': '{\n "techniqueID": "T1574.010",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.010",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.010': '{\n "techniqueID": "T1574.010",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.011': '{\n "techniqueID": "T1574.011",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.011",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.011': '{\n "techniqueID": "T1574.011",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.012': '{\n "techniqueID": "T1574.012",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1574.012",\n "tactic": "persistence",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1574.012': '{\n "techniqueID": "T1574.012",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1578': '{\n "techniqueID": "T1578",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1578.001': '{\n "techniqueID": "T1578.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1578.002': '{\n "techniqueID": "T1578.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1578.003': '{\n "techniqueID": "T1578.003",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1578.004': '{\n "techniqueID": "T1578.004",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1580': '{\n "techniqueID": "T1580",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1599': '{\n "techniqueID": "T1599",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1599.001': '{\n "techniqueID": "T1599.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1600': '{\n "techniqueID": "T1600",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1600.001': '{\n "techniqueID": "T1600.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1600.002': '{\n "techniqueID": "T1600.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1601': '{\n "techniqueID": "T1601",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1601.001': '{\n "techniqueID": "T1601.001",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1601.002': '{\n "techniqueID": "T1601.002",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1602': '{\n "techniqueID": "T1602",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1602.001': '{\n "techniqueID": "T1602.001",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1602.002': '{\n "techniqueID": "T1602.002",\n "tactic": "collection",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1606': '{\n "techniqueID": "T1606",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1606.001': '{\n "techniqueID": "T1606.001",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1606.002': '{\n "techniqueID": "T1606.002",\n "tactic": "credential-access",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1609': '{\n "techniqueID": "T1609",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1610': '{\n "techniqueID": "T1610",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n {\n "techniqueID": "T1610",\n "tactic": "execution",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1611': '{\n "techniqueID": "T1611",\n "tactic": "privilege-escalation",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1612': '{\n "techniqueID": "T1612",\n "tactic": "defense-evasion",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1613': '{\n "techniqueID": "T1613",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n ', 'T1614': '{\n "techniqueID": "T1614",\n "tactic": "discovery",\n "color": "#00ACB4",\n "comment": "",\n "enabled": true,\n "metadata": [],\n "showSubtechniques": false\n },\n '}
for (technique, content) in nav_pairs.items():
if eachtechnique == technique:
nav_list.append(content)
else:
pass
navlist = list(set(nav_list.copy()))
return navlist |
def preprocess_sotu_text(text):
removed_applause_text = text.replace('(Applause.)', ' ')
removed_ddash_text = removed_applause_text.replace('--', ' ')
processed_text = removed_ddash_text
return processed_text | def preprocess_sotu_text(text):
removed_applause_text = text.replace('(Applause.)', ' ')
removed_ddash_text = removed_applause_text.replace('--', ' ')
processed_text = removed_ddash_text
return processed_text |
def executar(n, lista):
for i in range(n):
lista += str(i + 1) + "\t"
print(lista)
lista = ''
n = int(input("Digite n: "))
executar(n, lista)
| def executar(n, lista):
for i in range(n):
lista += str(i + 1) + '\t'
print(lista)
lista = ''
n = int(input('Digite n: '))
executar(n, lista) |
def ingredient_translator(recipe_info):
"""This function creates common words for synonymous ingredient names"""
for c1, r in enumerate(recipe_info): # for each recipe r and its counter c
for c2, i in enumerate(r['ingredients']): # for each ingredient of this recipe
# SPICES
if i.lower() in ['sea salt', 'seasoning salt', 'salt to taste', 'season salt', 'kosher salt',
'seasoned salt', 'tea spoon salt', 'salt,', 'salt to season', 'kosher salt, to taste',
'pinch of salt', 'onion salt', 'celery salt', 'salt, to taste', 'lbs salt', 'garlic salt',
'little salt', 'mediterranean sea salt', 'of salt', 'coarse salt', 'garlic salt to taste',
'cracked sea salt', 'salt (or more to taste)', 'salt as per taste', 'salt -',
'salt (to taste)', 'salt ,', 'rock salt', 'salt as required', 'salt or to taste',
'salt taste ke according', 'black salt', 'salt to tast', 'salt - as needed',
'salt (or to taste)']:
recipe_info[c1]['ingredients'][c2] = u'salt'
elif i.lower() in ['salt and pepper', u'salt & pepper', 'large pinch kosher salt & black pepper',
'salt and pepper to taste', 'salt and black pepper', u'salt&pepper',
'salt and pepper for taste', 'sea salt and freshly ground black pepper',
'kosher salt & black pepper', 'kosher salt and black pepper',
'salt & pepper to taste', u'kosher salt & freshly cracked black pepper',
'ts salt', 'salt, pepper', 'salt/pepper', 'salt pepper', 'pepper and salt',
'each salt and pepper', 'black pepper and salt to taste',
'salt, pepper, italian seasoning', 'large pinch kosher salt and black pepper',
'salt n pepper', 'salt and freshly ground black pepper',
'black pepper, and salt to taste', 'salt pepper and', 'salt - pepper',
'salt and pepper (to taste)', 'of salt and pepper', 'salt according']:
recipe_info[c1]['ingredients'][c2] = u'salt'
recipe_info[c1]['ingredients'].extend([u'pepper'])
elif i.lower() in [u'salt & sugar']:
recipe_info[c1]['ingredients'][c2] = u'salt'
recipe_info[c1]['ingredients'].extend([u'sugar'])
elif i.lower() in ['ground black pepper', 'fresh ground black pepper', 'fresh ground pepper',
'cracked black pepper', 'course black pepper', 'freshly ground black pepper',
'cracked pepper', 'fresh cracked black pepper', 'pepper to taste',
'black pepper, to taste', 'pinch of black pepper', 'black pepper to taste',
'coarse ground black pepper', 'fresh black pepper', 'coarse black pepper',
'ground pepper', 'as needed black pepper to taste', 'crushed black pepper',
'freshly ground pepper', 'black pepper powder', 'black pepper ground', 'pepper powder',
'black peppercorns', 'of pepper', 'pepper -', 'whole black peppercorns', 'pepper corns',
'black pepper corns', 'as required pepper powder']:
recipe_info[c1]['ingredients'][c2] = u'black pepper'
elif i.lower() in ['crushed red pepper', 'ground red pepper', 'red pepper flakes',
'crushed red pepper flakes']:
recipe_info[c1]['ingredients'][c2] = u'red pepper'
elif i.lower() in ['ground white pepper', 'white pepper powder']:
recipe_info[c1]['ingredients'][c2] = u'white pepper'
elif i.lower() in ['szechuan peppercorns', 'sichuan peppercorns']:
recipe_info[c1]['ingredients'][c2] = u'szechuan pepper'
elif i.lower() in ['chili', 'red chili powder', 'chile powder', 'red chilli powder', 'red chilly powder',
'kashmiri chilli powder', 'fine chili powder', 'dried chili pepper', 'chilli powder',
'red chilli flakes', 'chilli', 'hot chili', 'chilly powder', 'chili powder red',
'chilly red powder', 'kashmiri chili powder', 'chillie powder']:
recipe_info[c1]['ingredients'][c2] = u'chili powder'
elif i.lower() in ['heinz chili sauce', 'peri peri chili sauce', 'chilli sauce', 'sweet chili sauce',
'thai sweet chili sauce', 'sweet chilli sauce', 'thai chili sauce',
'thai sweet chilli sauce', 'sweet thai chili sauce', 'sweet thai chilli sauce',
'red chilli sauce']:
recipe_info[c1]['ingredients'][c2] = u'chili sauce'
elif i.lower() in ['diced green chiles', 'green chilies', 'diced green chilies', 'can diced green chiles',
'can green chilies', 'green chiles', 'diced green chilis', 'green chillies',
'green chilli chopped', 'green chillies -', 'green chillies chopped', 'green chilly',
'chopped green chillies', 'green chilli (chopped)', 'green chilli (finely chopped)',
'green chilies, chopped', 'chilly green', 'green chili chopped',
'green chillies (chopped)', 'green chillis', 'green chillies slit',
'green chilli finely chopped', 'green chillie', 'chopped green chilli']:
recipe_info[c1]['ingredients'][c2] = u'green chili'
elif i.lower() in ['diced red chiles', 'red chilies', 'diced red chilies', 'can diced red chiles',
'can red chilies', 'red chiles', 'diced red chilis', 'red chillies',
'red chilli chopped', 'red chili pepper', 'deseeded red chili pepper', 'red chilli',
'dried red chillies', 'dry red chillies', 'red chili flakes', 'chilli flakes',
'chillies', 'red chilli dry', 'chili flakes', 'chillies dry red',
'dried chilli flakes', 'dry red chilli']:
recipe_info[c1]['ingredients'][c2] = u'red chili'
elif i.lower() in ['garlic, minced', 'minced garlic', 'granulated garlic powder', 'garlic powder',
'garlic cloves', 'garlic minced', 'garlic cloves, minced', 'chopped garlic',
'garlic clove', 'granulated garlic', 'garlic; minced', 'garlic, chopped',
'garlic cloves minced', 'garlic, crushed', 'garlics', 'garlic clove, sliced',
'garlic clove minced', 'garlic chopped', 'garlic crushed', 'garlic cloves, crushed',
'garlic, sliced', 'garlic (minced)', 'crushed garlic', 'garlic; creamed',
'garlic cloves; creamed', 'fine minced garlic', 'jarred minced garlic',
'fresh minced garlic', 'garlic, finely chopped', 'garlic clove, minced',
'fresh garlic (minced)', 'of garlic', 'fresh garlic', 'garlic (chopped)',
'garlic cloves chopped', 'roasted garlic', 'garlic; slivered', 'garlic diced',
'garlic (finely chopped)', 'garlic (grated)', 'dice garlic', 'grated garlic',
'garlic cloves, chopped', 'pounded garlic', 'garlic finely chopped',
'fine dice garlic and shallot', 'fine dice garlic', 'of chopped garlic',
'spoon of chopped garlic', 'crispy garlic', 'garlic,crushed', 'garlic , minced',
'garlic grated', 'garlic -']:
recipe_info[c1]['ingredients'][c2] = u'garlic'
elif i.lower() in ['bay leaves', 'crushed bay leaves', 'bayleaf', 'dried bay leaves', 'bay leaves -',
'bay leaf -']:
recipe_info[c1]['ingredients'][c2] = u'bay leaf'
elif i.lower() in ['dried thyme', 'dryed thyme']:
recipe_info[c1]['ingredients'][c2] = u'thyme'
elif i.lower() in ['ground ginger', 'fresh ginger', 'minced ginger', 'grated ginger', 'ginger (minced)',
'chopped ginger', 'fresh grated ginger', 'grind ginger', 'grated fresh ginger',
'ginger chopped', 'ginger root', 'ginger (finely chopped)', 'ginger, grated',
'fresh ginger, grated', 'fresh minced ginger', 'pounded ginger', 'ginger powder',
'minced fresh ginger', 'thumbs size ginger', 'finely chopped ginger', 'ginger (grated)',
'ginger grated', 'crushed ginger', u'" ginger', 'ginger (grated) slice',
'ginger, chopped', 'ginger, finely chopped', 'ginger, crushed', 'piece of ginger',
'ginger slice']:
recipe_info[c1]['ingredients'][c2] = u'ginger'
elif i.lower() in ['ground cinnamon', 'cinnamon stick', 'cinnamon powder', 'cinnamon sticks',
'little cinnamon', 'of cinnamon']:
recipe_info[c1]['ingredients'][c2] = u'cinnamon'
elif i.lower() in ['ground cardamom', 'cardamom powder', 'cardamom pods', 'green cardamom pods',
'elaichi powder', 'black cardamom', 'green cardamom powder', 'cardamon powder',
'cardamon pods', 'cardamoms']:
recipe_info[c1]['ingredients'][c2] = u'cardamon'
elif i.lower() in ['fresh parsley', 'parsley flakes', 'chopped fresh parsley', 'chopped parsley',
'chopped parsley flakes', 'dry parsley', 'finely chopped parsley', 'parsley leaves',
'dried parsley', 'fresh chopped parsley', 'parsley, chopped', 'parsley, finely chopped',
'minced parsley']:
recipe_info[c1]['ingredients'][c2] = u'parsley'
elif i.lower() in ['fresh rosemary, minced', 'dried rosemary', 'fresh rosemary', 'minced fresh rosemary',
'fresh rosemary; minced', 'rosemary sprigs']:
recipe_info[c1]['ingredients'][c2] = u'rosemary'
elif i.lower() in ['fresh cilantro', 'cilantro, chopped', 'fresh cilantro leaves', 'chopped cilantro',
'chopped fresh cilantro', 'fresh cilantro, chopped', 'fresh chopped cilantro',
'dried cilantro', u'coriander', 'coriander powder', 'coriander ground',
'cilantro; chiffonade', 'cilantro chopped', 'fresh cilantro chopped',
'coriander sedcilantro', 'bundle cilantro; chiffonade', 'corriander',
'cilantro (chopped)', 'cilantro minced', 'coriander leaves', 'fresh coriander',
'coriander leaves chopped', 'chopped coriander', 'fresh coriander leaf',
'coriander leaf', 'chopped fresh coriander', 'fresh coriander leaves',
'coriander leaves, chopped', 'chopped coriander leaves', 'corriander leaves',
'cilantro leaves', 'coriander chopped', 'chopped green coriander', 'handful cilantro',
'green coriander', 'handful fresh coriander leaves']:
recipe_info[c1]['ingredients'][c2] = u'cilantro'
elif i.lower() in ['ground coriander seed', 'ground coriander', 'coriander powder -', 'corriander powder',
'dhaniya powder', 'coriander seed powder', 'dhania powder', 'corriander seeds',
'ground corriander']:
recipe_info[c1]['ingredients'][c2] = u'coriander seeds'
elif i.lower() in ['fresh basil', 'dried basil', 'basil leaves', 'fresh basil leaves',
'chopped fresh basil', 'chopped basil', 'fresh basil chopped', 'dry basil',
'dried basil leaves', 'fresh chopped basil', 'sweet basil', 'fresh basil (chopped)',
'fresh basil; chiffonade', 'chopped fresh basil leaves',
'fresh basil leaves, finely chopped', 'basil leaves chopped', 'dried or fresh basil',
'basil leaf', 'finely chopped basil', 'fresh basil leaves, chopped', 'basil dried',
'basil leafs', 'each chopped fresh basil, parsley chives', 'fresh basil, chopped',
'sweet basils', 'basils', 'leaves of sweet basil']:
recipe_info[c1]['ingredients'][c2] = u'basil'
elif i.lower() in ['thai basil leaves', 'fresh thai basil', 'hot basils', 'fresh thai basil leaves']:
recipe_info[c1]['ingredients'][c2] = u'thai basil'
elif i.lower() in ['mexican oregano', 'whole leaf oregano', 'dried oregano', 'ground oregano',
'fresh oregano', 'dried oregano leaves', 'oregano dried', 'greek oregano',
'little oregano', 'oregano, dried', 'mexican oregeno [crushed]',
'mexican oregano [crushed]', 'dried mexican oregano']:
recipe_info[c1]['ingredients'][c2] = u'oregano'
elif i.lower() in ['dried mint', 'mint leaves', 'fresh mint', 'chopped fresh mint', 'mint leaves chopped',
'mints']:
recipe_info[c1]['ingredients'][c2] = u'mint'
elif i.lower() in ['fresh dill', 'dill weed', 'dried dill', 'finely chopped dill',
'fresh dill, chopped', 'dill, finely chopped', 'fresh chopped dill']:
recipe_info[c1]['ingredients'][c2] = u'dill'
elif i.lower() in ['fresh thyme', 'fresh thyme; minced', 'dry thyme', 'ground thyme',
'chopped fresh thyme', '']:
recipe_info[c1]['ingredients'][c2] = u'thyme'
elif i.lower() in ['ground cumin', 'cumin powder', 'cumin seeds', 'cumin ground', 'cummin', 'cumin seed',
'roasted cumin powder', 'cumin seeds (jeera)', 'jeera', 'jeera powder']:
recipe_info[c1]['ingredients'][c2] = u'cumin'
elif i.lower() in ['italian seasoning','dried italian seasoning', 'italian spices', 'italian seasonings', 'italian season',
'italian herbs', 'dry italian seasoning', 'italian dressing seasoning',
'italian seasoning spice blend']:
recipe_info[c1]['ingredients'][c2] = u'Italian seasoning'
elif i.lower() in ['greek seasoning', 'greek blend seasoning']:
recipe_info[c1]['ingredients'][c2] = u'Greek seasoning'
elif i.lower() in ['taco seasoning mix', 'taco season']:
recipe_info[c1]['ingredients'][c2] = u'taco seasoning'
elif i.lower() in ['ground nutmeg', 'nutmeg powder']:
recipe_info[c1]['ingredients'][c2] = u'nutmeg'
elif i.lower() in ['turmeric powder', 'ground turmeric', 'tumeric', 'tumeric powder', 'turmeric powder -',
'ground tumeric', 'turmeric -']:
recipe_info[c1]['ingredients'][c2] = u'turmeric'
elif i.lower() in ['curry leaves', 'curry leaves -', 'curry leaves few',
'curry leaves or coriander leaves']:
recipe_info[c1]['ingredients'][c2] = u'curry leaf'
elif i.lower() in ['thai curry paste']:
recipe_info[c1]['ingredients'][c2] = u'curry paste'
elif i.lower() in ['thai green curry paste']:
recipe_info[c1]['ingredients'][c2] = u'green curry paste'
elif i.lower() in ['red thai curry paste']:
recipe_info[c1]['ingredients'][c2] = u'red curry paste'
elif i.lower() in ['chicken masala']:
recipe_info[c1]['ingredients'][c2] = u'masala'
elif i.lower() in ['ginger-garlic paste', 'ginger garlic paste -', 'ginger,garlic paste']:
recipe_info[c1]['ingredients'][c2] = u'ginger garlic paste'
elif i.lower() in ['tamarind paste', 'tamarind puree', 'tamarind juice', u'\u2606 tamarind paste',
'tamarind pulp']:
recipe_info[c1]['ingredients'][c2] = u'tamarind'
elif i.lower() in ['cayenne', 'cayenne powder', 'ground cayenne pepper']:
recipe_info[c1]['ingredients'][c2] = u'cayenne pepper'
elif i.lower() in ['ground allspice']:
recipe_info[c1]['ingredients'][c2] = u'allspice'
elif i.lower() in ['chinese five spice', 'chinese 5 spice', 'chinese five spice powder',
'five spice powder', 'chinese 5 spice powder', '5 spice powder']:
recipe_info[c1]['ingredients'][c2] = u'five spice'
elif i.lower() in ['crayfish 2 tbs(blended)', 'cup crayfish', 'table spoon of crayfish blended',
'full teaspoon crayfish (blended)', 'crayfish(blended)',
'table spoon crayfish (blended)', 'grounded crayfish',
'full teaspoon of blended crayfish', 'medium crayfish (blended)',
'crayfish picked and washed (as you want)',
'fresh live crayfish (crafish/ crawdads) yields about 1 cup',
'table spoon blended crayfish', 'crayfish blended', 'spoon crayfish (blended)',
'table spoon crayfish', 'table spoon of crayfish', 'blended crayfish',
'crayfish (blended)']:
recipe_info[c1]['ingredients'][c2] = u'crayfish'
elif i.lower() in ['ground cloves', 'whole cloves']:
recipe_info[c1]['ingredients'][c2] = u'cloves'
elif i.lower() in ['vegetable broth', 'stock', 'any stock', 'stock of your choice', 'hot chicken stock']:
recipe_info[c1]['ingredients'][c2] = u'vegetable stock'
elif i.lower() in ['chicken broth', 'chicken flavor bouillon', 'chicken bouillon', 'chicken bullion',
'chicken bouillon cubes', 'water or chicken stock', 'chicken stock powder',
'spoon of chicken stock powder', 'of chicken stock', 'of chicken stock powder']:
recipe_info[c1]['ingredients'][c2] = u'chicken stock'
elif i.lower() in ['beef broth', 'beef bouillon cubes']:
recipe_info[c1]['ingredients'][c2] = u'beef stock'
elif i.lower() in ['of pork stock powder']:
recipe_info[c1]['ingredients'][c2] = u'pork stock'
elif i.lower() in ['vanilla', 'pure vanilla extract', 'vanilla essence', ]:
recipe_info[c1]['ingredients'][c2] = u'vanilla extract'
elif i.lower() in ['of sugar', 'spoon of sugar', 'white sugar', 'granulated sugar', 'caster sugar',
'powdered sugar', 'thumb size rock sugar', 'sugar -']:
recipe_info[c1]['ingredients'][c2] = u'sugar'
elif i.lower() in ['light brown sugar', 'dark brown sugar', 'of brown sugar']:
recipe_info[c1]['ingredients'][c2] = u'brown sugar'
elif i.lower() in ['garam masala -', 'garam masala powder']:
recipe_info[c1]['ingredients'][c2] = u'garam masala'
elif i.lower() in ['sliced of galangal', 'of galangal', 'galangal,slices', 'as needed galangal / sliced']:
recipe_info[c1]['ingredients'][c2] = u'galangal'
elif i.lower() in ['kasoori methi', 'fenugreek leaves', 'fenugreek', 'dried fenugreek leaves',
'methi kasoori']:
recipe_info[c1]['ingredients'][c2] = u'fenugreek powder'
elif i.lower() in ['black gram', 'urad dal (split black gram)']:
recipe_info[c1]['ingredients'][c2] = u'urad dal'
elif i.lower() in ['suji']:
recipe_info[c1]['ingredients'][c2] = u'semolina'
elif i.lower() in ['mustard seeds -']:
recipe_info[c1]['ingredients'][c2] = u'mustard seeds'
elif i.lower() in ['gulcand']:
recipe_info[c1]['ingredients'][c2] = u'gulkand'
# SAUCES
elif i.lower() in ['worchestershire sauce', 'worcestershire', 'worcester sauce', 'worshestershire sauce',
'worceshire sauce', 'worshire sauce', 'worchestire sauce',
'as needed dales or worchershire sauce', 'worcheschire sauce']:
recipe_info[c1]['ingredients'][c2] = u'worcestershire sauce'
elif i.lower() in ['light soy sauce', 'dark soy sauce', 'low sodium soy sauce', 'sweet soy sauce',
'tamari soy sauce', 'low-sodium soy sauce', 'soysauce', 'soya sauce',
'light soya sauce', 'reduced sodium soy sauce', 'dark soya sauce', 'lite soy sauce',
'lite soya sauce', 'thick soy sauce', '*soy sauce', 'of soy sauce']:
recipe_info[c1]['ingredients'][c2] = u'soy sauce'
elif i.lower() in ['boiling water', 'cold water', 'warm water', 'water divided', 'water or chicken broth',
'water or broth', 'water warm', 'some water', 'water as needed', 'hot water',
'ice water', 'of water', 'water -', 'water or stock', 'bowl of water', 'cool water',
'lukewarm water', 'water as required', 'water as per requirement']:
recipe_info[c1]['ingredients'][c2] = u'water'
elif i.lower() in ['ice cubes']:
recipe_info[c1]['ingredients'][c2] = u'ice'
elif i.lower() in ['tahini paste', 'tahini (sesame paste)', 'tahina']:
recipe_info[c1]['ingredients'][c2] = u'tahini'
elif i.lower() in ['white vinegar', 'vinegar', 'distilled white vinegar']:
recipe_info[c1]['ingredients'][c2] = u'white wine vinegar'
elif i.lower() in ['cider vinegar']:
recipe_info[c1]['ingredients'][c2] = u'apple cider vinegar'
elif i.lower() in ['cream of chicken', 'can cream of chicken']:
recipe_info[c1]['ingredients'][c2] = u'cream of chicken soup'
elif i.lower() in ['cream of mushroom']:
recipe_info[c1]['ingredients'][c2] = u'cream of mushroom soup'
elif i.lower() in ['mild salsa', 'medium salsa', 'red salsa', 'salsa (optional)']:
recipe_info[c1]['ingredients'][c2] = u'salsa sauce'
elif i.lower() in ['can enchilada sauce']:
recipe_info[c1]['ingredients'][c2] = u'enchilada sauce'
elif i.lower() in ['sriracha', 'sriracha hot sauce', 'siracha', 'siracha sauce',
'siracha garlic chile sauce', 'siriacha garlic chili sauce']:
recipe_info[c1]['ingredients'][c2] = u'sriracha sauce'
elif i.lower() in ['quality fish sauce', 'fishsauce', 'spoon of fish sauce', 'of fish sauce',
'thai fish sauce', 'asian fish sauce', u'\u2605 fish sauce',
'thai kitchen premium fish sauce']:
recipe_info[c1]['ingredients'][c2] = u'fish sauce'
elif i.lower() in ['creamy peanut butter', 'crunchy peanut butter']:
recipe_info[c1]['ingredients'][c2] = u'peanut butter'
elif i.lower() in ['of oyster sauce', 'spoon of oyster sauce']:
recipe_info[c1]['ingredients'][c2] = u'oyster sauce'
elif i.lower() in ['desi ghee', 'ghee (clarified butter)', u'/4cup ghee', 'pure ghee']:
recipe_info[c1]['ingredients'][c2] = u'ghee'
# OILS/FATS
elif i.lower() in ['extra virgin olive oil', 'olive oil, extra virgin', 'olive oil, i used chili infused',
'extra-virgin olive oil', 'olive oil, divided', 'as needed olive oil',
'virgin olive oil', 'olive oil extra virgin', 'evoo', 'garlic olive oil',
'olive oil spray']:
recipe_info[c1]['ingredients'][c2] = u'olive oil'
elif i.lower() in ['oil', 'vegetable oil; as needed', 'vegetable oil', 'oil for frying',
'vegetable oil for frying', 'veg oil', 'frying oil', 'vegetable or olive oil',
'sesame or vegetable oil', 'oil for deep frying', 'oil to fry', 'oil -',
'cooking oil (shallow frying)', 'oil for deep frying', 'canola oil',
'canola oil for frying', 'oil to deep fry', 'sunflower oil', 'of oil', 'spoon of oil',
'refined oil', 'oil for deep fry', 'oil for shallow frying', 'oil -',
'oil as required', 'oil - for deep frying']:
recipe_info[c1]['ingredients'][c2] = u'cooking oil'
elif i.lower() in ['sesame oil (optional)', 'sesame seed oil', 'toasted sesame oil', 'dark sesame oil']:
recipe_info[c1]['ingredients'][c2] = u'sesame oil'
elif i.lower() in ['nonstick cooking spray']:
recipe_info[c1]['ingredients'][c2] = u'cooking spray'
elif i.lower() in ['unsalted butter', 'melted butter', 'butter, melted', 'butter (melted)',
'butter; melted', 'butter or margarine', 'butter, softened', 'butter melted',
'of butter', 'softened butter', 'butter- softened', 'salted butter',
'softened sunflower spread/butter', 'ghee or butter']:
recipe_info[c1]['ingredients'][c2] = u'butter'
# CARBS
elif i.lower() in ['all purpose flour', 'all-purpose flour', 'plain flour', 'sr flour', 'bread flour',
'ap flour', 'wheat flour', 'cake flour', 'whole wheat flour', 'white flour',
'bowl wheat flour']:
recipe_info[c1]['ingredients'][c2] = u'flour'
elif i.lower() in ['besan', 'gram flour (besan)', 'besan (gram flour)']:
recipe_info[c1]['ingredients'][c2] = u'gram flour'
elif i.lower() in ['cooked rice', 'long grain rice', 'white rice', 'cooked white rice',
'long grain white rice', 'uncooked rice', 'instant rice', 'medium grain rice',
'minute rice', 'rice cooked', 'steamed rice', 'ground roasted rice', 'boiled rice']:
recipe_info[c1]['ingredients'][c2] = u'rice'
elif i.lower() in ['cooked jasmine rice']:
recipe_info[c1]['ingredients'][c2] = u'jasmine rice'
elif i.lower() in ['potatoes', 'large potatoes', 'potatos', 'russet potatoes', 'baby potatoes',
'potatoes (cubed)', 'small peeled potatoes', 'potatoes, cubed', 'diced potatoes',
'mashed potatoes', 'large russet potatoes', 'boiled potatoes', 'boil potato',
'boiled potato', 'potatoes']:
recipe_info[c1]['ingredients'][c2] = u'potato'
elif i.lower() in ['sweet potatoes']:
recipe_info[c1]['ingredients'][c2] = u'sweet potato'
elif i.lower() in ['breadcrumbs', 'dry bread crumbs', 'italian bread crumbs', 'italian breadcrumbs',
'panko bread crumbs', 'panko breadcrumbs', 'seasoned bread crumbs',
'plain bread crumbs', 'italian style bread crumbs', 'italian seasoned bread crumbs',
'italian style breadcrumbs']:
recipe_info[c1]['ingredients'][c2] = u'bread crumbs'
elif i.lower() in ['french bread', 'italian bread', 'ciabatta bread', 'white bread', 'pita bread',
'bread slices']:
recipe_info[c1]['ingredients'][c2] = u'bread'
elif i.lower() in ['flour tortillas', 'corn tortillas', 'white corn tortillas', 'large flour tortillas',
'large flour tortillas (microwave 30 seconds)', 'warm flour tortillas', 'tortilla',
'fresh flour tortillas', 'flour or corn tortillas', 'soft corn tortillas',
'yellow corn tortillas', 'flour tortilla', 'small flour tortillas', 'corn tortilla',
'large tortillas', 'small tortillas', 'soft tortillas', 'corn or flour tortillas',
'of tortillas', u'6" flour tortillas', 'soft taco size flour tortillas',
'whole wheat tortillas', 'warmed tortillas']:
recipe_info[c1]['ingredients'][c2] = u'tortillas'
elif i.lower() in ['wide egg noodles']:
recipe_info[c1]['ingredients'][c2] = u'egg noodles'
elif i.lower() in ['wonton wrappers', 'wanton skin', 'wonton wrapper']:
recipe_info[c1]['ingredients'][c2] = u'wonton wraps'
elif i.lower() in ['eggroll wraps', ]:
recipe_info[c1]['ingredients'][c2] = u'egg roll wraps'
elif i.lower() in ['springroll wraps', 'spring roll wrappers', 'spring roll wrapper', 'spring roll skin']:
recipe_info[c1]['ingredients'][c2] = u'spring roll wraps'
elif i.lower() in ['spaghetti noodles', 'spaghetti pasta', 'dry spaghetti', 'thin spaghetti',
'italian spaghetti', 'enriched spaghetti pasta', 'dry spaghetti pasta']:
recipe_info[c1]['ingredients'][c2] = u'spaghetti'
elif i.lower() in ['rolled oats', 'old fashioned oats']:
recipe_info[c1]['ingredients'][c2] = u'oats'
elif i.lower() in ['sliced almonds', 'blanched almonds', 'raw almonds', 'slivered almonds',
'toasted almonds', 'ground almonds', 'almonds chopped', '.almonds for garnish',
'ground almond', 'almonds sliced']:
recipe_info[c1]['ingredients'][c2] = u'almonds'
elif i.lower() in ['sesame', 'toasted sesame seeds', 'roasted sesame seeds', 'white sesame seeds']:
recipe_info[c1]['ingredients'][c2] = u'sesame seeds'
elif i.lower() in ['roasted peanuts', 'chopped peanuts', 'crushed peanuts']:
recipe_info[c1]['ingredients'][c2] = u'peanuts'
elif i.lower() in ['kaju', 'cashew nuts', 'cashews chopped', 'cashew', 'cashewnuts']:
recipe_info[c1]['ingredients'][c2] = u'cashews'
# VEG
elif i.lower() in ['onions', 'onion, chopped', 'onion powder', 'chopped onion', 'onion, diced',
'onion chopped', 'large onion', 'small onion', 'medium onion', 'diced onion',
'chopped onions', 'small onion, chopped', 'medium onion chopped', 'minced onion',
'medium onion, chopped', 'onion diced', 'onion (chopped)', 'medium size onion',
'onions, diced', 'large onion chopped', 'chop onions', 'small onion finely chopped',
'onions, sliced', 'large onion, chopped', 'onion, minced', 'small onion diced',
'small diced onion', 'onion sliced', 'medium onion diced', 'onion, sliced',
'finely chopped onion', 'diced onions', 'medium bulb onion', 'onion medium sized',
'onion, finely chopped', 'onion ,peeled and very finely diced', 'onions, chopped',
'onion (diced)', 'onion finely chopped', 'large onions', 'sliced onion',
'medium onions', 'graded onion', 'medium onion, diced', 'onions chopped',
'onion, thinly sliced', 'onions sliced', 'dice onion', 'onion slices', 'onion,sliced',
'finely chopped onions', 'big onion', 'fried onions', 'onion -', 'onions small',
'onions, finely chopped', 'onions finely chopped', 'grated onion']:
recipe_info[c1]['ingredients'][c2] = u'onion'
elif i.lower() in ['green onions, chopped', 'green onions', 'green onions, sliced', 'chopped green onion',
'green onions chopped', 'sliced green onions', 'chopped green onions',
'minced green onion', 'green onion (chopped)', 'green onion, chopped',
'green onion, sliced', 'green onions sliced']:
recipe_info[c1]['ingredients'][c2] = u'green onion'
elif i.lower() in ['yellow onion, chopped', 'chopped yellow onion', 'yellow onion; minced',
'diced yellow onion']:
recipe_info[c1]['ingredients'][c2] = u'yellow onion'
elif i.lower() in ['red onion, chopped', 'chopped red onion', 'red onion, diced',
'finely chopped red onion', 'red onion, finely chopped', 'red onion; minced',
'diced red onion', 'red onion diced', 'red onion; small dice',
'small red onion; small dice', 'red onion (diced)', 'red onions']:
recipe_info[c1]['ingredients'][c2] = u'red onion'
elif i.lower() in ['white onions', 'white onion chopped', 'diced white onion', 'white onion, diced',
'large white onion', 'white onion diced']:
recipe_info[c1]['ingredients'][c2] = u'white onion'
elif i.lower() in ['spring onions', 'spring onion or scallion', 'spring onion, chopped',
'dice spring onion', 'spring onion,chopped', 'spring onions finely chopped']:
recipe_info[c1]['ingredients'][c2] = u'spring onion'
elif i.lower() in ['shallots', 'small shallots', 'pounded shallot', 'sliced shallot']:
recipe_info[c1]['ingredients'][c2] = u'shallot'
elif i.lower() in [u'scallions', 'chopped scallion', 'scallion, chopped', 'chopped scallions']:
recipe_info[c1]['ingredients'][c2] = u'scallion'
elif i.lower() in ['chopped chives', 'dried chives', 'finely chopped chives', 'chives/green onions',
'chopped asian chives', 'chives', 'fresh chives', 'fresh chives [minced]']:
recipe_info[c1]['ingredients'][c2] = u'chives'
elif i.lower() in ['carrots', 'baby carrots', 'large carrots', 'chopped carrots', 'carrots diced',
'carrots, chopped', 'shredded carrots', 'medium carrots', 'carrots chopped',
'carrots, sliced', 'grated carrot', 'shredded carrot', 'carrots, shredded',
'small carrot', 'frozen peas and carrots', 'grated carrots', 'chopped carrot',
'carrot (grated)', 'carrot chopped']:
recipe_info[c1]['ingredients'][c2] = u'carrot'
elif i.lower() in ['diced tomatoes', 'large tomatoes', 'chopped tomatoes', 'cherry tomatoes', 'tomatoes',
'roma tomatoes, diced', 'ripe tomatoes', 'roma tomatoes', 'rotel tomatoes',
'tomatoes chopped', 'medium tomatoes', 'large tomato', 'small tomato',
'crushed tomatoes', 'stewed tomatoes', 'diced tomatos', 'tomatoe',
'cherry tomatoes, halved', 'tomato, chopped', 'tomato diced', 'grape tomatoes',
'plum tomatoes', u'chopped tomato', 'roma tomato', 'tomatos', 'tomato chopped',
'diced tomato', 'tomatoes diced', 'tomato, diced', 'tomatoes, diced',
'diced tomatoes, undrained', 'diced tomatoe', 'fire roasted diced tomatoes',
'can diced tomatoes', 'roma tomatoes, chopped', 'tomato (chopped)', 'cherry tomato',
'tomato sliced', 'canned tomatoes', 'tomatoes, chopped', 'tomatoes (chopped)',
'big tomato']:
recipe_info[c1]['ingredients'][c2] = u'tomato'
elif i.lower() in ['can of tomato sauce', 'can tomato sauce', 'tomatoe sauce', 'heinz tomato sauce',
'spaghetti sauce']:
recipe_info[c1]['ingredients'][c2] = u'tomato sauce'
elif i.lower() in ['heinz ketchup', 'tomato ketchup']:
recipe_info[c1]['ingredients'][c2] = u'ketchup'
elif i.lower() in ['sliced mushrooms', 'mushrooms', 'mushrooms, sliced', 'fresh mushrooms',
'canned mushrooms, drained', 'fresh sliced mushrooms', 'chopped mushrooms']:
recipe_info[c1]['ingredients'][c2] = u'mushroom'
elif i.lower() in ['shiitake mushrooms', 'dried shiitake mushroom']:
recipe_info[c1]['ingredients'][c2] = u'shiitake mushroom'
elif i.lower() in ['celery chopped', 'chopped celery', 'sliced celery', 'stalks of celery',
'celery, sliced', 'celery, diced', 'celery, chopped', 'celery stalks', 'diced celery',
'finely chopped celery']:
recipe_info[c1]['ingredients'][c2] = u'celery'
elif i.lower() in ['frozen broccoli', 'frozen broccoli florets', 'chopped broccoli', 'broccoli florets',
'fresh broccoli', 'broccoli, bite size', 'brocoli']:
recipe_info[c1]['ingredients'][c2] = u'broccoli'
elif i.lower() in ['cauliflower florets']:
recipe_info[c1]['ingredients'][c2] = u'cauliflower'
elif i.lower() in ['green pepper', 'chopped green bell pepper', 'green bell pepper, diced',
'green bell peppers', 'green bell pepper, chopped', 'green pepper, chopped',
'green pepper, diced', 'green peppers', 'chopped green pepper', 'green pepper chopped',
'green bell pepper, sliced', 'green pepper, sliced']:
recipe_info[c1]['ingredients'][c2] = u'green bell pepper'
elif i.lower() in ['red pepper', 'chopped red bell pepper', 'red bell pepper, diced',
'red bell peppers', 'red bell pepper, chopped', 'red pepper, chopped',
'red pepper, diced', 'red peppers', 'chopped red pepper', 'red bell pepper, chopped',
'red bell pepper; medium dice', 'red bell pepper, sliced',
'red bell pepper; small dice']:
recipe_info[c1]['ingredients'][c2] = u'red bell pepper'
elif i.lower() in ['bell peppers', 'bell pepper, chopped', 'bell pepper, diced', 'bell pepper chopped',
'peppers', 'chopped bell pepper', 'small bell pepper, diced', 'capsicum']:
recipe_info[c1]['ingredients'][c2] = u'bell pepper'
elif i.lower() in ['fresh lemon juice', 'juice of 1 lemon', 'lemon extract',
'lemon juice from whole lemon',
'juice of one lemon', 'lemon, juiced', 'reallemon juice',
'freshly squeezed lemon juice', 'juice of lemon', 'lemon juiced', 'juice of 2 lemons',
'lemons, juiced', 'juice of half a lemon', 'lime or lemon juice']:
recipe_info[c1]['ingredients'][c2] = u'lemon juice'
elif i.lower() in ['fresh lime juice', 'juice of 1 lime', 'lime extract',
'lime juice from whole lime', 'juice of one lime', 'lime, juiced',
'freshly squeezed lime juice', 'juice of lime', 'lime juiced', 'juice of 2 limes',
'limes, juiced', 'juice of half a lime', 'limes juiced', 'lime; juiced',
'lime juiced', 'freshly squeezed lime juice', 'limes (juiced)', 'lemon or lime juice',
'juice of lime']:
recipe_info[c1]['ingredients'][c2] = u'lime juice'
elif i.lower() in ['limes', 'lime zest', 'lime wedges', 'fresh lime', 'fresh lime wedges']:
recipe_info[c1]['ingredients'][c2] = u'lime'
elif i.lower() in ['lemon wegdes', 'lemons', 'lemon wedges']:
recipe_info[c1]['ingredients'][c2] = u'lemon'
elif i.lower() in ['ripe banana', 'bananas', 'frozen banana', 'ripe bananas']:
recipe_info[c1]['ingredients'][c2] = u'banana'
elif i.lower() in ['pumpkin puree']:
recipe_info[c1]['ingredients'][c2] = u'pumpkin'
elif i.lower() in ['frozen corn', 'corn, drained', 'of corn', 'whole kernel corn', 'sweet corn', 'corn',
'corn (drained)', 'whole kernel corn, drained', 'corn kernels']:
recipe_info[c1]['ingredients'][c2] = u'sweetcorn'
elif i.lower() in ['frozen spinach', 'baby spinach', 'fresh baby spinach', 'fresh spinach',
'chopped spinach', 'fresh spinach, chopped', 'baby spinach leaves', 'of spinach',
'packed baby spinach fresh', 'bunch fresh baby spinach leaves', 'spinach leaves',
'frozen chopped spinach', 'spinich', 'boiled spinach']:
recipe_info[c1]['ingredients'][c2] = u'spinach'
elif i.lower() in ['eggplant', 'eggplants', 'eggplant, sliced',
'eggplant, peeled and sliced the longway into 1/4 inch slices']:
recipe_info[c1]['ingredients'][c2] = u'aubergine'
elif i.lower() in ['zucchini']:
recipe_info[c1]['ingredients'][c2] = u'courgette'
elif i.lower() in ['black olives', 'sliced black olives', 'sliced olives', 'olives',
'sliced black olives (optional)']:
recipe_info[c1]['ingredients'][c2] = u'black olive'
elif i.lower() in ['kalamata olives', 'Kalamata olives', 'Kalamata olive', 'pitted kalamata olives',
'sliced kalamata olives']:
recipe_info[c1]['ingredients'][c2] = u'kalamata olive'
elif i.lower() in ['cucumbers', 'cucumber, chopped', 'sliced cucumber', 'chopped cucumber']:
recipe_info[c1]['ingredients'][c2] = u'cucumber'
elif i.lower() in ['shredded lettuce', 'chopped lettuce', 'iceberg lettuce', 'lettuce, shredded',
'lettuce, chopped', 'letuce', 'lettuce leaves']:
recipe_info[c1]['ingredients'][c2] = u'lettuce'
elif i.lower() in ['shredded cabbage', 'cabbage, shredded', 'cabbage leaves', 'head of cabbage']:
recipe_info[c1]['ingredients'][c2] = u'cabbage'
elif i.lower() in [u'jalape\xf1o', u'jalape\xf1os', u'jalapenos', u'jalape\xf1o peppers', u'jalape\xf1o pepper',
u'sliced jalape\xf1os', u'jalape\xf1o (optional)', u'jalape\xf1os; small dice',
u'jalape\xf1o chopped', u'jalapeno peppers', u'jalape\xf1o pepper, diced',
u'jalape\xf1o peppers, chopped', u'jalapeno pepper (optional)', u'jalape\xf1o (diced)',
u'jalape\xf1o minced', u'jalape\xf1os; minced', u'jalapeno pepper',
u'jalape\xf1o seeded & ribs removed', u'jalepeno']:
recipe_info[c1]['ingredients'][c2] = u'jalapeno'
elif i.lower() in [u'avocados', u'avacados', u'avocadoes', 'ripe avacados', 'ripe avocados',
'avocado, diced', 'avocadoes', 'large avocados', 'avocados diced', 'avocado; diced',
'ripe avocado', 'diced avocado', 'small avocados', 'avocado cut into small chunks']:
recipe_info[c1]['ingredients'][c2] = u'avocado'
elif i.lower() in [u'red kidney beans', u'kidney beans, drained', 'kidney beans drained']:
recipe_info[c1]['ingredients'][c2] = u'kidney beans'
elif i.lower() in [u'black beans, drained', u'black beans, drained and rinsed',
u'black beans, drained rinsed', 'black beans drained']:
recipe_info[c1]['ingredients'][c2] = u'black beans'
elif i.lower() in [u'can refried beans']:
recipe_info[c1]['ingredients'][c2] = u'refried beans'
elif i.lower() in [u'bean sprouts', 'fresh bean sprouts', 'bean sprouts (optional)',
'bean sprouts drained', 'fresh bean sprouts [left whole]', 'beans sprout',
'mung bean sprouts']:
recipe_info[c1]['ingredients'][c2] = u'bean sprout'
elif i.lower() in [u'coconut grated', 'grated coconut', 'fresh grated coconut', 'dessicated coconut']:
recipe_info[c1]['ingredients'][c2] = u'coconut'
elif i.lower() in [u'light coconut milk', 'of coconut milk', 'can coconut milk', 'tin coconut milk']:
recipe_info[c1]['ingredients'][c2] = u'coconut milk'
elif i.lower() in [u'frozen peas', 'green peas', 'frozen green peas']:
recipe_info[c1]['ingredients'][c2] = u'peas'
elif i.lower() in [u'bak choy', 'bok choy', 'baby bok choy', 'bak choy stem', 'fresh bok choy']:
recipe_info[c1]['ingredients'][c2] = u'pak choi'
elif i.lower() in [u'minced lemongrass', 'of lemongrass', 'lemongrass stalk', 'chopped lemongrass',
'lemongrass stalks']:
recipe_info[c1]['ingredients'][c2] = u'lemongrass'
elif i.lower() in [u'water chestnuts [chopped]']:
recipe_info[c1]['ingredients'][c2] = u'chestnuts'
#FRUIT
elif i.lower() in ['frozen strawberries', 'fresh strawberries']:
recipe_info[c1]['ingredients'][c2] = u'strawberry'
elif i.lower() in ['fresh blueberries', 'blueberries']:
recipe_info[c1]['ingredients'][c2] = u'blueberry'
elif i.lower() in ['frozen pineapple', 'pineapple chunks']:
recipe_info[c1]['ingredients'][c2] = u'pineapple'
elif i.lower() in ['chopped dryfruits', 'dry fruits']:
recipe_info[c1]['ingredients'][c2] = u'dry fruits'
elif i.lower() in ['dry mango powder', 'dried mango powder', 'amchur', 'amchur powder',
'amchur powder (dried mango powder)']:
recipe_info[c1]['ingredients'][c2] = u'mango powder'
elif i.lower() in ['kishmish', 'golden raisins', 'raisins (optional)']:
recipe_info[c1]['ingredients'][c2] = u'raisins'
# PROTEIN
elif i.lower() in ['eggs', 'large eggs', 'eggs, beaten', 'eggs beaten', 'each egg', 'large egg',
'egg yolks', 'egg whites', 'egg, beaten', 'egg yolk', 'eggs, lightly beaten',
'egg, lightly beaten', 'large egg yolks', 'egg wash', 'egg white',
'egg, slightly beaten', 'eggs (beaten)', 'raw egg', 'egg beaten', 'large eggs, beaten',
'egg whites (approx)', 'whole eggs', 'eggs whisked', 'egg whites (beaten)',
'eggs (whisked)', 'boiled eggs', 'fried egg', 'hard boiled eggs', 'beaten eggs',
'eggs scrambled']:
recipe_info[c1]['ingredients'][c2] = u'egg'
elif i.lower() in ['grated parmesan cheese', 'grated parmesan', 'parmesan', 'shredded parmesan cheese',
'parmesan cheese shredded', 'freshly grated parmesan cheese',
'grated parmesan cheese, divided', 'parmesan cheese, grated', 'grated parmesean',
'shredded parmesan', 'fresh grated parmesan cheese', 'grated parmesean cheese']:
recipe_info[c1]['ingredients'][c2] = u'parmesan cheese'
elif i.lower() in ['shredded cheddar cheese', 'sharp cheddar cheese', 'shredded cheddar',
'sharp cheddar cheese, shredded', 'shredded extra sharp cheddar cheese',
'cheddar cheese, grated', 'cheddar cheese, shredded', 'finely shredded cheddar cheese',
'cheddar cheese- shredded', 'cheddar cheese shredded', 'grated chedder cheese',
'mild cheddar cheese', 'sharp cheddar cheese shredded',
'extra sharp cheddar cheese shredded', 'shredded chedder cheese',
'extra sharp cheddar cheese', 'grated cheddar cheese', 'cheddar cheese; shredded',
'shredded sharp cheddar cheese', 'shredded sharp cheddar']:
recipe_info[c1]['ingredients'][c2] = u'cheddar cheese'
elif i.lower() in ['shredded mozzarella cheese', 'mozzarella', 'shredded mozzarella',
'mozzarella cheese, shredded', 'mozzarella cheese shredded', 'grated mozzarella cheese',
'shredded mozzarella cheese, divided', 'fresh mozzarella', 'grated mozzarella']:
recipe_info[c1]['ingredients'][c2] = u'mozzarella cheese'
elif i.lower() in ['fresh grated romano cheese']:
recipe_info[c1]['ingredients'][c2] = u'romano cheese'
elif i.lower() in ['crumbled feta cheese', 'feta cheese, crumbled', 'feta', 'greek feta', 'cumbled feta',
'feta cheese crumbled']:
recipe_info[c1]['ingredients'][c2] = u'feta cheese'
elif i.lower() in ['shredded mexican cheese', 'mexican shredded cheese', 'mexican blend cheese',
'mexican 3 cheese', 'shredded mexican blend cheese', 'mexican cheese blend',
'shredded mexican cheese blend', 'shredded mexican style cheese',
'of shredded mexican blend cheese']:
recipe_info[c1]['ingredients'][c2] = u'mexican cheese'
elif i.lower() in ['shredded monterey jack cheese', 'monterey jack cheese, shredded',
'shredded cheddar jack cheese', 'monterey jack', 'pepper jack cheese, shredded',
'jack cheese, shredded']:
recipe_info[c1]['ingredients'][c2] = u'monterey jack cheese'
elif i.lower() in ['shredded pepper jack cheese']:
recipe_info[c1]['ingredients'][c2] = u'pepper jack cheese'
elif i.lower() in ['shredded colby jack cheese']:
recipe_info[c1]['ingredients'][c2] = u'colby jack cheese'
elif i.lower() in ['cream cheese, softened', 'softened cream cheese']:
recipe_info[c1]['ingredients'][c2] = u'cream cheese'
elif i.lower() in ['shredded cheese', 'grated cheese', 'shredded cheese (your choice)',
'cheese of your choice', 'shredded cheese of your choice', 'cheese (grated)',
'heavy whipping cream, cold', 'or more shredded cheese', 'sliced cheese']:
recipe_info[c1]['ingredients'][c2] = u'cheese'
elif i.lower() in ['evaporated milk', 'whole milk', 'can of evaporated milk', 'fresh milk', 'warm milk',
'2% milk', 'full cream milk']:
recipe_info[c1]['ingredients'][c2] = u'milk'
elif i.lower() in ['sour curd', 'hung curd', 'fresh curd']:
recipe_info[c1]['ingredients'][c2] = u'curd'
elif i.lower() in ['unsweetened almond milk']:
recipe_info[c1]['ingredients'][c2] = u'almond milk'
elif i.lower() in ['heavy whipping cream', 'heavy cream', 'whipped cream', 'whip cream',
'double cream (thick cream)', 'double cream',
'thickened cream']:
recipe_info[c1]['ingredients'][c2] = u'whipping cream'
elif i.lower() in ['sour cream (optional)', 'light sour cream', 'sour cream for garnish']:
recipe_info[c1]['ingredients'][c2] = u'sour cream'
elif i.lower() in ['fresh cream', 'fresh cream (35% milk fat)']:
recipe_info[c1]['ingredients'][c2] = u'creme fraiche'
elif i.lower() in ['mayo', 'mayonaise']:
recipe_info[c1]['ingredients'][c2] = u'mayonnaise'
elif i.lower() in ['plain greek yogurt', 'greek yoghurt', 'nonfat greek yogurt', 'fat free greek yogurt',
'plain greek yoghurt', 'sour cream or greek yogurt', 'greek yogurt plain',
'greek yogurt, plain', 'low fat greek yogurt', 'nonfat plain greek yogurt',
'non-fat greek yogurt', 'plain non fat greek yogurt', 'greek plain yogurt',
'plain nonfat greek yogurt', 'greek yogurt (plain or vanilla)']:
recipe_info[c1]['ingredients'][c2] = u'Greek yogurt'
elif i.lower() in ['plain yogurt', 'yoghurt', 'nonfat yogurt', 'plain yoghurt', 'natural yogurt',
'natural yoghurt', 'yogurt, plain']:
recipe_info[c1]['ingredients'][c2] = u'yogurt'
elif i.lower() in ['plain vanilla yogurt', 'vanilla yoghurt', 'nonfat vanilla yogurt',
'vanilla greek yogurt', 'greek vanilla yogurt', 'vanilla nonfat greek yogurt']:
recipe_info[c1]['ingredients'][c2] = u'vanilla yogurt'
# MEAT
elif i.lower() in ['chicken breasts', 'boneless chicken breasts', 'large chicken breasts',
'boneless chicken breast', 'boneless, skinless chicken breasts',
'boneless skinless chicken breasts', 'chicken breasts, boneless, skinless',
'boneless skinless chicken breast', 'skinless chicken breasts',
'skinless boneless chicken breast']:
recipe_info[c1]['ingredients'][c2] = u'chicken breast'
elif i.lower() in ['chicken thighs', 'boneless skinless chicken thighs']:
recipe_info[c1]['ingredients'][c2] = u'chicken thigh'
elif i.lower() in ['shredded chicken', 'diced chicken', 'chicken pieces']:
recipe_info[c1]['ingredients'][c2] = u'ground chicken'
elif i.lower() in ['of slices chicken', 'whole chicken']:
recipe_info[c1]['ingredients'][c2] = u'chicken'
elif i.lower() in ['bacon bits', 'chopped bacon', 'bacon, chopped', 'bacon, diced', 'bacon; small dice']:
recipe_info[c1]['ingredients'][c2] = u'bacon'
elif i.lower() in ['of slices pork']:
recipe_info[c1]['ingredients'][c2] = u'pork'
elif i.lower() in ['hamburger meat', 'hamburger', 'ground beef', 'beef mince', 'lean ground beef',
'ground meat', 'ground beef or turkey', 'ground beef', 'ground beef or ground turkey',
'ground turkey or beef']:
recipe_info[c1]['ingredients'][c2] = u'minced beef'
# FISH
elif i.lower() in ['shrimp', 'dried shrimp', 'dried shrimps']:
recipe_info[c1]['ingredients'][c2] = u'shrimps'
elif i.lower() in ['salmon fillets']:
recipe_info[c1]['ingredients'][c2] = u'salmon'
# NON-INGREDIENTS
elif i.lower() in ['ingredients', 'filling', 'half and half', 'wet ingredients', 'dry ingredients', 'main',
'other', 'dressing', 'for the filling', 'crust', 'main ingredients', 'for the sauce',
'toppings', 'optional', 'optional toppings', u'\u25cf for the sides',
'for the toppings', 'vegetables', 'sauce', 'veggies', 'frying;', 'garnish option',
'vegetable', 'soup', 'sauce (mix well in a bowl);', 'dipping sauce', 'vegetable option',
'meat option', 'seasonings', 'spices', 'stuffing', 'for the sauce:', 'garnish',
'topping', 'for tadka', 'tempering', 'for garnishing', 'for tempering']:
del recipe_info[c1]['ingredients'][c2]
# OTHER
elif i.lower() in ['active dry yeast', 'instant yeast', 'rapid rise yeast', 'dry yeast',
'active dry yeast (use 1 tbsp instant yeast)', '(/4 oz) pkg active dry yeast']:
recipe_info[c1]['ingredients'][c2] = u'yeast'
return recipe_info
| def ingredient_translator(recipe_info):
"""This function creates common words for synonymous ingredient names"""
for (c1, r) in enumerate(recipe_info):
for (c2, i) in enumerate(r['ingredients']):
if i.lower() in ['sea salt', 'seasoning salt', 'salt to taste', 'season salt', 'kosher salt', 'seasoned salt', 'tea spoon salt', 'salt,', 'salt to season', 'kosher salt, to taste', 'pinch of salt', 'onion salt', 'celery salt', 'salt, to taste', 'lbs salt', 'garlic salt', 'little salt', 'mediterranean sea salt', 'of salt', 'coarse salt', 'garlic salt to taste', 'cracked sea salt', 'salt (or more to taste)', 'salt as per taste', 'salt -', 'salt (to taste)', 'salt ,', 'rock salt', 'salt as required', 'salt or to taste', 'salt taste ke according', 'black salt', 'salt to tast', 'salt - as needed', 'salt (or to taste)']:
recipe_info[c1]['ingredients'][c2] = u'salt'
elif i.lower() in ['salt and pepper', u'salt & pepper', 'large pinch kosher salt & black pepper', 'salt and pepper to taste', 'salt and black pepper', u'salt&pepper', 'salt and pepper for taste', 'sea salt and freshly ground black pepper', 'kosher salt & black pepper', 'kosher salt and black pepper', 'salt & pepper to taste', u'kosher salt & freshly cracked black pepper', 'ts salt', 'salt, pepper', 'salt/pepper', 'salt pepper', 'pepper and salt', 'each salt and pepper', 'black pepper and salt to taste', 'salt, pepper, italian seasoning', 'large pinch kosher salt and black pepper', 'salt n pepper', 'salt and freshly ground black pepper', 'black pepper, and salt to taste', 'salt pepper and', 'salt - pepper', 'salt and pepper (to taste)', 'of salt and pepper', 'salt according']:
recipe_info[c1]['ingredients'][c2] = u'salt'
recipe_info[c1]['ingredients'].extend([u'pepper'])
elif i.lower() in [u'salt & sugar']:
recipe_info[c1]['ingredients'][c2] = u'salt'
recipe_info[c1]['ingredients'].extend([u'sugar'])
elif i.lower() in ['ground black pepper', 'fresh ground black pepper', 'fresh ground pepper', 'cracked black pepper', 'course black pepper', 'freshly ground black pepper', 'cracked pepper', 'fresh cracked black pepper', 'pepper to taste', 'black pepper, to taste', 'pinch of black pepper', 'black pepper to taste', 'coarse ground black pepper', 'fresh black pepper', 'coarse black pepper', 'ground pepper', 'as needed black pepper to taste', 'crushed black pepper', 'freshly ground pepper', 'black pepper powder', 'black pepper ground', 'pepper powder', 'black peppercorns', 'of pepper', 'pepper -', 'whole black peppercorns', 'pepper corns', 'black pepper corns', 'as required pepper powder']:
recipe_info[c1]['ingredients'][c2] = u'black pepper'
elif i.lower() in ['crushed red pepper', 'ground red pepper', 'red pepper flakes', 'crushed red pepper flakes']:
recipe_info[c1]['ingredients'][c2] = u'red pepper'
elif i.lower() in ['ground white pepper', 'white pepper powder']:
recipe_info[c1]['ingredients'][c2] = u'white pepper'
elif i.lower() in ['szechuan peppercorns', 'sichuan peppercorns']:
recipe_info[c1]['ingredients'][c2] = u'szechuan pepper'
elif i.lower() in ['chili', 'red chili powder', 'chile powder', 'red chilli powder', 'red chilly powder', 'kashmiri chilli powder', 'fine chili powder', 'dried chili pepper', 'chilli powder', 'red chilli flakes', 'chilli', 'hot chili', 'chilly powder', 'chili powder red', 'chilly red powder', 'kashmiri chili powder', 'chillie powder']:
recipe_info[c1]['ingredients'][c2] = u'chili powder'
elif i.lower() in ['heinz chili sauce', 'peri peri chili sauce', 'chilli sauce', 'sweet chili sauce', 'thai sweet chili sauce', 'sweet chilli sauce', 'thai chili sauce', 'thai sweet chilli sauce', 'sweet thai chili sauce', 'sweet thai chilli sauce', 'red chilli sauce']:
recipe_info[c1]['ingredients'][c2] = u'chili sauce'
elif i.lower() in ['diced green chiles', 'green chilies', 'diced green chilies', 'can diced green chiles', 'can green chilies', 'green chiles', 'diced green chilis', 'green chillies', 'green chilli chopped', 'green chillies -', 'green chillies chopped', 'green chilly', 'chopped green chillies', 'green chilli (chopped)', 'green chilli (finely chopped)', 'green chilies, chopped', 'chilly green', 'green chili chopped', 'green chillies (chopped)', 'green chillis', 'green chillies slit', 'green chilli finely chopped', 'green chillie', 'chopped green chilli']:
recipe_info[c1]['ingredients'][c2] = u'green chili'
elif i.lower() in ['diced red chiles', 'red chilies', 'diced red chilies', 'can diced red chiles', 'can red chilies', 'red chiles', 'diced red chilis', 'red chillies', 'red chilli chopped', 'red chili pepper', 'deseeded red chili pepper', 'red chilli', 'dried red chillies', 'dry red chillies', 'red chili flakes', 'chilli flakes', 'chillies', 'red chilli dry', 'chili flakes', 'chillies dry red', 'dried chilli flakes', 'dry red chilli']:
recipe_info[c1]['ingredients'][c2] = u'red chili'
elif i.lower() in ['garlic, minced', 'minced garlic', 'granulated garlic powder', 'garlic powder', 'garlic cloves', 'garlic minced', 'garlic cloves, minced', 'chopped garlic', 'garlic clove', 'granulated garlic', 'garlic; minced', 'garlic, chopped', 'garlic cloves minced', 'garlic, crushed', 'garlics', 'garlic clove, sliced', 'garlic clove minced', 'garlic chopped', 'garlic crushed', 'garlic cloves, crushed', 'garlic, sliced', 'garlic (minced)', 'crushed garlic', 'garlic; creamed', 'garlic cloves; creamed', 'fine minced garlic', 'jarred minced garlic', 'fresh minced garlic', 'garlic, finely chopped', 'garlic clove, minced', 'fresh garlic (minced)', 'of garlic', 'fresh garlic', 'garlic (chopped)', 'garlic cloves chopped', 'roasted garlic', 'garlic; slivered', 'garlic diced', 'garlic (finely chopped)', 'garlic (grated)', 'dice garlic', 'grated garlic', 'garlic cloves, chopped', 'pounded garlic', 'garlic finely chopped', 'fine dice garlic and shallot', 'fine dice garlic', 'of chopped garlic', 'spoon of chopped garlic', 'crispy garlic', 'garlic,crushed', 'garlic , minced', 'garlic grated', 'garlic -']:
recipe_info[c1]['ingredients'][c2] = u'garlic'
elif i.lower() in ['bay leaves', 'crushed bay leaves', 'bayleaf', 'dried bay leaves', 'bay leaves -', 'bay leaf -']:
recipe_info[c1]['ingredients'][c2] = u'bay leaf'
elif i.lower() in ['dried thyme', 'dryed thyme']:
recipe_info[c1]['ingredients'][c2] = u'thyme'
elif i.lower() in ['ground ginger', 'fresh ginger', 'minced ginger', 'grated ginger', 'ginger (minced)', 'chopped ginger', 'fresh grated ginger', 'grind ginger', 'grated fresh ginger', 'ginger chopped', 'ginger root', 'ginger (finely chopped)', 'ginger, grated', 'fresh ginger, grated', 'fresh minced ginger', 'pounded ginger', 'ginger powder', 'minced fresh ginger', 'thumbs size ginger', 'finely chopped ginger', 'ginger (grated)', 'ginger grated', 'crushed ginger', u'" ginger', 'ginger (grated) slice', 'ginger, chopped', 'ginger, finely chopped', 'ginger, crushed', 'piece of ginger', 'ginger slice']:
recipe_info[c1]['ingredients'][c2] = u'ginger'
elif i.lower() in ['ground cinnamon', 'cinnamon stick', 'cinnamon powder', 'cinnamon sticks', 'little cinnamon', 'of cinnamon']:
recipe_info[c1]['ingredients'][c2] = u'cinnamon'
elif i.lower() in ['ground cardamom', 'cardamom powder', 'cardamom pods', 'green cardamom pods', 'elaichi powder', 'black cardamom', 'green cardamom powder', 'cardamon powder', 'cardamon pods', 'cardamoms']:
recipe_info[c1]['ingredients'][c2] = u'cardamon'
elif i.lower() in ['fresh parsley', 'parsley flakes', 'chopped fresh parsley', 'chopped parsley', 'chopped parsley flakes', 'dry parsley', 'finely chopped parsley', 'parsley leaves', 'dried parsley', 'fresh chopped parsley', 'parsley, chopped', 'parsley, finely chopped', 'minced parsley']:
recipe_info[c1]['ingredients'][c2] = u'parsley'
elif i.lower() in ['fresh rosemary, minced', 'dried rosemary', 'fresh rosemary', 'minced fresh rosemary', 'fresh rosemary; minced', 'rosemary sprigs']:
recipe_info[c1]['ingredients'][c2] = u'rosemary'
elif i.lower() in ['fresh cilantro', 'cilantro, chopped', 'fresh cilantro leaves', 'chopped cilantro', 'chopped fresh cilantro', 'fresh cilantro, chopped', 'fresh chopped cilantro', 'dried cilantro', u'coriander', 'coriander powder', 'coriander ground', 'cilantro; chiffonade', 'cilantro chopped', 'fresh cilantro chopped', 'coriander sedcilantro', 'bundle cilantro; chiffonade', 'corriander', 'cilantro (chopped)', 'cilantro minced', 'coriander leaves', 'fresh coriander', 'coriander leaves chopped', 'chopped coriander', 'fresh coriander leaf', 'coriander leaf', 'chopped fresh coriander', 'fresh coriander leaves', 'coriander leaves, chopped', 'chopped coriander leaves', 'corriander leaves', 'cilantro leaves', 'coriander chopped', 'chopped green coriander', 'handful cilantro', 'green coriander', 'handful fresh coriander leaves']:
recipe_info[c1]['ingredients'][c2] = u'cilantro'
elif i.lower() in ['ground coriander seed', 'ground coriander', 'coriander powder -', 'corriander powder', 'dhaniya powder', 'coriander seed powder', 'dhania powder', 'corriander seeds', 'ground corriander']:
recipe_info[c1]['ingredients'][c2] = u'coriander seeds'
elif i.lower() in ['fresh basil', 'dried basil', 'basil leaves', 'fresh basil leaves', 'chopped fresh basil', 'chopped basil', 'fresh basil chopped', 'dry basil', 'dried basil leaves', 'fresh chopped basil', 'sweet basil', 'fresh basil (chopped)', 'fresh basil; chiffonade', 'chopped fresh basil leaves', 'fresh basil leaves, finely chopped', 'basil leaves chopped', 'dried or fresh basil', 'basil leaf', 'finely chopped basil', 'fresh basil leaves, chopped', 'basil dried', 'basil leafs', 'each chopped fresh basil, parsley chives', 'fresh basil, chopped', 'sweet basils', 'basils', 'leaves of sweet basil']:
recipe_info[c1]['ingredients'][c2] = u'basil'
elif i.lower() in ['thai basil leaves', 'fresh thai basil', 'hot basils', 'fresh thai basil leaves']:
recipe_info[c1]['ingredients'][c2] = u'thai basil'
elif i.lower() in ['mexican oregano', 'whole leaf oregano', 'dried oregano', 'ground oregano', 'fresh oregano', 'dried oregano leaves', 'oregano dried', 'greek oregano', 'little oregano', 'oregano, dried', 'mexican oregeno [crushed]', 'mexican oregano [crushed]', 'dried mexican oregano']:
recipe_info[c1]['ingredients'][c2] = u'oregano'
elif i.lower() in ['dried mint', 'mint leaves', 'fresh mint', 'chopped fresh mint', 'mint leaves chopped', 'mints']:
recipe_info[c1]['ingredients'][c2] = u'mint'
elif i.lower() in ['fresh dill', 'dill weed', 'dried dill', 'finely chopped dill', 'fresh dill, chopped', 'dill, finely chopped', 'fresh chopped dill']:
recipe_info[c1]['ingredients'][c2] = u'dill'
elif i.lower() in ['fresh thyme', 'fresh thyme; minced', 'dry thyme', 'ground thyme', 'chopped fresh thyme', '']:
recipe_info[c1]['ingredients'][c2] = u'thyme'
elif i.lower() in ['ground cumin', 'cumin powder', 'cumin seeds', 'cumin ground', 'cummin', 'cumin seed', 'roasted cumin powder', 'cumin seeds (jeera)', 'jeera', 'jeera powder']:
recipe_info[c1]['ingredients'][c2] = u'cumin'
elif i.lower() in ['italian seasoning', 'dried italian seasoning', 'italian spices', 'italian seasonings', 'italian season', 'italian herbs', 'dry italian seasoning', 'italian dressing seasoning', 'italian seasoning spice blend']:
recipe_info[c1]['ingredients'][c2] = u'Italian seasoning'
elif i.lower() in ['greek seasoning', 'greek blend seasoning']:
recipe_info[c1]['ingredients'][c2] = u'Greek seasoning'
elif i.lower() in ['taco seasoning mix', 'taco season']:
recipe_info[c1]['ingredients'][c2] = u'taco seasoning'
elif i.lower() in ['ground nutmeg', 'nutmeg powder']:
recipe_info[c1]['ingredients'][c2] = u'nutmeg'
elif i.lower() in ['turmeric powder', 'ground turmeric', 'tumeric', 'tumeric powder', 'turmeric powder -', 'ground tumeric', 'turmeric -']:
recipe_info[c1]['ingredients'][c2] = u'turmeric'
elif i.lower() in ['curry leaves', 'curry leaves -', 'curry leaves few', 'curry leaves or coriander leaves']:
recipe_info[c1]['ingredients'][c2] = u'curry leaf'
elif i.lower() in ['thai curry paste']:
recipe_info[c1]['ingredients'][c2] = u'curry paste'
elif i.lower() in ['thai green curry paste']:
recipe_info[c1]['ingredients'][c2] = u'green curry paste'
elif i.lower() in ['red thai curry paste']:
recipe_info[c1]['ingredients'][c2] = u'red curry paste'
elif i.lower() in ['chicken masala']:
recipe_info[c1]['ingredients'][c2] = u'masala'
elif i.lower() in ['ginger-garlic paste', 'ginger garlic paste -', 'ginger,garlic paste']:
recipe_info[c1]['ingredients'][c2] = u'ginger garlic paste'
elif i.lower() in ['tamarind paste', 'tamarind puree', 'tamarind juice', u'☆ tamarind paste', 'tamarind pulp']:
recipe_info[c1]['ingredients'][c2] = u'tamarind'
elif i.lower() in ['cayenne', 'cayenne powder', 'ground cayenne pepper']:
recipe_info[c1]['ingredients'][c2] = u'cayenne pepper'
elif i.lower() in ['ground allspice']:
recipe_info[c1]['ingredients'][c2] = u'allspice'
elif i.lower() in ['chinese five spice', 'chinese 5 spice', 'chinese five spice powder', 'five spice powder', 'chinese 5 spice powder', '5 spice powder']:
recipe_info[c1]['ingredients'][c2] = u'five spice'
elif i.lower() in ['crayfish 2 tbs(blended)', 'cup crayfish', 'table spoon of crayfish blended', 'full teaspoon crayfish (blended)', 'crayfish(blended)', 'table spoon crayfish (blended)', 'grounded crayfish', 'full teaspoon of blended crayfish', 'medium crayfish (blended)', 'crayfish picked and washed (as you want)', 'fresh live crayfish (crafish/ crawdads) yields about 1 cup', 'table spoon blended crayfish', 'crayfish blended', 'spoon crayfish (blended)', 'table spoon crayfish', 'table spoon of crayfish', 'blended crayfish', 'crayfish (blended)']:
recipe_info[c1]['ingredients'][c2] = u'crayfish'
elif i.lower() in ['ground cloves', 'whole cloves']:
recipe_info[c1]['ingredients'][c2] = u'cloves'
elif i.lower() in ['vegetable broth', 'stock', 'any stock', 'stock of your choice', 'hot chicken stock']:
recipe_info[c1]['ingredients'][c2] = u'vegetable stock'
elif i.lower() in ['chicken broth', 'chicken flavor bouillon', 'chicken bouillon', 'chicken bullion', 'chicken bouillon cubes', 'water or chicken stock', 'chicken stock powder', 'spoon of chicken stock powder', 'of chicken stock', 'of chicken stock powder']:
recipe_info[c1]['ingredients'][c2] = u'chicken stock'
elif i.lower() in ['beef broth', 'beef bouillon cubes']:
recipe_info[c1]['ingredients'][c2] = u'beef stock'
elif i.lower() in ['of pork stock powder']:
recipe_info[c1]['ingredients'][c2] = u'pork stock'
elif i.lower() in ['vanilla', 'pure vanilla extract', 'vanilla essence']:
recipe_info[c1]['ingredients'][c2] = u'vanilla extract'
elif i.lower() in ['of sugar', 'spoon of sugar', 'white sugar', 'granulated sugar', 'caster sugar', 'powdered sugar', 'thumb size rock sugar', 'sugar -']:
recipe_info[c1]['ingredients'][c2] = u'sugar'
elif i.lower() in ['light brown sugar', 'dark brown sugar', 'of brown sugar']:
recipe_info[c1]['ingredients'][c2] = u'brown sugar'
elif i.lower() in ['garam masala -', 'garam masala powder']:
recipe_info[c1]['ingredients'][c2] = u'garam masala'
elif i.lower() in ['sliced of galangal', 'of galangal', 'galangal,slices', 'as needed galangal / sliced']:
recipe_info[c1]['ingredients'][c2] = u'galangal'
elif i.lower() in ['kasoori methi', 'fenugreek leaves', 'fenugreek', 'dried fenugreek leaves', 'methi kasoori']:
recipe_info[c1]['ingredients'][c2] = u'fenugreek powder'
elif i.lower() in ['black gram', 'urad dal (split black gram)']:
recipe_info[c1]['ingredients'][c2] = u'urad dal'
elif i.lower() in ['suji']:
recipe_info[c1]['ingredients'][c2] = u'semolina'
elif i.lower() in ['mustard seeds -']:
recipe_info[c1]['ingredients'][c2] = u'mustard seeds'
elif i.lower() in ['gulcand']:
recipe_info[c1]['ingredients'][c2] = u'gulkand'
elif i.lower() in ['worchestershire sauce', 'worcestershire', 'worcester sauce', 'worshestershire sauce', 'worceshire sauce', 'worshire sauce', 'worchestire sauce', 'as needed dales or worchershire sauce', 'worcheschire sauce']:
recipe_info[c1]['ingredients'][c2] = u'worcestershire sauce'
elif i.lower() in ['light soy sauce', 'dark soy sauce', 'low sodium soy sauce', 'sweet soy sauce', 'tamari soy sauce', 'low-sodium soy sauce', 'soysauce', 'soya sauce', 'light soya sauce', 'reduced sodium soy sauce', 'dark soya sauce', 'lite soy sauce', 'lite soya sauce', 'thick soy sauce', '*soy sauce', 'of soy sauce']:
recipe_info[c1]['ingredients'][c2] = u'soy sauce'
elif i.lower() in ['boiling water', 'cold water', 'warm water', 'water divided', 'water or chicken broth', 'water or broth', 'water warm', 'some water', 'water as needed', 'hot water', 'ice water', 'of water', 'water -', 'water or stock', 'bowl of water', 'cool water', 'lukewarm water', 'water as required', 'water as per requirement']:
recipe_info[c1]['ingredients'][c2] = u'water'
elif i.lower() in ['ice cubes']:
recipe_info[c1]['ingredients'][c2] = u'ice'
elif i.lower() in ['tahini paste', 'tahini (sesame paste)', 'tahina']:
recipe_info[c1]['ingredients'][c2] = u'tahini'
elif i.lower() in ['white vinegar', 'vinegar', 'distilled white vinegar']:
recipe_info[c1]['ingredients'][c2] = u'white wine vinegar'
elif i.lower() in ['cider vinegar']:
recipe_info[c1]['ingredients'][c2] = u'apple cider vinegar'
elif i.lower() in ['cream of chicken', 'can cream of chicken']:
recipe_info[c1]['ingredients'][c2] = u'cream of chicken soup'
elif i.lower() in ['cream of mushroom']:
recipe_info[c1]['ingredients'][c2] = u'cream of mushroom soup'
elif i.lower() in ['mild salsa', 'medium salsa', 'red salsa', 'salsa (optional)']:
recipe_info[c1]['ingredients'][c2] = u'salsa sauce'
elif i.lower() in ['can enchilada sauce']:
recipe_info[c1]['ingredients'][c2] = u'enchilada sauce'
elif i.lower() in ['sriracha', 'sriracha hot sauce', 'siracha', 'siracha sauce', 'siracha garlic chile sauce', 'siriacha garlic chili sauce']:
recipe_info[c1]['ingredients'][c2] = u'sriracha sauce'
elif i.lower() in ['quality fish sauce', 'fishsauce', 'spoon of fish sauce', 'of fish sauce', 'thai fish sauce', 'asian fish sauce', u'★ fish sauce', 'thai kitchen premium fish sauce']:
recipe_info[c1]['ingredients'][c2] = u'fish sauce'
elif i.lower() in ['creamy peanut butter', 'crunchy peanut butter']:
recipe_info[c1]['ingredients'][c2] = u'peanut butter'
elif i.lower() in ['of oyster sauce', 'spoon of oyster sauce']:
recipe_info[c1]['ingredients'][c2] = u'oyster sauce'
elif i.lower() in ['desi ghee', 'ghee (clarified butter)', u'/4cup ghee', 'pure ghee']:
recipe_info[c1]['ingredients'][c2] = u'ghee'
elif i.lower() in ['extra virgin olive oil', 'olive oil, extra virgin', 'olive oil, i used chili infused', 'extra-virgin olive oil', 'olive oil, divided', 'as needed olive oil', 'virgin olive oil', 'olive oil extra virgin', 'evoo', 'garlic olive oil', 'olive oil spray']:
recipe_info[c1]['ingredients'][c2] = u'olive oil'
elif i.lower() in ['oil', 'vegetable oil; as needed', 'vegetable oil', 'oil for frying', 'vegetable oil for frying', 'veg oil', 'frying oil', 'vegetable or olive oil', 'sesame or vegetable oil', 'oil for deep frying', 'oil to fry', 'oil -', 'cooking oil (shallow frying)', 'oil for deep frying', 'canola oil', 'canola oil for frying', 'oil to deep fry', 'sunflower oil', 'of oil', 'spoon of oil', 'refined oil', 'oil for deep fry', 'oil for shallow frying', 'oil -', 'oil as required', 'oil - for deep frying']:
recipe_info[c1]['ingredients'][c2] = u'cooking oil'
elif i.lower() in ['sesame oil (optional)', 'sesame seed oil', 'toasted sesame oil', 'dark sesame oil']:
recipe_info[c1]['ingredients'][c2] = u'sesame oil'
elif i.lower() in ['nonstick cooking spray']:
recipe_info[c1]['ingredients'][c2] = u'cooking spray'
elif i.lower() in ['unsalted butter', 'melted butter', 'butter, melted', 'butter (melted)', 'butter; melted', 'butter or margarine', 'butter, softened', 'butter melted', 'of butter', 'softened butter', 'butter- softened', 'salted butter', 'softened sunflower spread/butter', 'ghee or butter']:
recipe_info[c1]['ingredients'][c2] = u'butter'
elif i.lower() in ['all purpose flour', 'all-purpose flour', 'plain flour', 'sr flour', 'bread flour', 'ap flour', 'wheat flour', 'cake flour', 'whole wheat flour', 'white flour', 'bowl wheat flour']:
recipe_info[c1]['ingredients'][c2] = u'flour'
elif i.lower() in ['besan', 'gram flour (besan)', 'besan (gram flour)']:
recipe_info[c1]['ingredients'][c2] = u'gram flour'
elif i.lower() in ['cooked rice', 'long grain rice', 'white rice', 'cooked white rice', 'long grain white rice', 'uncooked rice', 'instant rice', 'medium grain rice', 'minute rice', 'rice cooked', 'steamed rice', 'ground roasted rice', 'boiled rice']:
recipe_info[c1]['ingredients'][c2] = u'rice'
elif i.lower() in ['cooked jasmine rice']:
recipe_info[c1]['ingredients'][c2] = u'jasmine rice'
elif i.lower() in ['potatoes', 'large potatoes', 'potatos', 'russet potatoes', 'baby potatoes', 'potatoes (cubed)', 'small peeled potatoes', 'potatoes, cubed', 'diced potatoes', 'mashed potatoes', 'large russet potatoes', 'boiled potatoes', 'boil potato', 'boiled potato', 'potatoes']:
recipe_info[c1]['ingredients'][c2] = u'potato'
elif i.lower() in ['sweet potatoes']:
recipe_info[c1]['ingredients'][c2] = u'sweet potato'
elif i.lower() in ['breadcrumbs', 'dry bread crumbs', 'italian bread crumbs', 'italian breadcrumbs', 'panko bread crumbs', 'panko breadcrumbs', 'seasoned bread crumbs', 'plain bread crumbs', 'italian style bread crumbs', 'italian seasoned bread crumbs', 'italian style breadcrumbs']:
recipe_info[c1]['ingredients'][c2] = u'bread crumbs'
elif i.lower() in ['french bread', 'italian bread', 'ciabatta bread', 'white bread', 'pita bread', 'bread slices']:
recipe_info[c1]['ingredients'][c2] = u'bread'
elif i.lower() in ['flour tortillas', 'corn tortillas', 'white corn tortillas', 'large flour tortillas', 'large flour tortillas (microwave 30 seconds)', 'warm flour tortillas', 'tortilla', 'fresh flour tortillas', 'flour or corn tortillas', 'soft corn tortillas', 'yellow corn tortillas', 'flour tortilla', 'small flour tortillas', 'corn tortilla', 'large tortillas', 'small tortillas', 'soft tortillas', 'corn or flour tortillas', 'of tortillas', u'6" flour tortillas', 'soft taco size flour tortillas', 'whole wheat tortillas', 'warmed tortillas']:
recipe_info[c1]['ingredients'][c2] = u'tortillas'
elif i.lower() in ['wide egg noodles']:
recipe_info[c1]['ingredients'][c2] = u'egg noodles'
elif i.lower() in ['wonton wrappers', 'wanton skin', 'wonton wrapper']:
recipe_info[c1]['ingredients'][c2] = u'wonton wraps'
elif i.lower() in ['eggroll wraps']:
recipe_info[c1]['ingredients'][c2] = u'egg roll wraps'
elif i.lower() in ['springroll wraps', 'spring roll wrappers', 'spring roll wrapper', 'spring roll skin']:
recipe_info[c1]['ingredients'][c2] = u'spring roll wraps'
elif i.lower() in ['spaghetti noodles', 'spaghetti pasta', 'dry spaghetti', 'thin spaghetti', 'italian spaghetti', 'enriched spaghetti pasta', 'dry spaghetti pasta']:
recipe_info[c1]['ingredients'][c2] = u'spaghetti'
elif i.lower() in ['rolled oats', 'old fashioned oats']:
recipe_info[c1]['ingredients'][c2] = u'oats'
elif i.lower() in ['sliced almonds', 'blanched almonds', 'raw almonds', 'slivered almonds', 'toasted almonds', 'ground almonds', 'almonds chopped', '.almonds for garnish', 'ground almond', 'almonds sliced']:
recipe_info[c1]['ingredients'][c2] = u'almonds'
elif i.lower() in ['sesame', 'toasted sesame seeds', 'roasted sesame seeds', 'white sesame seeds']:
recipe_info[c1]['ingredients'][c2] = u'sesame seeds'
elif i.lower() in ['roasted peanuts', 'chopped peanuts', 'crushed peanuts']:
recipe_info[c1]['ingredients'][c2] = u'peanuts'
elif i.lower() in ['kaju', 'cashew nuts', 'cashews chopped', 'cashew', 'cashewnuts']:
recipe_info[c1]['ingredients'][c2] = u'cashews'
elif i.lower() in ['onions', 'onion, chopped', 'onion powder', 'chopped onion', 'onion, diced', 'onion chopped', 'large onion', 'small onion', 'medium onion', 'diced onion', 'chopped onions', 'small onion, chopped', 'medium onion chopped', 'minced onion', 'medium onion, chopped', 'onion diced', 'onion (chopped)', 'medium size onion', 'onions, diced', 'large onion chopped', 'chop onions', 'small onion finely chopped', 'onions, sliced', 'large onion, chopped', 'onion, minced', 'small onion diced', 'small diced onion', 'onion sliced', 'medium onion diced', 'onion, sliced', 'finely chopped onion', 'diced onions', 'medium bulb onion', 'onion medium sized', 'onion, finely chopped', 'onion ,peeled and very finely diced', 'onions, chopped', 'onion (diced)', 'onion finely chopped', 'large onions', 'sliced onion', 'medium onions', 'graded onion', 'medium onion, diced', 'onions chopped', 'onion, thinly sliced', 'onions sliced', 'dice onion', 'onion slices', 'onion,sliced', 'finely chopped onions', 'big onion', 'fried onions', 'onion -', 'onions small', 'onions, finely chopped', 'onions finely chopped', 'grated onion']:
recipe_info[c1]['ingredients'][c2] = u'onion'
elif i.lower() in ['green onions, chopped', 'green onions', 'green onions, sliced', 'chopped green onion', 'green onions chopped', 'sliced green onions', 'chopped green onions', 'minced green onion', 'green onion (chopped)', 'green onion, chopped', 'green onion, sliced', 'green onions sliced']:
recipe_info[c1]['ingredients'][c2] = u'green onion'
elif i.lower() in ['yellow onion, chopped', 'chopped yellow onion', 'yellow onion; minced', 'diced yellow onion']:
recipe_info[c1]['ingredients'][c2] = u'yellow onion'
elif i.lower() in ['red onion, chopped', 'chopped red onion', 'red onion, diced', 'finely chopped red onion', 'red onion, finely chopped', 'red onion; minced', 'diced red onion', 'red onion diced', 'red onion; small dice', 'small red onion; small dice', 'red onion (diced)', 'red onions']:
recipe_info[c1]['ingredients'][c2] = u'red onion'
elif i.lower() in ['white onions', 'white onion chopped', 'diced white onion', 'white onion, diced', 'large white onion', 'white onion diced']:
recipe_info[c1]['ingredients'][c2] = u'white onion'
elif i.lower() in ['spring onions', 'spring onion or scallion', 'spring onion, chopped', 'dice spring onion', 'spring onion,chopped', 'spring onions finely chopped']:
recipe_info[c1]['ingredients'][c2] = u'spring onion'
elif i.lower() in ['shallots', 'small shallots', 'pounded shallot', 'sliced shallot']:
recipe_info[c1]['ingredients'][c2] = u'shallot'
elif i.lower() in [u'scallions', 'chopped scallion', 'scallion, chopped', 'chopped scallions']:
recipe_info[c1]['ingredients'][c2] = u'scallion'
elif i.lower() in ['chopped chives', 'dried chives', 'finely chopped chives', 'chives/green onions', 'chopped asian chives', 'chives', 'fresh chives', 'fresh chives [minced]']:
recipe_info[c1]['ingredients'][c2] = u'chives'
elif i.lower() in ['carrots', 'baby carrots', 'large carrots', 'chopped carrots', 'carrots diced', 'carrots, chopped', 'shredded carrots', 'medium carrots', 'carrots chopped', 'carrots, sliced', 'grated carrot', 'shredded carrot', 'carrots, shredded', 'small carrot', 'frozen peas and carrots', 'grated carrots', 'chopped carrot', 'carrot (grated)', 'carrot chopped']:
recipe_info[c1]['ingredients'][c2] = u'carrot'
elif i.lower() in ['diced tomatoes', 'large tomatoes', 'chopped tomatoes', 'cherry tomatoes', 'tomatoes', 'roma tomatoes, diced', 'ripe tomatoes', 'roma tomatoes', 'rotel tomatoes', 'tomatoes chopped', 'medium tomatoes', 'large tomato', 'small tomato', 'crushed tomatoes', 'stewed tomatoes', 'diced tomatos', 'tomatoe', 'cherry tomatoes, halved', 'tomato, chopped', 'tomato diced', 'grape tomatoes', 'plum tomatoes', u'chopped tomato', 'roma tomato', 'tomatos', 'tomato chopped', 'diced tomato', 'tomatoes diced', 'tomato, diced', 'tomatoes, diced', 'diced tomatoes, undrained', 'diced tomatoe', 'fire roasted diced tomatoes', 'can diced tomatoes', 'roma tomatoes, chopped', 'tomato (chopped)', 'cherry tomato', 'tomato sliced', 'canned tomatoes', 'tomatoes, chopped', 'tomatoes (chopped)', 'big tomato']:
recipe_info[c1]['ingredients'][c2] = u'tomato'
elif i.lower() in ['can of tomato sauce', 'can tomato sauce', 'tomatoe sauce', 'heinz tomato sauce', 'spaghetti sauce']:
recipe_info[c1]['ingredients'][c2] = u'tomato sauce'
elif i.lower() in ['heinz ketchup', 'tomato ketchup']:
recipe_info[c1]['ingredients'][c2] = u'ketchup'
elif i.lower() in ['sliced mushrooms', 'mushrooms', 'mushrooms, sliced', 'fresh mushrooms', 'canned mushrooms, drained', 'fresh sliced mushrooms', 'chopped mushrooms']:
recipe_info[c1]['ingredients'][c2] = u'mushroom'
elif i.lower() in ['shiitake mushrooms', 'dried shiitake mushroom']:
recipe_info[c1]['ingredients'][c2] = u'shiitake mushroom'
elif i.lower() in ['celery chopped', 'chopped celery', 'sliced celery', 'stalks of celery', 'celery, sliced', 'celery, diced', 'celery, chopped', 'celery stalks', 'diced celery', 'finely chopped celery']:
recipe_info[c1]['ingredients'][c2] = u'celery'
elif i.lower() in ['frozen broccoli', 'frozen broccoli florets', 'chopped broccoli', 'broccoli florets', 'fresh broccoli', 'broccoli, bite size', 'brocoli']:
recipe_info[c1]['ingredients'][c2] = u'broccoli'
elif i.lower() in ['cauliflower florets']:
recipe_info[c1]['ingredients'][c2] = u'cauliflower'
elif i.lower() in ['green pepper', 'chopped green bell pepper', 'green bell pepper, diced', 'green bell peppers', 'green bell pepper, chopped', 'green pepper, chopped', 'green pepper, diced', 'green peppers', 'chopped green pepper', 'green pepper chopped', 'green bell pepper, sliced', 'green pepper, sliced']:
recipe_info[c1]['ingredients'][c2] = u'green bell pepper'
elif i.lower() in ['red pepper', 'chopped red bell pepper', 'red bell pepper, diced', 'red bell peppers', 'red bell pepper, chopped', 'red pepper, chopped', 'red pepper, diced', 'red peppers', 'chopped red pepper', 'red bell pepper, chopped', 'red bell pepper; medium dice', 'red bell pepper, sliced', 'red bell pepper; small dice']:
recipe_info[c1]['ingredients'][c2] = u'red bell pepper'
elif i.lower() in ['bell peppers', 'bell pepper, chopped', 'bell pepper, diced', 'bell pepper chopped', 'peppers', 'chopped bell pepper', 'small bell pepper, diced', 'capsicum']:
recipe_info[c1]['ingredients'][c2] = u'bell pepper'
elif i.lower() in ['fresh lemon juice', 'juice of 1 lemon', 'lemon extract', 'lemon juice from whole lemon', 'juice of one lemon', 'lemon, juiced', 'reallemon juice', 'freshly squeezed lemon juice', 'juice of lemon', 'lemon juiced', 'juice of 2 lemons', 'lemons, juiced', 'juice of half a lemon', 'lime or lemon juice']:
recipe_info[c1]['ingredients'][c2] = u'lemon juice'
elif i.lower() in ['fresh lime juice', 'juice of 1 lime', 'lime extract', 'lime juice from whole lime', 'juice of one lime', 'lime, juiced', 'freshly squeezed lime juice', 'juice of lime', 'lime juiced', 'juice of 2 limes', 'limes, juiced', 'juice of half a lime', 'limes juiced', 'lime; juiced', 'lime juiced', 'freshly squeezed lime juice', 'limes (juiced)', 'lemon or lime juice', 'juice of lime']:
recipe_info[c1]['ingredients'][c2] = u'lime juice'
elif i.lower() in ['limes', 'lime zest', 'lime wedges', 'fresh lime', 'fresh lime wedges']:
recipe_info[c1]['ingredients'][c2] = u'lime'
elif i.lower() in ['lemon wegdes', 'lemons', 'lemon wedges']:
recipe_info[c1]['ingredients'][c2] = u'lemon'
elif i.lower() in ['ripe banana', 'bananas', 'frozen banana', 'ripe bananas']:
recipe_info[c1]['ingredients'][c2] = u'banana'
elif i.lower() in ['pumpkin puree']:
recipe_info[c1]['ingredients'][c2] = u'pumpkin'
elif i.lower() in ['frozen corn', 'corn, drained', 'of corn', 'whole kernel corn', 'sweet corn', 'corn', 'corn (drained)', 'whole kernel corn, drained', 'corn kernels']:
recipe_info[c1]['ingredients'][c2] = u'sweetcorn'
elif i.lower() in ['frozen spinach', 'baby spinach', 'fresh baby spinach', 'fresh spinach', 'chopped spinach', 'fresh spinach, chopped', 'baby spinach leaves', 'of spinach', 'packed baby spinach fresh', 'bunch fresh baby spinach leaves', 'spinach leaves', 'frozen chopped spinach', 'spinich', 'boiled spinach']:
recipe_info[c1]['ingredients'][c2] = u'spinach'
elif i.lower() in ['eggplant', 'eggplants', 'eggplant, sliced', 'eggplant, peeled and sliced the longway into 1/4 inch slices']:
recipe_info[c1]['ingredients'][c2] = u'aubergine'
elif i.lower() in ['zucchini']:
recipe_info[c1]['ingredients'][c2] = u'courgette'
elif i.lower() in ['black olives', 'sliced black olives', 'sliced olives', 'olives', 'sliced black olives (optional)']:
recipe_info[c1]['ingredients'][c2] = u'black olive'
elif i.lower() in ['kalamata olives', 'Kalamata olives', 'Kalamata olive', 'pitted kalamata olives', 'sliced kalamata olives']:
recipe_info[c1]['ingredients'][c2] = u'kalamata olive'
elif i.lower() in ['cucumbers', 'cucumber, chopped', 'sliced cucumber', 'chopped cucumber']:
recipe_info[c1]['ingredients'][c2] = u'cucumber'
elif i.lower() in ['shredded lettuce', 'chopped lettuce', 'iceberg lettuce', 'lettuce, shredded', 'lettuce, chopped', 'letuce', 'lettuce leaves']:
recipe_info[c1]['ingredients'][c2] = u'lettuce'
elif i.lower() in ['shredded cabbage', 'cabbage, shredded', 'cabbage leaves', 'head of cabbage']:
recipe_info[c1]['ingredients'][c2] = u'cabbage'
elif i.lower() in [u'jalapeño', u'jalapeños', u'jalapenos', u'jalapeño peppers', u'jalapeño pepper', u'sliced jalapeños', u'jalapeño (optional)', u'jalapeños; small dice', u'jalapeño chopped', u'jalapeno peppers', u'jalapeño pepper, diced', u'jalapeño peppers, chopped', u'jalapeno pepper (optional)', u'jalapeño (diced)', u'jalapeño minced', u'jalapeños; minced', u'jalapeno pepper', u'jalapeño seeded & ribs removed', u'jalepeno']:
recipe_info[c1]['ingredients'][c2] = u'jalapeno'
elif i.lower() in [u'avocados', u'avacados', u'avocadoes', 'ripe avacados', 'ripe avocados', 'avocado, diced', 'avocadoes', 'large avocados', 'avocados diced', 'avocado; diced', 'ripe avocado', 'diced avocado', 'small avocados', 'avocado cut into small chunks']:
recipe_info[c1]['ingredients'][c2] = u'avocado'
elif i.lower() in [u'red kidney beans', u'kidney beans, drained', 'kidney beans drained']:
recipe_info[c1]['ingredients'][c2] = u'kidney beans'
elif i.lower() in [u'black beans, drained', u'black beans, drained and rinsed', u'black beans, drained rinsed', 'black beans drained']:
recipe_info[c1]['ingredients'][c2] = u'black beans'
elif i.lower() in [u'can refried beans']:
recipe_info[c1]['ingredients'][c2] = u'refried beans'
elif i.lower() in [u'bean sprouts', 'fresh bean sprouts', 'bean sprouts (optional)', 'bean sprouts drained', 'fresh bean sprouts [left whole]', 'beans sprout', 'mung bean sprouts']:
recipe_info[c1]['ingredients'][c2] = u'bean sprout'
elif i.lower() in [u'coconut grated', 'grated coconut', 'fresh grated coconut', 'dessicated coconut']:
recipe_info[c1]['ingredients'][c2] = u'coconut'
elif i.lower() in [u'light coconut milk', 'of coconut milk', 'can coconut milk', 'tin coconut milk']:
recipe_info[c1]['ingredients'][c2] = u'coconut milk'
elif i.lower() in [u'frozen peas', 'green peas', 'frozen green peas']:
recipe_info[c1]['ingredients'][c2] = u'peas'
elif i.lower() in [u'bak choy', 'bok choy', 'baby bok choy', 'bak choy stem', 'fresh bok choy']:
recipe_info[c1]['ingredients'][c2] = u'pak choi'
elif i.lower() in [u'minced lemongrass', 'of lemongrass', 'lemongrass stalk', 'chopped lemongrass', 'lemongrass stalks']:
recipe_info[c1]['ingredients'][c2] = u'lemongrass'
elif i.lower() in [u'water chestnuts [chopped]']:
recipe_info[c1]['ingredients'][c2] = u'chestnuts'
elif i.lower() in ['frozen strawberries', 'fresh strawberries']:
recipe_info[c1]['ingredients'][c2] = u'strawberry'
elif i.lower() in ['fresh blueberries', 'blueberries']:
recipe_info[c1]['ingredients'][c2] = u'blueberry'
elif i.lower() in ['frozen pineapple', 'pineapple chunks']:
recipe_info[c1]['ingredients'][c2] = u'pineapple'
elif i.lower() in ['chopped dryfruits', 'dry fruits']:
recipe_info[c1]['ingredients'][c2] = u'dry fruits'
elif i.lower() in ['dry mango powder', 'dried mango powder', 'amchur', 'amchur powder', 'amchur powder (dried mango powder)']:
recipe_info[c1]['ingredients'][c2] = u'mango powder'
elif i.lower() in ['kishmish', 'golden raisins', 'raisins (optional)']:
recipe_info[c1]['ingredients'][c2] = u'raisins'
elif i.lower() in ['eggs', 'large eggs', 'eggs, beaten', 'eggs beaten', 'each egg', 'large egg', 'egg yolks', 'egg whites', 'egg, beaten', 'egg yolk', 'eggs, lightly beaten', 'egg, lightly beaten', 'large egg yolks', 'egg wash', 'egg white', 'egg, slightly beaten', 'eggs (beaten)', 'raw egg', 'egg beaten', 'large eggs, beaten', 'egg whites (approx)', 'whole eggs', 'eggs whisked', 'egg whites (beaten)', 'eggs (whisked)', 'boiled eggs', 'fried egg', 'hard boiled eggs', 'beaten eggs', 'eggs scrambled']:
recipe_info[c1]['ingredients'][c2] = u'egg'
elif i.lower() in ['grated parmesan cheese', 'grated parmesan', 'parmesan', 'shredded parmesan cheese', 'parmesan cheese shredded', 'freshly grated parmesan cheese', 'grated parmesan cheese, divided', 'parmesan cheese, grated', 'grated parmesean', 'shredded parmesan', 'fresh grated parmesan cheese', 'grated parmesean cheese']:
recipe_info[c1]['ingredients'][c2] = u'parmesan cheese'
elif i.lower() in ['shredded cheddar cheese', 'sharp cheddar cheese', 'shredded cheddar', 'sharp cheddar cheese, shredded', 'shredded extra sharp cheddar cheese', 'cheddar cheese, grated', 'cheddar cheese, shredded', 'finely shredded cheddar cheese', 'cheddar cheese- shredded', 'cheddar cheese shredded', 'grated chedder cheese', 'mild cheddar cheese', 'sharp cheddar cheese shredded', 'extra sharp cheddar cheese shredded', 'shredded chedder cheese', 'extra sharp cheddar cheese', 'grated cheddar cheese', 'cheddar cheese; shredded', 'shredded sharp cheddar cheese', 'shredded sharp cheddar']:
recipe_info[c1]['ingredients'][c2] = u'cheddar cheese'
elif i.lower() in ['shredded mozzarella cheese', 'mozzarella', 'shredded mozzarella', 'mozzarella cheese, shredded', 'mozzarella cheese shredded', 'grated mozzarella cheese', 'shredded mozzarella cheese, divided', 'fresh mozzarella', 'grated mozzarella']:
recipe_info[c1]['ingredients'][c2] = u'mozzarella cheese'
elif i.lower() in ['fresh grated romano cheese']:
recipe_info[c1]['ingredients'][c2] = u'romano cheese'
elif i.lower() in ['crumbled feta cheese', 'feta cheese, crumbled', 'feta', 'greek feta', 'cumbled feta', 'feta cheese crumbled']:
recipe_info[c1]['ingredients'][c2] = u'feta cheese'
elif i.lower() in ['shredded mexican cheese', 'mexican shredded cheese', 'mexican blend cheese', 'mexican 3 cheese', 'shredded mexican blend cheese', 'mexican cheese blend', 'shredded mexican cheese blend', 'shredded mexican style cheese', 'of shredded mexican blend cheese']:
recipe_info[c1]['ingredients'][c2] = u'mexican cheese'
elif i.lower() in ['shredded monterey jack cheese', 'monterey jack cheese, shredded', 'shredded cheddar jack cheese', 'monterey jack', 'pepper jack cheese, shredded', 'jack cheese, shredded']:
recipe_info[c1]['ingredients'][c2] = u'monterey jack cheese'
elif i.lower() in ['shredded pepper jack cheese']:
recipe_info[c1]['ingredients'][c2] = u'pepper jack cheese'
elif i.lower() in ['shredded colby jack cheese']:
recipe_info[c1]['ingredients'][c2] = u'colby jack cheese'
elif i.lower() in ['cream cheese, softened', 'softened cream cheese']:
recipe_info[c1]['ingredients'][c2] = u'cream cheese'
elif i.lower() in ['shredded cheese', 'grated cheese', 'shredded cheese (your choice)', 'cheese of your choice', 'shredded cheese of your choice', 'cheese (grated)', 'heavy whipping cream, cold', 'or more shredded cheese', 'sliced cheese']:
recipe_info[c1]['ingredients'][c2] = u'cheese'
elif i.lower() in ['evaporated milk', 'whole milk', 'can of evaporated milk', 'fresh milk', 'warm milk', '2% milk', 'full cream milk']:
recipe_info[c1]['ingredients'][c2] = u'milk'
elif i.lower() in ['sour curd', 'hung curd', 'fresh curd']:
recipe_info[c1]['ingredients'][c2] = u'curd'
elif i.lower() in ['unsweetened almond milk']:
recipe_info[c1]['ingredients'][c2] = u'almond milk'
elif i.lower() in ['heavy whipping cream', 'heavy cream', 'whipped cream', 'whip cream', 'double cream (thick cream)', 'double cream', 'thickened cream']:
recipe_info[c1]['ingredients'][c2] = u'whipping cream'
elif i.lower() in ['sour cream (optional)', 'light sour cream', 'sour cream for garnish']:
recipe_info[c1]['ingredients'][c2] = u'sour cream'
elif i.lower() in ['fresh cream', 'fresh cream (35% milk fat)']:
recipe_info[c1]['ingredients'][c2] = u'creme fraiche'
elif i.lower() in ['mayo', 'mayonaise']:
recipe_info[c1]['ingredients'][c2] = u'mayonnaise'
elif i.lower() in ['plain greek yogurt', 'greek yoghurt', 'nonfat greek yogurt', 'fat free greek yogurt', 'plain greek yoghurt', 'sour cream or greek yogurt', 'greek yogurt plain', 'greek yogurt, plain', 'low fat greek yogurt', 'nonfat plain greek yogurt', 'non-fat greek yogurt', 'plain non fat greek yogurt', 'greek plain yogurt', 'plain nonfat greek yogurt', 'greek yogurt (plain or vanilla)']:
recipe_info[c1]['ingredients'][c2] = u'Greek yogurt'
elif i.lower() in ['plain yogurt', 'yoghurt', 'nonfat yogurt', 'plain yoghurt', 'natural yogurt', 'natural yoghurt', 'yogurt, plain']:
recipe_info[c1]['ingredients'][c2] = u'yogurt'
elif i.lower() in ['plain vanilla yogurt', 'vanilla yoghurt', 'nonfat vanilla yogurt', 'vanilla greek yogurt', 'greek vanilla yogurt', 'vanilla nonfat greek yogurt']:
recipe_info[c1]['ingredients'][c2] = u'vanilla yogurt'
elif i.lower() in ['chicken breasts', 'boneless chicken breasts', 'large chicken breasts', 'boneless chicken breast', 'boneless, skinless chicken breasts', 'boneless skinless chicken breasts', 'chicken breasts, boneless, skinless', 'boneless skinless chicken breast', 'skinless chicken breasts', 'skinless boneless chicken breast']:
recipe_info[c1]['ingredients'][c2] = u'chicken breast'
elif i.lower() in ['chicken thighs', 'boneless skinless chicken thighs']:
recipe_info[c1]['ingredients'][c2] = u'chicken thigh'
elif i.lower() in ['shredded chicken', 'diced chicken', 'chicken pieces']:
recipe_info[c1]['ingredients'][c2] = u'ground chicken'
elif i.lower() in ['of slices chicken', 'whole chicken']:
recipe_info[c1]['ingredients'][c2] = u'chicken'
elif i.lower() in ['bacon bits', 'chopped bacon', 'bacon, chopped', 'bacon, diced', 'bacon; small dice']:
recipe_info[c1]['ingredients'][c2] = u'bacon'
elif i.lower() in ['of slices pork']:
recipe_info[c1]['ingredients'][c2] = u'pork'
elif i.lower() in ['hamburger meat', 'hamburger', 'ground beef', 'beef mince', 'lean ground beef', 'ground meat', 'ground beef or turkey', 'ground beef', 'ground beef or ground turkey', 'ground turkey or beef']:
recipe_info[c1]['ingredients'][c2] = u'minced beef'
elif i.lower() in ['shrimp', 'dried shrimp', 'dried shrimps']:
recipe_info[c1]['ingredients'][c2] = u'shrimps'
elif i.lower() in ['salmon fillets']:
recipe_info[c1]['ingredients'][c2] = u'salmon'
elif i.lower() in ['ingredients', 'filling', 'half and half', 'wet ingredients', 'dry ingredients', 'main', 'other', 'dressing', 'for the filling', 'crust', 'main ingredients', 'for the sauce', 'toppings', 'optional', 'optional toppings', u'● for the sides', 'for the toppings', 'vegetables', 'sauce', 'veggies', 'frying;', 'garnish option', 'vegetable', 'soup', 'sauce (mix well in a bowl);', 'dipping sauce', 'vegetable option', 'meat option', 'seasonings', 'spices', 'stuffing', 'for the sauce:', 'garnish', 'topping', 'for tadka', 'tempering', 'for garnishing', 'for tempering']:
del recipe_info[c1]['ingredients'][c2]
elif i.lower() in ['active dry yeast', 'instant yeast', 'rapid rise yeast', 'dry yeast', 'active dry yeast (use 1 tbsp instant yeast)', '(/4 oz) pkg active dry yeast']:
recipe_info[c1]['ingredients'][c2] = u'yeast'
return recipe_info |
my_tuple = (1, 2, 3)
str_tuple = ('hello!',)
print("Tuple Length:", len(my_tuple))
print("Concatenation with (3, 4):", my_tuple + (3, 4))
print("Multiplication:", str_tuple*2)
print("Search. Is 2 in my_tuple?", 2 in my_tuple)
print("Values in my_tuple:")
for x in my_tuple:
print(x) | my_tuple = (1, 2, 3)
str_tuple = ('hello!',)
print('Tuple Length:', len(my_tuple))
print('Concatenation with (3, 4):', my_tuple + (3, 4))
print('Multiplication:', str_tuple * 2)
print('Search. Is 2 in my_tuple?', 2 in my_tuple)
print('Values in my_tuple:')
for x in my_tuple:
print(x) |
class Car:
def __init__(self, engine):
self.engine = engine
def run(self):
self.engine.start()
class Engine:
def start(self):
print("Engine started!")
trinity5_8 = Engine()
ford = Car(trinity5_8)
ford.run() | class Car:
def __init__(self, engine):
self.engine = engine
def run(self):
self.engine.start()
class Engine:
def start(self):
print('Engine started!')
trinity5_8 = engine()
ford = car(trinity5_8)
ford.run() |
__author__ = 'fmontes'
class ContributionStats:
def __init__(self, contributor_name, line_count):
self.contributor_name = contributor_name
self.contributed_lines = line_count
def average(self, total_lines_to_consider=1):
return float(self.contributed_lines) / float(total_lines_to_consider) * 100
| __author__ = 'fmontes'
class Contributionstats:
def __init__(self, contributor_name, line_count):
self.contributor_name = contributor_name
self.contributed_lines = line_count
def average(self, total_lines_to_consider=1):
return float(self.contributed_lines) / float(total_lines_to_consider) * 100 |
class A(object):
def __init__(self):
self.value = "Some Value"
def return_true(self):
return True
def raise_exc(self, val):
raise KeyError(val)
| class A(object):
def __init__(self):
self.value = 'Some Value'
def return_true(self):
return True
def raise_exc(self, val):
raise key_error(val) |
# coding=utf-8
FLODER_AUTH = 'auth'
HTTP_OR_HTTPS = 'https://'
AGENT_WEIXIN = 'MicroMessenger'
AGENT_ALIPAY = 'AlipayClient'
AGENT_WEIBO = 'Weibo'
AGENT_QQ = 'QQ'
TEMPLATE_FOOTER = \
"<script language=javascript src='/r/theme/whiteconsole/scripts/jquery-3.3.1.min.js'></script>\
<script language=javascript src='/r/plugin/baiduTemplate.js'></script>\
<script language=javascript src='/r/plugin/template.js'></script>\
<script>\
var content = 'content';\
var api = '{{ api }}';\
</script>"
| floder_auth = 'auth'
http_or_https = 'https://'
agent_weixin = 'MicroMessenger'
agent_alipay = 'AlipayClient'
agent_weibo = 'Weibo'
agent_qq = 'QQ'
template_footer = "<script language=javascript src='/r/theme/whiteconsole/scripts/jquery-3.3.1.min.js'></script> <script language=javascript src='/r/plugin/baiduTemplate.js'></script> <script language=javascript src='/r/plugin/template.js'></script> <script>\t var content = 'content'; var api = '{{ api }}'; </script>" |
"""
ydf
~~~
:copyright: (c) 2017 Andrew Hawker
:license: Apache 2.0, see LICENSE file
"""
__version__ = '0.0.1'
| """
ydf
~~~
:copyright: (c) 2017 Andrew Hawker
:license: Apache 2.0, see LICENSE file
"""
__version__ = '0.0.1' |
class Triangle(object):
def __init__(self, angle1, angle2, angle3):
self.angle1 = angle1
self.angle2 = angle2
self.angle3 = angle3
number_of_sides = 3
def check_angles(self):
if (self.angle1 + self.angle2 + self.angle3) == 180:
return True
else:
return False
| class Triangle(object):
def __init__(self, angle1, angle2, angle3):
self.angle1 = angle1
self.angle2 = angle2
self.angle3 = angle3
number_of_sides = 3
def check_angles(self):
if self.angle1 + self.angle2 + self.angle3 == 180:
return True
else:
return False |
# https://binarysearch.com/
# GGA 2020.10.27
#
# User Problem
# You have: int
# You Need: each digit ^ number of dig
# You Must:
#
# Solution (Feature/Product)
#
# Edge cases:
#
# input-ouput-example:
# Given an integer n, return whether it is equal to the
# sum of its own digits raised to the power of the
# number of digits.
# Example 1
# Input
# n = 153
# Output
# True
class Solution:
def solve(self, nums):
# get the length
len_dig = len(str(nums))
# set empty variable
solution = 0
# Make number into a list of numbers (strings)
numlist_1 = list(str(nums))
# Converst list of strings into list of integers
numlist_2 = [int(i) for i in numlist_1]
# add up the sums of each digit
# raised to the power of the number of digits
for i in numlist_2:
solution += i ** len_dig
# return if that sum is the original number
return nums == solution
Tom = Solution()
Tom.solve(153)
| class Solution:
def solve(self, nums):
len_dig = len(str(nums))
solution = 0
numlist_1 = list(str(nums))
numlist_2 = [int(i) for i in numlist_1]
for i in numlist_2:
solution += i ** len_dig
return nums == solution
tom = solution()
Tom.solve(153) |
class ContainerFilterService(object):
""" Provides a base class for the container filter service. """
def ZZZ(self):
"""hardcoded/mock instance of the class"""
return ContainerFilterService()
instance=ZZZ()
"""hardcoded/returns an instance of the class"""
def FilterComponents(self,components):
"""
FilterComponents(self: ContainerFilterService,components: ComponentCollection) -> ComponentCollection
Filters the component collection.
components: The component collection to filter.
Returns: A System.ComponentModel.ComponentCollection that represents a modified collection.
"""
pass
| class Containerfilterservice(object):
""" Provides a base class for the container filter service. """
def zzz(self):
"""hardcoded/mock instance of the class"""
return container_filter_service()
instance = zzz()
'hardcoded/returns an instance of the class'
def filter_components(self, components):
"""
FilterComponents(self: ContainerFilterService,components: ComponentCollection) -> ComponentCollection
Filters the component collection.
components: The component collection to filter.
Returns: A System.ComponentModel.ComponentCollection that represents a modified collection.
"""
pass |
# Python program to demonstrate delete operation
# in binary search tree
# A Binary Tree Node
class Node:
# Constructor to create a new node
def __init__(self, key):
self.key = key
self.left = None
self.right = None
def inorder(root):
if root is not None:
inorder(root.left)
print(root.key),
inorder(root.right)
def preorder(root):
if root is not None:
print(root.key)
preorder(root.left)
preorder(root.right)
def write(root, depth=0, indent=4):
if root==None:
return
print("{}{}".format(" "*(indent*depth), root.key))
if root!=None:
write(root.left, depth=depth+1, indent=indent)
write(root.right, depth=depth, indent=indent)
def insert(node, key):
if node is None:
return Node(key)
if key < node.key:
node.left = insert(node.left, key)
elif key > node.key:
node.right = insert(node.right, key)
else:
return
return node
def minValueNode(node):
current = node
while(current.left is not None):
current = current.left
return current
def deleteNode(root, key):
if root is None:
return root
if key < root.key:
root.left = deleteNode(root.left, key)
elif(key > root.key):
root.right = deleteNode(root.right, key)
else:
if root.left is None :
temp = root.right
root = None
return temp
elif root.right is None :
temp = root.left
root = None
return temp
temp = minValueNode(root.right)
root.key = temp.key
root.right = deleteNode(root.right , temp.key)
return root
root = None
file = open('input.txt', 'r')
for line in file:
for num in line.strip().split(','):
if (num.find('+') != -1):
root = insert(root, int(num.replace('+', '')))
elif (num.find('-') != -1):
root = deleteNode(root, int(num.replace('-', '')))
print("Inorder Traversal")
inorder(root)
print("Preorder Traversal")
write(root)
| class Node:
def __init__(self, key):
self.key = key
self.left = None
self.right = None
def inorder(root):
if root is not None:
inorder(root.left)
(print(root.key),)
inorder(root.right)
def preorder(root):
if root is not None:
print(root.key)
preorder(root.left)
preorder(root.right)
def write(root, depth=0, indent=4):
if root == None:
return
print('{}{}'.format(' ' * (indent * depth), root.key))
if root != None:
write(root.left, depth=depth + 1, indent=indent)
write(root.right, depth=depth, indent=indent)
def insert(node, key):
if node is None:
return node(key)
if key < node.key:
node.left = insert(node.left, key)
elif key > node.key:
node.right = insert(node.right, key)
else:
return
return node
def min_value_node(node):
current = node
while current.left is not None:
current = current.left
return current
def delete_node(root, key):
if root is None:
return root
if key < root.key:
root.left = delete_node(root.left, key)
elif key > root.key:
root.right = delete_node(root.right, key)
else:
if root.left is None:
temp = root.right
root = None
return temp
elif root.right is None:
temp = root.left
root = None
return temp
temp = min_value_node(root.right)
root.key = temp.key
root.right = delete_node(root.right, temp.key)
return root
root = None
file = open('input.txt', 'r')
for line in file:
for num in line.strip().split(','):
if num.find('+') != -1:
root = insert(root, int(num.replace('+', '')))
elif num.find('-') != -1:
root = delete_node(root, int(num.replace('-', '')))
print('Inorder Traversal')
inorder(root)
print('Preorder Traversal')
write(root) |
# -*- coding: utf-8 -*-
# Copyright 2021 Cohesity Inc.
class RemovalStateEnum(object):
"""Implementation of the 'RemovalState' enum.
Specifies the current healing state of the Cluster.
'kNoRemoval' indicates that there are no removal operations currently
happening on the Cluster.
'kNodeRemoval' indicates that there is a Node being removed from the
Cluster.
'kDiskRemoval' indicates that there is a Disk being removed from the
Cluster.
'kNodeAndDiskRemoval' indicates that there is a Node and a Disk being
removed from the Cluster.
Attributes:
KNOREMOVAL: TODO: type description here.
KNODEREMOVAL: TODO: type description here.
KDISKREMOVAL: TODO: type description here.
KNODEANDDISKREMOVAL: TODO: type description here.
"""
KNOREMOVAL = 'kNoRemoval'
KNODEREMOVAL = 'kNodeRemoval'
KDISKREMOVAL = 'kDiskRemoval'
KNODEANDDISKREMOVAL = 'kNodeAndDiskRemoval'
| class Removalstateenum(object):
"""Implementation of the 'RemovalState' enum.
Specifies the current healing state of the Cluster.
'kNoRemoval' indicates that there are no removal operations currently
happening on the Cluster.
'kNodeRemoval' indicates that there is a Node being removed from the
Cluster.
'kDiskRemoval' indicates that there is a Disk being removed from the
Cluster.
'kNodeAndDiskRemoval' indicates that there is a Node and a Disk being
removed from the Cluster.
Attributes:
KNOREMOVAL: TODO: type description here.
KNODEREMOVAL: TODO: type description here.
KDISKREMOVAL: TODO: type description here.
KNODEANDDISKREMOVAL: TODO: type description here.
"""
knoremoval = 'kNoRemoval'
knoderemoval = 'kNodeRemoval'
kdiskremoval = 'kDiskRemoval'
knodeanddiskremoval = 'kNodeAndDiskRemoval' |
while True:
s=input().split()
if len(s)==1 and len(s[0])==1 and s[0]=='*':break
tam=len(s)
f=[]
for i in range(tam):f.append(s[i][0].lower())
tam=len(f)
print("Y") if f.count(f[0])==tam else print("N")
| while True:
s = input().split()
if len(s) == 1 and len(s[0]) == 1 and (s[0] == '*'):
break
tam = len(s)
f = []
for i in range(tam):
f.append(s[i][0].lower())
tam = len(f)
print('Y') if f.count(f[0]) == tam else print('N') |
def releaseleftclothes():
##arms get to middle
i01.setHandSpeed("left", 1.0, 0.80, 0.80, 0.80, 1.0, 0.80)
i01.setHandSpeed("right", 1.0, 0.70, 0.70, 1.0, 1.0, 0.80)
i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0)
i01.setHeadSpeed(0.90, 0.80)
i01.setTorsoSpeed(1.0,0.80,1.0)
i01.moveHead(0,80,82,0,65)
i01.moveArm("left",97,51,25,27)
i01.moveArm("right",81,52,22,18)
i01.moveHand("left",92,33,37,71,66,25)
i01.moveHand("right",180,180,180,180,180,180)
i01.moveTorso(90,90,90)
sleep(4)
##arms spread
i01.setHandSpeed("left", 1.0, 0.80, 0.80, 0.80, 1.0, 0.80)
i01.setHandSpeed("right", 1.0, 1.0, 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0)
i01.setHeadSpeed(0.90, 0.80)
i01.setTorsoSpeed(1.0,0.80,1.0)
sleep(2)
i01.moveHead(90,90,82,78,65)
i01.moveArm("left",97,51,25,22)
i01.moveArm("right",90,135,22,36)
i01.moveHand("left",92,33,37,71,66,25)
i01.moveHand("right",180,180,180,180,180,139)
i01.moveTorso(64,80,90)
sleep(2)
##release clothes
i01.setHandSpeed("left", 1.0, 0.80, 0.80, 0.80, 1.0, 0.80)
i01.setHandSpeed("right", 1.0, 0.80, 0.80, 0.80, 0.80, 0.80)
i01.setArmSpeed("left", 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed("right", 1.0, 1.0, 1.0, 1.0)
i01.setHeadSpeed(0.90, 0.80)
i01.setTorsoSpeed(1.0,0.80,1.0)
i01.moveHead(38,43,51,10,65)
i01.moveArm("left",97,51,25,22)
i01.moveArm("right",90,135,22,36)
i01.moveHand("left",92,33,37,71,66,25)
i01.moveHand("right",0,0,0,0,0,139)
i01.moveTorso(66,80,90)
sleep(4)
##Relax
i01.moveHead(80,86,82,78,65)
i01.moveArm("left",5,84,28,14)
i01.moveArm("right",5,82,28,16)
i01.moveHand("left",92,33,37,71,66,25)
i01.moveHand("right",81,66,82,60,105,113)
i01.moveTorso(95,90,90) | def releaseleftclothes():
i01.setHandSpeed('left', 1.0, 0.8, 0.8, 0.8, 1.0, 0.8)
i01.setHandSpeed('right', 1.0, 0.7, 0.7, 1.0, 1.0, 0.8)
i01.setArmSpeed('left', 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed('right', 1.0, 1.0, 1.0, 1.0)
i01.setHeadSpeed(0.9, 0.8)
i01.setTorsoSpeed(1.0, 0.8, 1.0)
i01.moveHead(0, 80, 82, 0, 65)
i01.moveArm('left', 97, 51, 25, 27)
i01.moveArm('right', 81, 52, 22, 18)
i01.moveHand('left', 92, 33, 37, 71, 66, 25)
i01.moveHand('right', 180, 180, 180, 180, 180, 180)
i01.moveTorso(90, 90, 90)
sleep(4)
i01.setHandSpeed('left', 1.0, 0.8, 0.8, 0.8, 1.0, 0.8)
i01.setHandSpeed('right', 1.0, 1.0, 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed('left', 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed('right', 1.0, 1.0, 1.0, 1.0)
i01.setHeadSpeed(0.9, 0.8)
i01.setTorsoSpeed(1.0, 0.8, 1.0)
sleep(2)
i01.moveHead(90, 90, 82, 78, 65)
i01.moveArm('left', 97, 51, 25, 22)
i01.moveArm('right', 90, 135, 22, 36)
i01.moveHand('left', 92, 33, 37, 71, 66, 25)
i01.moveHand('right', 180, 180, 180, 180, 180, 139)
i01.moveTorso(64, 80, 90)
sleep(2)
i01.setHandSpeed('left', 1.0, 0.8, 0.8, 0.8, 1.0, 0.8)
i01.setHandSpeed('right', 1.0, 0.8, 0.8, 0.8, 0.8, 0.8)
i01.setArmSpeed('left', 1.0, 1.0, 1.0, 1.0)
i01.setArmSpeed('right', 1.0, 1.0, 1.0, 1.0)
i01.setHeadSpeed(0.9, 0.8)
i01.setTorsoSpeed(1.0, 0.8, 1.0)
i01.moveHead(38, 43, 51, 10, 65)
i01.moveArm('left', 97, 51, 25, 22)
i01.moveArm('right', 90, 135, 22, 36)
i01.moveHand('left', 92, 33, 37, 71, 66, 25)
i01.moveHand('right', 0, 0, 0, 0, 0, 139)
i01.moveTorso(66, 80, 90)
sleep(4)
i01.moveHead(80, 86, 82, 78, 65)
i01.moveArm('left', 5, 84, 28, 14)
i01.moveArm('right', 5, 82, 28, 16)
i01.moveHand('left', 92, 33, 37, 71, 66, 25)
i01.moveHand('right', 81, 66, 82, 60, 105, 113)
i01.moveTorso(95, 90, 90) |
stats = airline[['Year', 'Passengers']].groupby('Year').mean()
stats['Max'] = airline[['Year', 'Passengers']].groupby('Year').max()
stats['Min'] = airline[['Year', 'Passengers']].groupby('Year').min()
stats['Range'] = stats['Max']-stats['Min']
ax = stats.plot(y='Passengers', yerr='Range', legend=False)
ax.set_ylabel(r'$\langle Passengers\rangle$')
stats | stats = airline[['Year', 'Passengers']].groupby('Year').mean()
stats['Max'] = airline[['Year', 'Passengers']].groupby('Year').max()
stats['Min'] = airline[['Year', 'Passengers']].groupby('Year').min()
stats['Range'] = stats['Max'] - stats['Min']
ax = stats.plot(y='Passengers', yerr='Range', legend=False)
ax.set_ylabel('$\\langle Passengers\\rangle$')
stats |
"""Helper macro to compile and test code samples."""
def code_sample_cc(name):
native.cc_binary(
name = name,
srcs = [name + ".cc"],
deps = [
"//ortools/sat:cp_model",
"//ortools/sat:cp_model_solver",
"//ortools/util:sorted_interval_list",
"@com_google_absl//absl/types:span",
],
)
native.cc_test(
name = name + "_test",
size = "small",
srcs = [name + ".cc"],
deps = [
":" + name,
"//ortools/sat:cp_model",
"//ortools/sat:cp_model_solver",
"//ortools/util:sorted_interval_list",
"@com_google_absl//absl/types:span",
],
)
| """Helper macro to compile and test code samples."""
def code_sample_cc(name):
native.cc_binary(name=name, srcs=[name + '.cc'], deps=['//ortools/sat:cp_model', '//ortools/sat:cp_model_solver', '//ortools/util:sorted_interval_list', '@com_google_absl//absl/types:span'])
native.cc_test(name=name + '_test', size='small', srcs=[name + '.cc'], deps=[':' + name, '//ortools/sat:cp_model', '//ortools/sat:cp_model_solver', '//ortools/util:sorted_interval_list', '@com_google_absl//absl/types:span']) |
n = 0
while True:
inn = input()
if inn == '0':
break
n += int(inn)
print(n)
| n = 0
while True:
inn = input()
if inn == '0':
break
n += int(inn)
print(n) |
"""
This package implements the MSAL flow to obtain a personal api token for an instance
of azure databricks without using the web interface.
see url:
https://docs.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/app-aad-token
see also:
https://docs.microsoft.com/en-us/azure/active-directory/develop/reply-url#localhost-exceptions
Required input:
- applicationId (for the auth application)
- tenantId
"""
# from atc_tools.az_databricks_token.main import main
# from atc_tools.az_databricks_token.server import LocalRequestHandler
#
| """
This package implements the MSAL flow to obtain a personal api token for an instance
of azure databricks without using the web interface.
see url:
https://docs.microsoft.com/en-us/azure/databricks/dev-tools/api/latest/aad/app-aad-token
see also:
https://docs.microsoft.com/en-us/azure/active-directory/develop/reply-url#localhost-exceptions
Required input:
- applicationId (for the auth application)
- tenantId
""" |
PAS = 'pass'
INF = float('inf')
class Expectimax:
def __init__(self, max_who, rules):
self.max_who = max_who
self.rules = rules
def value(self, state, agent_id, depth):
if state.is_over() or depth <= 0:
return self.evaluation_function(state, agent_id)
if agent_id == self.max_who:
return self.max_value(state, agent_id, depth)[0]
return self.exp_value(state, agent_id, depth)[0]
def max_value(self, state, agent_id, depth):
max_eval = (-INF, PAS)
for action in state.get_legal_moves(agent_id, self.rules):
_eval = (self.value(state.generate_successor(agent_id, action[0], action[1], self.rules), (agent_id + 1) % state.get_num_agents(), depth - 1), action)
max_eval = max([max_eval, _eval], key=lambda pair: pair[0])
return max_eval
def exp_value(self, state, agent_id, depth):
exp_eval = (0, PAS)
moves = state.get_legal_moves(agent_id, self.rules)
for action in moves:
p = len(moves)
avg = (float(self.value(state.generate_successor(agent_id, action[0], action[1], self.rules), (agent_id + 1) % state.get_num_agents(), depth - 1)) / float(p))
exp_eval = (exp_eval[0] + avg, action)
return exp_eval
def evaluation_function(self, state, agent_id):
evauation = 0
for _id in state.agents.keys():
if _id == agent_id:
evauation += state.agents[_id].score
else:
evauation -= state.agents[_id].score
return evauation
def get_best_word(self, state, agent_id, depth):
return self.max_value(state, agent_id, depth * state.get_num_agents())[1]
| pas = 'pass'
inf = float('inf')
class Expectimax:
def __init__(self, max_who, rules):
self.max_who = max_who
self.rules = rules
def value(self, state, agent_id, depth):
if state.is_over() or depth <= 0:
return self.evaluation_function(state, agent_id)
if agent_id == self.max_who:
return self.max_value(state, agent_id, depth)[0]
return self.exp_value(state, agent_id, depth)[0]
def max_value(self, state, agent_id, depth):
max_eval = (-INF, PAS)
for action in state.get_legal_moves(agent_id, self.rules):
_eval = (self.value(state.generate_successor(agent_id, action[0], action[1], self.rules), (agent_id + 1) % state.get_num_agents(), depth - 1), action)
max_eval = max([max_eval, _eval], key=lambda pair: pair[0])
return max_eval
def exp_value(self, state, agent_id, depth):
exp_eval = (0, PAS)
moves = state.get_legal_moves(agent_id, self.rules)
for action in moves:
p = len(moves)
avg = float(self.value(state.generate_successor(agent_id, action[0], action[1], self.rules), (agent_id + 1) % state.get_num_agents(), depth - 1)) / float(p)
exp_eval = (exp_eval[0] + avg, action)
return exp_eval
def evaluation_function(self, state, agent_id):
evauation = 0
for _id in state.agents.keys():
if _id == agent_id:
evauation += state.agents[_id].score
else:
evauation -= state.agents[_id].score
return evauation
def get_best_word(self, state, agent_id, depth):
return self.max_value(state, agent_id, depth * state.get_num_agents())[1] |
class Target:
"""
This must be consist of <app_label>.<modal>.<field>
"""
pass
class StorageProvider:
S3 = 's3'
CLOUDINARY = 'cloudinary'
PROVIDERS = (StorageProvider.S3, StorageProvider.CLOUDINARY)
| class Target:
"""
This must be consist of <app_label>.<modal>.<field>
"""
pass
class Storageprovider:
s3 = 's3'
cloudinary = 'cloudinary'
providers = (StorageProvider.S3, StorageProvider.CLOUDINARY) |
substrings = ['These', 'are', 'strings', 'to', 'concatanate.']
s = ' '
# Highly inefficient
# for substring in substrings:
# s += substring
# print(s)
s = ' '.join(substrings)
print(s)
# OR using an "unbound" method call
x = str.join(' ', substrings)
print(x)
| substrings = ['These', 'are', 'strings', 'to', 'concatanate.']
s = ' '
s = ' '.join(substrings)
print(s)
x = str.join(' ', substrings)
print(x) |
def main():
n = int(input())
l = list(map(int, input().split()))
l = sorted(l)
if n==1 or n==2:
print(0)
for i in l:
print(i, end=' ')
print()
return
flag = 0
ind = n//2
while(l[ind]==l[ind+1] and ind>0):
ind -= 1
flag = 1
if flag==1:
ind += 1
b1 = l[:ind]
b2 = l[ind:]
l1 = ind
l2 = n-ind
if l1<l2:
print(l1)
else:
print(l1-1)
i1 = 0
i2 = 0
for i in range(2*l1):
if i%2==1:
print(b1[i1], end=' ')
i1 += 1
else :
print(b2[i2], end=' ')
i2 += 1
while(i2<l2):
print(b2[i2], end = ' ')
i2 += 1
print()
if __name__=='__main__':
main()
| def main():
n = int(input())
l = list(map(int, input().split()))
l = sorted(l)
if n == 1 or n == 2:
print(0)
for i in l:
print(i, end=' ')
print()
return
flag = 0
ind = n // 2
while l[ind] == l[ind + 1] and ind > 0:
ind -= 1
flag = 1
if flag == 1:
ind += 1
b1 = l[:ind]
b2 = l[ind:]
l1 = ind
l2 = n - ind
if l1 < l2:
print(l1)
else:
print(l1 - 1)
i1 = 0
i2 = 0
for i in range(2 * l1):
if i % 2 == 1:
print(b1[i1], end=' ')
i1 += 1
else:
print(b2[i2], end=' ')
i2 += 1
while i2 < l2:
print(b2[i2], end=' ')
i2 += 1
print()
if __name__ == '__main__':
main() |
expected_output = {
'eigrp_instance': {
'100': {
'vrf': {
'default': {
'address_family': {
'ipv6': {
'eigrp_interface': {
'Ethernet1/1.90': {
'eigrp_nbr': {
'fe80::f816:3eff:fecf:5a5b': {
'peer_handle': 0,
'hold': 12,
'uptime': '01:40:09',
'srtt': 0.010,
'rto': 60,
'q_cnt': 0,
'last_seq_number': 30}}},
'Ethernet1/2.90': {
'eigrp_nbr': {
'fe80::f816:3eff:fe62:65af': {
'peer_handle': 1,
'hold': 12,
'uptime': '01:40:07',
'srtt': 0.004,
'rto': 50,
'q_cnt': 0,
'last_seq_number': 22}}}}}}},
'VRF1': {
'address_family': {
'ipv6': {
'eigrp_interface': {
'Ethernet1/1.390': {
'eigrp_nbr': {
'fe80::f816:3eff:fecf:5a5b': {
'peer_handle': 0,
'hold': 10,
'uptime': '01:44:27',
'srtt': 0.010,
'rto': 60,
'q_cnt': 0,
'last_seq_number': 10
}
}
},
'Ethernet1/2.390': {
'eigrp_nbr': {
'fe80::f816:3eff:fe62:65af': {
'peer_handle': 1,
'hold': 13,
'uptime': '01:43:38',
'srtt': 0.004,
'rto': 50,
'q_cnt': 0,
'last_seq_number': 8 }}}}}}}}}}}
| expected_output = {'eigrp_instance': {'100': {'vrf': {'default': {'address_family': {'ipv6': {'eigrp_interface': {'Ethernet1/1.90': {'eigrp_nbr': {'fe80::f816:3eff:fecf:5a5b': {'peer_handle': 0, 'hold': 12, 'uptime': '01:40:09', 'srtt': 0.01, 'rto': 60, 'q_cnt': 0, 'last_seq_number': 30}}}, 'Ethernet1/2.90': {'eigrp_nbr': {'fe80::f816:3eff:fe62:65af': {'peer_handle': 1, 'hold': 12, 'uptime': '01:40:07', 'srtt': 0.004, 'rto': 50, 'q_cnt': 0, 'last_seq_number': 22}}}}}}}, 'VRF1': {'address_family': {'ipv6': {'eigrp_interface': {'Ethernet1/1.390': {'eigrp_nbr': {'fe80::f816:3eff:fecf:5a5b': {'peer_handle': 0, 'hold': 10, 'uptime': '01:44:27', 'srtt': 0.01, 'rto': 60, 'q_cnt': 0, 'last_seq_number': 10}}}, 'Ethernet1/2.390': {'eigrp_nbr': {'fe80::f816:3eff:fe62:65af': {'peer_handle': 1, 'hold': 13, 'uptime': '01:43:38', 'srtt': 0.004, 'rto': 50, 'q_cnt': 0, 'last_seq_number': 8}}}}}}}}}}} |
class Solution:
def subsetsWithDup(self, nums: List[int], sorted: bool = False) -> List[List[int]]:
if not nums: return [[]]
if len(nums) == 1: return [[], nums]
if not sorted: nums.sort()
pre_lists = self.subsetsWithDup(nums[:-1], sorted=True)
all_lists = [i + [nums[-1]] for i in pre_lists] + pre_lists
result = []
for i in all_lists:
if i not in result:
result.append(i)
return result
| class Solution:
def subsets_with_dup(self, nums: List[int], sorted: bool=False) -> List[List[int]]:
if not nums:
return [[]]
if len(nums) == 1:
return [[], nums]
if not sorted:
nums.sort()
pre_lists = self.subsetsWithDup(nums[:-1], sorted=True)
all_lists = [i + [nums[-1]] for i in pre_lists] + pre_lists
result = []
for i in all_lists:
if i not in result:
result.append(i)
return result |
# -*- coding: utf-8 -*-
"""
Created on Mon Jul 5 17:51:53 2021
@author: kody
"""
S = 6
count = 1
for x in range(1,7):
print(int(input("Enter grade")) + x) | """
Created on Mon Jul 5 17:51:53 2021
@author: kody
"""
s = 6
count = 1
for x in range(1, 7):
print(int(input('Enter grade')) + x) |
"""
1. Clarification
2. Possible solutions
- Prefix sum + Hash
3. Coding
4. Tests
"""
# T=O(m^2 * n), S=O(n), see also leetcode 560
class Solution:
def numSubmatrixSumTarget(self, matrix: List[List[int]], target: int) -> int:
def subarraySum(nums: List[int], k: int) -> int:
mp = collections.Counter([0])
count = pre = 0
for x in nums:
pre += x
if pre - k in mp:
count += mp[pre - k]
mp[pre] += 1
return count
m, n = len(matrix), len(matrix[0])
ans = 0
for i in range(m):
total = [0] * n
for j in range(i, m):
for c in range(n):
total[c] += matrix[j][c]
ans += subarraySum(total, target)
return ans
| """
1. Clarification
2. Possible solutions
- Prefix sum + Hash
3. Coding
4. Tests
"""
class Solution:
def num_submatrix_sum_target(self, matrix: List[List[int]], target: int) -> int:
def subarray_sum(nums: List[int], k: int) -> int:
mp = collections.Counter([0])
count = pre = 0
for x in nums:
pre += x
if pre - k in mp:
count += mp[pre - k]
mp[pre] += 1
return count
(m, n) = (len(matrix), len(matrix[0]))
ans = 0
for i in range(m):
total = [0] * n
for j in range(i, m):
for c in range(n):
total[c] += matrix[j][c]
ans += subarray_sum(total, target)
return ans |
def path_from_root_to_node(root, data):
"""
Assuming data as input to find the node
The solution can be easily changed to find a node instead of data
:param data:
:return:
"""
output = path_from_node_to_root(root, data)
return list(reversed(output))
def path_from_node_to_root(root, data):
if root is None:
return None
elif root.data == data:
return [data]
left_answer = path_from_node_to_root(root.left, data)
if left_answer is not None:
left_answer.append(root.data)
return left_answer
right_answer = path_from_node_to_root(root.right, data)
if right_answer is not None:
right_answer.append(root.data)
return right_answer
return None | def path_from_root_to_node(root, data):
"""
Assuming data as input to find the node
The solution can be easily changed to find a node instead of data
:param data:
:return:
"""
output = path_from_node_to_root(root, data)
return list(reversed(output))
def path_from_node_to_root(root, data):
if root is None:
return None
elif root.data == data:
return [data]
left_answer = path_from_node_to_root(root.left, data)
if left_answer is not None:
left_answer.append(root.data)
return left_answer
right_answer = path_from_node_to_root(root.right, data)
if right_answer is not None:
right_answer.append(root.data)
return right_answer
return None |
#!/usr/bin/env python
# mode - Degree of scanning done by service modules.
# Default is 'normal', 2nd option is 'stealth'.
mode = 'normal'
| mode = 'normal' |
# -*- coding: utf-8 -*-
"""
x tools for easy work
"""
| """
x tools for easy work
""" |
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Custom filters for use in openshift-ansible
"""
# Disabling too-many-public-methods, since filter methods are necessarily
# public
# pylint: disable=too-many-public-methods
class FilterModule(object):
""" Custom ansible filters """
@staticmethod
def oo_cert_expiry_results_to_json(hostvars, play_hosts):
"""Takes results (`hostvars`) from the openshift_cert_expiry role
check and serializes them into proper machine-readable JSON
output. This filter parameter **MUST** be the playbook `hostvars`
variable. The `play_hosts` parameter is so we know what to loop over
when we're extrating the values.
Returns:
Results are collected into two top-level keys under the `json_results`
dict:
* `json_results.data` [dict] - Each individual host check result, keys are hostnames
* `json_results.summary` [dict] - Summary of number of `warning` and `expired`
certificates
Example playbook usage:
- name: Generate expiration results JSON
run_once: yes
delegate_to: localhost
when: openshift_certificate_expiry_save_json_results|bool
copy:
content: "{{ hostvars|oo_cert_expiry_results_to_json() }}"
dest: "{{ openshift_certificate_expiry_json_results_path }}"
"""
json_result = {
'data': {},
'summary': {},
}
for host in play_hosts:
json_result['data'][host] = hostvars[host]['check_results']['check_results']
total_warnings = sum([hostvars[h]['check_results']['summary']['warning'] for h in play_hosts])
total_expired = sum([hostvars[h]['check_results']['summary']['expired'] for h in play_hosts])
total_ok = sum([hostvars[h]['check_results']['summary']['ok'] for h in play_hosts])
total_total = sum([hostvars[h]['check_results']['summary']['total'] for h in play_hosts])
json_result['summary']['warning'] = total_warnings
json_result['summary']['expired'] = total_expired
json_result['summary']['ok'] = total_ok
json_result['summary']['total'] = total_total
return json_result
def filters(self):
""" returns a mapping of filters to methods """
return {
"oo_cert_expiry_results_to_json": self.oo_cert_expiry_results_to_json,
}
| """
Custom filters for use in openshift-ansible
"""
class Filtermodule(object):
""" Custom ansible filters """
@staticmethod
def oo_cert_expiry_results_to_json(hostvars, play_hosts):
"""Takes results (`hostvars`) from the openshift_cert_expiry role
check and serializes them into proper machine-readable JSON
output. This filter parameter **MUST** be the playbook `hostvars`
variable. The `play_hosts` parameter is so we know what to loop over
when we're extrating the values.
Returns:
Results are collected into two top-level keys under the `json_results`
dict:
* `json_results.data` [dict] - Each individual host check result, keys are hostnames
* `json_results.summary` [dict] - Summary of number of `warning` and `expired`
certificates
Example playbook usage:
- name: Generate expiration results JSON
run_once: yes
delegate_to: localhost
when: openshift_certificate_expiry_save_json_results|bool
copy:
content: "{{ hostvars|oo_cert_expiry_results_to_json() }}"
dest: "{{ openshift_certificate_expiry_json_results_path }}"
"""
json_result = {'data': {}, 'summary': {}}
for host in play_hosts:
json_result['data'][host] = hostvars[host]['check_results']['check_results']
total_warnings = sum([hostvars[h]['check_results']['summary']['warning'] for h in play_hosts])
total_expired = sum([hostvars[h]['check_results']['summary']['expired'] for h in play_hosts])
total_ok = sum([hostvars[h]['check_results']['summary']['ok'] for h in play_hosts])
total_total = sum([hostvars[h]['check_results']['summary']['total'] for h in play_hosts])
json_result['summary']['warning'] = total_warnings
json_result['summary']['expired'] = total_expired
json_result['summary']['ok'] = total_ok
json_result['summary']['total'] = total_total
return json_result
def filters(self):
""" returns a mapping of filters to methods """
return {'oo_cert_expiry_results_to_json': self.oo_cert_expiry_results_to_json} |
arr=[1,0,-1,0,-2,2]
target=0
def four_sum( arr, target):
hash_map = dict()
arr.sort()
result = set()
for i in range(len(arr)):
for j in range(i + 1, len(arr)):
curr_sum = arr[i] + arr[j]
diff = target - curr_sum
if diff in hash_map:
for prev_sum in hash_map[diff]:
if arr[prev_sum[1]] <= arr[i] and i > prev_sum[1]:
result.add((arr[prev_sum[0]], arr[prev_sum[1]], arr[i], arr[j]))
if curr_sum in hash_map:
hash_map[curr_sum].append((i, j))
else:
hash_map[curr_sum] = [(i, j)]
return sorted([list(item) for item in result])
| arr = [1, 0, -1, 0, -2, 2]
target = 0
def four_sum(arr, target):
hash_map = dict()
arr.sort()
result = set()
for i in range(len(arr)):
for j in range(i + 1, len(arr)):
curr_sum = arr[i] + arr[j]
diff = target - curr_sum
if diff in hash_map:
for prev_sum in hash_map[diff]:
if arr[prev_sum[1]] <= arr[i] and i > prev_sum[1]:
result.add((arr[prev_sum[0]], arr[prev_sum[1]], arr[i], arr[j]))
if curr_sum in hash_map:
hash_map[curr_sum].append((i, j))
else:
hash_map[curr_sum] = [(i, j)]
return sorted([list(item) for item in result]) |
class Reader:
def __init__(self, checker, size: int):
self.checker = checker
self.size = size
def read(self, path: str):
f = open(path, 'rb')
data = [0] * self.size
for i in range(self.size):
data[i] = [0] * self.size
col = 0
row = 0
try:
while True:
byte = f.read(1)
if (byte == b""):
break
if (byte == b"\n" or byte == b"\r"):
continue
if (row >= self.size):
raise ValueError('The input file too long')
data[row][col] = int(byte)
col = (col + 1) % self.size
if (col == 0):
row += 1
finally:
f.close()
if (col != 0 or row != self.size):
raise ValueError('The input file was too short')
for row in range(self.size):
for col in range(self.size):
if (not self.checker.check((row, col), data)):
raise ValueError('The input file had invalid entries')
return data
| class Reader:
def __init__(self, checker, size: int):
self.checker = checker
self.size = size
def read(self, path: str):
f = open(path, 'rb')
data = [0] * self.size
for i in range(self.size):
data[i] = [0] * self.size
col = 0
row = 0
try:
while True:
byte = f.read(1)
if byte == b'':
break
if byte == b'\n' or byte == b'\r':
continue
if row >= self.size:
raise value_error('The input file too long')
data[row][col] = int(byte)
col = (col + 1) % self.size
if col == 0:
row += 1
finally:
f.close()
if col != 0 or row != self.size:
raise value_error('The input file was too short')
for row in range(self.size):
for col in range(self.size):
if not self.checker.check((row, col), data):
raise value_error('The input file had invalid entries')
return data |
# Author Maria carroll
# Week 2
# https://www.w3resource.com/python-exercises/python-basic-exercise-66.php
# Lecture 2 Statements
# Lecturer: Andrew Beatty
#Here we are writng a program to take information from the user to assertain a bmi result from their input
height = float(input ("Enter height in metres: "))
weight = float(input ("Enter weight in in kg: " ))
# Below is the formula for calulating bmi
bmi = weight/(height**2)
print("Your BMI is: {0} and you are: ".format(bmi), end='')
# Conditions
if ( bmi < 16):
print("obese")
elif ( bmi >= 16 and bmi < 18.5):
print("underweight")
elif ( bmi >= 18.5 and bmi < 25):
print("Healthy weight")
elif ( bmi >= 25 and bmi < 30):
print("overweight")
elif ( bmi >=30):
print("obese")
| height = float(input('Enter height in metres: '))
weight = float(input('Enter weight in in kg: '))
bmi = weight / height ** 2
print('Your BMI is: {0} and you are: '.format(bmi), end='')
if bmi < 16:
print('obese')
elif bmi >= 16 and bmi < 18.5:
print('underweight')
elif bmi >= 18.5 and bmi < 25:
print('Healthy weight')
elif bmi >= 25 and bmi < 30:
print('overweight')
elif bmi >= 30:
print('obese') |
def pause_game(game):
for i in range(1):
r = game.make_action([False, False, False])
def spawn_agent(game, x, y, orientation=0):
x_pos, y_pos = to_acs_float(x), to_acs_float(y)
game.send_game_command("pukename set_position %i %i %i" %
(x_pos, y_pos, orientation))
# pause_game(game)
def spawn_object(game, object_id, x, y, idx):
# x_pos, y_pos = get_doom_coordinates(x, y)
x_pos, y_pos = to_acs_float(x), to_acs_float(y)
# call spawn function twice because vizdoom objects are not spawned
# sometimes if spawned only once for some unknown reason
for _ in range(1):
game.send_game_command("pukename spawn_object_by_id_and_location1 \
%i %i %i" % (object_id, x_pos, y_pos))
# game.send_game_command("pukename spawn_object_by_location %i %i" % (x_pos, y_pos))
# print("pukename spawn_object_by_location %i %i" % (x_pos, y_pos))
# game.send_game_command("pukename spawn_object_by_id %i" % (object_id, ))
pause_game(game)
def to_acs_float(val):
''' ACS (doom script) has fixed-point numbers where the first 16 bits are the integer and
the subsequent 16 bits are the decimal.'''
return int(val * 2**16)
def to_python_float(val):
return float(val) / 2**16
def make_torch_box(
game,
box_size_x=384,
box_size_y=384,
box_offset_x=0,
box_offset_y=320,
min_margin=30,
n_torches_per_side=5,
start_idx=0):
''' Makes an axis-aligned box of torches '''
k = start_idx
excess_x = (box_size_x - 2 * min_margin) % (n_torches_per_side-1)
excess_y = (box_size_x - 2 * min_margin) % (n_torches_per_side-1)
margin_x = int(min_margin + excess_x / 2)
margin_y = int(min_margin + excess_y / 2)
for i, x in enumerate(range(margin_x + box_offset_x,
box_size_x + box_offset_x - margin_x + 1,
int((box_size_x - 2 * margin_x) / (n_torches_per_side-1) ))):
for j, y in enumerate(range(margin_y + box_offset_y,
box_size_y + box_offset_y - margin_y + 1,
int((box_size_y - 2 * margin_y) / (n_torches_per_side-1) ))):
if i in [0, n_torches_per_side-1] and j in [0, n_torches_per_side-1]:
spawn_object(game, 2, x, y, k)
elif i in [0, n_torches_per_side-1] or j in [0, n_torches_per_side-1]:
spawn_object(game, k, x, y, k)
else:
pass
k += 1
| def pause_game(game):
for i in range(1):
r = game.make_action([False, False, False])
def spawn_agent(game, x, y, orientation=0):
(x_pos, y_pos) = (to_acs_float(x), to_acs_float(y))
game.send_game_command('pukename set_position %i %i %i' % (x_pos, y_pos, orientation))
def spawn_object(game, object_id, x, y, idx):
(x_pos, y_pos) = (to_acs_float(x), to_acs_float(y))
for _ in range(1):
game.send_game_command('pukename spawn_object_by_id_and_location1 %i %i %i' % (object_id, x_pos, y_pos))
pause_game(game)
def to_acs_float(val):
""" ACS (doom script) has fixed-point numbers where the first 16 bits are the integer and
the subsequent 16 bits are the decimal."""
return int(val * 2 ** 16)
def to_python_float(val):
return float(val) / 2 ** 16
def make_torch_box(game, box_size_x=384, box_size_y=384, box_offset_x=0, box_offset_y=320, min_margin=30, n_torches_per_side=5, start_idx=0):
""" Makes an axis-aligned box of torches """
k = start_idx
excess_x = (box_size_x - 2 * min_margin) % (n_torches_per_side - 1)
excess_y = (box_size_x - 2 * min_margin) % (n_torches_per_side - 1)
margin_x = int(min_margin + excess_x / 2)
margin_y = int(min_margin + excess_y / 2)
for (i, x) in enumerate(range(margin_x + box_offset_x, box_size_x + box_offset_x - margin_x + 1, int((box_size_x - 2 * margin_x) / (n_torches_per_side - 1)))):
for (j, y) in enumerate(range(margin_y + box_offset_y, box_size_y + box_offset_y - margin_y + 1, int((box_size_y - 2 * margin_y) / (n_torches_per_side - 1)))):
if i in [0, n_torches_per_side - 1] and j in [0, n_torches_per_side - 1]:
spawn_object(game, 2, x, y, k)
elif i in [0, n_torches_per_side - 1] or j in [0, n_torches_per_side - 1]:
spawn_object(game, k, x, y, k)
else:
pass
k += 1 |
# Is Graph Bipartite?: https://leetcode.com/problems/is-graph-bipartite/
# There is an undirected graph with n nodes, where each node is numbered between 0 and n - 1. You are given a 2D array graph, where graph[u] is an array of nodes that node u is adjacent to. More formally, for each v in graph[u], there is an undirected edge between node u and node v. The graph has the following properties:
# There are no self-edges (graph[u] does not contain u).
# There are no parallel edges (graph[u] does not contain duplicate values).
# If v is in graph[u], then u is in graph[v] (the graph is undirected).
# The graph may not be connected, meaning there may be two nodes u and v such that there is no path between them.
# A graph is bipartite if the nodes can be partitioned into two independent sets A and B such that every edge in the graph connects a node in set A and a node in set B.
# Return true if and only if it is bipartite.
# This problem is actually pretty easy you recursively dfs through the nodes and label them in your visited with a color red/black or 0/1
# Continue this and if you ever try to color a node in an opposite color you return false else the problem is true
class Solution:
def isBipartite(self, graph) -> bool:
visited = {}
self.hasFaled = False
def dfs(node, color=0):
if node in visited:
if visited[node] ^ color:
self.hasFaled = True
return False
return True
visited[node] = color
for nei in graph[node]:
if not dfs(nei, color ^ 1):
return False
return True
for i in range(len(graph)):
if i not in visited:
if not dfs(i):
return False
return True
# The above works and is actually kind of neat by coloring as we go we can limit this problem to a
# time complexity of O(V+E) and a space complexity of only O(V)
# Score Card
# Did I need hints? N
# Did you finish within 30 min? 10
# Was the solution optimal? This is optimal
# Were there any bugs? No
# 5 5 5 5 = 5
| class Solution:
def is_bipartite(self, graph) -> bool:
visited = {}
self.hasFaled = False
def dfs(node, color=0):
if node in visited:
if visited[node] ^ color:
self.hasFaled = True
return False
return True
visited[node] = color
for nei in graph[node]:
if not dfs(nei, color ^ 1):
return False
return True
for i in range(len(graph)):
if i not in visited:
if not dfs(i):
return False
return True |
"""
Write a function that takes in an array of integers and returns a sorted version of that array. Use the QuickSort algorithm to sort the array.
"""
def quick_sort(array):
if len(array) <= 1:
return array
_rec_helper(array, 0, len(array) - 1)
return array
def _rec_helper(array, start, end):
# base case
if start >= end:
return
pivot = start
left = pivot + 1
right = end
while left <= right:
if array[left] > array[pivot] and array[right] < array[pivot]:
_swap(array, left, right)
if array[pivot] >= array[left]:
left += 1
if array[pivot] <= array[right]:
right -= 1
_swap(array, pivot, right)
if right - start > end - right:
_rec_helper(array, start, right - 1)
_rec_helper(array, right + 1, end)
else:
_rec_helper(array, right + 1, end)
_rec_helper(array, start, right - 1)
def _swap(array, left, right):
array[left], array[right] = array[right], array[left]
#test
array = [3, 4, 7, 1, 1, 2, 5, 1, 3, 8, 4]
assert quick_sort(array) == sorted(array)
print('OK')
| """
Write a function that takes in an array of integers and returns a sorted version of that array. Use the QuickSort algorithm to sort the array.
"""
def quick_sort(array):
if len(array) <= 1:
return array
_rec_helper(array, 0, len(array) - 1)
return array
def _rec_helper(array, start, end):
if start >= end:
return
pivot = start
left = pivot + 1
right = end
while left <= right:
if array[left] > array[pivot] and array[right] < array[pivot]:
_swap(array, left, right)
if array[pivot] >= array[left]:
left += 1
if array[pivot] <= array[right]:
right -= 1
_swap(array, pivot, right)
if right - start > end - right:
_rec_helper(array, start, right - 1)
_rec_helper(array, right + 1, end)
else:
_rec_helper(array, right + 1, end)
_rec_helper(array, start, right - 1)
def _swap(array, left, right):
(array[left], array[right]) = (array[right], array[left])
array = [3, 4, 7, 1, 1, 2, 5, 1, 3, 8, 4]
assert quick_sort(array) == sorted(array)
print('OK') |
def _get_main(ctx):
if ctx.file.main:
return ctx.workspace_name + "/" + ctx.file.main.path
main = ctx.label.name + ".py"
for src in ctx.files.srcs:
if src.basename == main:
return ctx.workspace_name + "/" + src.path
fail(
"corresponding default '{}' does not appear in srcs. ".format(main) +
"Add it or override default file name with a 'main' attribute",
)
def _conda_impl(ctx):
env = ctx.attr.env
script = ctx.actions.declare_file(ctx.label.name)
main = _get_main(ctx)
ctx.actions.expand_template(
template = ctx.file._template,
output = script,
substitutions = {
"%imports%": "",
"%import_all%": "True",
"%main%": main,
"%workspace_name%": ctx.workspace_name,
},
is_executable = True,
)
runfiles = ctx.runfiles(
collect_data = True,
collect_default = True,
files = ctx.files.srcs,
root_symlinks = {".cenv": env.files.to_list()[0]},
)
return [DefaultInfo(executable = script, runfiles = runfiles)]
_conda_attrs = {
"srcs": attr.label_list(allow_files = [".py"]),
"data": attr.label_list(allow_files = True),
"deps": attr.label_list(),
"env": attr.label(
mandatory = True,
allow_files = True,
),
"main": attr.label(allow_single_file = [".py"]),
"_template": attr.label(
default = Label("//bzl:conda.tpl.py"),
allow_single_file = True,
),
}
conda_binary = rule(
attrs = _conda_attrs,
executable = True,
implementation = _conda_impl,
)
conda_test = rule(
attrs = _conda_attrs,
test = True,
implementation = _conda_impl,
)
| def _get_main(ctx):
if ctx.file.main:
return ctx.workspace_name + '/' + ctx.file.main.path
main = ctx.label.name + '.py'
for src in ctx.files.srcs:
if src.basename == main:
return ctx.workspace_name + '/' + src.path
fail("corresponding default '{}' does not appear in srcs. ".format(main) + "Add it or override default file name with a 'main' attribute")
def _conda_impl(ctx):
env = ctx.attr.env
script = ctx.actions.declare_file(ctx.label.name)
main = _get_main(ctx)
ctx.actions.expand_template(template=ctx.file._template, output=script, substitutions={'%imports%': '', '%import_all%': 'True', '%main%': main, '%workspace_name%': ctx.workspace_name}, is_executable=True)
runfiles = ctx.runfiles(collect_data=True, collect_default=True, files=ctx.files.srcs, root_symlinks={'.cenv': env.files.to_list()[0]})
return [default_info(executable=script, runfiles=runfiles)]
_conda_attrs = {'srcs': attr.label_list(allow_files=['.py']), 'data': attr.label_list(allow_files=True), 'deps': attr.label_list(), 'env': attr.label(mandatory=True, allow_files=True), 'main': attr.label(allow_single_file=['.py']), '_template': attr.label(default=label('//bzl:conda.tpl.py'), allow_single_file=True)}
conda_binary = rule(attrs=_conda_attrs, executable=True, implementation=_conda_impl)
conda_test = rule(attrs=_conda_attrs, test=True, implementation=_conda_impl) |
def aMax (list):
if len(list) == 0:
return None
max = list[0]
for item in list:
if item > max:
max = item
return max
def aMin (list):
if len(list) == 0:
return None
min = list[0]
for item in list:
if item < min:
min = item
return min
list = [1, 65, 23, 0, 10, 2, 3, 89, 8, 7, 34, -45]
list2 = [-1, -65, 0, -23, -45]
print(aMax(list))
print(aMin(list))
print(aMax(list2))
print(aMin(list2))
print(aMax([]))
print(aMin([]))
| def a_max(list):
if len(list) == 0:
return None
max = list[0]
for item in list:
if item > max:
max = item
return max
def a_min(list):
if len(list) == 0:
return None
min = list[0]
for item in list:
if item < min:
min = item
return min
list = [1, 65, 23, 0, 10, 2, 3, 89, 8, 7, 34, -45]
list2 = [-1, -65, 0, -23, -45]
print(a_max(list))
print(a_min(list))
print(a_max(list2))
print(a_min(list2))
print(a_max([]))
print(a_min([])) |
"""Character count
This program counts how often each character appears in a string.
"""
def main():
message = 'It was a bright cold day in April, and the clocks were striking thirteen.'
"""str: Message to count characters."""
count = {}
"""dict: Characters as keys and counts as values."""
for character in message:
count.setdefault(character, 0)
count[character] = count[character] + 1
print(count)
if __name__ == '__main__':
main()
| """Character count
This program counts how often each character appears in a string.
"""
def main():
message = 'It was a bright cold day in April, and the clocks were striking thirteen.'
'str: Message to count characters.'
count = {}
'dict: Characters as keys and counts as values.'
for character in message:
count.setdefault(character, 0)
count[character] = count[character] + 1
print(count)
if __name__ == '__main__':
main() |
load(
"@rules_mono//dotnet/private:providers.bzl",
"DotnetLibrary",
)
def _make_runner_arglist(dotnet, source, output):
args = dotnet.actions.args()
args.add("/useSourcePath")
if type(source) == "Target":
args.add_all(source.files)
else:
args.add(source)
args.add(output)
return args
def emit_resx_net(
dotnet,
name = "",
src = None,
identifier = None,
out = None,
customresgen = None):
if name == "" and out == None:
fail("either name or out must be set")
if not out:
result = dotnet.declare_file(dotnet, path = name + ".resources")
else:
result = dotnet.declare_file(dotnet, path = out)
args = _make_runner_arglist(dotnet, src, result)
inputs = src.files if type(src) == "Target" else [src]
dotnet.actions.run(
inputs = inputs,
outputs = [result],
executable = dotnet.resgen,
arguments = [args],
mnemonic = "NetResxCompile",
progress_message = (
"Compiling resoources" + dotnet.label.package + ":" + dotnet.label.name
),
)
return dotnet.new_resource(
dotnet = dotnet,
name = name,
result = result,
identifier = identifier,
)
| load('@rules_mono//dotnet/private:providers.bzl', 'DotnetLibrary')
def _make_runner_arglist(dotnet, source, output):
args = dotnet.actions.args()
args.add('/useSourcePath')
if type(source) == 'Target':
args.add_all(source.files)
else:
args.add(source)
args.add(output)
return args
def emit_resx_net(dotnet, name='', src=None, identifier=None, out=None, customresgen=None):
if name == '' and out == None:
fail('either name or out must be set')
if not out:
result = dotnet.declare_file(dotnet, path=name + '.resources')
else:
result = dotnet.declare_file(dotnet, path=out)
args = _make_runner_arglist(dotnet, src, result)
inputs = src.files if type(src) == 'Target' else [src]
dotnet.actions.run(inputs=inputs, outputs=[result], executable=dotnet.resgen, arguments=[args], mnemonic='NetResxCompile', progress_message='Compiling resoources' + dotnet.label.package + ':' + dotnet.label.name)
return dotnet.new_resource(dotnet=dotnet, name=name, result=result, identifier=identifier) |
try:
f = open("myfile","w")
a,b = [int(x) for x in input("Enter two numbers:").split()]
c = a/b
f.write("Writing %d into file" %c)
except ZeroDivisionError:
print("Division by zero is not allowed")
print("Please enter a non zero number")
finally:
f.close() # Writing f.close() in finally block because whether the error appears or not, we always want to close the file, so we will use f.close() in finally.
print("File Closed")
print("Code after that exception") | try:
f = open('myfile', 'w')
(a, b) = [int(x) for x in input('Enter two numbers:').split()]
c = a / b
f.write('Writing %d into file' % c)
except ZeroDivisionError:
print('Division by zero is not allowed')
print('Please enter a non zero number')
finally:
f.close()
print('File Closed')
print('Code after that exception') |
"""
Article object, read in from json
"""
class Article(object):
def __init__(self, head, lead, body,
date, time, writers,
publisher, source_outlet,
additional_information, annotation_list,
feature_list, raw_article):
"""
:param head: Headline of the article
:param lead: Lead paragraph of the article
:param body: Rest of the article
:param date: Publishing date of the article. If article was modified, the latest date
:param time: Publishing time of the article. If article was modified, the latest time
:param writers: The writers that contributed to the article
:param publisher: The news outlet that published the article
:param source_outlet: If the publisher took the article from a different source, it will be contained in this
variable
:param additional_information: E.g.: "...contributed to this report"
:param annotation_list: A list containing all the annotations as annotation objects
:param feature_list: A list containing all the features, as feature objects
:param raw_article: The raw article without any processing, etc. (contains the annotations as well)
"""
self.head = head
self.lead = lead
self.body = body
self.date = date
self.time = time
self.writers = writers
self.publisher = publisher
self.source_outlet = source_outlet
self.additional_information = additional_information
self.annotation_list = annotation_list
self.feature_list = feature_list
self.raw_article = raw_article
def get_instances(self, instance_type):
"""
Utility function to return a list of instances
:param instance_type: Type of instance (e.g. part of speech)
:return: List with instances
"""
instances = [instance
for feature in self.feature_list
if feature.feature_name == instance_type
for instance in feature.feature_instance_list]
return instances
| """
Article object, read in from json
"""
class Article(object):
def __init__(self, head, lead, body, date, time, writers, publisher, source_outlet, additional_information, annotation_list, feature_list, raw_article):
"""
:param head: Headline of the article
:param lead: Lead paragraph of the article
:param body: Rest of the article
:param date: Publishing date of the article. If article was modified, the latest date
:param time: Publishing time of the article. If article was modified, the latest time
:param writers: The writers that contributed to the article
:param publisher: The news outlet that published the article
:param source_outlet: If the publisher took the article from a different source, it will be contained in this
variable
:param additional_information: E.g.: "...contributed to this report"
:param annotation_list: A list containing all the annotations as annotation objects
:param feature_list: A list containing all the features, as feature objects
:param raw_article: The raw article without any processing, etc. (contains the annotations as well)
"""
self.head = head
self.lead = lead
self.body = body
self.date = date
self.time = time
self.writers = writers
self.publisher = publisher
self.source_outlet = source_outlet
self.additional_information = additional_information
self.annotation_list = annotation_list
self.feature_list = feature_list
self.raw_article = raw_article
def get_instances(self, instance_type):
"""
Utility function to return a list of instances
:param instance_type: Type of instance (e.g. part of speech)
:return: List with instances
"""
instances = [instance for feature in self.feature_list if feature.feature_name == instance_type for instance in feature.feature_instance_list]
return instances |
class Solution(object):
def findKthLargest(self, nums, k):
"""
:type nums: List[int]
:type k: int
:rtype: int
"""
pivot = random.choice(nums);
nums1, nums2 = [], []
for num in nums:
if num > pivot:
nums1.append(num)
elif num < pivot:
nums2.append(num)
if k <= len(nums1):
return self.findKthLargest(nums1, k)
if k > len(nums) - len(nums2): # draw a graph to visualize it! It's not in the top k assortment, but in the small section
return self.findKthLargest(nums2, k - (len(nums) - len(nums2)))
return pivot | class Solution(object):
def find_kth_largest(self, nums, k):
"""
:type nums: List[int]
:type k: int
:rtype: int
"""
pivot = random.choice(nums)
(nums1, nums2) = ([], [])
for num in nums:
if num > pivot:
nums1.append(num)
elif num < pivot:
nums2.append(num)
if k <= len(nums1):
return self.findKthLargest(nums1, k)
if k > len(nums) - len(nums2):
return self.findKthLargest(nums2, k - (len(nums) - len(nums2)))
return pivot |
# File: cofenseintelligence_consts.py
#
# Copyright (c) 2020-2021 Splunk Inc.
#
# 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 distributed under
# the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
# either express or implied. See the License for the specific language governing permissions
# and limitations under the License.
PHISHME_API_SEARCH = "https://www.threathq.com/apiv1"
PHISHME_API_THREAT_UPDATE = "/threat/updates"
PHISHME_ENDPOINT = "/threat/search"
PHISHME_ENDPOINT_GET_REPORT_MALWARE = '/threat/malware/'
PHISHME_ERR_API_UNSUPPORTED_METHOD = "Unsupported method {method}"
PHISHME_CONNECTION_TEST_MSG = "Querying endpoint to verify the credentials \
provided"
PHISHME_CONNECTION_TEST_ERR_MSG = "Test Connectivity Failed"
PHISHME_CONNECTION_TEST_SUCC_MSG = "Test Connectivity Passed"
PHISHME_ERR_SERVER_CONNECTION = "Connection failed"
PHISHME_LOGIN_ERROR = "API Username or API Password not configured"
PHISHME_ERR_JSON_PARSE = 'Unable to parse the fields parameter into a \
dictionary. \n Response text - {raw_text}'
PHISHME_ERR_FROM_SERVER = "API failed\nStatus code: {status}\nDetail: \
{detail}"
PHISHME_CONFIG_API_USERNAME = "username"
PHISHME_CONFIG_API_PASSWORD = "password"
PHISHME_CONFIG_POLL_NOW_DAYS = "poll_now_ingestion_span"
PHISHME_CONFIG_INGEST = "first_scheduled_ingestion_span"
PHISHME_JSON_FILE = "hash"
PHISHME_JSON_URL = "url"
PHISHME_JSON_IP = "ip"
PHISHME_JSON_DOMAIN = "domain"
PHISHME_JSON_RESOURCE_NOT_FOUND = "resource_not_found"
PHISHME_JSON_MAX_THREAT_COUNT = "max_threat_count"
PHISHME_THREAT_COUNT_ERROR = "Maximum threats to be fetched must be greater than 0"
PHISHME_DEFAULT_POLL_NOW_CONTAINER_COUNT = 5
PHISHME_DEFAULT_POLL_NOW_SPAN_DAYS = 15
PHISHME_DEFAULT_FIRST_INGEST_SPAN_DAYS = 10
PHISHME_DEFAULT_MAX_THREAT_COUNT = 100
PHISHME_REST_RESP_SUCCESS = 200
PHISHME_REST_RESP_SYNTAX_INCORRECT = 400
PHISHME_REST_RESP_SYNTAX_INCORRECT_MSG = 'Bad request due to malformed syntax'
PHISHME_REST_RESP_FAILED_AUTHORIZATION = 401
PHISHME_REST_RESP_FAILED_AUTHORIZATION_MSG = 'Failed to authorize'
PHISHME_REST_RESP_SERVER_ERROR = 500
PHISHME_REST_RESP_SERVER_ERROR_MSG = 'Server Error'
PHISHME_REST_RESP_SERVER_UNREACHABLE = 503
PHISHME_REST_RESP_SERVER_UNREACHABLE_MSG = 'Service Temporarily Unavailable'
PHISHME_REST_RESP_RESOURCE_NOT_FOUND = 404
PHISHME_REST_RESP_RESOURCE_NOT_FOUND_MSG = 'Data not available'
PHISHME_REST_RESP_OTHER_ERROR_MSG = "Unknown Error occurred"
PHISHME_CONTAINER_DESC = "Details for threat id: {0}"
PHISHME_CONTAINER_ERROR = "Error while creating container"
PHISHME_ARTIFACTS_DESC = "Artifact created by Cofense Intelligence app"
PHISHME_ARTIFACTS_ERROR = "Error while creating artifact"
PHISHME_THREAT_DATA_ERROR = "Error while getting details for threat ID {id}. Response message: {message}"
PHISHME_INVALID_LIMIT_MSG = "Please provide a non-zero positive integer in the poll_now_ingestion_span and first_scheduled_ingestion_span parameters."
| phishme_api_search = 'https://www.threathq.com/apiv1'
phishme_api_threat_update = '/threat/updates'
phishme_endpoint = '/threat/search'
phishme_endpoint_get_report_malware = '/threat/malware/'
phishme_err_api_unsupported_method = 'Unsupported method {method}'
phishme_connection_test_msg = 'Querying endpoint to verify the credentials provided'
phishme_connection_test_err_msg = 'Test Connectivity Failed'
phishme_connection_test_succ_msg = 'Test Connectivity Passed'
phishme_err_server_connection = 'Connection failed'
phishme_login_error = 'API Username or API Password not configured'
phishme_err_json_parse = 'Unable to parse the fields parameter into a dictionary. \n Response text - {raw_text}'
phishme_err_from_server = 'API failed\nStatus code: {status}\nDetail: {detail}'
phishme_config_api_username = 'username'
phishme_config_api_password = 'password'
phishme_config_poll_now_days = 'poll_now_ingestion_span'
phishme_config_ingest = 'first_scheduled_ingestion_span'
phishme_json_file = 'hash'
phishme_json_url = 'url'
phishme_json_ip = 'ip'
phishme_json_domain = 'domain'
phishme_json_resource_not_found = 'resource_not_found'
phishme_json_max_threat_count = 'max_threat_count'
phishme_threat_count_error = 'Maximum threats to be fetched must be greater than 0'
phishme_default_poll_now_container_count = 5
phishme_default_poll_now_span_days = 15
phishme_default_first_ingest_span_days = 10
phishme_default_max_threat_count = 100
phishme_rest_resp_success = 200
phishme_rest_resp_syntax_incorrect = 400
phishme_rest_resp_syntax_incorrect_msg = 'Bad request due to malformed syntax'
phishme_rest_resp_failed_authorization = 401
phishme_rest_resp_failed_authorization_msg = 'Failed to authorize'
phishme_rest_resp_server_error = 500
phishme_rest_resp_server_error_msg = 'Server Error'
phishme_rest_resp_server_unreachable = 503
phishme_rest_resp_server_unreachable_msg = 'Service Temporarily Unavailable'
phishme_rest_resp_resource_not_found = 404
phishme_rest_resp_resource_not_found_msg = 'Data not available'
phishme_rest_resp_other_error_msg = 'Unknown Error occurred'
phishme_container_desc = 'Details for threat id: {0}'
phishme_container_error = 'Error while creating container'
phishme_artifacts_desc = 'Artifact created by Cofense Intelligence app'
phishme_artifacts_error = 'Error while creating artifact'
phishme_threat_data_error = 'Error while getting details for threat ID {id}. Response message: {message}'
phishme_invalid_limit_msg = 'Please provide a non-zero positive integer in the poll_now_ingestion_span and first_scheduled_ingestion_span parameters.' |
# -*- coding: utf-8 -*-
"""
Global fixtures for testing CastorStudy
@author: R.C.A. van Linschoten
https://orcid.org/0000-0003-3052-596X
"""
pytest_plugins = [
"tests.test_castor_objects.fixtures_castor_objects",
"tests.test_integration.fixtures_integration",
"tests.test_api_endpoints.fixtures_api",
"tests.test_import.fixtures_import",
] | """
Global fixtures for testing CastorStudy
@author: R.C.A. van Linschoten
https://orcid.org/0000-0003-3052-596X
"""
pytest_plugins = ['tests.test_castor_objects.fixtures_castor_objects', 'tests.test_integration.fixtures_integration', 'tests.test_api_endpoints.fixtures_api', 'tests.test_import.fixtures_import'] |
n=int(input("enter year\n"))
if(n%400==0 and n%100==0):
print("leap year")
elif(n%4==0 and n%100!=0):
print("leap year")
else:
print("not leap year")
| n = int(input('enter year\n'))
if n % 400 == 0 and n % 100 == 0:
print('leap year')
elif n % 4 == 0 and n % 100 != 0:
print('leap year')
else:
print('not leap year') |
def create_new(numbers):
n = len(numbers)
keys = [None for i in range(2 * n)]
for num in numbers:
idx = num % len(keys)
while keys[idx] is not None:
idx = (idx + 1) % len(keys)
keys[idx] = num
return keys
def create_new_broken(numbers):
n = len(numbers)
keys = [None for i in range(n)]
for num in numbers:
idx = num % len(keys)
keys[idx] = num
return keys
def has_key(keys, key):
idx = key % len(keys)
while keys[idx] is not None:
if keys[idx] == key:
return True
idx = (idx + 1) % len(keys)
return False
def linear_search(numbers, number):
return number in numbers
| def create_new(numbers):
n = len(numbers)
keys = [None for i in range(2 * n)]
for num in numbers:
idx = num % len(keys)
while keys[idx] is not None:
idx = (idx + 1) % len(keys)
keys[idx] = num
return keys
def create_new_broken(numbers):
n = len(numbers)
keys = [None for i in range(n)]
for num in numbers:
idx = num % len(keys)
keys[idx] = num
return keys
def has_key(keys, key):
idx = key % len(keys)
while keys[idx] is not None:
if keys[idx] == key:
return True
idx = (idx + 1) % len(keys)
return False
def linear_search(numbers, number):
return number in numbers |
class Solution:
def isHappy(self, n: int) -> bool:
x=[]
def Happy(n,x):
t,k=0,0
while n>0:
t=n%10
n=n//10
k=k+t*t
if k==1:
return True
else:
if k in x:
return False
else:
x.append(k)
return Happy(k,x)
return Happy(n,x)
| class Solution:
def is_happy(self, n: int) -> bool:
x = []
def happy(n, x):
(t, k) = (0, 0)
while n > 0:
t = n % 10
n = n // 10
k = k + t * t
if k == 1:
return True
elif k in x:
return False
else:
x.append(k)
return happy(k, x)
return happy(n, x) |
def draw_mem():
c_width = int( w.Canvas2.cget( "width" ))
c_height = int( w.Canvas2.cget( "height" ))
print( c_width )
box_start = c_width * 0.05
box_end = c_width * 0.95
mem_title = w.Canvas2.create_text(( c_width / 2 ), 10, fill = "black", font = "Times 10", text = "Flash" )
mem1 = w.Canvas2.create_rectangle( box_start, ( c_height * 0.1 ), box_end, ( c_height * 0.2 ), fill="blue" )
def resize():
c_width = int( w.Canvas2.cget( "width" ))
c_height = int( w.Canvas2.cget( "height" ))
w.Canvas2.coords( mem1, ( c_width * 0.05 ), ( c_height * 0.1 ), ( c_width * 0.95 ), ( c_height * 0.2 ))
c_width = int( w.Canvas2.cget( "width" ))
c_height = int( w.Canvas2.cget( "height" ))
print( c_width )
box_start = c_width * 0.05
box_end = c_width * 0.95
mem_title = w.Canvas2.create_text(( c_width / 2 ), 10, fill = "black", font = "Times 10", text = "Flash" )
mem1 = w.Canvas2.create_rectangle( box_start, ( c_height * 0.1 ), box_end, ( c_height * 0.2 ), fill="blue" )
| def draw_mem():
c_width = int(w.Canvas2.cget('width'))
c_height = int(w.Canvas2.cget('height'))
print(c_width)
box_start = c_width * 0.05
box_end = c_width * 0.95
mem_title = w.Canvas2.create_text(c_width / 2, 10, fill='black', font='Times 10', text='Flash')
mem1 = w.Canvas2.create_rectangle(box_start, c_height * 0.1, box_end, c_height * 0.2, fill='blue')
def resize():
c_width = int(w.Canvas2.cget('width'))
c_height = int(w.Canvas2.cget('height'))
w.Canvas2.coords(mem1, c_width * 0.05, c_height * 0.1, c_width * 0.95, c_height * 0.2)
c_width = int(w.Canvas2.cget('width'))
c_height = int(w.Canvas2.cget('height'))
print(c_width)
box_start = c_width * 0.05
box_end = c_width * 0.95
mem_title = w.Canvas2.create_text(c_width / 2, 10, fill='black', font='Times 10', text='Flash')
mem1 = w.Canvas2.create_rectangle(box_start, c_height * 0.1, box_end, c_height * 0.2, fill='blue') |
disease_name = 'COVID-19'
# Prob. of fatality (https://www.worldometers.info/coronavirus/coronavirus-age-sex-demographics):
p_covid19_fat_by_age_group = {
'0-9' : 0.000,
'10-19' : 0.002,
'20-29' : 0.002,
'30-39' : 0.002,
'40-49' : 0.004,
'50-59' : 0.013,
'60-69' : 0.036,
'70-79' : 0.080,
'80+' : 0.148
}
p_covid19_fat_by_age_group_comb = { # similar age groups combined for performance
'0-50' : 0.002,
'50-59' : 0.013,
'60-69' : 0.036,
'70-79' : 0.080,
'80+' : 0.148
}
p_covid19_fat = sum(p_covid19_fat_by_age_group.values()) / len(p_covid19_fat_by_age_group)
# Prob. of hypertension (https://www.americashealthrankings.org/explore/annual/measure/Hypertension/state/PA):
p_ht_by_age_group = {
'0-9' : 0.000,
'10-19' : 0.000,
'20-29' : 0.137,
'30-39' : 0.137,
'40-49' : 0.259, # average of the two adjacent data points
'50-59' : 0.382,
'60-69' : 0.493, # average of the two adjacent data points
'70-79' : 0.605,
'80+' : 0.605
}
p_ht = sum(p_ht_by_age_group.values()) / len(p_ht_by_age_group)
# Prob. of fatality due to cardiovascular disease (CVD) implicating hypertention (https://www.cdc.gov/nchs/data/nvsr/nvsr68/nvsr68_09-508.pdf; Table 7, pg 38):
p_cvd_fat_by_age_group = { #
'0-9' : 0.0, # excluded due to focus on risks specific to adult population (and negligeable in kids anyway)
'10-19' : 0.0, # ^
'20-29' : (( 2.6 + 10.1) / 2) / 100_000,
'30-39' : (( 10.1 + 32.2) / 2) / 100_000,
'40-49' : (( 32.2 + 95.9) / 2) / 100_000,
'50-59' : (( 95.9 + 237.2) / 2) / 100_000,
'60-69' : ((237.2 + 505.6) / 2) / 100_000,
'70-79' : ((505.6 + 1391.3) / 2) / 100_000,
'80+' : 5249.9 / 100_000,
}
p_cvd_fat = 262.3 / 100_000 # https://www.cdc.gov/nchs/data/nvsr/nvsr68/nvsr68_09-508.pdf; Table 7, pg 38
| disease_name = 'COVID-19'
p_covid19_fat_by_age_group = {'0-9': 0.0, '10-19': 0.002, '20-29': 0.002, '30-39': 0.002, '40-49': 0.004, '50-59': 0.013, '60-69': 0.036, '70-79': 0.08, '80+': 0.148}
p_covid19_fat_by_age_group_comb = {'0-50': 0.002, '50-59': 0.013, '60-69': 0.036, '70-79': 0.08, '80+': 0.148}
p_covid19_fat = sum(p_covid19_fat_by_age_group.values()) / len(p_covid19_fat_by_age_group)
p_ht_by_age_group = {'0-9': 0.0, '10-19': 0.0, '20-29': 0.137, '30-39': 0.137, '40-49': 0.259, '50-59': 0.382, '60-69': 0.493, '70-79': 0.605, '80+': 0.605}
p_ht = sum(p_ht_by_age_group.values()) / len(p_ht_by_age_group)
p_cvd_fat_by_age_group = {'0-9': 0.0, '10-19': 0.0, '20-29': (2.6 + 10.1) / 2 / 100000, '30-39': (10.1 + 32.2) / 2 / 100000, '40-49': (32.2 + 95.9) / 2 / 100000, '50-59': (95.9 + 237.2) / 2 / 100000, '60-69': (237.2 + 505.6) / 2 / 100000, '70-79': (505.6 + 1391.3) / 2 / 100000, '80+': 5249.9 / 100000}
p_cvd_fat = 262.3 / 100000 |
def test_snap100_component_sub_pages(component_map, dash_doc):
for _, grouper in component_map:
for resources in grouper:
href = "/".join(resources)
dash_doc.visit_and_snapshot(
href, hook_id="wait-for-page-/{}".format(href)
)
| def test_snap100_component_sub_pages(component_map, dash_doc):
for (_, grouper) in component_map:
for resources in grouper:
href = '/'.join(resources)
dash_doc.visit_and_snapshot(href, hook_id='wait-for-page-/{}'.format(href)) |
"""
Presets for the ffmpeg manager
"""
# video
MP4_VIDEO = {'format':'mp4',
'vcodec':'mpeg4',
'qmin':'3',
'qmax':'5',
'g':'300',
'bitrate':'700k',
'vf':'"scale=-1:360"',
}
MP4_AUDIO = {'acodec':'libfaac',
'rate':'128k'}
WEBM_VIDEO = {'format':'webm',
'vcodec':'libvpx',
'vf':'"scale=-1:360"',
'bitrate':'700k'}
WEBM_AUDIO = {'acodec':'libvorbis',
'rate':'128k'}
# audio
MP3_AUDIO = {'format':'mp3',
'rate':'128k',
'freq':'44100',
'channels':'2',
'disablevideo':'',}
OGG_AUDIO = {'format':'ogg',
'acodec':'libvorbis',
'rate':'128k',
'freq':'44100',
'channels':'2',
'disablevideo':'',}
OPUS_AUDIO = {'format':'ogg',
'acodec':'libopus',
'rate':'96k',
'freq':'48000',
'channels':'2',
'disablevideo':'',}
NULL_VIDEO = {}
| """
Presets for the ffmpeg manager
"""
mp4_video = {'format': 'mp4', 'vcodec': 'mpeg4', 'qmin': '3', 'qmax': '5', 'g': '300', 'bitrate': '700k', 'vf': '"scale=-1:360"'}
mp4_audio = {'acodec': 'libfaac', 'rate': '128k'}
webm_video = {'format': 'webm', 'vcodec': 'libvpx', 'vf': '"scale=-1:360"', 'bitrate': '700k'}
webm_audio = {'acodec': 'libvorbis', 'rate': '128k'}
mp3_audio = {'format': 'mp3', 'rate': '128k', 'freq': '44100', 'channels': '2', 'disablevideo': ''}
ogg_audio = {'format': 'ogg', 'acodec': 'libvorbis', 'rate': '128k', 'freq': '44100', 'channels': '2', 'disablevideo': ''}
opus_audio = {'format': 'ogg', 'acodec': 'libopus', 'rate': '96k', 'freq': '48000', 'channels': '2', 'disablevideo': ''}
null_video = {} |
t=int(input())
a=1
while(a<=t):
n=int(input())
h=input().split()
for i in range(n):
h[i]=int(h[i])
c=0
for i in range(1,n-1):
if(h[i-1]<h[i]>h[i+1]):
c+=1
print('Case #' + str(a) + ': ' + str(c))
a+=1 | t = int(input())
a = 1
while a <= t:
n = int(input())
h = input().split()
for i in range(n):
h[i] = int(h[i])
c = 0
for i in range(1, n - 1):
if h[i - 1] < h[i] > h[i + 1]:
c += 1
print('Case #' + str(a) + ': ' + str(c))
a += 1 |
# Singleton through a decorator.
def singleton(class_):
instances = {}
def getinstance(*args, **kwargs):
if class_ not in instances:
instances[class_] = class_(*args, **kwargs)
return instances[class_]
return getinstance
@singleton
class MyClass(object):
pass
m1 = MyClass()
print(m1)
m2 = MyClass()
print(m2)
m3 = MyClass()
print(m3) | def singleton(class_):
instances = {}
def getinstance(*args, **kwargs):
if class_ not in instances:
instances[class_] = class_(*args, **kwargs)
return instances[class_]
return getinstance
@singleton
class Myclass(object):
pass
m1 = my_class()
print(m1)
m2 = my_class()
print(m2)
m3 = my_class()
print(m3) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.