Snippets Collections
this.array1.forEach((obj1) => {
  const matchingObject = array2.find(
    (obj2) => obj1.code === obj2.code
  );

  if (matchingObject) {
    obj1.disableCheckbox = false;
  } else {
    obj1.disableCheckbox = true;
  }
});
this.array = this.array.map(function (el) {
  var o = Object.assign({}, el);
  o.disableCheckbox = null;
  o.isChecked = true;
  
  return o;
});
// HTML //
<template for:each={allDomicileFlags} for:item="currentItem" for:index="index">
  	<div key={currentItem} style="display: flex; align-items: center">
        <lightning-input 
            class="element" 
            data-id="checkbox"
            type="checkbox"
            label={currentItem.label}
            data-index={index}
            onchange={handleFlagCheckbox}>
        </lightning-input>
	</div>
</template>


// JS //
function onChange(control, oldValue, newValue, isLoading) {

    if (isLoading || newValue == '') {

        return;

    }

​

    var regexp = /^[0-]{4}-[0-9]{6}-[0-9]{2}$/;

​

    if (!regexp.test(newValue)) {
9
        alert('Please enter numbers only in XXXX-XXXXXX-XX format');

        g_form.setValue('REPLACE WITH YOUR FIELD NAME', '');

    }

}

​
findSuppliersById() {
    const observables = this.invitedSuppliersIds.map((id: string) => this.userService.getById(id));
    console.log(observables);
    forkJoin(observables).subscribe({
      next: (responses) => {
        console.log(responses);
        this.invitedSuppliersInfo = responses;
      },
      error: (err) => {
        console.error(err);
      }
    });
  }
findSuppliersById() {
    const observables = this.invitedSuppliersIds.map((id: string) => this.userService.getById(id));
    console.log(observables);
    forkJoin(observables).subscribe({
      next: (responses) => {
        console.log(responses);
        this.invitedSuppliersInfo = responses;
      },
      error: (err) => {
        console.error(err);
      }
    });
  }
INVALID_ARGUMENT: Request contains an invalid argument
[type.googleapis.com/google.rpc.LocalizedMessage]
locale: "en-US"
message: "The specified format type is not supported"

[type.googleapis.com/google.rpc.RequestInfo]
request_id: "efe078d914634209a44e87e21bfaf6d3"

class Solution {
  public:
    //Function to return a list of indexes denoting the required 
    //combinations whose sum is equal to given number.
    void solve(int indx, int target, vector<int> &A, vector<vector<int>> &ans, vector<int> ds){
        if(target==0){ 
    		ans.push_back(ds);
    		return;
    	}
    	//returning if conditions are out of bound.
    	if(target<0 || indx>=A.size()) 
    		return;
        
        ds.push_back(A[indx]);
        solve(indx, target-A[indx], A, ans, ds);
        ds.pop_back();
        solve(indx+1, target, A, ans, ds);
    }
    
    vector<vector<int> > combinationSum(vector<int> &A, int B) {
        // Your code here
        vector<int> ds;
        vector<vector<int>> ans;
        sort(A.begin(), A.end());
        solve(0, B, A, ans, ds);
    }
};
Binance Smart Chain Smart Contract Development offers a strong and adaptable framework. Developers wishing to create cutting-edge and scalable decentralized apps mostly prefer Binance Smart Chain due to its high performance, less transaction fees, and variety of tools and resources.

Avail top-rated BSC Smart Contract Development Services provided by Maticz, the leading BSC Smart Contract Development Company. Maticz's smart contract developers are experts in handling Binance-based projects and have a thorough understanding of developing smart contracts on a variety of blockchain networks. Check out >> https://bit.ly/3LbP5Rv
Meme coins are digital currency built on popular internet jokes. These coins don't have any intrinsic value or function; rather, the value of each coin depends on how well-liked it is online and on social media platforms. Meme coin development is considered a billion-dollar opportunity for cryptopreneurs looking to set their foot in the Memecoin Venture. 

Memecoins are predicted to gain significant attraction in the crypto world in the future and the creators of the tokens insist that meme coins play an indispensable role by attracting new faces to crypto. create opportunities for traders owing to their high trading volume. Check out the top Meme coins of 2023 here >> https://maticz.com/meme-coin-development
Metaverse-as-a-Service platforms have evolved as businesses adopt this technology, providing new opportunities for revenue generation and improving business processes. Metaverse-as-a-Service allows users to build, host, and manage their virtual environments using the service, commonly known as MaaS. Users may create virtual worlds, explore them, and interact with people in them using this internet application in an immersive way on this platform

Maticz’s team has expertise in developing Metaverse Service Platforms for businesses and helping them make a meaningful difference to the customers they serve. Get to know all about Metaverse as a Service >> https://maticz.com/metaverse-as-a-service
<!DOCTYPE html>

<html lang="en">

​

<head>

  <meta charset="UTF-">

  <meta http-equiv="X-UA-Compatible" content="IE=edge">

  <meta name="viewport" content="width=device-width, initial-scale=1.0">
8
  <title>Document</title>

  <script src="https://cdn.tailwindcss.com"></script>

  <script src="//unpkg.com/alpinejs" defer></script>

</head>

​

<body class="bg-[url('unsplash.jpg')] bg-cover" x-data="{ openMenu : false }"

  :class="openMenu ? 'overflow-hidden' : 'overflow-visible' ">

​

  <style>

    [x-cloak] {

      display: none !important;

    }

  </style>

​

  <header class="flex justify-between items-center bg-white drop-shadow-sm py-4 px-8">

​

    <!-- Logo -->

    <a href="/" class="text-lg font-bold">Logo</a>

​

    <!-- Mobile Menu Toggle -->

    <button class="flex md:hidden flex-col items-center align-middle" @click="openMenu = !openMenu"

      :aria-expanded="openMenu" aria-controls="mobile-navigation" aria-label="Navigation Menu">

      <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">

        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />

      </svg>

      <span class="text-xs">Menu</span>

    </button>

​

    <!-- Main Navigations -->

    <nav class="hidden md:flex">

​

      <ul class="flex flex-row gap-2">

        <li>

          <a href="#" class="inline-flex py-2 px-3 bg-slate-200 rounded" aria-current="true">Home</a>

        </li>

        <li>

          <a href="#" class="inline-flex py-2 px-3 hover:bg-slate-200 rounded">About</a>

        </li>

        <li>

          <a href="#" class="inline-flex py-2 px-3 hover:bg-slate-200 rounded">Articles</a>

        </li>

        <li>

          <a href="#" class="inline-flex py-2 px-3 hover:bg-slate-200 rounded">Contact</a>

        </li>

      </ul>

​

    </nav>

​

  </header>

​

  <!-- Pop Out Navigation -->

  <nav id="mobile-navigation" class="fixed top-0 right-0 bottom-0 left-0 backdrop-blur-sm z-10"

    :class="openMenu ? 'visible' : 'invisible' " x-cloak>

​

    <!-- UL Links -->

    <ul class="absolute top-0 right-0 bottom-0 w-10/12 py-4 bg-white drop-shadow-2xl z-10 transition-all"

      :class="openMenu ? 'translate-x-0' : 'translate-x-full'">

​

      <li class="border-b border-inherit">

        <a href="#" class="block p-4" aria-current="true">Home</a>

      </li>

      <li class="border-b border-inherit">

        <a href="#" class="block p-4">About</a>

      </li>

      <li class="border-b border-inherit">

        <a href="#" class="block p-4">Articles</a>

      </li>

      <li class="border-b border-inherit">

        <a href="#" class="block p-4">Contact</a>

      </li>

​

    </ul>

​

    <!-- Close Button -->

    <button class="absolute top-0 right-0 bottom-0 left-0" @click="openMenu = !openMenu" :aria-expanded="openMenu"

      aria-controls="mobile-navigation" aria-label="Close Navigation Menu">

      <svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 absolute top-2 left-2" fill="none" viewBox="0 0 24 24"

        stroke="currentColor">

        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />

      </svg>

    </button>

​

  </nav>

​

</body>

</html>
<button x-cloak x-data="{scroll : false}" @scroll.window="document.documentElement.scrollTop > 20 ? scroll = true : scroll = false" x-show="scroll" @click="window.scrollTo({top: 0, behavior: 'smooth'})" type="button" data-mdb-ripple="true" data-mdb-ripple-color="light" class="fixed inline-block p-3 text-xs font-medium leading-tight text-white uppercase transition duration-150 ease-in-out bg-blue-600 rounded-full shadow-md hover:bg-blue-700 hover:shadow-lg focus:bg-blue-700 focus:shadow-lg focus:outline-none focus:ring-0 active:bg-blue-800 active:shadow-lg bottom-5 right-5" id="btn-back-to-top" x-transition.opacity>
        <svg xmlns="http://www.w3.org/2000/svg" class="w-4 h-4" viewBox="0 0 20 20" fill="currentColor">
            <path fill-rule="evenodd" d="M3.293 9.707a1 1 0 010-1.414l6-6a1 1 0 011.414 0l6 6a1 1 0 01-1.414 1.414L11 5.414V17a1 1 0 11-2 0V5.414L4.707 9.707a1 1 0 01-1.414 0z" clip-rule="evenodd" />
        </svg>
</button>
The Unity 3D game engine has successfully positioned itself as the most sought-after gaming engine over the years. Unity 3D game engine is considered user-friendly, with a rich asset store and an active developer community for feedback and development. It remains a powerful engine that provides quality games in the required time frame. Maticz has proven experience in bringing visually appealing, immersive, and seamless unity 3d gaming platforms to the market. Get ready to launch 3D games with Unity Game Engine.
import java.util.Arrays;

public class Solution {
    public static int[] numOfIslandsII(int m, int n, int[][] q) {
        /* dynamic graph so we will use DSU , here set represent -> every cell which is part of
        same island will be under same set 
        */

        //making 2d array to 1d array based on cell no
        int parent[] = new int[m*n];
        int rank[] = new int[m*n];
        int ans[] = new int[q.length];

        Arrays.fill(parent, -1);

        //running queries one by one
        int count = 0;  //for islands

        for(int i = 0 ; i < q.length ; i++){
            int position[]= q[i];
            int x = position[0] , y = position[1];
            int cellno = x*n+y;

            //if already processed add to answer and continue
            if(parent[cellno] != -1){
                ans[i] = count;
                continue;
            }

            //if its coming first time make it island cell
            parent[cellno] = cellno;
            rank[cellno] = 1;
            count ++ ;          //new island
            
            //now check its adjacent cells if any one of it is island cell they will merge
            for(int dirs[] : dir){
                int rowdash = x + dirs[0];
                int coldash = y + dirs[1];
                int celldash = rowdash * n + coldash;

                //if invalid cell continue
                if(rowdash < 0 || coldash < 0 || rowdash >= m || coldash >= n 
                || parent[celldash] == -1)
                continue;
                
                //if valid cell combine both islands and decrease count 
                union(celldash , cellno , parent ,rank);
                count--;
                
            }
            
            ans[i] = count;
        }
        return ans;
    }

    public static int dir[][] = {{0,1} , {1,0} , {-1,0} , {0,-1}};
    public static int find(int x , int[] parent){
        if(parent[x] == x)
        return x;
        
        int temp = find(parent[x] , parent);
        parent[x] = temp;
        return temp;
    }
    public static void union(int x , int y , int[] parent , int[] rank){
        int lx = find(x , parent);
        int ly = find(y , parent);

        if(lx != ly){
            if(rank[lx] > ly){
                parent[ly] = lx;
            }
            else if(rank[lx] < ly){
                parent[lx] = ly;
            }
            else{
                parent[lx] = ly;
                rank[ly] ++;
            }
        }
    }
}
SELECT A.merchant_id, A.no_of_txns, A.merchant_activation_date , B.blacklisted_date
	FROM	
	(
		(SELECT merchant_id
			, merchant_activation_date
			, sum(case when month > 1 then txn_cnt else 0 end) as no_of_txns
		FROM fraud.merchant_rfi_master_table_test
		where merchant_activation_date between '2023-02-01' and '2023-03-31'
		group by merchant_id, merchant_activation_date
		)A
		INNER JOIN
		(SELECT merchant_id, blacklisted_date
        FROM edw_shared.merchant_store_dimension
        WHERE blacklisted_date between DATE_SUB('2023-05-02',32) AND DATE_SUB('2023-05-02',2)
        AND blacklisted = 1
        AND merchant_type IN ('OFFLINE_UNORGANISED','OFFLINE_THROUGH_AGGREGATOR','P2P_MERCHANT','P2M_LIMITED','OFFLINE_AGGREGATOR'))B
		ON A.merchant_id = B.merchant_id
    )
	where A.no_of_txns > 500
	ORDER BY A.no_of_txns DESC 
	
       
SELECT A.merchant_id, A.no_of_txns, A.merchant_activation_date , B.blacklisted_date
	FROM	
	(
		(SELECT merchant_id
			, merchant_activation_date
			, sum(case when month > 1 then txn_cnt else 0 end) as no_of_txns
		FROM fraud.merchant_rfi_master_table_test
		where merchant_activation_date between '2023-02-01' and '2023-03-31'
		group by merchant_id, merchant_activation_date
		)A
		INNER JOIN
		(SELECT merchant_id, blacklisted_date
        FROM edw_shared.merchant_store_dimension
        WHERE blacklisted_date between DATE_SUB('2023-05-02',32) AND DATE_SUB('2023-05-02',2)
        AND blacklisted = 1
        AND merchant_type IN ('OFFLINE_UNORGANISED','OFFLINE_THROUGH_AGGREGATOR','P2P_MERCHANT','P2M_LIMITED','OFFLINE_AGGREGATOR'))B
		ON A.merchant_id = B.merchant_id
    )
	where A.no_of_txns > 500
	ORDER BY A.no_of_txns DESC 
	
       
Shamla tech is a prominent cryptocurrency exchange Development Company, we are your trusted partner for creating secure and innovative cryptocurrency exchanges. With our in-depth expertise in blockchain technology, we specialize in developing fully customized exchange platforms that perfectly align with your unique business needs. Our priority is to implement robust security measures, ensuring the safety of your users' assets. 
<link rel="stylesheet" href="https://unpkg.com/octicons@4.4.0/build/font/octicons.css">
<link rel="stylesheet" href="https://unpkg.com/github-activity-feed@latest/dist/github-activity.min.css">

<script type="text/javascript" src="https://unpkg.com/mustache@4.2.0/mustache.min.js"></script>
<script type="text/javascript" src="https://unpkg.com/github-activity-feed@latest/dist/github-activity.min.js"></script>

<!-- if using dark theme add this in addition to the main CSS file -->
<link rel="stylesheet" href="https://unpkg.com/github-activity-feed@latest/dist/github-activity.dark.min.css">
<!-- Include the library. -->
<script
  src="https://unpkg.com/github-calendar@latest/dist/github-calendar.min.js"
></script>

<!-- Optionally, include the theme (if you don't want to struggle to write the CSS) -->
<link
   rel="stylesheet"
   href="https://unpkg.com/github-calendar@latest/dist/github-calendar-responsive.css"
/>

<!-- Prepare a container for your calendar. -->
<div class="calendar">
    <!-- Loading stuff -->
    Loading the data just for you.
</div>

<script>
    GitHubCalendar(".calendar", "your-username");
    // or enable responsive functionality
    GitHubCalendar(".calendar", "your-username", { responsive: true });
</script>
            
{
    "Output": {
        "saveStatus": true,
        "editStatus": false,
        "deleteStatus": false,
        "itemGUID": "bff9b460-cae9-4b1f-8e9b-61b6dc991abc",
        "isNotFirstGuardianValue": false,
        "errorMessage": null,
        "isAlreadyExists": false,
        "status": false
    },
    "status": true,
    "errorCode": "",
    "errorMessage": "",
    "statusCode": "200",
    "statusMessage": "Success",
    "responseDate": "07/Jun/2023 12:31:09",
    "version": "V1"
}
#include <Servo.h>
 
Servo myservo;  // create servo object to control a servo
 
int pos = 0;    // variable to store the servo position
 
void setup() {
  myservo.attach(9);  // attaches the servo on pin 9 to the servo object
}
 
void loop() {
  for (pos = 0; pos <= 180; pos += 1) { // goes from 0 degrees to 180 degrees
    // in steps of 1 degree
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
  for (pos = 180; pos >= 0; pos -= 1) { // goes from 180 degrees to 0 degrees
    myservo.write(pos);              // tell servo to go to position in variable 'pos'
    delay(15);                       // waits 15ms for the servo to reach the position
  }
}
{
    "Output": {
        "profileguid": "4320abce-c414-4c9b-967d-20323748f427",
        "surName": "dfgdf",
        "foreName": "hdf",
        "address": "gdfgdf gdfgdf",
        "city": "Ruyigi",
        "countryName": null,
        "dateOfBirth": "2023-06-06T00:00:00",
        "passportNo": "76575645",
        "emiratesId": "",
        "phoneNumber": "69573498",
        "email": "ckvh@gmail.com",
        "nationality": "9",
        "isdCode": 18,
        "isdCodeGUID": "8c7f202f-1f30-4ab9-bb6a-026f272c3c30",
        "zipCode": "76654654",
        "countryGUID": "8d68d0b0-7292-4262-a0b1-076014fcbb9d",
        "state": "kerala",
        "dob": "2023-6-6",
        "emiratesIdNo": null,
        "serviceGUID": null,
        "bookedForProfileGUID": null
    },
    "status": true,
    "errorCode": "",
    "errorMessage": "",
    "statusCode": "200",
    "statusMessage": "Success",
    "responseDate": "07/Jun/2023 12:11:17",
    "version": "V1"
}
{
    "Output": {
        "profileguid": "4320abce-c414-4c9b-967d-20323748f427",
        "surName": "dfgdf",
        "foreName": "hdf",
        "address": "gdfgdf gdfgdf",
        "city": "Ruyigi",
        "countryName": null,
        "dateOfBirth": "2023-06-06T00:00:00",
        "passportNo": "76575645",
        "emiratesId": "",
        "phoneNumber": "69573498",
        "email": "ckvh@gmail.com",
        "nationality": "9",
        "isdCode": 18,
        "isdCodeGUID": "8c7f202f-1f30-4ab9-bb6a-026f272c3c30",
        "zipCode": "76654654",
        "countryGUID": "8d68d0b0-7292-4262-a0b1-076014fcbb9d",
        "state": "kerala",
        "dob": "2023-6-6",
        "emiratesIdNo": null,
        "serviceGUID": null,
        "bookedForProfileGUID": null
    },
    "status": true,
    "errorCode": "",
    "errorMessage": "",
    "statusCode": "200",
    "statusMessage": "Success",
    "responseDate": "07/Jun/2023 11:15:19",
    "version": "V1"
}
{
    "Output": {
        "saveStatus": true,
        "editStatus": false,
        "deleteStatus": false,
        "itemGUID": "d68afb9e-8bd8-4e66-9bfa-c7666901a8ee",
        "isNotFirstGuardianValue": false,
        "errorMessage": null,
        "isAlreadyExists": false,
        "status": false
    },
    "status": true,
    "errorCode": "",
    "errorMessage": "",
    "statusCode": "200",
    "statusMessage": "Success",
    "responseDate": "07/Jun/2023 11:04:21",
    "version": "V1"
}
{
  "address": "gdfgdf gdfgdf",
  "bookedForProfileGUID": "05fa50b0-a450-437f-ade3-19bb128192a5",
  "city": "Ruyigi",
  "countryGUID": "8d68d0b0-7292-4262-a0b1-076014fcbb9d",
  "dateOfBirth": "2023-06-06T18:30:00.000Z",
  "email": "ckvh@gmail.com",
  "emiratesId": "856345346",
  "foreName": "hdf",
  "isdCode": "+880",
  "isdCodeGUID": "8c7f202f-1f30-4ab9-bb6a-026f272c3c30",
  "nationality": "5f17dd01-c266-4da2-95c9-fedde4c60e73",
  "passportNo": "76575645",
  "phoneNumber": "69573498",
  "state": "kerala",
  "surName": "dfgdf",
  "zipCode": "76654654"
}
{
    "Output": {
        "saveStatus": true,
        "editStatus": false,
        "deleteStatus": false,
        "itemGUID": "4320abce-c414-4c9b-967d-20323748f427",
        "isNotFirstGuardianValue": false,
        "errorMessage": null,
        "isAlreadyExists": false,
        "status": false
    },
    "status": true,
    "errorCode": "",
    "errorMessage": "",
    "statusCode": "200",
    "statusMessage": "Success",
    "responseDate": "07/Jun/2023 10:49:27",
    "version": "V1"
}
https://www.baeldung.com/spring-webflux-concurrency
public static void main(String[] args) {
		

//Reverse numbers in the column.
  
  int [][] array = { 
				{1,2}, 
				{3,4}, 
				{5,6}, };
		
		for(int i= 0; i<array.length; i++) {
			for(int j=array[i].length-1; j>=0; j--) {
				System.out.print(array[i][j] + " ");
			}
			System.out.println();
		}
	}

//OUTPUT:
2 1 
4 3 
6 5 

//Reverse numbers in Row
public static void main(String[] args) {
		
		int [][] array = { 
				{1,2}, 
				{3,4}, 
				{5,6}, };
		
		for(int i=array.length-1; i>=0; i--) {
			for(int j=0; j<array.length-1; j++) {
				System.out.print(array[i][j] + " ");
			}
			System.out.println();
		}
	}

//OUTPUT:
5 6 
3 4 
1 2 

//Reverse numbers both Column and Row.
public static void main(String[] args) {
		
		int [][] array = { 
				{1,2}, 
				{3,4}, 
				{5,6}, };
		
		for(int i=array.length-1; i>=0; i--) {
			for(int j=array[i].length-1; j>=0; j--) {
				System.out.print(array[i][j] + " ");
			}
			System.out.println();
		}
	}
//OOUTPUT:
6 5 
4 3 
2 1 
public static void main(String[] args) {
		
		int [][] array = {
				{1,2,3,4,5},
				{6,7,8,9,10},
				{11,12,13,14,15},
				{16,17,18,19,20},
		};
		for(int row =0; row < array.length; row ++) {
			int total = 0;
			for(int column = 0; column < array[0].length; column++) {
				total = total + array[row] [column];
			}
			System.out.println("Sum for Row " + row + " , is = " + total);
		}
	}

//OUTPUT:

Sum for Row 0 , is = 15
Sum for Row 1 , is = 40
Sum for Row 2 , is = 65
Sum for Row 3 , is = 90
public static void main(String[] args) {
		
		int [][] array = {
				{1,2,3,4,5},
				{6,7,8,9,10},
				{11,12,13,14,15},
				{16,17,18,19,20},
		};
		for(int colomn =0; colomn< array[0].length; colomn ++) {
			int total =0;
			for(int row = 0; row < array.length; row ++) {
				total = total + array[row] [colomn];
			}
			System.out.println("Sum for Colomn " + colomn + " , is = " + total);
		}
	}
//OUtPUT:
Sum for Column 0 , is = 34
Sum for Column 1 , is = 38
Sum for Column 2 , is = 42
Sum for Column 3 , is = 46
Sum for Column 4 , is = 50
public static void main(String[] args) {
		
		int [][] array = {
				{1,2,3,4,5},
				{6,7,8,9,10},
				{11,12,13,14,15},
		};
		int total = 0;
		for(int row = 0; row < array.length; row ++) {
			for(int colomn =0; colomn< array[row].length; colomn ++) {
				total = total + array[row] [colomn];
			}
			System.out.println("total number in each line is = " + total);
		}
	}

//OutPut:
total number in each line is = 15
total number in each line is = 55
total number in each line is = 120
public static void main(String[] args) {
		
		int[] array = {100,22,3,44,55,66,77,88};
		
		Scanner scanner = new Scanner(System.in);
		System.out.println("Enter number that you are looking for:");
		int number = scanner.nextInt();
		
		//int search;
		
		for(int i=0; i<array.length; i++) {
			if(number == array[i]) {
				System.out.printf("number %d is in the array it's index %d \n", number, i);
			}
			else {
				System.out.println("sorry");
			}
		}
		
		scanner.close();
	}
}
public static void main(String[] args) {
		
		int [][] array = {
				{1,2,3,4,5},
				{6,7,8,9,10},
				{11,12,13,14,15},
		};
		for(int row = 0; row < array.length; row ++) {
			for(int colomn =0; colomn< array[row].length; colomn ++) {
				System.out.print(array[row] [colomn] + " ");
			}
			System.out.println();
		}
	}

//OutPut:
1 2 3 4 5 
6 7 8 9 10 
11 12 13 14 15 
chromeos-firmwareupdate --repack $PATH_TO_DIR
cp -f sfx2.sh chromeos-firmwareupdate
./chromeos-firmwareupdate --repack $PATH_TO_DIR
  // Only from inside the same class
  $this->processSomething([__CLASS__, 'myStaticCallback']);
  // From either inside or outside the same class
  $myObject->processSomething(['\Namespace\MyClass', 'myStaticCallback']);
  $myObject->processSomething(['\Namespace\MyClass::myStaticCallback']); // PHP 5.2.3+
  $myObject->processSomething([MyClass::class, 'myStaticCallback']); // PHP 5.5.0+
const items = document.getElementsByTagName("li"); // gathers all list item elements

Array.from(items).forEach(el => { // loops over each element
  el.classList.add("hide"); // applies CSS rule .hide
});
const PI = 3.141592653589793;
PI = 3.14;      // This will give an error
PI = PI + 10;   // This will also give an error

// JavaScript const variables must be assigned a value when 
//   they are declared : 

// Correct
const PI = 3.14159265359;

// Incorrect
const PI;
PI = 3.14159265359;

// Always declare a variable with const when you know that 
// the value should not be changed.
// Use const when you declare:
// * A new Array
// * A new Object
// * A new Function
// * A new RegExp

//You can change the elements of a constant array :
// You can create a constant array :
const cars = ["Saab", "Volvo", "BMW"];
// You can change an element :
cars[0] = "Toyota";
// You can add an element :
cars.push("Audi");

// But you can NOT reassign the array :
const cars = ["Saab", "Volvo", "BMW"];
cars = ["Toyota", "Volvo", "Audi"]; 
// This creates an ERROR

// You can create a const object :
const car = {type:"Fiat", model:"500", color:"white"};
// You can change a property:
car.color = "red";
// You can add a property:
car.owner = "Johnson";

// But you can NOT reassign the object :
const car = {type:"Fiat", model:"500", color:"white"};
car = {type:"Volvo", model:"EX60", color:"red"};   
// ERROR

// Declaring a variable with const is similar to let when it
// comes to Block Scope. The x declared in the block, in this
// example, is not the same as the x declared outside the
// block:
const x = 10;
// Here x is 10
{
const x = 2;
// Here x is 2
}
// Here x is 10

// Declaring a variable with const is similar to let when it 
// comes to Block Scope. The x declared in the block, in this
// example, is not the same as the x declared outside the
// block:
var x = 2;     // Allowed
var x = 3;     // Allowed
x = 4;         // Allowed

// New Example
var x = 2;     // Allowed
const x = 2;   // Not allowed

{
let x = 2;     // Allowed
const x = 2;   // Not allowed
}

{
const x = 2;   // Allowed
const x = 2;   // Not allowed

  //New Example
const x = 2;     // Allowed
x = 2;           // Not allowed
var x = 2;       // Not allowed
let x = 2;       // Not allowed
const x = 2;     // Not allowed

{
  const x = 2;   // Allowed
  x = 2;         // Not allowed
  var x = 2;     // Not allowed
  let x = 2;     // Not allowed
  const x = 2;   // Not allowed

//New Example
const x = 2;       // Allowed
{
  const x = 3;   // Allowed
}
{
  const x = 4;   // Allowed
}
//Example Variables
var x = 5;
var y = 6;
var z = x + y; // or 11

// Same result, but "let"
let x = 5;
let y = 6;
let z = x + y;

// Again, but "const"
const x = 5;
const y = 6;
const z = x + y;

//Mixed Concept
const price1 = 5;
const price2 = 6;
let total = price1 + price2;

// You can declare many variables in one statement.
// Start the statement with let and separate the variables by comma:
let person = "John Doe", carName = "Volvo", price = 200;

// A declaration can span multiple lines:
let person = "John Doe",
carName = "Volvo",
price = 200;

// JavaScript Dollar Sign $
// Since JavaScript treats a dollar sign as a letter, identifiers containing 
// $ are valid variable names:
let $ = "Hello World";
let $$$ = 2;
let $myMoney = 5;

//In JavaScript, the equal sign (=) is an "assignment" operator, not an "equal to" operator.
//This is different from algebra. The following does not make sense in algebra:
x = x + 
  
// JavaScript variables can hold numbers like 100 and text values like "John Doe".
// In programming, text values are called text strings.
// JavaScript can handle many types of data, but for now, just think of numbers and strings.
// Strings are written inside double or single quotes. Numbers are written without quotes.
// If you put a number in quotes, it will be treated as a text string. Example :
const pi = 3.14;
let person = "John Doe";
let answer = 'Yes I am!';

// As with algebra, you can do arithmetic with JavaScript variables, using operators like = and + :
let x = 5 + 2 + 3;
// You can also add strings, but strings will be concatenated:
let x = "Venus" + " " + "Martinez";
// Also try this : 
let x = "5" + 2 + 3; // Hint #523 
get_intermediate_image_sizes(); // get all the image size names.
wp_get_additional_image_sizes(); // get all the additional image size data.
wp_get_registered_image_subsizes(); // get all the image size data.
<!DOCTYPE html>
<html>
<body>

<h2>Practicing HTML</h2>
<h3>My JavaScript Lesson</h3>

<p>You can use document.write to calculate numbers and add words in to fill in the information outside of it.</p>

<script>
document.write(176 + 323 + " have officially rsvp'd, " + 325 * 3 + " people have indicated possibly rsvping. Another " + 34 + " haven't responded.");
</script>

</body>
</html> 
//This is a bunch of JavaScript Code to be used in HTML

<h2>What Can JavaScript Do?</h2>

<p id="demo">JavaScript can change the style of an HTML element.</p>

<button type="button" onclick="document.getElementById('demo').style.fontSize='35px'">Click Me!</button>

<p>JavaScript can show hidden HTML elements.</p>

<p id="demo" style="display:none">Hello JavaScript!</p>

<button type="button" onclick="document.getElementById('demo').style.display='block'">Click Me!</button>

<h2>JavaScript in Body</h2>

<p id="demo"></p>

<script>
document.getElementById("demo").innerHTML = "My First JavaScript";
</script>

//This section follows the html tags up until <head> this goes in head & body both
<script>
function myFunction() {
  document.getElementById("demo").innerHTML = "Paragraph changed.";
}
</script>
</head>

<body>
<h2>Demo JavaScript in Head</h2>

<p id="demo">A Paragraph</p>
<button type="button" onclick="myFunction()">Try it</button>
//Add more body text here if you'd like finish up with footer possibly,
//   and close it all up


//This one is similar the the last except this one, JavaScript goes in the
// <body> instead of the <head> 
<h2>Demo JavaScript in Body</h2>

<p id="demo">A Paragraph</p>

<button type="button" onclick="myFunction()">Try it</button>

<script>
function myFunction() {
  document.getElementById("demo").innerHTML = "Paragraph changed.";
}
</script>


//This one is the External Version Of The Above Two
//  Make a file labeled "anything.js" {literally anything}
//    Insert This Inside
function myFunction() {
  document.getElementById("demo").innerHTML = "Paragraph changed.";
}
//Now you'll need to put something like this inside your .html document
<h2>Demo External JavaScript</h2>

<p id="demo">A Paragraph.</p>

<button type="button" onclick="myFunction()">Try it</button>

<p>This example links to "myScript.js".</p>
<p>(myFunction is stored in "myScript.js")</p>

<script src="myScript.js"></script>
//This ^^^ is the most essential of these lines in this example

// "Placing scripts in external files has some advantages:
//   * It separates HTML and code
//   * It makes HTML and JavaScript easier to read and maintain
//   * Cached JavaScript files can speed up page loads"
//The above notes quoted directly from :
<a href="https://www.w3schools.com/Js/js_whereto.asp">This Site</a>
<h2>What Can JavaScript Do?</h2>

<p>JavaScript can change HTML attribute values.</p>

<p>In this case JavaScript changes the value of the src (source) attribute of an image.</p>

<button onclick="document.getElementById('myImage').src='pic_bulbon.gif'">Turn on the light</button>

<img id="myImage" src="pic_bulboff.gif" style="width:100px">

<button onclick="document.getElementById('myImage').src='pic_bulboff.gif'">Turn off the light</button>
<p id="demo">JavaScript can change HTML content.</p>

<button type="button" onclick='document.getElementById("demo").innerHTML = "Hello JavaScript!">"Click Me!"</button>
star

Wed Jun 07 2023 21:18:23 GMT+0000 (Coordinated Universal Time)

@gbritgs

star

Wed Jun 07 2023 21:16:48 GMT+0000 (Coordinated Universal Time)

@gbritgs

star

Wed Jun 07 2023 21:15:35 GMT+0000 (Coordinated Universal Time)

@gbritgs

star

Wed Jun 07 2023 19:41:52 GMT+0000 (Coordinated Universal Time) https://epsilondev.service-now.com/catalog_script_client.do?sys_id

@piyranja3 #undefined

star

Wed Jun 07 2023 18:04:44 GMT+0000 (Coordinated Universal Time)

@chicovirabrikin

star

Wed Jun 07 2023 18:04:13 GMT+0000 (Coordinated Universal Time)

@chicovirabrikin

star

Wed Jun 07 2023 12:49:22 GMT+0000 (Coordinated Universal Time) https://aomedia.googlesource.com/All-Projects?format

@Love_Code

star

Wed Jun 07 2023 12:15:56 GMT+0000 (Coordinated Universal Time) https://practice.geeksforgeeks.org/problems/combination-sum-1587115620/1

@samarth_333 #c++

star

Wed Jun 07 2023 12:07:33 GMT+0000 (Coordinated Universal Time) https://maticz.com/meme-coin-development

@RebbaLancaster #binancesmartchain #bscsmartcontractdevelopment #bscsmartcontract

star

Wed Jun 07 2023 11:44:32 GMT+0000 (Coordinated Universal Time) https://maticz.com/meme-coin-development

@RebbaLancaster #metaverseasaservice #metaverseservices #metaverseserviceprovider #metaverseasaserviceforbusiness

star

Wed Jun 07 2023 10:49:06 GMT+0000 (Coordinated Universal Time) https://maticz.com/metaverse-as-a-service

@RebbaLancaster #metaverseasaservice #metaverseservices #metaverseserviceprovider #metaverseasaserviceforbusiness

star

Wed Jun 07 2023 10:18:26 GMT+0000 (Coordinated Universal Time) https://raddy.dev/blog/how-to-create-responsive-side-navigation-using-tailwindcss-alpinejs/

@meetmario #undefined

star

Wed Jun 07 2023 10:12:58 GMT+0000 (Coordinated Universal Time) https://www.thiscodeworks.com/back-to-top-button-alpinejs-tailwindcss-alpinejs-tailwind/622b8793c8b23d001551aa68

@meetmario

star

Wed Jun 07 2023 10:07:16 GMT+0000 (Coordinated Universal Time) https://maticz.com/unity-3d-game-development

@RebbaLancaster

star

Wed Jun 07 2023 10:04:04 GMT+0000 (Coordinated Universal Time) https://www.codingninjas.com/codestudio/problems/number-of-islands-ii_1266048

@Ayush_dabas07

star

Wed Jun 07 2023 09:28:55 GMT+0000 (Coordinated Universal Time)

@milliedavidson #git #rebase #commandline

star

Wed Jun 07 2023 09:26:29 GMT+0000 (Coordinated Universal Time)

@milliedavidson #git #merge #rebase #commandline

star

Wed Jun 07 2023 08:48:12 GMT+0000 (Coordinated Universal Time)

@Shumela

star

Wed Jun 07 2023 08:48:10 GMT+0000 (Coordinated Universal Time)

@Shumela

star

Wed Jun 07 2023 07:32:39 GMT+0000 (Coordinated Universal Time) https://shamlatech.com/cryptocurrency-exchange-development/

@gladysalina

star

Wed Jun 07 2023 07:23:43 GMT+0000 (Coordinated Universal Time) https://github.com/caseyscarborough/github-activity

@djxpat254 ##github ##feed ##activity_feed ##github_activity

star

Wed Jun 07 2023 07:21:07 GMT+0000 (Coordinated Universal Time) https://bloggify.github.io/github-calendar/example/

@djxpat254 #html

star

Wed Jun 07 2023 07:02:49 GMT+0000 (Coordinated Universal Time)

@JISSMONJOSE #react.js #css #javascript

star

Wed Jun 07 2023 07:00:52 GMT+0000 (Coordinated Universal Time)

@Jackhihihihihi

star

Wed Jun 07 2023 06:45:38 GMT+0000 (Coordinated Universal Time)

@JISSMONJOSE #react.js #css #javascript

star

Wed Jun 07 2023 05:48:21 GMT+0000 (Coordinated Universal Time) https://7689e7fe-74f9-41dd-92b2-b8f113f4b9e4.c2.ap-southeast-2.airflow.amazonaws.com/trigger?dag_id

@jayblake #undefined

star

Wed Jun 07 2023 05:46:37 GMT+0000 (Coordinated Universal Time)

@JISSMONJOSE #react.js #css #javascript

star

Wed Jun 07 2023 05:35:16 GMT+0000 (Coordinated Universal Time)

@JISSMONJOSE #react.js #css #javascript

star

Wed Jun 07 2023 05:26:12 GMT+0000 (Coordinated Universal Time)

@JISSMONJOSE #react.js #css #javascript

star

Wed Jun 07 2023 05:23:57 GMT+0000 (Coordinated Universal Time)

@JISSMONJOSE #react.js #css #javascript

star

Wed Jun 07 2023 03:20:00 GMT+0000 (Coordinated Universal Time)

@namnt

star

Wed Jun 07 2023 02:37:19 GMT+0000 (Coordinated Universal Time) https://monkeytype.com/

@Unforetold

star

Tue Jun 06 2023 23:41:07 GMT+0000 (Coordinated Universal Time)

@Mohamedshariif #java

star

Tue Jun 06 2023 22:46:25 GMT+0000 (Coordinated Universal Time)

@Mohamedshariif #java

star

Tue Jun 06 2023 22:29:02 GMT+0000 (Coordinated Universal Time)

@Mohamedshariif #java

star

Tue Jun 06 2023 22:15:58 GMT+0000 (Coordinated Universal Time)

@Mohamedshariif #java

star

Tue Jun 06 2023 21:37:28 GMT+0000 (Coordinated Universal Time)

@Mohamedshariif #java

star

Tue Jun 06 2023 21:37:00 GMT+0000 (Coordinated Universal Time)

@Mohamedshariif #java

star

Tue Jun 06 2023 19:15:52 GMT+0000 (Coordinated Universal Time) https://chromium.googlesource.com/chromiumos/platform/firmware/+/refs/heads/main/pack/README.md

@BeamerGuy

star

Tue Jun 06 2023 19:15:40 GMT+0000 (Coordinated Universal Time) https://chromium.googlesource.com/chromiumos/platform/firmware/+/refs/heads/main/pack/README.md

@BeamerGuy

star

Tue Jun 06 2023 19:13:03 GMT+0000 (Coordinated Universal Time) https://chromium.googlesource.com/chromiumos/platform/firmware/

@BeamerGuy

star

Tue Jun 06 2023 17:30:48 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/28954168/how-to-use-class-methods-as-callbacks

@leninzapata #php

star

Tue Jun 06 2023 17:05:19 GMT+0000 (Coordinated Universal Time)

@thecowsays #javascript

star

Tue Jun 06 2023 16:40:14 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/Js/js_const.asp

@Vkmartinez95 #javascript #innerhtml #button #onclick #html

star

Tue Jun 06 2023 16:11:37 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/Js/js_variables.asp

@Vkmartinez95 #javascript #innerhtml #button #onclick #html

star

Tue Jun 06 2023 16:02:00 GMT+0000 (Coordinated Universal Time)

@dawidkorzecki #php

star

Tue Jun 06 2023 15:43:24 GMT+0000 (Coordinated Universal Time)

@Vkmartinez95 #javascript #innerhtml #button #onclick #html

star

Tue Jun 06 2023 15:13:37 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/Js/tryit.asp?filename=tryjs_intro_lightbulb

@Vkmartinez95 #javascript #innerhtml #button #onclick #html

star

Tue Jun 06 2023 15:06:35 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/Js/tryit.asp?filename=tryjs_intro_inner_html

@Vkmartinez95 #javascript #innerhtml #button #onclick #html

Save snippets that work with our extensions

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