Snippets Collections
/** MAIN method 
 *  Runs whenever a form is submitted by user
*/
const onFormSubmit = (e) => {

  try {

    /**
     * Documention for most objects can be found starting at https://developers.google.com/apps-script/reference/forms/form-response
     * When you are in the Form editor, you create "Items"
     * When you submit a completed form, an object is passed to the script with a "response" property
     * The response property is of the type "FormResponse"
     * A FormResponse includes an array of responses to every answerable ITEM within the form for which the respondent provided an answer
     *    getItemResponses() returns an array of type "ItemResponse"
     * An ItemResponse has an "Item" (getItem()) and a "Response" (getResponse())
     *    The Item must be cast as a type before use https://developers.google.com/apps-script/reference/forms/item
     *    The Response is an array of responses to answerable items on the form.
     *        In the case of a grid, a entry is in included in the response array only if user has provided an answer to at least one row
     * 
     * For a "GridItem" (Item cast as a GridItem)
     *    The item starts with a "Title"
     *    The item has "Rows" (text) and "Columns" (text)
     *    Row responses can't be accessed through the GridItem. You must retireve the row responses as an array through the ItemResponse object (which is the parent of the GridItem object)
     */


    let formResponse = e.response;  // formResponse : FormResponse
    let itemResponses = formResponse.getItemResponses(); // itemResponses : ItemResponse[]

    let currentUser = formResponse.getRespondentEmail();

    let objItems = []; // objItems : array of objItem

    itemResponses.forEach(itemResponse => { // itemResponse : ItemResponse - A response to one answerable item within the form

      let item = itemResponse.getItem(); //item : Item
      let response = itemResponse.getResponse(); // response : String[] in case of GridItem questions (the answer at index n corresponds to the question at row n + 1 in the grid. If no answer, that answer is returned as '')

      // A Grid Item includes the "title" (first line of text) followed by "rows" (the text part of each row)
      if (item.getType() == "GRID") {

        let gridItem = item.asGridItem(); // gridItem : GridItem - Returns item as GridItem. Throws a scripting exception if the ItemType was not already GRID
        let rows = gridItem.getRows(); // rows : String[] - Gets the text part for every row in the grid. 
        let title = gridItem.getTitle(); // title : String - Gets the text that is at the top of the item
        let index = gridItem.getIndex(); // index : int
        let columns = gridItem.getColumns(); // columns : String[] - Gets the possible column values 

        let objItem = new Object();
        objItem['title'] = title;
        objItem['index'] = index;
        objItem['rows'] = mergeRowsAndResponse(rows, response);

        objItems.push(objItem);
      }
    });


    let values = objItems;


    // Construct html and text bodies.  Send EMail
    //const [htmlBody, textBody] = constructAddContent(values);
    const [htmlBody, textBody] = constructEMailBody(HTML_TEMPLATE, TEXT_TEMPLATE, values);
    sendEmailText(textBody, currentUser, "subject", htmlBody);

  } catch (err) {
    Logger.log(err);
    MailApp.sendEmail('wayde_johnson@dpsnc.net', 'Error in onFormatSubmit', err);
  }
}
  // This will take care of the Buy Product button below the external product on the Shop page.
 add_filter( 'woocommerce_loop_add_to_cart_link',  'ts_external_add_product_link' , 10, 2 );

  // Remove the default WooCommerce external product Buy Product button on the individual Product page.
 remove_action( 'woocommerce_external_add_to_cart', 'woocommerce_external_add_to_cart', 30 );

  // Add the open in a new browser tab WooCommerce external product Buy Product button.
 add_action( 'woocommerce_external_add_to_cart', 'ts_external_add_to_cart', 30 );

 
function ts_external_add_product_link( $link ) {
          global $product;

          if ( $product->is_type( 'external' ) ) {

                    $link = sprintf( '<a rel="nofollow" href="%s" data-quantity="%s" data-product_id="%s" data-product_sku="%s" class="%s" target="_blank">%s</a>',
                    esc_url($product->add_to_cart_url() ),
                    esc_attr( isset( $quantity ) ? $quantity : 1 ),
                    esc_attr( $product->id ),
                    esc_attr( $product->get_sku() ),
                    esc_attr( isset( $class ) ? $class : 'button product_type_external' ),
                    esc_html( $product->add_to_cart_text() )
                    );
          }

          return $link;
 }

function ts_external_add_to_cart() {
                    global $product;

                    if ( ! $product->add_to_cart_url() ) {
                    return;
                    }

                    $product_url = $product->add_to_cart_url();
                    $button_text = $product->single_add_to_cart_text();

/**
 *  The code below outputs the edited button with target="_blank" added to the html markup.
 */
                    do_action( 'woocommerce_before_add_to_cart_button' ); ?>

                    <p class="cart">
                    <a href="<?php echo esc_url($product_url); ?>" rel="nofollow" class="single_add_to_cart_button                                                           button alt" target="_blank">  
                    <?php echo esc_html($button_text ); ?></a>
                    </p>

                    <?php do_action( 'woocommerce_after_add_to_cart_button' );

 }
/*
Program: Gauss Jordan Method
All array indexes are assumed to start from 1
*/

#include<iostream>
#include<iomanip>
#include<math.h>
#include<stdlib.h>

#define   SIZE   10

using namespace std;

int main()
{
	 float a[SIZE][SIZE], x[SIZE], ratio;
	 int i,j,k,n;

     /* Setting precision and writing floating point values in fixed-point notation. */
     cout<< setprecision(3)<< fixed;

	 /* Inputs */
	 /* 1. Reading number of unknowns */
	 cout<<"Enter number of unknowns: ";
	 cin>>n;

	 /* 2. Reading Augmented Matrix */
	 cout<<"Enter Coefficients of Augmented Matrix: "<< endl;
	 for(i=1;i<=n;i++)
	 {
		  for(j=1;j<=n+1;j++)
		  {
			   cout<<"a["<< i<<"]"<< j<<"]= ";
			   cin>>a[i][j];
		  }
	 }
    /* Applying Gauss Jordan Elimination */
     for(i=1;i<=n;i++)
     {
          if(a[i][i] == 0.0)
          {
               cout<<"Mathematical Error!";
               exit(0);
          }
          for(j=1;j<=n;j++)
          {
               if(i!=j)
               {
                    ratio = a[j][i]/a[i][i];
                    for(k=1;k<=n+1;k++)
                    {
                        a[j][k] = a[j][k] - ratio*a[i][k];
                    }
               }
          }
     }
     /* Obtaining Solution */
     for(i=1;i<=n;i++)
     {
        x[i] = a[i][n+1]/a[i][i];
     }

	 /* Displaying Solution */
	 cout<< endl<<"Solution: "<< endl;
	 for(i=1;i<=n;i++)
	 {
	  	cout<<"x["<< i<<"] = "<< x[i]<< endl;
	 }

	 return(0);
}


<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Belajar HTML</title>
    </head>
    <body>
        <p>Hello World!</p>
    </body>
</html>
String input = 'Envelope,Body,describeSObjectResponse,result, custom,customSetting, childRelationships,relationshipName,childSObject';

String[] values = input.split(',');
for(integer i=0, max=values.size(); i<max; i++){
	values[i] = values[i].trim();
}


System.debug('Set<String> xmlTagFilter = new Set<String>{\''  + String.join(values,'\', \'') + '\'};');
global static List<SelectOption> getDependentSelectOptions(String objectType, String controllerName, String dependentFieldName, String parentValue) {
   List<SelectOption> dependentItems = new list<SelectOption>();
   if(null!=objectType && null!=controllerName && null!=dependentFieldName && null!=parentValue){
       Schema.DescribeFieldResult dependentField;
       Integer parentValueIndex = -1;
       
       //FIRST get the Parent PL's index value
       Schema.DescribeSObjectResult objectMeta = Schema.describeSObjects(new String[]{objectType})[0];
       Schema.SObjectField[] fields = objectMeta.fields.getMap().values();
       for (Schema.SObjectField f: fields) {
           Schema.DescribeFieldResult d = f.getDescribe();
           String fieldname = d.getName().toLowerCase();
           String ftype = String.valueOf(d.getType()).toLowerCase();
           if (fieldname.equals(controllerName.toLowerCase()) && ('picklist'.equals(ftype) || 'multipicklist'.equals(ftype))) {
               Schema.PicklistEntry[] pplvalues = d.getPicklistValues();
               for(Integer i=0; i<pplvalues.size(); i++) {
                   if(parentValue.equals(pplvalues[i].getValue())){
                       parentValueIndex = i;
                       break;
                   }
               }
           }
           if(fieldname.equals(dependentFieldName.toLowerCase()) && ('picklist'.equals(ftype) || 'multipicklist'.equals(ftype))) {
                dependentField = d;
           }
       }

       //2nd get the dependent PL values mapped to the target parent PL's value
       if(-1!=parentValueIndex && null!=dependentField ){
           Schema.PicklistEntry[] plValues = dependentField.getPicklistValues();
           for (PicklistEntry plv: plValues) {
               String jsonstr = JSON.serialize(plv);
               Map<String,String> jMap = (Map<String,String>) JSON.deserialize(jsonstr, Map<String,String>.class);
               String validFor = jMap.get('validFor');
               String plvalue = jMap.get('value');
               if(null!=validFor && !''.equals(validFor.trim()) && isDependentValue(parentValueIndex,validFor)){
                   dependentItems.add(new SelectOption(plvalue, plvalue));
               }
           }
       }
   }
   return dependentItems;
}

global static Boolean isDependentValue(Integer index, String validFor) { 
   String decoded = EncodingUtil.convertToHex(EncodingUtil.base64Decode(validFor));
   Integer bits = hexToInt(decoded);
   return ( ( bits & (128>>Math.mod(index,8)) ) != 0 );
}

private static Map<String,Integer> hexMap = new Map<String, Integer>{'0'=>0,'1'=>1,'2'=>2,'3'=>3,'4'=>4,'5'=>5,'6'=>6,'7'=>7,'8'=>8,'9'=>9,'A'=>10,'B'=>11,'C'=>12,'D'=>13,'E'=>14,'F'=>15,'a'=>10,'b'=>11,'c'=>12,'d'=>13,'e'=>14,'f'=>15};
global static Integer hexToInt(String hex) {
    Integer retVal = 0;
    for(Integer i=0;i<hex.length();i+=2) {
        retVal += (hexMap.get(hex.substring(i,i+1)) * 16) + (hexMap.get(hex.substring(i+1,i+2)));
    }
    return retVal;
}
Map<String,List<String>> pickValueMap=DependentPickListValueController.GetDependentOptions('SObject','ControllingPickList','DependentPicklist');

/////////////////////////////////////////////////////////////////////////////////////////////////
public class DependentPickListValueController{
    public  DependentPickListValueController(){}
    public  static Map<String,List<String>> GetDependentOptions(String pObjName, String pControllingFieldName, String pDependentFieldName){
        Map<String,List<String>> objResults = new Map<String,List<String>>();
        //get the string to sobject global map
        Map<String,Schema.SObjectType> objGlobalMap = Schema.getGlobalDescribe();
        //get the type being dealt with
        Schema.SObjectType pType = objGlobalMap.get(pObjName);
        Map<String, Schema.SObjectField> objFieldMap = pType.getDescribe().fields.getMap();
        //get the control values   
        List<Schema.PicklistEntry> ctrl_ple = objFieldMap.get(pControllingFieldName).getDescribe().getPicklistValues();
        //get the dependent values
        List<Schema.PicklistEntry> dep_ple = objFieldMap.get(pDependentFieldName).getDescribe().getPicklistValues();
        //iterate through the values and get the ones valid for the controlling field name
        PickListUtils.Bitset objBitSet = new PickListUtils.Bitset();
        //set up the results
        for(Integer pControllingIndex=0; pControllingIndex<ctrl_ple.size(); pControllingIndex++){            
            //get the pointer to the entry
            Schema.PicklistEntry ctrl_entry = ctrl_ple[pControllingIndex];
            //get the label
            String pControllingLabel = ctrl_entry.getLabel();
            //create the entry with the label
            objResults.put(pControllingLabel,new List<String>());
        }
        //check the dependent values
        for(Integer pDependentIndex=0; pDependentIndex<dep_ple.size(); pDependentIndex++){            
            //get the pointer to the dependent index
            Schema.PicklistEntry dep_entry = dep_ple[pDependentIndex];
            //get the valid for
            String pEntryStructure = JSON.serialize(dep_entry);                
            PickListUtils.PicklistDetails objDepPLE = (PickListUtils.PicklistDetails)JSON.deserialize(pEntryStructure, PickListUtils.PicklistDetails.class);
            //iterate through the controlling values
            for(Integer pControllingIndex=0; pControllingIndex<ctrl_ple.size(); pControllingIndex++){    
                if (objBitSet.fitBit(objDepPLE.validFor,pControllingIndex)){                    
                    //get the label
                    String pControllingLabel = ctrl_ple[pControllingIndex].getLabel();
                    objResults.get(pControllingLabel).add(objDepPLE.label);
                }
            }
        } 
        return objResults;
    }
}
//////////////////////////////////////////////////////////////////

public class PickListUtils{
    public PickListUtils(){}
    public class PicklistDetails{
            public string active {get;set;}
            public string defaultValue {get;set;}
            public string label {get;set;}
            public string value {get;set;}
            public string validFor {get;set;}
            public PicklistDetails(){}
    }
    public class Bitset{
        public Map<String,Integer> AlphaNumCharCodes {get;set;}
        public Map<String, Integer> Base64CharCodes { get; set; }
        public Bitset(){
            findChacterCodes();
        }
        private void findChacterCodes(){
            AlphaNumCharCodes = new Map<String,Integer>{
                'A'=>65,'B'=>66,'C'=>67,'D'=>68,'E'=>69,'F'=>70,'G'=>71,'H'=>72,'I'=>73,'J'=>74,
                'K'=>75,'L'=>76,'M'=>77,'N'=>78,'O'=>79,'P'=>80,'Q'=>81,'R'=>82,'S'=>83,'T'=>84,
                'U'=>85,'V'=> 86,'W'=>87,'X'=>88,'Y'=>89,'Z'=>90    
            };
            Base64CharCodes = new Map<String, Integer>();
            //lower case
            Set<String> pUpperCase = AlphaNumCharCodes.keySet();
            for(String pKey : pUpperCase){
                //the difference between upper case and lower case is 32
                AlphaNumCharCodes.put(pKey.toLowerCase(),AlphaNumCharCodes.get(pKey)+32);
                //Base 64 alpha starts from 0 (The ascii charcodes started from 65)
                Base64CharCodes.put(pKey,AlphaNumCharCodes.get(pKey) - 65);
                Base64CharCodes.put(pKey.toLowerCase(),AlphaNumCharCodes.get(pKey) - (65) + 26);
            }
            //numerics
            for (Integer i=0; i<=9; i++){
                AlphaNumCharCodes.put(string.valueOf(i),i+48);
                //base 64 numeric starts from 52
                Base64CharCodes.put(string.valueOf(i), i + 52);
            }
        }
        public Boolean fitBit(String pValidFor,Integer n){
            //the list of bytes
            List<Integer> pBytes = new List<Integer>();
            //multiply by 6 since base 64 uses 6 bits
            Integer bytesBeingUsed = (pValidFor.length() * 6)/8;
            //will be used to hold the full decimal value
            Integer pFullValue = 0;
            //must be more than 1 byte
            if (bytesBeingUsed <= 1)
                return false;
            //calculate the target bit for comparison
            Integer bit = 7 - (Math.mod(n,8));
            //calculate the octet that has in the target bit
            Integer targetOctet = (bytesBeingUsed - 1) - (n >> bytesBeingUsed);
            //the number of bits to shift by until we find the bit to compare for true or false
            Integer shiftBits = (targetOctet * 8) + bit;
            //get the base64bytes
            for(Integer i=0;i<pValidFor.length();i++){
                //get current character value
                pBytes.Add((Base64CharCodes.get((pValidFor.Substring(i, i+1)))));
            }
            //calculate the full decimal value
            for (Integer i = 0; i < pBytes.size(); i++){
                Integer pShiftAmount = (pBytes.size()-(i+1))*6;//used to shift by a factor 6 bits to get the value
                pFullValue = pFullValue + (pBytes[i] << (pShiftAmount));
            }
            //shift to the bit which will dictate true or false
            Integer tBitVal = ((Integer)(Math.Pow(2, shiftBits)) & pFullValue) >> shiftBits;
            return  tBitVal == 1;
        }
     }  
 }
SELECT A.user_id, A.wallet_id, B.transaction_id, B.transaction_time, B.topupAmt,
B.card_type, B.card_holder_name, B.card_issuer, B.is_saved_card, B.senderglobalcardid, B.sendercard_type, B.sendercardbin, B.sendercardbankid
, C.masked_card_number
FROM
    (SELECT DISTINCT user_ext_id as user_id, wallet_id FROM users.users
    WHERE user_ext_id IN 
    ('U2110241916318205871081', 'U2101221250122689468012', 'U2112282013439344159321', 'U2110241642481807694848', 'U2107191951238020256439', 'U1902152038347010723952', 'U2205271514223828768249', 'U2109021517074404803427', 'U2112150747596923798283', 'U2207271819162469576415', 'U2107292052315775544822', 'U1710152015505684404281', 'U2110021431485385239216', 'U2010292114205320971683', 'U2202161915384229071660', 'U1903222026344297838871', 'U2007102000200372037263', 'U1909241158097217416551', 'U2208072142583110871728', 'U2107141135063764533304', 'U2011291301178698823590', 'U2110131914051889281007', 'U1611110659131094577687', 'U2008012126366588542105', 'U2208171046204852539784', 'U2002181754215248302889', 'U1705210144206369157895', 'U1811201226479167416690', 'U2005021929293731241365', 'U2012031922268551181650', 'U2205310620179387086767', 'U2004200845330413537123', 'U2112150836343983381594', 'U2002191351514629136543'))A
INNER JOIN
    (SELECT senderuserid, transaction_id, transaction_time, totaltransactionamount AS topupAmt,
    card_type, card_holder_name, card_issuer, is_saved_card, senderglobalcardid, sendercard_type, sendercardbin, sendercardbankid
    from fraud.transaction_details_v3
    where year(updated_date) = 2022 and month(updated_date) = 9
    AND senderuserid IN ('U2110241916318205871081', 'U2101221250122689468012', 'U2112282013439344159321', 'U2110241642481807694848', 'U2107191951238020256439', 'U1902152038347010723952', 'U2205271514223828768249', 'U2109021517074404803427', 'U2112150747596923798283', 'U2207271819162469576415', 'U2107292052315775544822', 'U1710152015505684404281', 'U2110021431485385239216', 'U2010292114205320971683', 'U2202161915384229071660', 'U1903222026344297838871', 'U2007102000200372037263', 'U1909241158097217416551', 'U2208072142583110871728', 'U2107141135063764533304', 'U2011291301178698823590', 'U2110131914051889281007', 'U1611110659131094577687', 'U2008012126366588542105', 'U2208171046204852539784', 'U2002181754215248302889', 'U1705210144206369157895', 'U1811201226479167416690', 'U2005021929293731241365', 'U2012031922268551181650', 'U2205310620179387086767', 'U2004200845330413537123', 'U2112150836343983381594', 'U2002191351514629136543')
    and sendertype = 'INTERNAL_USER' AND workflowtype = 'CONSUMER_TO_MERCHANT'
    and pay_transaction_status = 'COMPLETED' AND errorcode = 'SUCCESS'
    and receiveruser IN ('PHONEPEWALLETTOPUP','NEXUSWALLETTOPUP') AND card_flag = true)B
ON A.user_id = B.senderuserid
INNER JOIN
    (SELECT transaction_id as txn_id, masked_card_number
    FROM  payment.transaction_payer_sources
    WHERE year = 2022 and month= 9 AND state = 'COMPLETED')C
ON B.transaction_id = C.txn_id 
writeAddMethod('controllingFields','ControllingField', 'String');
writeAddMethod('actionOverrides','ActionOverride', 'ActionOverride');
writeAddMethod('childRelationships','ChildRelationship', 'ChildRelationship');
writeAddMethod('fields','Field', 'Field');
writeAddMethod('namedLayoutInfos','NamedLayoutInfo', 'NamedLayoutInfo');
writeAddMethod('recordTypeInfos','RecordTypeInfo', 'RecordTypeInfo');
writeAddMethod('supportedScopes','ScopeInfo', 'ScopeInfo');

/**
 * Method to quickly write an add method to for a class
 */
void writeAddMethod(String listVariableName, String className, String dataType){
	System.debug('/**');
	System.debug(' * Method to add a '+dataType+' Object to the ' + listVariableName + ' variable');
	System.debug(' */');
	System.debug('global void add' + className + '(' + dataType + ' ' + className.uncapitalize()+'){');
	System.debug('	if(this.' + listVariableName + ' == null){');
	System.debug('		this.' + listVariableName + ' = new ' + dataType+'[]{};');
	System.debug('	}');
	System.debug('	this.' + listVariableName + '.add(' + className.uncapitalize() + ');');
	System.debug('}');
	System.debug('');
	System.debug('');
}
Arrow Key	Control Sequence Introducer (CSI)
↑	ESC [ A
↓	ESC [ B
→	ESC [ C
←	ESC [ D
let cadesCheck = searchValue.includes("cade");
    if (cadesCheck){
    $w('#btnCadesDropbox').show();
}
helm install ortugem mimir/operations/helm/charts/mimir-distributed/ --dependency-update --create-namespace --namespace ortugem --set 'enterprise.enabled=true' --set-file 'license.contents=./license.jwt'
using System.Collections;
using System.Collections.Generic;
using UnityEditor.Experimental.GraphView;
using UnityEngine;
using UnityEngine.UIElements;

public class AtomController : MonoBehaviour
{
    // Start is called before the first frame update
    public GameObject atomPrefab;
    
    public int atomCount = 1;

    private void Update()
    {
        if (Input.GetMouseButtonDown(0))
           
        {
            StartCoroutine(PlaceAtom());
        }
    }
    private IEnumerator PlaceAtom()
    {
        Vector2 position = transform.position;
        position.x = Mathf.Round(position.x);
        position.y = Mathf.Round(position.y);

        GameObject atom = Instantiate(atomPrefab, position, Quaternion.identity);
        yield return atom;
    }


}
{
  
  "display": {
        "xl": "none",
        "lg": "none",
        "md": "none",
        "sm": "none",
        "xs": "initial"
    }
  
  
}




{
  
  "visibility": {
        "xl": "visible",
        "lg": "visible",
        "md": "visible",
        "sm": "hidden",
        "xs": "hidden"
    } 
  
}





//C program for creating & simulating a Snake & Ladder Game
// Coded by: Akash Mahesh Ganjal. /\('-')/\ 
//Constraints and Rules
/*
1.The game will begin with any dice value.
2.If a 6(six) is appeared then a chance is awarded to that player.
3.Only the location of current player is shown on the board,
	the location of other player is mentioned below the board.
4.Snakes:- 99 to  1, 65 to 40, 25 to 9.
5.Ladder:- 70 to 93, 60 to 83, 13 to 42.

*/
#include<stdio.h>
#include<stdlib.h>
int rd()
{
    //clrscr();
	int rem;
	A:rem=rand()%7;
	if(rem==0)
		goto A;
	else
		return rem;
}
void displaychart(int curp,char player[4])
{	int i,j,t,c,sft=0,diceres,pos1,pos2;
	
		
		if(curp==100)
		{
			printf("*****Congratulations*****\n\n\nPlayer %s wins\n",player);
			scanf("%*s");
			exit(0);
		}
	
	for(i=10;i>0;i--)
	{
		t=i-1;
		if((sft%2)==0)
		{
			c=0;
			for(j=10;j>=1;j--)
			{
				diceres=(i*j)+(t*c++);
				
				if(curp==diceres)
					printf("%s\t",player);
				else
				printf("%d\t",diceres);
		
			}
			sft++;
		}
		else
		{
			c=9;
			for(j=1;j<=10;j++)
			{
				diceres=(i*j)+(t*c--);
				
				if(curp==diceres)
					printf("%s\t",player);
				else
					printf("%d\t",diceres);
			}
		
			
			sft++;
		}
		printf("\n\n");
	}

	

	printf("--------------------------------------------------------------------------\n");
}
void main()
{
	int i,dice,cur_pos1=0,cur_pos2=0;
	char ch;
	while(1)
	{	printf("		** SNAKE AND LADDER GAME** \n		Coded By SARAVANAN \n");
		printf("Snakes:- 25 to 9,\t 65 to 40,\t 99 to  1.\nLadder:- 13 to 42,\t 60 to 83,\t 70 to 93.\n");
		printf("Choose your option\n");
		printf("1. Player 1 plays\n");
		printf("2. Player 2 plays\n");
		printf("3. Exit\n");
		scanf("%s",&ch);
	
		switch(ch)
		{
			
			case '1':dice=rd();
			system("cls");
					printf("\t\t\t\tDice = %d\n\n",dice);
					if(dice==6)
					printf("Dice=6: You have earned a chance to play one more time.\n");
					cur_pos1=dice+cur_pos1;
					if(cur_pos1<101){
						if(cur_pos1==99)
						{
						displaychart(1,"$P1$");//snake
						}
						if(cur_pos1==65)
						{
						displaychart(40,"$P1$");//snake
						}
						if(cur_pos1==25)
						{
						displaychart(9,"$P1$");//snake
						}
						if(cur_pos1==70)
						{
						displaychart(93,"$P1$");//ladder
						}
						if(cur_pos1==60)
						{
						displaychart(83,"$P1$");//ladder
						}
						if(cur_pos1==13)
						{
						displaychart(42,"$P1$");//ladder
						}
						else{
							displaychart(cur_pos1,"$P1$");
						}
						
					}
					else{
						cur_pos1=cur_pos1-dice;
						printf("Range exceeded of Player 1.\n");
						displaychart(cur_pos1,"$P1$");
					}
					printf("Player 2 position is %d\n",cur_pos2);
			
				break;
			case '2':dice=rd();
			system("cls");
					printf("\t\t\t\tDice = %d\n\n",dice);
					cur_pos2=dice+cur_pos2;
					if(cur_pos2<101){
						if(cur_pos2==99)	//snake
						{
						displaychart(1,"$P2$");
						}
						if(cur_pos2==65)	//snake
						{
						displaychart(40,"$P2$");
						}
						if(cur_pos2==25)	//snake
						{
						displaychart(9,"$P2$");
						}
						if(cur_pos2==70)	//ladder
						{
						displaychart(93,"$P2$");
						}
						if(cur_pos2==60)	//ladder
						{
						displaychart(83,"$P2$");
						}
						if(cur_pos2==13) 	//ladder
						{
						displaychart(42,"$P2$");
						}
						else{
							displaychart(cur_pos2,"$P2$");
						}
					}
						
					else{
						cur_pos2=cur_pos2-dice;
						printf("Range exceeded of Player 2.\n");
						displaychart(cur_pos2,"$P2$");
					}
					printf("Player 1 position is %d\n",cur_pos1);
				break;
			case '3':exit(0);
				break;
			
			default:printf("Incorrect choice.Try Again\n");
				
		}
		
	}
	
}
SELECT A.user_id, A.wallet_id, B.transaction_id, B.transaction_time, B.topupAmt,
B.card_type, B.card_holder_name, B.card_issuer, B.is_saved_card, B.senderglobalcardid, B.sendercard_type, B.sendercardbin, B.sendercardbankid
, C.masked_acc_id
FROM
    (SELECT DISTINCT user_ext_id as user_id, wallet_id FROM users.users
    WHERE user_ext_id IN 
    ('U2110241916318205871081', 'U2101221250122689468012', 'U2112282013439344159321', 'U2110241642481807694848', 'U2107191951238020256439', 'U1902152038347010723952', 'U2205271514223828768249', 'U2109021517074404803427', 'U2112150747596923798283', 'U2207271819162469576415', 'U2107292052315775544822', 'U1710152015505684404281', 'U2110021431485385239216', 'U2010292114205320971683', 'U2202161915384229071660', 'U1903222026344297838871', 'U2007102000200372037263', 'U1909241158097217416551', 'U2208072142583110871728', 'U2107141135063764533304', 'U2011291301178698823590', 'U2110131914051889281007', 'U1611110659131094577687', 'U2008012126366588542105', 'U2208171046204852539784', 'U2002181754215248302889', 'U1705210144206369157895', 'U1811201226479167416690', 'U2005021929293731241365', 'U2012031922268551181650', 'U2205310620179387086767', 'U2004200845330413537123', 'U2112150836343983381594', 'U2002191351514629136543'))A
INNER JOIN
    (SELECT senderuserid, transaction_id, transaction_time, totaltransactionamount AS topupAmt,
    card_type, card_holder_name, card_issuer, is_saved_card, senderglobalcardid, sendercard_type, sendercardbin, sendercardbankid
    from fraud.transaction_details_v3
    where year(updated_date) = 2022 and month(updated_date) = 9
    AND senderuserid IN ('U2110241916318205871081', 'U2101221250122689468012', 'U2112282013439344159321', 'U2110241642481807694848', 'U2107191951238020256439', 'U1902152038347010723952', 'U2205271514223828768249', 'U2109021517074404803427', 'U2112150747596923798283', 'U2207271819162469576415', 'U2107292052315775544822', 'U1710152015505684404281', 'U2110021431485385239216', 'U2010292114205320971683', 'U2202161915384229071660', 'U1903222026344297838871', 'U2007102000200372037263', 'U1909241158097217416551', 'U2208072142583110871728', 'U2107141135063764533304', 'U2011291301178698823590', 'U2110131914051889281007', 'U1611110659131094577687', 'U2008012126366588542105', 'U2208171046204852539784', 'U2002181754215248302889', 'U1705210144206369157895', 'U1811201226479167416690', 'U2005021929293731241365', 'U2012031922268551181650', 'U2205310620179387086767', 'U2004200845330413537123', 'U2112150836343983381594', 'U2002191351514629136543')
    and sendertype = 'INTERNAL_USER' AND workflowtype = 'CONSUMER_TO_MERCHANT'
    and pay_transaction_status = 'COMPLETED' AND errorcode = 'SUCCESS'
    and receiveruser IN ('PHONEPEWALLETTOPUP','NEXUSWALLETTOPUP') AND card_flag = true)B
ON A.user_id = B.senderuserid
INNER JOIN
    (SELECT eventdata_senderuser AS user_id, eventdata_transactionid AS txn_id, eventdata_sendermaskaccountid as masked_acc_id
    FROM foxtrot_stream.payment_backend_transact
    WHERE year = 2022 and month= 9 and eventdata_senderuser IN 
    ('U2110241916318205871081', 'U2101221250122689468012', 'U2112282013439344159321', 'U2110241642481807694848', 'U2107191951238020256439', 'U1902152038347010723952', 'U2205271514223828768249', 'U2109021517074404803427', 'U2112150747596923798283', 'U2207271819162469576415', 'U2107292052315775544822', 'U1710152015505684404281', 'U2110021431485385239216', 'U2010292114205320971683', 'U2202161915384229071660', 'U1903222026344297838871', 'U2007102000200372037263', 'U1909241158097217416551', 'U2208072142583110871728', 'U2107141135063764533304', 'U2011291301178698823590', 'U2110131914051889281007', 'U1611110659131094577687', 'U2008012126366588542105', 'U2208171046204852539784', 'U2002181754215248302889', 'U1705210144206369157895', 'U1811201226479167416690', 'U2005021929293731241365', 'U2012031922268551181650', 'U2205310620179387086767', 'U2004200845330413537123', 'U2112150836343983381594', 'U2002191351514629136543'))C
ON A.user_id = C.user_id AND B. transaction_id - C.txn_id 
import { CropperObj, IImageCropperResult } from '@eduswiper/types';
import { expose } from 'threads/worker';

expose(function onExportCanvas(
	cropperObj: CropperObj
): Promise<IImageCropperResult> {
	return new Promise((resolve) => {
		const imageData = cropperObj.cropper.getImageData();
		const canvasData = cropperObj.cropper.getCanvasData();
		const canvas = cropperObj.cropper.getCroppedCanvas();
		const editedURL = canvas.toDataURL();

		resolve({ canvasData, imageData, editedURL });
	});
});
import { Injectable } from '@angular/core';
import { CropperObj, IDataToCrop, IImageCropperResult } from '@eduswiper/types';
import { spawn } from 'threads';
import { CardCollectionService } from 'libs/card-collection/src/lib/card-collection.service';
import { CropperService } from 'libs/cropper/src/lib/cropper/cropper.service';
import { BehaviorSubject } from 'rxjs';

@Injectable({
	providedIn: 'root',
})
export class CropAllService {
	croppersArray: { cropper: Cropper; id: string }[] = [];
	cropperArray = new BehaviorSubject<{ cropper: Cropper; id: string }[]>(
		this.croppersArray
	);
	cropperArray$ = this.cropperArray.asObservable();

	constructor(
		private cardCollectionService: CardCollectionService,
		private cropperService: CropperService
	) {}

	addCropperToArray(cropperObj: CropperObj) {
		this.croppersArray.push(cropperObj);
		this.cropperArray.next(this.croppersArray);
	}
	removeCropperFromArray(cardId: string) {
		this.croppersArray.forEach((cropperObj) => {
			if (cardId === cropperObj.id) {
				const index = this.croppersArray.indexOf(cropperObj);
				this.croppersArray.splice(index, 1);
				this.cropperArray.next(this.croppersArray);
			}
		});
	}

	async cropToCenter(cropperObj: CropperObj) {
		const imageData = cropperObj.cropper.getImageData();
		const containerData = cropperObj.cropper.getContainerData();
		cropperObj.cropper.reset();

		let ratio: number;

		if (imageData.naturalHeight > imageData.naturalWidth) {
			ratio = containerData.height / imageData.naturalWidth;
		} else {
			ratio = containerData.width / imageData.naturalHeight;
		}
		cropperObj.cropper.zoomTo(ratio);
		type IOnExportCanvas = (
			cropperObj: CropperObj
		) => Promise<IImageCropperResult>;
		const onExportCanvas = await spawn<IOnExportCanvas>(
			new Worker(new URL('on-export-canvas.ts', import.meta.url), {
				type: 'module',
			})
		);
		const data = await onExportCanvas(cropperObj);
		data.editedURL &&
			this.cardCollectionService.changeEditedPhoto(
				cropperObj.id,
				data.editedURL
			);
		this.changeImagesAfterCrop(data, cropperObj.id);
	}
	async cropToFit(cropperObj: CropperObj) {
		cropperObj.cropper.reset();

		type IOnExportCanvas = (
			cropperObj: CropperObj
		) => Promise<IImageCropperResult>;
		const onExportCanvas = await spawn<IOnExportCanvas>(
			new Worker(new URL('on-export-canvas.ts', import.meta.url), {
				type: 'module',
			})
		);
		const data = await onExportCanvas(cropperObj);

		data.editedURL &&
			this.cardCollectionService.changeEditedPhoto(
				cropperObj.id,
				data.editedURL
			);
		this.changeImagesAfterCrop(data, cropperObj.id);
	}

	cropToCenterAll() {
		this.croppersArray.forEach((cropperObj) => {
			this.cropToCenter(cropperObj);
		});
	}

	cropToFitAll() {
		this.croppersArray.forEach((cropperObj) => {
			this.cropToFit(cropperObj);
		});
	}
	initialCrop(cropper: Cropper, id: string) {
		const croppedCard = this.cardCollectionService.currWorkspace.cards.find(
			(card) => card.id === id && card.freshInstance
		);
		if (croppedCard) {
			croppedCard.freshInstance = false;
			this.cropToCenter({ cropper, id });
			this.cardCollectionService.updateCards();
		}
	}

	changeImagesAfterCrop(croppData: IImageCropperResult, id: string) {
		const changeData: IDataToCrop = {
			canvasTop: croppData.canvasData.top,
			canvasLeft: croppData.canvasData.left,
			canvasWidth: croppData.canvasData.width,
			canvasHeight: croppData.canvasData.height,
			imageWidth: croppData.imageData.width,
			imageHeight: croppData.imageData.height,
			imageLeft: croppData.imageData.left,
			imageTop: croppData.imageData.top,
			imageRotate: croppData.imageData.rotate,
		};
		this.cardCollectionService.changePositionImg(changeData, id);
	}
}
topk by (pod) (10,
    sum by (user, pod) ( # get in-memory series for each tenant on each pod
        cortex_ingester_memory_series_created_total{namespace="cortex-prod-10", pod="ingester-zone-c-70"} - cortex_ingester_memory_series_removed_total{namespace="cortex-prod-10", pod="ingester-zone-c-70"}
    ))
with base as
    (SELECT DISTINCT A.landlord
    , IF(B.phone_number IS NOT NULL, B.phone_number, NULL) AS landlord_phoneno
    , IF(C.reciver_vpa IS NOT NULL, C.reciver_vpa, NULL) AS landlord_vpa
    , IF(B.user_id IS NOT NULL, B.user_id, C.user_id) as landlord_user_id
    , A.sender
    , A.txn_id, A.amt, A.CC, A.day
    , A.month
    FROM
        (select distinct eventdata_merchantcontext_contactid as landlord
        , eventdata_transactionid AS txn_id
        ,eventdata_sender as sender
        ,eventdata_senderphone
        ,eventdata_totaltransactionamount/100 as amt
        ,eventdata_senderglobalcardid as CC
        ,month,day
        from foxtrot_stream.payment_backend_transact
        where 0 = 0
        AND year = year(date_sub ('2022-11-03', 15)) 
        AND month = month(date_sub ('2022-11-03', 15))
        AND eventtype = 'PAYMENT'
        AND eventdata_status = 'COMPLETED'
        AND eventdata_receiveruser = 'PHONEPERENTPAYMENT'
        AND eventdata_sendertype = 'INTERNAL_USER'
        AND eventdata_workflowtype = 'CONSUMER_TO_MERCHANT'
        AND eventdata_receiversubtype = 'ONLINE_MERCHANT'
        AND eventdata_receivertypeinrequest = 'MERCHANT'
        AND eventdata_receivertype = 'MERCHANT'
        AND ((LENGTH(eventdata_merchantcontext_contactid) = 10) 
            OR (eventdata_merchantcontext_contactid LIKE '%@ybl') 
            OR (eventdata_merchantcontext_contactid LIKE '%@ibl') 
            OR (eventdata_merchantcontext_contactid LIKE '%@axl')))A
    LEFT JOIN
        (SELECT DISTINCT user_ext_id AS user_id, phone_number
        FROM users.users
        WHERE blacklisted = 0)B
    ON A.landlord = B.phone_number
    LEFT JOIN
        (SELECT DISTINCT receiveruser as user_id, reciver_vpa
        FROM fraud.transaction_details_v3
        WHERE year(updated_date) = year(date_sub ('2022-11-03', 15))
        AND Month(updated_date) =  month(date_sub ('2022-11-03', 15))
        AND errorcode = 'SUCCESS' and pay_transaction_status = 'COMPLETED'
        AND ((reciver_vpa LIKE '%@ybl') OR (reciver_vpa LIKE '%@ibl') OR (reciver_vpa LIKE '%@axl')))C
    ON A.landlord = C.reciver_vpa)

SELECT DATE_SUB('2022-11-03',34) starting_date, DATE_SUB('2022-11-03',4) ending_date
,A.identifier identifier
,active_days active_days 
,'top_landlord_highest_tenants' red_flag
,'monthly' date_range
,'AML' `group`
,'FRA' `type`
,'Alerts' type_fra
,'User' issue_type
,'CC' sub_issue_type
,A.tenants comment
,A.totRentAmt value
,(case when B.identifier is null then 'New' else 'Repeat' end) as new_or_repeat
,'2022-11-03' run_date FROM
    (SELECT landlord_user_id as identifier
    , month
    , COUNT(DISTINCT sender) as tenants
    , SUM(amt) as totRentAmt
    , COUNT(DISTINCT day) as active_days 
    , row_number() OVER (PARTITION BY month ORDER BY COUNT(DISTINCT sender) DESC, SUM(amt) DESC) rn
    FROM base
    WHERE landlord_user_id IS NOT NULL
    GROUP BY landlord_user_id, month
    HAVING tenants > 1)A
LEFT JOIN
    (select DISTINCT identifier from fraud.aml_freshdesk_month)B
on A.identifier = B.identifier  
WHERE A.rn <= 5

-----------------------------------------------------------------------------
%jdbc(hive)
set tez.queue.name=default;
set hive.execution.engine=tez;

-- active in last 3 months too
with base as
    (SELECT DISTINCT A.landlord
    , IF(B.phone_number IS NOT NULL, B.phone_number, NULL) AS landlord_phoneno
    , IF(C.reciver_vpa IS NOT NULL, C.reciver_vpa, NULL) AS landlord_vpa
    , IF(B.user_id IS NOT NULL, B.user_id, C.user_id) as landlord_user_id
    , A.sender
    , A.txn_id, A.amt, A.CC, A.day
    , A.month, A.year
    FROM
        (select distinct eventdata_merchantcontext_contactid as landlord
        , eventdata_transactionid AS txn_id
        ,eventdata_sender as sender
        ,eventdata_senderphone
        ,eventdata_totaltransactionamount/100 as amt
        ,eventdata_senderglobalcardid as CC
        ,month,day, year
        from foxtrot_stream.payment_backend_transact
        where 0 = 0
        AND year IN (year(date_sub ('2022-12-03', 15)),  year(date_sub ('2022-12-03', 45)), year(date_sub ('2022-12-03', 75)), year(date_sub ('2022-12-03', 105)))
        AND month IN (month(date_sub ('2022-12-03', 15)),  month(date_sub ('2022-12-03', 45)), month(date_sub ('2022-12-03', 75)), month(date_sub ('2022-12-03', 105)))
        AND eventtype = 'PAYMENT'
        AND eventdata_status = 'COMPLETED'
        AND eventdata_receiveruser = 'PHONEPERENTPAYMENT'
        AND eventdata_sendertype = 'INTERNAL_USER'
        AND eventdata_workflowtype = 'CONSUMER_TO_MERCHANT'
        AND eventdata_receiversubtype = 'ONLINE_MERCHANT'
        AND eventdata_receivertypeinrequest = 'MERCHANT'
        AND eventdata_receivertype = 'MERCHANT'
        AND ((LENGTH(eventdata_merchantcontext_contactid) = 10) 
            OR (eventdata_merchantcontext_contactid LIKE '%@ybl') 
            OR (eventdata_merchantcontext_contactid LIKE '%@ibl') 
            OR (eventdata_merchantcontext_contactid LIKE '%@axl')))A
    LEFT JOIN
        (SELECT DISTINCT user_ext_id AS user_id, phone_number
        FROM users.users
        WHERE blacklisted = 0)B
    ON A.landlord = B.phone_number
    LEFT JOIN
        (SELECT DISTINCT receiveruser as user_id, reciver_vpa
        FROM fraud.transaction_details_v3
        WHERE year(updated_date) IN (year(date_sub ('2022-12-03', 15)),  year(date_sub ('2022-12-03', 45)), year(date_sub ('2022-12-03', 75)), year(date_sub ('2022-12-03', 105)))
        AND Month(updated_date) IN (month(date_sub ('2022-12-03', 15)),  month(date_sub ('2022-12-03', 45)), month(date_sub ('2022-12-03', 75)), month(date_sub ('2022-12-03', 105)))
        AND errorcode = 'SUCCESS' and pay_transaction_status = 'COMPLETED'
        AND ((reciver_vpa LIKE '%@ybl') OR (reciver_vpa LIKE '%@ibl') OR (reciver_vpa LIKE '%@axl')))C
    ON A.landlord = C.reciver_vpa)
 
SELECT DATE_SUB('2022-12-03',34) starting_date, DATE_SUB('2022-12-03',4) ending_date
,A.identifier identifier
,A.active_days active_days 
,'top_landlord_highest_tenants' red_flag
,'monthly' date_range
,'AML' `group`
,'FRA' `type`
,'Alerts' type_fra
,'User' issue_type
,'CC' sub_issue_type
,A.tenants comment
,A.totRentAmt value
,(case when (B.identifier is null AND D.identifier is null) then 'New' else 'Repeat' end) as new_or_repeat
,'2022-12-03' run_date FROM
    (SELECT landlord_user_id as identifier
    , month
    , COUNT(DISTINCT sender) as tenants
    , SUM(amt) as totRentAmt
    , COUNT(DISTINCT day) as active_days 
    , row_number() OVER (PARTITION BY month ORDER BY COUNT(DISTINCT sender) DESC, SUM(amt) DESC) rn
    FROM base
    WHERE year = year(date_sub ('2022-12-03', 15)) AND month = month(date_sub ('2022-12-03', 15))
    AND landlord_user_id IS NOT NULL
    GROUP BY landlord_user_id, month
    HAVING tenants > 3)A
INNER JOIN
    (SELECT identifier, COUNT(DISTINCT month) as months FROM
        (SELECT landlord_user_id as identifier
        , month
        , COUNT(DISTINCT sender) as tenants
        FROM base
        WHERE year IN (year(date_sub ('2022-12-03', 105)), year(date_sub ('2022-12-03', 45)), year(date_sub ('2022-12-03', 75)))  
        AND month IN (month(date_sub ('2022-12-03', 105)), month(date_sub ('2022-12-03', 45)), month(date_sub ('2022-12-03', 75)))
        AND landlord_user_id IS NOT NULL
        GROUP BY landlord_user_id, month)X
    WHERE tenants > 3
    GROUP BY identifier
    HAVING months = 3)C
ON A.identifier = C.identifier
LEFT JOIN
    (select DISTINCT identifier from fraud.aml_freshdesk_month)B
on A.identifier = B.identifier
LEFT JOIN
    (select DISTINCT identifier from fraud.aml_freshdesk)D
on A.identifier = D.identifier
WHERE A.rn <= 5
%jdbc(hive)
set tez.queue.name=default;
set hive.execution.engine=tez;
 
with base as
(SELECT DISTINCT A.landlord
, IF(B.phone_number IS NOT NULL, B.phone_number, NULL) AS landlord_phoneno
, IF(C.reciver_vpa IS NOT NULL, C.reciver_vpa, NULL) AS landlord_vpa
, IF(B.user_id IS NOT NULL, B.user_id, C.user_id) as landlord_user_id
, A.sender
, A.txn_id, A.amt, A.CC
, A.month, A.day, A.timee
, A.eventdata_senderglobalcardid, A.eventdata_receiverbankifsc, A.eventdata_receiverbankaccountsha, A.eventdata_receivermaskaccountid
FROM
    (select distinct eventdata_merchantcontext_contactid as landlord
    , eventdata_transactionid AS txn_id
    ,eventdata_sender as sender
    ,eventdata_senderphone
    ,eventdata_totaltransactionamount/100 as amt
    ,eventdata_senderglobalcardid as CC
    ,month, day, `time` as timee, eventdata_senderglobalcardid, eventdata_receiverbankifsc, eventdata_receiverbankaccountsha, eventdata_receivermaskaccountid
    from foxtrot_stream.payment_backend_transact
    where 0 = 0
    and year = 2022 and month = 10 ------------------- CHANGE THIS IF REQUIRED
    and eventtype = 'PAYMENT'
    and eventdata_status = 'COMPLETED'
    and eventdata_receiveruser = 'PHONEPERENTPAYMENT'
    and eventdata_sendertype = 'INTERNAL_USER'
    AND eventdata_workflowtype = 'CONSUMER_TO_MERCHANT'
    AND eventdata_receiversubtype = 'ONLINE_MERCHANT'
    AND eventdata_receivertypeinrequest = 'MERCHANT'
    AND eventdata_receivertype = 'MERCHANT'
    AND ((LENGTH(eventdata_merchantcontext_contactid) = 10) OR (eventdata_merchantcontext_contactid LIKE '%@ybl') OR (eventdata_merchantcontext_contactid LIKE '%@ibl') OR (eventdata_merchantcontext_contactid LIKE '%@axl')))A
LEFT JOIN
    (SELECT DISTINCT user_ext_id AS user_id, phone_number
    FROM users.users
    WHERE blacklisted = 0)B
ON A.landlord = B.phone_number
LEFT JOIN
    (SELECT DISTINCT receiveruser as user_id, reciver_vpa
    FROM fraud.transaction_details_v3
    WHERE year(updated_date) = 2022 AND Month(updated_date) = 10 ------------------- CHANGE THIS IF REQUIRED
    AND errorcode = 'SUCCESS' and pay_transaction_status = 'COMPLETED'
    AND ((reciver_vpa LIKE '%@ybl') OR (reciver_vpa LIKE '%@ibl') OR (reciver_vpa LIKE '%@axl')))C
ON A.landlord = C.reciver_vpa)
 
SELECT DISTINCT A.sender, A.landlord_user_id, A.landlord, A.txn_id, A.amt, A.month, A.day, A.timee, A.eventdata_senderglobalcardid
, A.eventdata_receiverbankifsc, A.eventdata_receiverbankaccountsha, A.eventdata_receivermaskaccountid FROM
    (SELECT sender, landlord_user_id, landlord, txn_id, amt, month, day, timee, eventdata_senderglobalcardid, eventdata_receiverbankifsc, eventdata_receiverbankaccountsha, eventdata_receivermaskaccountid
    FROM base
    WHERE landlord_user_id IS NOT NULL)A
INNER JOIN
    (SELECT DISTINCT sender FROM base
    where landlord_user_id IN ------------------- CHANGE THIS IF REQUIRED
    ('U1712101226474860706675','U2004061302413273169962','U1910201422273739177907','U1611120053088447066378','U1611141714021379188138','U1611111841083258830739'))B
ON A.sender = B.sender
from sklearn.cross_validation import StratifiedKFold

def load_data():
    # load your data using this function

def create model():
    # create your model using this function

def train_and_evaluate__model(model, data[train], labels[train], data[test], labels[test)):
    model.fit...
    # fit and evaluate here.

if __name__ == "__main__":
    n_folds = 10
    data, labels, header_info = load_data()
    skf = StratifiedKFold(labels, n_folds=n_folds, shuffle=True)

    for i, (train, test) in enumerate(skf):
            print "Running Fold", i+1, "/", n_folds
            model = None # Clearing the NN.
            model = create_model()
            train_and_evaluate_model(model, data[train], labels[train], data[test], labels[test))
>>> l = [-1, 3, 2, 0,0]
>>> [sorted(l).index(x) for x in l]
[0, 4, 3, 1, 1]
df['TIMESINCE'] = (pd.Timestamp.today() - df['REGDATE']).dt.days
df['YEARSSINCE'] = df['timesince'] / 365
df
public class FizzBuzz{

  public static void main(String[] args){

for (int i = 1; i<= 100; i++){

  if((i %3 == 0) && (i %5 == 0)){
    System.out.println("FizzBuzz");
  }else if (i %5 == 0){
     System.out.println("Buzz");
  } else if(i %3 == 0){
    System.out.println("Fizz");
  }else{
  System.out.println(i);
  }
    
     
  }
}


  }
const puppeteer = require('puppeteer-extra')
const pluginStealth = require('puppeteer-extra-plugin-stealth')
puppeteer.use(pluginStealth())


async function main() {
    const browser = await puppeteer.launch({
        headless: false,
        defaultViewport: null,
        executablePath: 'C:\\c-dev\\chrome.exe'
    })
    const [page] = await browser.pages()
    await page.goto('https://www.monotaro.id/s000009132.html', {timeout: 0, waitUntil: 'domcontentloaded'})
    await page.waitForSelector('#product-attribute-specs-table', {timeout: 0})
    const berat = await page.evaluate(() => {
        let b = 0
        const selector_head = '#product-attribute-specs-table tbody tr:nth-child({}) th'
        const selector_body = '#product-attribute-specs-table tbody tr:nth-child({}) td'
        let i = 1
        document.querySelectorAll('#product-attribute-specs-table tbody tr').forEach(el => {
            const data = {
                name: document.querySelector(selector_head.replace('{}', i)).innerText,
                value: document.querySelector(selector_body.replace('{}', i)).innerText
            }
            if(data.name == 'Berat (Kg)') b = data.value.match(/^[0-9]*\.?[0-9]*$/)[0]
            i+=1
        })
        return b
    })
    console.log(berat)
}

main()
define( 'WP_MEMORY_LIMIT', '256M' );
 String result = CharStreams.toString(new InputStreamReader(
       inputStream, Charsets.UTF_8));
 String result = CharStreams.toString(new InputStreamReader(
       inputStream, Charsets.UTF_8));
function np_woocommerce_sorting_attributes_list( $attr ) {

	return wp_list_sort( $attr, 'attribute_label', 'ASC' );
}

add_filter( 'woocommerce_attribute_taxonomies', 'np_woocommerce_sorting_attributes_list' );
import { useState, useEffect } from "react";
import ReactLoading from "react-loading";
import Formsy from "formsy-react";
import { API } from "aws-amplify";
import OCVForm from "./OCVForm";

const axios = require("axios");

export const FormWrapper = ({
  viewData,
  classes,
  formID,
  link,
  headerText,
  submissionText,
  anchorID,
}) => {
  const [activePage, setActivePage] = useState(0);
  const [state, setState] = useState({});
  const [formData, setFormData] = useState(null);
  const [isSubmitting, setIsSubmitting] = useState(false);
  const [isSubmitted, setIsSubmitted] = useState(false);

  const disableButton = () => {
    //setCanSubmit(false);
    setState({ ...state, canSubmit: false });
  };
  const enableButton = () => {
    //setCanSubmit(true);
    setState({ ...state, canSubmit: true });
  };

  const submit = (model) => {
    setIsSubmitting(true);
    API.post("ocvapps", "/form/submission", {
      body: {
        appID: formData.appID,
        data: {
          formID: formID,
          formData: model,
        },
      },
      headers: {
        "x-api-key": "AJgsD4mQAY95dQiaJecac3WBvEFlqnvn3vAxI93f",
        "Content-Type": "application/json",
      },
    })
      .then((response) => {
        if (response?.response?.statusCode === 200) {
          setIsSubmitting(false);
          setIsSubmitted(true);
        } else {
          setIsSubmitting(false);
          setIsSubmitted(false);
          alert(
            "There has been a problem with your form submission. Contact the Web Administrator for help."
          );
        }
      })
      .catch((error) => {
        setIsSubmitting(false);
        setIsSubmitted(false);
        alert(error);
      });
  };

  // retrieve formData
  useEffect(() => {
    async function getFormData() {
      try {
        const response = await axios.get(link);
        setFormData(response?.data?.data);
      } catch (error) {
        console.error(error);
      }
    }

    getFormData();
  }, [link]);

  if (formData === null) {
    return (
      <div className="OCVFormDiv">
        <ReactLoading
          className="loading-centered"
          type={"spinningBubbles"}
          color={"#105c9c"}
          height={"10%"}
          width={"10%"}
        />
      </div>
    );
  } else {
    return (
      <Formsy
        onValidSubmit={submit}
        onValid={enableButton}
        onInvalid={disableButton}
      >
        <OCVForm
          isSubmitted={isSubmitted}
          isSubmitting={isSubmitting}
          disableButton={disableButton}
          enableButton={enableButton}
          formData={formData}
          formID={formID}
          headerText={headerText}
          submissionText={submissionText}
          anchorID={anchorID}
          classes={classes}
          viewData={viewData}
          state={state}
          setState={setState}
          activePage={activePage}
          setActivePage={setActivePage}
        />
      </Formsy>
    );
  }
};
SELECT
	*
	--id, project_name, metric_name, "time", value, display_value, geometry_id
	FROM public.metrics_app_timeandgeometric as a
	join public.metrics_app_geometry as b on a.geometry_id=b.id
	where project_name = 'Lasswade'
	and metric_name = 'peopleCount'
	and time >= '2022-10-20'
	and geometry_name in ('School entrance_count',
						  'School entrance high_count',
						  'Entrance Door 1_count',
						  'Entrance Door 2_count',
						  'Entrance Door 3_count',
						  'Rear exit 1_count',
						  'Rear exit 2_count'
						 )
	order by time
import { useState, useEffect } from "react";
import ReactLoading from "react-loading";
import Formsy from "formsy-react";
import { API } from "aws-amplify";
import OCVForm from "./OCVForm";
import axios from "axios";

export const FormWrapper = ({
  viewData,
  classes,
  formID,
  link,
  headerText,
  submissionText,
  anchorID,
}) => {
  const [activePage, setActivePage] = useState(0);
  const [state, setState] = useState({});
  const [formData, setFormData] = useState(null);
  const [isSubmitting, setIsSubmitting] = useState(false);
  const [isSubmitted, setIsSubmitted] = useState(false);

  const disableButton = () => {
    // setCanSubmit(false);
    setState({ ...state, canSubmit: false });
  };
  const enableButton = () => {
    // setCanSubmit(true);
    setState({ ...state, canSubmit: true });
  };

  const submit = (model) => {
    setIsSubmitting(true);
    API.post("ocvapps", "/form/submission", {
      body: {
        appID: formData.appID,
        data: {
          formID,
          formData: model,
        },
      },
      headers: {
        "x-api-key": "AJgsD4mQAY95dQiaJecac3WBvEFlqnvn3vAxI93f",
        "Content-Type": "application/json",
      },
    })
      .then((response) => {
        if (response?.response?.statusCode === 200) {
          setIsSubmitting(false);
          setIsSubmitted(true);
        } else {
          setIsSubmitting(false);
          setIsSubmitted(false);
          alert(
            "There has been a problem with your form submission. Contact the Web Administrator for help."
          );
        }
      })
      .catch((error) => {
        setIsSubmitting(false);
        setIsSubmitted(false);
        alert(error);
      });
  };

  // retrieve formData
  useEffect(() => {
    async function getFormData() {
      try {
        const response = await axios.get(link);
        setFormData(response?.data?.data);
      } catch (error) {
        console.error(error);
      }
    }

    getFormData();
  }, [link]);

  if (formData === null) {
    return (
      <div className="OCVFormDiv">
        <ReactLoading
          className="loading-centered"
          type="spinningBubbles"
          color="#105c9c"
          height="10%"
          width="10%"
        />
      </div>
    );
  }
  return (
    <Formsy
      onValidSubmit={submit}
      onValid={enableButton}
      onInvalid={disableButton}
    >
      <OCVForm
        isSubmitted={isSubmitted}
        isSubmitting={isSubmitting}
        disableButton={disableButton}
        enableButton={enableButton}
        formData={formData}
        formID={formID}
        headerText={headerText}
        submissionText={submissionText}
        anchorID={anchorID}
        classes={classes}
        viewData={viewData}
        state={state}
        setState={setState}
        activePage={activePage}
        setActivePage={setActivePage}
      />
    </Formsy>
  );
};
/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { useState, useEffect } from "react";
import ReactLoading from "react-loading";
import Formsy from "formsy-react";
import { Amplify, API } from "aws-amplify";
import OCVForm from "./OCVForm";

export default function FormWrapper({
  viewData,
  formID,
  //link,
  headerText,
  submissionText,
  anchorID,
}) {
  const [activePage, setActivePage] = useState(0);
  const [state, setState] = useState({});
  const [formData, setFormData] = useState(null);
  const [isSubmitting, setIsSubmitting] = useState(false);
  const [isSubmitted, setIsSubmitted] = useState(false);

  const disableButton = () => {
    setState({ ...state, canSubmit: false });
  };
  const enableButton = () => {
    setState({ ...state, canSubmit: true });
  };

  Amplify.configure({
    API: {
      endpoints: [
        {
          name: "ocvapps",
          endpoint:
            "https://oc1rhn99vi.execute-api.us-east-1.amazonaws.com/beta",
          region: "us-east-1",
        },
      ],
    },
  });

  const submit = (model) => {
    setIsSubmitting(true);
    API.post("ocvapps", "/form/submission", {
      body: {
        appID: formData.appID,
        data: {
          formID,
          formData: model,
        },
      },
      headers: {
        "x-api-key": "AJgsD4mQAY95dQiaJecac3WBvEFlqnvn3vAxI93f",
        "Content-Type": "application/json",
      },
    })
      .then((response) => {
        if (response?.response?.statusCode === 200) {
          setIsSubmitting(false);
          setIsSubmitted(true);
        } else {
          setIsSubmitting(false);
          setIsSubmitted(false);
          alert(
            "There has been a problem with your form submission. Contact the Web Administrator for help."
          );
        }
      })
      .catch((error) => {
        setIsSubmitting(false);
        setIsSubmitted(false);
        alert(error);
      });
  };

  // retrieve formData
  useEffect(() => {
    const form = {
      version: 3,
      images: 1,
      formManager: 0,
      title: "Multi Page Test",
      sendServer: 1,
      active: 1,
      autoLocation: 1,
      saveToGallery: 1,
      saveUserInfo: ["userName", "userEmail", "userPhone"],
      fromAddress: "noreply@myocv.com",
      subject: "Damage Report App submission",
      message: "A Damage Report has been submitted through the app.",
      emails: [
        {
          email: "changeme@example.com",
          name: "changeme",
        },
      ],
      inactiveMessage:
        "This form is currently inactive please check back later.",
      sections: [
        [
          {
            title: "Report Type",
            fields: [
              {
                fieldID: "reportType",
                type: 4,
                optional: 0,
                subtype: 0,
                multi: 0,
                title: "Type",
                length: 0,
                elements: [
                  "Severe Weather",
                  "Storm Damage",
                  "Power Outage",
                  "Other",
                ],
              },
              {
                fieldID: "reportType",
                type: 9,
                optional: 0,
                subtype: 0,
                multi: 0,
                title: "Location",
              },
            ],
          },
          {
            title: "Personal Details",
            fields: [
              {
                fieldID: "userName",
                type: 0,
                optional: 1,
                subtype: 0,
                multi: 0,
                title: "Name (optional)",
                length: 0,
              },
              {
                fieldID: "userEmail",
                type: 0,
                optional: 1,
                subtype: 1,
                multi: 0,
                title: "Email Address (optional)",
                length: 0,
              },
              {
                fieldID: "userPhone",
                type: 0,
                optional: 1,
                subtype: 3,
                multi: 0,
                title: "Phone Number (optional)",
                length: 0,
              },
            ],
          },
        ],
        [
          {
            title: "Report Details",
            fields: [
              {
                fieldID: "address",
                type: 0,
                optional: 0,
                subtype: 0,
                multi: 0,
                title: "Address",
                length: 0,
              },
              {
                fieldID: "city",
                type: 0,
                optional: 0,
                subtype: 0,
                multi: 0,
                title: "City",
                length: 0,
              },
              {
                fieldID: "state",
                type: 0,
                optional: 0,
                subtype: 0,
                multi: 0,
                title: "State",
                length: 0,
              },
              {
                fieldID: "zipCode",
                type: 0,
                optional: 0,
                subtype: 7,
                multi: 0,
                title: "ZIP Code",
                length: 0,
              },
              {
                fieldID: "dateTimeOfIncident",
                type: 7,
                optional: 0,
                subtype: 0,
                multi: 0,
                title: "Date/Time of Incident",
                length: 0,
              },
              {
                length: 0,
                fieldID: "additionalInfo",
                type: 1,
                optional: 1,
                subtype: 0,
                multi: 0,
                title: "Additional Information (optional)",
              },
            ],
          },
        ],
      ],
      alert911: 0,
      alertText: "",
      leaderText: "",
      footerText: "",
      appID: "a12722222",
    };

    async function getFormData() {
      try {
        //const response = await axios.get(link);
        setFormData(form);
      } catch (error) {
        console.error(error);
      }
    }

    getFormData();
  }, []);

  if (formData === null) {
    return (
      <div className="OCVFormDiv">
        <ReactLoading
          className="loading-centered"
          type="spinningBubbles"
          color="#105c9c"
          height="10%"
          width="10%"
        />
      </div>
    );
  }
  return (
    <Formsy
      onValidSubmit={submit}
      onValid={enableButton}
      onInvalid={disableButton}
    >
      <OCVForm
        isSubmitted={isSubmitted}
        isSubmitting={isSubmitting}
        disableButton={disableButton}
        enableButton={enableButton}
        formData={formData}
        formID={formID}
        headerText={headerText}
        submissionText={submissionText}
        anchorID={anchorID}
        viewData={viewData}
        state={state}
        setState={setState}
        activePage={activePage}
        setActivePage={setActivePage}
      />
    </Formsy>
  );
}
$ git checkout tags/<tag> -b <branch>
$ git fetch --all --tags

Fetching origin
From git-repository
   98a14be..7a9ad7f  master     -> origin/master
 * [new tag]         v1.0       -> v1.0
import { useState } from 'react';
import Tooltip, { TooltipProps } from '@mui/material/Tooltip';

export default function CustomTooltip({ children, ...rest }: TooltipProps) {
    const [renderTooltip, setRenderTooltip] = useState(false);

    return (
        <div
            onMouseEnter={() => !renderTooltip && setRenderTooltip(true)}
            className="display-contents"
        >
            {!renderTooltip && children}
            {
                renderTooltip && (
                    <Tooltip {...rest}>
                        {children}
                    </Tooltip>
                )
            }
        </div>
    );
}
<script>

window.addEventListener('wheel', function(event){
if (event.deltaY < 0){
$('#go-up').trigger('click');
}
else if (event.deltaY > 0){
$('#go-down').trigger('click');
}
});
</script>
[ {"Mon": "Y", "Tue": "Y", "Wed": "", "Thu": "", "Fri": "", "Sat": "", "Sun": "", "startdate": "2015-04-01", "enddate": "2015-09-30", "starttime": "07:00", "endtime": "10:00", "playing_time": "01:40" } ]
<!-- wp:code -->
<iframe width="900" height="900" src="https://www.brsgolf.com/killarney/visitor_home.php?framed=true" frameborder="0" allowfullscreen></iframe>
<!-- /wp:code -->
<div class="container">

   <div class="art-board">

      <div class="art-board__container">

         <div class="card">

            <div class="card__image">

               <img src="https://images.pexels.com/photos/4077/pexels-photo-1640777.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500" alt="Salad" />
7
            </div>

            <div class="card__info">

               <div class="car__info--title">

                  <h3>Salad</h3>

                  <p>Fresh & sweet</p>

               </div>

               <div class="card__info--price">

                  <p>$ 5</p>

                  <span class="fa fa-star checked"></span>
16
                  <span class="fa fa-star checked"></span>

                  <span class="fa fa-star checked"></span>

                  <span class="fa fa-star checked"></span>

                  <span class="fa fa-star checked"></span>

               </div>

            </div>

         </div>
class Node:
    def __init__(self, data):
        self.data = data
        self.next = None


class LinkedList:
    def __init__(self):
        self.head = None
        self.last_node = None

    def prepend(self, data):
        new_node = Node(data)
        new_node.next = self.head
        self.head = new_node

    def push(self, data):
        if self.last_node is None:
            self.head = Node(data)
            self.last_node = self.head
        else:
            self.last_node.next = Node(data)
            self.last_node = self.last_node.next

    def insert_after(self, prev_node, data):
        if not prev_node:
            print('Given node not present in the list')
            return
        new_node = Node(data)
        new_node.next = prev_node.next
        prev_node.next = new_node

    def pswap(self):
        temp = self.head
        if temp is None:
            return

        while (temp is not None and temp.next is not None):
            temp.data, temp.next.data = temp.next.data, temp.data
            temp = temp.next.next

    def display(self):
        current = self.head
        while current:
            print(current.data, end=' ')
            current = current.next


llist = LinkedList()
T = int(input())
for x in range(T):
    d = int(input())
    llist.push(d)

llist.display()
llist.pswap()
print()
llist.display()
star

Thu Nov 03 2022 17:01:26 GMT+0000 (Coordinated Universal Time)

@Waydes #javascript

star

Thu Nov 03 2022 14:52:54 GMT+0000 (Coordinated Universal Time) https://kuchbhilearning.blogspot.com/2022/11/add-custom-header-in-cloudfrontpass_3.html

@yaseenshariff #aws-cdk #cdk #cloudfront #origin #origin-request

star

Thu Nov 03 2022 14:34:25 GMT+0000 (Coordinated Universal Time) https://www.tychesoftwares.com/how-to-make-woocommerce-external-product-links-open-in-a-new-tab/

@deveseospace

star

Thu Nov 03 2022 13:06:26 GMT+0000 (Coordinated Universal Time) https://www.codesansar.com/numerical-methods/gauss-jordan-method-using-c-plus-plus-output.htm

@ggerson #cpp

star

Thu Nov 03 2022 12:48:54 GMT+0000 (Coordinated Universal Time)

@Ramadani #html

star

Thu Nov 03 2022 12:41:59 GMT+0000 (Coordinated Universal Time)

@Justus #apex

star

Thu Nov 03 2022 12:11:51 GMT+0000 (Coordinated Universal Time) https://developer.salesforce.com/forums/?id=906F0000000BIVqIAO

@Justus #apex

star

Thu Nov 03 2022 12:05:58 GMT+0000 (Coordinated Universal Time) https://developer.salesforce.com/forums/?id=906F0000000BIVqIAO

@Justus #apex

star

Thu Nov 03 2022 12:04:18 GMT+0000 (Coordinated Universal Time)

@shubhangi_burle

star

Thu Nov 03 2022 11:34:28 GMT+0000 (Coordinated Universal Time)

@Justus #apex

star

Thu Nov 03 2022 11:11:01 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/70121049/the-arrow-key-outputs-a-b-c-d-strings-in-tmux-oh-my-zsh

@atatimelikethis

star

Thu Nov 03 2022 10:58:34 GMT+0000 (Coordinated Universal Time)

@rumpski #undefined

star

Thu Nov 03 2022 10:30:42 GMT+0000 (Coordinated Universal Time)

@ortuman

star

Thu Nov 03 2022 10:21:38 GMT+0000 (Coordinated Universal Time)

@Shivaprasad_K_M

star

Thu Nov 03 2022 10:19:13 GMT+0000 (Coordinated Universal Time)

@codesnippetking

star

Thu Nov 03 2022 09:27:48 GMT+0000 (Coordinated Universal Time)

@saravanan

star

Thu Nov 03 2022 08:48:46 GMT+0000 (Coordinated Universal Time)

@shubhangi_burle

star

Thu Nov 03 2022 08:39:03 GMT+0000 (Coordinated Universal Time)

@strojekmikolaj #typescript

star

Thu Nov 03 2022 08:38:50 GMT+0000 (Coordinated Universal Time)

@strojekmikolaj #typescript

star

Thu Nov 03 2022 08:30:23 GMT+0000 (Coordinated Universal Time)

@ortuman

star

Thu Nov 03 2022 07:57:12 GMT+0000 (Coordinated Universal Time)

@shubhangi_burle

star

Thu Nov 03 2022 07:56:27 GMT+0000 (Coordinated Universal Time)

@shubhangi_burle

star

Thu Nov 03 2022 07:42:13 GMT+0000 (Coordinated Universal Time) https://blog.quest.com/when-and-how-to-use-the-sql-partition-by-clause/

@p83arch #partition

star

Thu Nov 03 2022 07:12:07 GMT+0000 (Coordinated Universal Time)

@sfull #python

star

Thu Nov 03 2022 05:16:05 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/3071415/efficient-method-to-calculate-the-rank-vector-of-a-list-in-python

@pika8oo #python #list

star

Thu Nov 03 2022 05:11:28 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/62096269/cant-run-my-node-js-typescript-project-typeerror-err-unknown-file-extension

@sahilchraya #javascript #typescript

star

Thu Nov 03 2022 05:10:52 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/62096269/cant-run-my-node-js-typescript-project-typeerror-err-unknown-file-extension

@sahilchraya #javascript #typescript

star

Thu Nov 03 2022 04:23:59 GMT+0000 (Coordinated Universal Time)

@janduplessis883 #pandas #datetime

star

Thu Nov 03 2022 04:08:20 GMT+0000 (Coordinated Universal Time) https://www.youtube.com/watch?v=TFDOgULTkmQ&ab_channel=ProjectCodeMastery

@cruz #javascript

star

Thu Nov 03 2022 01:34:23 GMT+0000 (Coordinated Universal Time)

@fiko942 #nodejs #javascript

star

Wed Nov 02 2022 23:16:09 GMT+0000 (Coordinated Universal Time) https://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/

@fahadmansoor ##php ##wordpress

star

Wed Nov 02 2022 19:48:04 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/309424/how-do-i-read-convert-an-inputstream-into-a-string-in-java

@mariahpieces #java

star

Wed Nov 02 2022 19:41:28 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/309424/how-do-i-read-convert-an-inputstream-into-a-string-in-java

@mariahpieces #java

star

Wed Nov 02 2022 18:47:58 GMT+0000 (Coordinated Universal Time)

@netropol #php

star

Wed Nov 02 2022 16:30:52 GMT+0000 (Coordinated Universal Time) https://kuchbhilearning.blogspot.com/2022/11/add-custom-header-in-cloudfrontpass.html

@yaseenshariff #aws #cloudfront #custom #originrequest

star

Wed Nov 02 2022 15:49:28 GMT+0000 (Coordinated Universal Time) https://ahnbk.com/?p

@glowhyun1

star

Wed Nov 02 2022 15:44:29 GMT+0000 (Coordinated Universal Time) https://www.keycdn.com/blog/vim-commands

@MattMoniz

star

Wed Nov 02 2022 15:03:12 GMT+0000 (Coordinated Universal Time)

@bfpulliam #react.js

star

Wed Nov 02 2022 15:01:44 GMT+0000 (Coordinated Universal Time)

@seckin

star

Wed Nov 02 2022 15:01:43 GMT+0000 (Coordinated Universal Time)

@bfpulliam #react.js

star

Wed Nov 02 2022 14:21:13 GMT+0000 (Coordinated Universal Time)

@bfpulliam #react.js

star

Wed Nov 02 2022 12:53:21 GMT+0000 (Coordinated Universal Time) https://devconnected.com/how-to-checkout-git-tags/

@statu7

star

Wed Nov 02 2022 12:53:08 GMT+0000 (Coordinated Universal Time) https://devconnected.com/how-to-checkout-git-tags/

@statu7

star

Wed Nov 02 2022 10:10:04 GMT+0000 (Coordinated Universal Time) https://github.com/mui/material-ui/issues/27057

@jacopo

star

Wed Nov 02 2022 09:17:20 GMT+0000 (Coordinated Universal Time)

@andremecha

star

Wed Nov 02 2022 09:12:02 GMT+0000 (Coordinated Universal Time)

@saching12 #c++ #make #cmake

star

Wed Nov 02 2022 09:03:24 GMT+0000 (Coordinated Universal Time)

@kyoung92

star

Wed Nov 02 2022 09:02:22 GMT+0000 (Coordinated Universal Time)

@kyoung92

star

Wed Nov 02 2022 07:30:08 GMT+0000 (Coordinated Universal Time) https://codepen.io/makazoid/pen/ZEQmEyV

@abduhamid_web #undefined

star

Wed Nov 02 2022 07:08:07 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/62973557/how-to-push-all-user-input-at-a-time-in-a-single-row-to-a-linked-list-in-python

@yemre #python

Save snippets that work with our extensions

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