Snippets Collections
{
  "e8d48982de0bd2a4cb764af7cf92a546163082ee": "-----BEGIN CERTIFICATE-----\nMIIC/DCCAeSgAwIBAgIIANTOoBjIQWswDQYJKoZIhvcNAQEFBQAwIDEeMBwGA1UE\nAxMVMTA3NjU3OTk2MDk1NDA4NzA0MTQ1MCAXDTI0MDIyOTAwMzkxMVoYDzk5OTkx\nMjMxMjM1OTU5WjAgMR4wHAYDVQQDExUxMDc2NTc5OTYwOTU0MDg3MDQxNDUwggEi\nMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCwu151+B7eQRKJ97H2pQmBp8U5\nhn9TRPFQTz6GWUNEwNooRloO6Hxbzj5ASiQFPX3xLz7VipsVHt9504Rm/jJGhZ1q\nDKr79qEU1nH5RUxC6A+PlGCS5IHU4sRcuqUuHrQ/g9RelUlA+4U5KwG0lUIin80n\n7Tz21lDpUlVlqxcHv1Cc/gQvWILmB+8/oKf3blv7QCPbtTSd2H4STE4jJmz3PwLO\nahLaeIddS7OqukEjV+cp2cnSkO65xu2jBz9h6zl2WjVrQkMuzPECxM4HmwqrhS0n\ndyxI0mrB8ppDfSrAvd77aLH2VQRPv7ub2p5NRv7zUgU1nGzEUiiYcqBJx1pZAgMB\nAAGjODA2MAwGA1UdEwEB/wQCMAAwDgYDVR0PAQH/BAQDAgeAMBYGA1UdJQEB/wQM\nMAoGCCsGAQUFBwMCMA0GCSqGSIb3DQEBBQUAA4IBAQAR+/9ytKUJ1WYGN/K8WMyw\nvdppDFKqBNi6AboZoJOsTlm97DO3cy2nmpHV0GeUhaelEAkmzfjYMIcWXpbn4I7P\n2qUERKKoIKJJlIR4TMY5VmlHc6YrulRrq3KTaVIpYbtdQ4OJMQMaWRi2l8GhKraG\nqiQK6J57PuvamoG1OP+Q1vqTyIkv0Q6DFevmTflu6tsOY2T+CSletNTlQg9/zwMl\nAyakA1CX8hT5WG0WRL8AbBMpy7ht4SxfEs5rvE2/ajBKM0uVggwr51+B7nNQiA3K\nYdroOYr1HusHQpF5cvigNkBKb5KpuvHFJn2qnDgqb9/YluxdlZFM8df50zTobsV3\n-----END CERTIFICATE-----\n",
  "868a9663ad2eb51c1b8855395e3610a79429cd41": "-----BEGIN CERTIFICATE-----\nMIIDPDCCAiSgAwIBAgIIJ7uRI2ZYhXIwDQYJKoZIhvcNAQEFBQAwQTE/MD0GA1UE\nAww2aWdrLTMxOC5jYXBhYmxlLWRyb3BsZXQtNDA1MjA1LmlhbS5nc2VydmljZWFj\nY291bnQuY29tMB4XDTI0MDMwODAwMjEwNVoXDTI0MDMyNDEyMzYwNVowQTE/MD0G\nA1UEAww2aWdrLTMxOC5jYXBhYmxlLWRyb3BsZXQtNDA1MjA1LmlhbS5nc2Vydmlj\nZWFjY291bnQuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1CLS\nCm46sM4Gsk+KRID07Ry1b+xz8sF6i+Gx7x/P8X8kNaLBHfogo5GLWQHIxN2PIka8\nZSjmChyT/GZtoSghJhQnpSGZ7SOQuKPsSZViZWnx0R6pk0cViWcz6dqo+whcILjb\naGfmO3vYXXX8sLi72r7kF+EZHie/uCBPlUrDT/GQL1waQ7HVLUwC+wZLEF3v4vct\nb2A/7oWAwdumBa1eN/ybs4+WiCdnPjfGgNqZPt2drIBHkReDInJ02FfycoeMHdYn\n47lwYGi7ECOmsW1ZcpeF4l/H/ozdZlHI64qe46MRBSMTFe19VCaRVSCzdV3bNPEZ\nvRGfycHlL8q266QJ9wIDAQABozgwNjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQE\nAwIHgDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEA\neI1LGBd5jygd91Z01NOE612rNyQNg0SBkhkBRCfdolSCCkCYDGCnfq3GTUjvwWHG\n9SpQsfFkFaZix/Nf8n7OskzCUFzjAos4+9nAtS1yVVfjZ2VRK+3fNTBaODs3WcAu\nDziWwDlEGK2bHYiWk5CuZFmZ4+dDBLiTcWIB3KA3IzWOK2CqbEqJPmjuHkUB0rX4\nKSJXeBmDc/hbkPIrGF8DRuv32l22dnAchWKo2e7ZnhEqWIHWj2kltIt7xh2vpvTc\nXpQC7XxAF8Ghh+V8+8Oiw0sTa9AMoMe1ezTSp3bEtBa5xdyOwAKjzsuu6h27jd1h\npxeFq7DwsvMp//3wTtAwQQ==\n-----END CERTIFICATE-----\n",
  "d5d13305f22e6a1e8cf2e2422e544a36debd806b": "-----BEGIN CERTIFICATE-----\nMIIDPDCCAiSgAwIBAgIIGgWfEoJR8U8wDQYJKoZIhvcNAQEFBQAwQTE/MD0GA1UE\nAxM2aWdrLTMxOC5jYXBhYmxlLWRyb3BsZXQtNDA1MjA1LmlhbS5nc2VydmljZWFj\nY291bnQuY29tMB4XDTI0MDIyOTAwMjcxOVoXDTI2MDIyODIyMTI0MFowQTE/MD0G\nA1UEAxM2aWdrLTMxOC5jYXBhYmxlLWRyb3BsZXQtNDA1MjA1LmlhbS5nc2Vydmlj\nZWFjY291bnQuY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA1UiB\nKyiJ3IX2jiOciE2SgAhdNhqi2Dmd8kGxQbg6fIPe+D0oW75PI+mY24oLqFiFjVdz\n4AjfmPUoZHiqhmiql5as6jIkXBEuusTks/ghI2Y7YRnbbNWL80d84xEP30d+Wjsd\nFUMNbZtNQTxWoDE6H/rHN+DX4HG1+6UZTpwYvG9JvHnUJ85PanaQD3HpRHACHAdN\n7ceVedzi09MrtUObSnfIRobflQNr4bejbByBiD/cVghlIkhL5GtRhjURC7mgkUIH\nh3c3xy03WWdpZFBf3XZME6J4upKZ8VV7E8WV+h6GXfbH3DKZVjRiC00GSWfW+FeA\nbKpnklgzluYMgsJMTQIDAQABozgwNjAMBgNVHRMBAf8EAjAAMA4GA1UdDwEB/wQE\nAwIHgDAWBgNVHSUBAf8EDDAKBggrBgEFBQcDAjANBgkqhkiG9w0BAQUFAAOCAQEA\nbARvq6oF++nHEIk301kz+QoclF9GuM7dZL6WxIw0XClQuHYMGk5zjD2/t+5++zym\nqRoGVfRWIUiRaNU6YH7XAVz/+/OFG8yMmm5t2Y0QE/ySGgi0p58Fb8ljmd2R+TvQ\npJClIXb/B56HBALpvdz8jAlpvkd82RsDb3q1k8d0SwuBz2uKeyGxTQVlBTDocG57\n3LWubvkx/p0riLVjuccKJJOSvuBFf3befjoeIZyFPhbTHg77usO9KTTERfiW1h39\nahazDevg2mTS6xgVU5NgtQ1FQ9lW1gCeM0KGuhpP0FlsgHEzC0cyCk2oiMV+PEPH\nhlBovmT2xl0fas4sg9JPQQ==\n-----END CERTIFICATE-----\n"
}
// BankAccount.java

public class BankAccount {
	private String name;
	private double balance;
	
	public void deposit(double amount){
		balance += amount;
		System.out.println(amount + " is successfully Deposited");
	}
	public void withdraw(double amount){
		if(balance >= amount){
			balance -= amount;
			System.out.println(amount + " is successfully Withdrawn");
		}
		else{
			System.out.println("Insufficient funds");
		}
			
	}
	public double getBalance(){
		return balance;
	}
	
}

//////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////

//BankAccountTest.java

import java.util.Scanner;

public class BankAccountTest{
	
	public static void main(String args[]){
		
		BankAccount account = new BankAccount();
		
		Scanner input = new Scanner(System.in);
		System.out.println("Enter account holder name: ");
		String name = input.nextLine();
		
		int choice;
		
		do{
			System.out.println("Press 1: To Deposit an amount\nPress 2: To Withdraw an amount\nPress 3: To View the current balance\nPress 4: To Close the program");
		    choice = input.nextInt();
		
		    switch(choice){
			case 1:
			System.out.println("Enter the amount you want to Deposite");
			double depositeAmount = input.nextDouble(); 
			account.deposit(depositeAmount);
			break;
			case 2:
			System.out.println("Enter the amount you want to withdraw");
			double withdrawAmount = input.nextDouble();
			account.withdraw(withdrawAmount);
			break;
			case 3:
			System.out.println("Your current balance is " + account.getBalance());
			break;
			case 4:
			System.out.println("The program is terminated");
			break;
			default:
			System.out.println("Incorrect choice. Please try again!");
			break;
			
		
		}
		
	}while(choice!=4);
  }
	
}
[
    {
        $group: {
            _id: "$participantId",
            documents: { $push: "$$ROOT" },
            count: { $sum: 1 }
        }
    },
    {
        $match: {
            count: { $gt: 1 }
        }
    },
    {
        $unwind: "$documents"
    },
    {
        $match: {
            "documents.programCode": { $ne: "" }
        }
    },
    {
        $group: {
            _id: {
                participantId: "$_id",
                programCode: "$documents.programCode",
                programStartDate: "$documents.programStartDate"
            },
            baselineId: { $first: "$_id" },
            documentIds: { $push: "$documents._id" }, 
            documents: { $push: "$documents" },
            count: { $sum: 1 }
        }
    },
    {
        $match: {
            count: { $gt: 1 }
        }
    },
    {
        $project: {
            _id: 1,
            participantId: "$_id.participantId",
            programCode: "$_id.programCode",
            programStartDate: "$_id.programStartDate",
            baselineId: 1,
            documentIds: 1 
        }
    },
    {
        $lookup: {
            "from": "participant",
            "localField": "participantId",
            "foreignField": "_id",
            "as": "temp"
        }
    },
    {
        $match: {
            "temp.userStatus": { $ne: "TEST" },
            $and: [
                { "temp.email": { $nin: [/deleted/] } },
                { "temp": { $ne: null } }
            ]
        }
    },
    {
        $unwind:"$documentIds"
    }
    {
        $project: {
            _id:0
            "participantId": { $arrayElemAt: ["$temp._id", 0] },
            "email": { $arrayElemAt: ["$temp.email", 0] },
            "documentIds": 1 
        }
    }
]
Web3 seems to be the future of web3, the world has experienced the change from web1 to web3 and all other changes that changed the world because of the evolution of web1 and web2. Now the world is at the edge of change with the evolution of web3 and this will bring you the change to the present world. The concept of the digital world has been accelerated with the development of web3 and blockchain acts as the backbone of web3. The world will be more virtual in a few years with all virtual environments and virtual economies. Thinking of the future and competing in the race in the digital world it's the right time for you to bring in web3 solutions, talk with the experts of a web3.0 development agency and get your advanced tech solutions.
package pl.pp;
import java.util.Scanner;
public class myThirdApp{
        public static void main(String[] args) {
                Scanner scanner = new Scanner(System.in);

        System.out.println("Enter a number greater than 100:");

        // WHILEloop(https://introcs.cs.princeton.edu/java/11cheatsheet/images/while.png)
        var number1 = scanner.nextDouble();
        while (number1 <= 100) {
        System.out.println("The number is not greater than 100, enter again:");
        number1 = scanner.nextDouble();
        }
        System.out.println("Thank you! You’ve entered: " + number1);

        // DO..WHILE loop (https://introcs.cs.princeton.edu/java/11cheatsheet/images/do-while.png)
        double number2;
        do {
                System.out.println("Enter a number greater than200:");
                number2 = scanner.nextDouble();
        } while (number2 <= 200);
        System.out.println("Thank you! You’ve entered: " + number2);

        // FORloop(https://introcs.cs.princeton.edu/java/11cheatsheet/images/for.png)
        int wynik = 0;
        for (var i = 1; i <= 10; i++) {
                wynik = wynik + i;
                System.out.println("Iteration no." + i + " in the for loop, and the result (wynik)= " +
                        wynik);
        }

        //IF..ELSE conditional statements(https://introcs.cs.princeton.edu/java/11cheatsheet/images/if.png)
        System.out.println("Enter the value of x: ");
        var x = scanner.nextDouble();
        System.out.println("Enter the value of y: ");
        var y = scanner.nextDouble();

        if(x > y){
                System.out.println("x is greater than y");
        } else if (x < y) {
                System.out.println("x is smaller thany");
        } else {
                System.out.println("x equalsb y");
        }

//terminating the program by pressing a specific key
while(true)
{
        System.out.println("Enter-1 to exit the program");
        var input = scanner.nextDouble();
        if(input == -1){
                System.out.println("Exit...");
                break;
        }
}
scanner.close();
}
}
package pl.pp;import java.util.Scanner;public class myThirdApp{public static void main(String[] args) {Scanner scanner = new Scanner(System.in);System.out.println("Enter a number greater than 100:");// WHILEloop(https://introcs.cs.princeton.edu/java/11cheatsheet/images/while.png)var number1 = scanner.nextDouble();while (number1 <= 100) {System.out.println("The number is not greater than 100, enter again:");number1 = scanner.nextDouble();}System.out.println("Thank you! You’ve entered: " + number1);// DO..WHILE loop (https://introcs.cs.princeton.edu/java/11cheatsheet/images/do-while.png)double number2;do {System.out.println("Enter a number greater than200:");number2 = scanner.nextDouble();} while (number2 <= 200);System.out.println("Thank you! You’ve entered: " + number2);// FORloop(https://introcs.cs.princeton.edu/java/11cheatsheet/images/for.png)int wynik = 0;for (var i = 1; i <= 10; i++) {wynik = wynik + i;System.out.println("Iteration no." + i + " in the for loop, and the result(wynik)= " + wynik);}//IF..ELSE conditional statements(https://introcs.cs.princeton.edu/java/11cheatsheet/images/if.png)System.out.println("Enter the value ofx: ");var x = scanner.nextDouble();System.out.println("Enter the value ofy: ");var y = scanner.nextDouble();if(x > y){System.out.println("x is greater thany");} else if (x < y) {System.out.println("x is smaller thany");} else {System.out.println("x equalsy");}
//terminating the program by pressing a specific keywhile(true){System.out.println("Enter-1 to exit the program");var input = scanner.nextDouble();if(input == -1){System.out.println("Exit...");break;}}scanner.close();}}
Mobile Apps have brought major changes to the digital space and are playing a major role in a country's economic growth and connects businesses globally at ease. Mobile apps have a major participation in the development of online business platforms. Mobile apps are represented as the digital storefront of your business and these apps are doing the work of your physical store or office in the digital forum.

Not just for specific businesses, but many other apps are developed and launched in the digital space which is completely operated only in the digital space like games, social media, other entertainment applications, and more. Mobile apps have helped many businesses grow and make huge profits in the online spectrum with a wide audience base. Even though websites have been out there for years, apps have made something more than websites that can’t be done. If you are running a business make yourself involved in launching a mobile app to improve your business growth in the digital space. You may connect with Maticz, Mobile App Development Company to plan and launch your mobile app.
void action(){  
  turnRight(); move();
  
  if(isMableOnClam()){ /* Check if clams exist where Mable stand */
    // To pick up a clam
    pickUpClam();
  }
  else if(isMableOnDestination()){ /* Check if Mable is on a destination */
    // To put down all clams
    putDownClam();
    putDownClam();
    putDownClam();
    putDownClam();
  }
  else{ /* If there are no clams and Mable is not on the destination */
    // To move forward once
    move();
  }
  
  turnLeft(); move();

  if(isMableOnClam()){ /* Check if clams exist where Mable stand */
    // To pick up a clam
    pickUpClam();
  }
  else if(isMableOnDestination()){ /* Check if Mable is on a destination */
    // To put down all clams
    putDownClam();
    putDownClam();
    putDownClam();
    putDownClam();
  }
  else{ /* If there are no clams and Mable is not on the destination */
    // To move forward once
    move();
  }
  
  turnRight(); move();
  turnLeft(); move();
  turnRight(); move();
  
  if(isMableOnClam()){ /* Check if clams exist where Mable stand */
    // To pick up a clam
    pickUpClam();
  }
  else if(isMableOnDestination()){ /* Check if Mable is on a destination */
    // To put down all clams
    putDownClam();
    putDownClam();
    putDownClam();
    putDownClam();
  }
  else{ /* If there are no clams and Mable is not on the destination */
    // To move forward once
    move();
  }
  
  turnLeft(); move();
  
  if(isMableOnClam()){ /* Check if clams exist where Mable stand */
    // To pick up a clam
    pickUpClam();
  }
  else if(isMableOnDestination()){ /* Check if Mable is on a destination */
    // To put down all clams
    putDownClam();
    putDownClam();
    putDownClam();
    putDownClam();
  }
  else{ /* If there are no clams and Mable is not on the destination */
    // To move forward once
    move();
  }
  
  turnRight(); move();
  
  if(isMableOnClam()){ /* Check if clams exist where Mable stand */
    // To pick up a clam
    pickUpClam();
  }
  else if(isMableOnDestination()){ /* Check if Mable is on a destination */
    // To put down all clams
    putDownClam();
    putDownClam();
    putDownClam();
    putDownClam();
  }
  else{ /* If there are no clams and Mable is not on the destination */
    // To move forward once
    move();
  }
}
.button:where(:has(.icon)) {
  text-align: center;
  min-inline-size: 10ch;
}

.button:where(:not(:has(.icon))) {
  text-align: center;
  min-inline-size: 10ch;
}

.card :is(h2, h3) {
  &:has(.tag) {
    display: grid;
    gap: 0.25em;
    justify-items: start;
  }
}
error_code=None error_message='Invalid URL (POST /v1/engines/gpt-3.5-turbo-instruct/chat/completions)' error_param=None error_type=invalid_request_error message='OpenAI API error received' stream_error=False
2024-03-12 07:48:41,406 |ERROR| llm_service.py.llm_answer - AnyIO worker thread: ERROR Invalid URL (POST /v1/engines/gpt-3.5-turbo-instruct/chat/completions)
@tailwind base;
@tailwind components;
@tailwind utilities;

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-size: 16px;
}

/* when modal open should overflow hidden for body */
body.modal-open {
  overflow: hidden;
}


input[type="radio"] {
  position: relative;
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: 16px;
  color: white;
  width: 1em;
  height: 1em;
  border: 0.5px solid darkgray;
  border-radius: 50%;
  
}
input[type="radio"]:checked:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background-color: darkcyan;
}

@layer components {
  .max-container {
    max-width: 1440px;
    margin: 0 auto;
  }
  .modal-section{
    @apply fixed inset-0 bg-black bg-opacity-60 flex justify-center items-center z-50 overflow-y-auto
  }
  .modal-box{
    @apply bg-white relative  translate-y-[40%] lg:translate-y-1/3 p-4 sm:p-8 w-11/12 lg:w-[60%] rounded-lg flex flex-col gap-6;
  }
}


{backers.map((item, index) => (
          <div
            key={index}
            className={`flex flex-col gap-2 lg:border-r-2 lg:pr-12 items-center lg:items-start  
            ${!item.line && "border-none"}
            ${index == 1 && "lg:pr-20"}
            `}
          >
            <h2 className="font-bold text-3xl">{item.value}</h2>
            <p className="text-dark-gray">{item.label}</p>
            <hr
              className={` border-1 text-black w-[100px] mt-5 lg:hidden ${
                !item.line && "hidden"
              }`}
            />
          </div>
        ))}
import React, { useState, useEffect } from "react";
import { fetchExpenses } from "../../../../APIs/ExpensesApi";
import ExpensesTables from "./ExpensesTables";

const Expenses = () => {
  const [expensesData, setexpensesData] = useState([]);
  

  useEffect(() => {
    const fetchData = async () => {
      try {
        // Set the desired limit value here, for example, 10
        const limit = 50;
        const offset = 0;
        const response = await fetchExpenses(limit,offset);
        setexpensesData(response.results);
      } catch (error) {
        console.error('Error fetching expenses data:', error);
      }
    };
    fetchData();
  }, []);
  


  return (
    <>
       <ExpensesTables expensesData={expensesData}  />
    </>
  );
};

export default Expenses

import React, { useEffect, useState } from "react";
import "./expensesTables.css"
import Button from 'react-bootstrap/Button';
import Offcanvas from 'react-bootstrap/Offcanvas';
import defaultIcon from "../../../../assets/images/icon/default.png";
import {
  Check,
  ChevronLeft,ArrowDown,ArrowUp ,
  Building,Person,Plus
} from "react-bootstrap-icons";



import NodataImg from "../../../../assets/images/img/NodataImg.png";
import nodataBg from "../../../../assets/images/nodataBg.png";
import SearchIcon from "../../../../assets/images/icon/searchIcon.png";


import { Table } from "react-bootstrap";
import TableTopBar from "./TableTopBar";
import { Resizable } from 'react-resizable';
import StatusPopup from "./StatusPopup";


const ExpensesTables = ({ expensesData,rowsNo }) => {
  const [sortField, setSortField] = useState("Quote");
  const [sortDirection, setSortDirection] = useState("asc");
  const [selectedRow, setSelectedRow] = useState(null);

  // Formate Date
  const formatDate = (timestamp) => {
    const date = new Date(timestamp * 1000);
    const day = date.getDate();
    const monthAbbreviation = new Intl.DateTimeFormat("en-US", {
      month: "short",
    }).format(date);
    const year = date.getFullYear();
    return `${day} ${monthAbbreviation} ${year}`;
  };

  const toggleSort = (field) => {
    setSortField(field);
    setSortDirection((prevDirection) =>
      prevDirection === "asc" ? "desc" : "asc"
    );
  };

  const sortedClientsData = [...expensesData].sort((a, b) => {
    const aValue = a[sortField];
    const bValue = b[sortField];
  
    
    if (aValue === undefined || bValue === undefined) {
      return 0; 
    }
  
    if (sortDirection === "asc") {
      return aValue.localeCompare(bValue, undefined, { numeric: true });
    } else {
      return bValue.localeCompare(aValue, undefined, { numeric: true });
    }
  });

  const [show, setShow] = useState(false);

  const handleRowClick = (rowId) => {
    setSelectedRow(rowId === selectedRow ? null : rowId);
    setShow(true)
  };

 

    const handleClose = () => setShow(false);


  const [selectedRows, setSelectedRows] = useState([]);
  const handleSelectAllCheckboxChange = () => {
    const allRowIds = expensesData.map((sale) => sale.id);
    if (selectedRows.length === allRowIds.length) {
      setSelectedRows([]);
    } else {
      setSelectedRows(allRowIds);
    }
  };

  const selectedRowsCount = selectedRows.length;

  const [columns, setColumns] = useState([
    {
      field: "Quote",
      headerName: (
        <div className="styleColor1" onClick={() => toggleSort("Quote")}>
        <span>Expense ID</span>
        {sortField === "Quote" && (
          <span>
            {sortDirection === "asc" ? (
              <ArrowUp size={16} color="#475467" />
            ) : (
              <ArrowDown size={16} color="#475467" />
            )}
          </span>
        )}
      </div>
      ),
 
      renderCell: (params) => (
        <div className="styleColor1">
          <strong>{params.value}</strong>
          <p>{params.row.created}</p>
        
        </div>
      ),
    },

    {
      field: "supplier",
      headerName: (
        <div className="styleColor1" onClick={() => toggleSort("supplier")}>
        <span>Supplier</span>
        {sortField === "supplier" && (
          <span>
            {sortDirection === "asc" ? (
              <ArrowUp size={16} color="#475467" />
            ) : (
              <ArrowDown size={16} color="#475467" />
            )}
          </span>
        )}
      </div>
      ),
  
      renderCell: (params) => (
        <div className="userImgStyle1">
          <div className="innerFlex styleColor2 d-flex justify-content-between">
            <div className="leftStyle spaceBorder d-flex align-items-center isbusinessIcon">
              {params.row.photo ? (
                <img
                  src={params.row.photo}
                  alt={params.row.photo}
                  style={{ marginRight: "5px" }}
                  onError={(e) => {
                    e.target.src = defaultIcon;
                    e.target.alt = "Image Not Found";
                  }}
                />
              ) : (
                params.row.isbusiness ? (
                  <div className="iconBuilding icon">
                    <Building size={13.71} color="#667085" />
                  </div>
                ) : (
                  <div className="iconPerson icon">
                    <Person size={24} color="#667085" />
                  </div>
                )
              )}
              <span>{params.value}</span>
            </div>
            <Button className="linkByttonStyle" variant="link">Open</Button>
          </div>
        </div>
      ),
      
    },
  
    {
      field: "reference",
      sortable: false,
      headerName: "Reference",
      width: 440,
      renderCell: (params) => {
    
        return (
          <div
            className="mainStyle "
            style={{ whiteSpace: "normal", textAlign: "left" }}
          >
           {params.value}
          </div>
        );
      },
    },
    {
      field: "duedate",
      sortable: false,
      headerName: "Due Date",
      width: 120,
      renderCell: (params) => {

        return (
          <div
            className="mainStyle duedate"
            style={{ whiteSpace: "normal", textAlign: "left" }}
          >
            {formatDate(params.value)}
          </div>
        );
      },
    },
    
  
    {
      field: "total",
      sortable: false,
      headerName: "Total",
      width: 131,
      renderCell: (params) => (
          <div
            className="totalpayEx"
            style={{ whiteSpace: "normal", textAlign: "center" }}
          >
         $ {params.value}<span className="lineVerticle"><Plus size={12} color="#079455" /></span>
        </div>
      ),
    },
  
    {
      field: "UserInvoice",
      sortable: false,
      headerName: "Interval/Order",
      width: 144,
      renderCell: (params) => (
        params.value ? (
          <div
            className="intervalorder"
            style={{ whiteSpace: "normal", textAlign: "center" }}
          >
            {params.value}
          </div>
        ) : (
          <span></span>
        )
      ),
      
    },
   
    {
      field: "accountCode",
      sortable: false,
      headerName: "Account Code",
      width: 214,
      renderCell: (params) => (
        params.value ? (
          <div
            className="styleColor1 accountCode"
            style={{ whiteSpace: "normal", textAlign: "left" }}
          >
            {params.value}: {params.row.accountname}
          </div>
        ) : (
          <span></span>
        )
      ),
    },

    {
      field: "country",
      sortable: false,
      headerName: "Xero/Myob",
      width: 111,
      renderCell: (params) => (
        <div
          className="styleGrey01"
          style={{ whiteSpace: "normal", textAlign: "left", textTransform: "uppercase" }}
        >
          
        </div>
      ),
    },

    {
      field: "department",
      sortable: false,
      headerName: "Departments",
      width: 128,
      renderCell: (params) => (
        <div
        className="styleGrey01 departmentstyle"
        style={{ whiteSpace: "normal", textAlign: "left" }}
      >
        {params.value}
        
        </div>
      ),
    },
    {
      field: "paid",
      sortable: false,
      headerName: "Status",
      width: 120,
      renderCell: (params) => (
          <StatusPopup statusValue={params.value} />
      ),
    }
  ]);

  const [rows, setRows] = useState([]);
  useEffect(()=> {
    const rows = expensesData.map((expense) => {

    
      return {
        isSelected: selectedRows.includes(expense.id),
        id: expense.id,
        Quote: expense.number,
        created: expense.created,
        paid: expense.paid,
        supplier: expense.supplier ? expense.supplier.name : null,
        photo: expense.supplier ? expense.supplier.photo : null,
        reference: expense.invoice_reference,
        duedate: expense.created,
        total: expense.total,
        UserInvoice: expense.type,
        accountCode: expense.account_code ? expense.account_code.code : null,
        accountname: expense.account_code ? expense.account_code.name : null,
        department: expense.department ? expense.department.name : null,
      
      };
    });
    
    setRows(rows)
  }, [expensesData,selectedRows])
  

  const onResize = (index) => (event, { size }) => {
    setColumns((prevColumns) => {
      const nextColumns = [...prevColumns];
      nextColumns[index] = {
        ...nextColumns[index],
        width: size.width,
      };
      return nextColumns;
    });
  };
  
  const handleCheckboxChange = (rowId) => {
    const updatedSelectedRows = [...selectedRows];
    if (updatedSelectedRows.includes(rowId)) {
      // Row is already selected, remove it
      updatedSelectedRows.splice(updatedSelectedRows.indexOf(rowId), 1);
    } else {
      // Row is not selected, add it
      updatedSelectedRows.push(rowId);
    }
    setSelectedRows(updatedSelectedRows);
  };
  const isSelected = selectedRows.length > 0;
  const [rowsfilter, setRowsFilter] = useState([]);
  
  const handleRowsFilterChange = (filteredRows) => {
    
    const rows = filteredRows.map((expense) => {
      return {
        isSelected: selectedRows.includes(expense.id),
        id: expense.id,
        Quote: expense.number,
        created: expense.created,
        supplier: expense.supplier ? expense.supplier.name : null,
        photo: expense.supplier ? expense.supplier.photo : null,
        reference: expense.invoice_reference,
        duedate: expense.created,
        total: expense.total,
        UserInvoice: expense.type,
        accountCode: expense.account_code ? expense.account_code.code : null,
        accountname: expense.account_code ? expense.account_code.name : null,
        department: expense.department ? expense.department.name : null,
      };
    });
    
    setRows(rows);
    setRowsFilter(rows);
  };

  return (
    <div className="expensesTableWrap">
      <TableTopBar expensesData={expensesData} rowsfilter={rowsfilter} onRowsFilterChange={handleRowsFilterChange} rows={sortedClientsData} selectedRow={selectedRows} selectClass={isSelected ? "selected-row" : ""} selectedRowCount={selectedRowsCount} />

      <Table responsive>
      <thead style={{ position: "sticky", top: "0px", zIndex: 9 }}>
          <tr>
          <th>
          <label className="customCheckBox">
          <input
            type="checkbox"
            checked={selectedRows.length === expensesData.length}
            onChange={handleSelectAllCheckboxChange}
          />
          <span className="checkmark">
            <Check color="#9E77ED" size={20} />
          </span>
        </label>
          </th>
            {columns.map((column, index) => (
                <th key={column.field} style={{ width: column.width }}>
                <Resizable
                  width={column.width || 100} // Provide a default width if undefined
                  height={0}
                  onResize={onResize(index)}
                >
                  <div>
                    {column.headerName}
                  </div> 
                </Resizable>
              </th>
            ))}
          </tr>
        </thead>
        <tbody>
          {rows.length === 0 ? (
            <tr className="nodataTableRow">
              <td colSpan={columns.length} style={{ textAlign: "center" }}>
                <div style={{ textAlign: "center", marginTop: "20px" }}>
                  <div
                    className="Nodata"
                    style={{ background: `url(${nodataBg})` }}
                  >
                    <div className="image">
                      <img src={NodataImg} alt="NodataImg" />
                      <img
                        className="SearchIcon"
                        src={SearchIcon}
                        alt="SearchIcon"
                      />
                    </div>
                    <h2>There is no results</h2>
                    <p>
                      The user you are looking for doesn't exist. Here are some
                      helpful links:
                    </p>
                    <Button className="gobackButton mb-4 mt-4" variant="link">
                      {" "}
                      <ChevronLeft color="#000" size={20} />
                      Go back
                    </Button>
                    <Button className="gobackSupport mt-4" variant="link">
                      {" "}
                      Support
                    </Button>
                  </div>
                </div>
              </td>
            </tr>
          ) : (
        
            rows.map((row,index) => (
              <tr data-clientuniqueid={row.clientUniqueId} rowsNo={index}
                key={row.id} className={row.isSelected ? "selected-row" : ""}
                >
                  <td>
                  <label className="customCheckBox">
                  <input
                    type="checkbox"
                    checked={selectedRows.includes(row.id)}
                    onChange={() => handleCheckboxChange(row.id)}
                  />
                  <span className="checkmark">
                    <Check color="#9E77ED" size={20} />
                  </span>
                </label>
                  </td>
                {columns.map((column) => (
                    <td key={column.field} onClick={["Quote", "Client", "category"].includes(column.field) ? () => handleRowClick(row.id) : null}>
                    {column.renderCell({ value: row[column.field], row })}
                  </td>
                ))}
              </tr>
            ))
          )}
        </tbody>
      </Table>
   
        {/* Sidebar */}
        {selectedRow && (
       <Offcanvas show={show} placement="end" onHide={handleClose}>
       <Offcanvas.Header closeButton>
         <Offcanvas.Title><strong>{selectedRow}.</strong> Client Edit Data Head</Offcanvas.Title>
       </Offcanvas.Header>
       <Offcanvas.Body>
        
       </Offcanvas.Body>
     </Offcanvas>
     
      )}
    </div>
  );
};




export default ExpensesTables
const API_BASE_URL = 'https://dev.memate.com.au/api/v1';


export const fetchExpenses = async () => {
  const myHeaders = new Headers();
  const accessToken = sessionStorage.getItem("access_token");
  myHeaders.append("Authorization", `Bearer ${accessToken}`);
  myHeaders.append("Content-Type", `application/json`);

  const requestOptions = {
    method: 'GET',
    headers: myHeaders,
    redirect: 'follow'
  };

  try {
    const response = await fetch(`${API_BASE_URL}/expenses/`, requestOptions);
    //const result = await response.text();
    const data = await response.json();
    return data;
  } catch (error) {
    console.error('Expenses  fetch error:', error);
    throw error;
  }
};
import React, { useState, useEffect } from "react";
import { fetchExpenses } from "../../../../APIs/ExpensesApi";
import ExpensesTables from "./ExpensesTables";

const Expenses = () => {
  const [expensesData, setexpensesData] = useState([]);
  

  useEffect(() => {
    const fetchData = async () => {
      try {
        const response = await fetchExpenses();
        setexpensesData(response.results);
      } catch (error) {
        console.error('Error fetching sales data:', error);
      }
    };
       fetchData();
  
  }, []);


  return (
    <>
       <ExpensesTables expensesData={expensesData}  />
    </>
  );
};

export default Expenses

import React, { useEffect, useRef, useState } from 'react';
import { fetchExpenses } from "../../../../APIs/ExpensesApi";

const Expenses = () => {
  const [expensesData, setexpensesData] = useState([]);
  const [hasMore, setHasMore] = useState(true);
  const [page, setPage] = useState(0);
  const elements = useRef(null);

  function onIntersection(entries) {
    const firstEntry = entries[0];
    if (firstEntry.isIntersecting && hasMore) {
      fetchMoreItems();
    }
  }

  useEffect(() => {
    const observer = new IntersectionObserver(onIntersection);
    if (elements.current) {
      observer.observe(elements.current);
    }
    return () => {
      observer.disconnect();
    };
  }, [expensesData, hasMore]);

  async function fetchMoreItems() {
    try {
      const response = await fetchExpenses();
      const data = await response.results;
      if (data.length === 0) {
        setHasMore(false);
      } else {
        setexpensesData(prevProducts => [...prevProducts, ...data]);
        setPage(prevPage => prevPage + 1);
      }
    } catch (error) {
      console.error('Error fetching more items:', error);
    }
  }

  return (
    <div>
      {expensesData.map(item => (
        <div key={item.id}>
          <p>{item.id}</p>
        </div>
      ))}

      {hasMore && (
        <div ref={elements}>
          Load More
        </div>
      )}
    </div>
  );
};

export default Expenses;
      const allGroups = await contactService.getAllGroups(req);
      const allAccounts = await contactService.getAllAccounts(req);
function About() {
  return (
    <section className="px-6 lg:px-10 py-6  flex flex-col gap-6 lg:gap-10  ">
      <h2 className="font-bold text-xl max-md:text-xl">About this project</h2>
      <div className="flex flex-col gap-6 lg:gap-10 text-dark-gray text-lg max-md:text-sm">
        <p>
          The Mastercraft Bamboo Monitor Riser is a sturdy and stylish platform
          that elevates your screen to a more comfortable viewing height.
          Placing your monitor at eye level has the potential to improve your
          posture and make you more comfortable while at work, helping you stay
          focused on the task at hand.
        </p>
        <p>
          Featuring artisan craftsmanship, the simplicity of design creates
          extra desk space below your computer to allow notepads, pens, and USB
          sticks to be stored under the stand.
        </p>
      </div>
    </section>
  );
}

export default About;
import React from "react";
import { backers } from "../constants";

function Backed() {
  return (
    <>
      <section className="flex flex-col lg:flex-row items-center lg:px-8 lg:items-start justify-center lg:justify-start gap-4 lg:gap-12 mt-10">
        {backers.map((item, index) => (
          <div
            key={index}
            className={`flex flex-col gap-2 lg:border-r-2 lg:pr-12 items-center lg:items-start  
            ${!item.line && "border-none"}
            ${index == 1 && "lg:pr-20"}
            `}
          >
            <h2 className="font-bold text-3xl">{item.value}</h2>
            <p className="text-dark-gray">{item.label}</p>
            <hr
              className={` border-1 text-black w-[100px] mt-5 lg:hidden ${
                !item.line && "hidden"
              }`}
            />
          </div>
        ))}
      </section>
      <div className="flex justify-center lg:px-8 lg:pb-8">
        <div className="relative z-10 mt-10 w-10/12 lg:w-full flex  lg:justify-start">
          <div className="absolute w-full bg-gray-200 py-1.5 rounded-full" />
          <div className="absolute w-4/5 bg-moderate-cyan py-1.5 rounded-full" />
        </div>
      </div>
    </>
  );
}

export default Backed;
import React from "react";
import { feature } from "../constants";
import Button from "../components/Button";

function Features() {
  return (
    <section className="max-md:px-2 lg:mt-10 py-4">
      <div className="flex flex-col gap-8 lg:px-10 px-2 md:px-8">
        {feature.map((item) => (
          <div
            key={item.title}
            className={`border-solid border-2 border-gray-300 p-6 
            flex flex-col gap-6 rounded-xl 
            ${item.disabled ? "opacity-50" : "opacity-100"}
            `}
          >
            <div className="flex flex-col lg:flex-row lg:justify-between lg:items-center gap-2">
              <h2 className="text-lg font-bold">{item.title}</h2>
              <p className="text-moderate-cyan ">{item.subtitle}</p>
            </div>
            <p className="text-dark-gray max-md:text-sm">{item.description}</p>
            <div className="flex flex-col gap-4 lg:flex-row lg:justify-between">
              <p className="flex flex-row items-center gap-2 text-dark-gray ">
                <span className="text-3xl font-bold text-black">
                  {item.stock}
                </span>
                left
              </p>
              <div>
                {item.disabled ? (
                  <Button
                    label="Out of Stock"
                    backgroundColor={"!bg-dark-gray cursor-default"}
                    textColor={"text-white"}
                  />
                ) : (
                  <Button label="Select Reward" />
                )}
              </div>
            </div>
          </div>
        ))}
      </div>
    </section>
  );
}

export default Features;
import { useEffect, useState } from "react";
import { heroMobile, heroDesktop } from "../assets/images";

function Hero() {
  const [isMobile, setIsMobile] = useState(false);

  //check mobile or not
  const checkMobile = () => {
    if (window.innerWidth <= 768) {
      setIsMobile(true);
    } else {
      setIsMobile(false);
    }
  };
  useEffect(() => {
    checkMobile();
    window.addEventListener("resize", checkMobile);

    return () => {
      window.removeEventListener("resize", checkMobile);
    };
  }, []);

  return (
    <section className={`md:w-full relative`}>
      <img
        src={isMobile ? heroMobile : heroDesktop}
        alt={isMobile ? "hero mobile" : "hero desktop"}
        className="object-cover w-full contrast-[85%]"
      />
    </section>
  );
}

export default Hero;
import Button from "../components/Button";
import { backers } from "../constants";
import { logoMastercraft } from "../assets/images";
import { IconBookmark } from "../assets/images/icon-bookmark";
import { useState } from "react";
function Product({ openModal }) {
  const [bookmark, setBookmark] = useState(true);

  return (
    <section className="flex flex-col items-center gap-6 xl:gap-10 relative -translate-y-12">
      <img src={logoMastercraft} alt="" width={56} className="" />
      <div className="flex flex-col gap-4 items-center">
        <h1 className="font-bold text-xl xl:text-2xl max-w-[250px] lg:max-w-full text-center">
          Mastercraft Bamboo Monitor Riser
        </h1>
        <p className="max-w-[300px] lg:max-w-full text-center text-base  text-dark-gray ">
          A beautiful & handcrafted monitor stand to reduce neck and eye strain.
        </p>
      </div>
      <div className="flex gap-2 items-center lg:justify-between justify-center w-full">
        <Button label={"Back this project"} onClick={openModal} />
        <div className="flex gap-4 items-center lg:bg-slate-100 lg:rounded-full lg:pr-8">
          <div
            onClick={() => {
              setBookmark(!bookmark);
            }}
          >
            <IconBookmark
              bgFill={bookmark ? "fill-black" : "fill-dark-cyan"}
              iconFill={bookmark ? "fill-gray-400" : "fill-white"}
              className={""}
            />
          </div>
          <p
            className={`
            ${
              bookmark ? "text-dark-gray" : "text-dark-cyan"
            } text-lg max-lg:hidden lg:block font-bold
             
            `}
          >
            {bookmark ? "Bookmark" : "Bookmarked"}
          </p>
        </div>
      </div>
    </section>
  );
}

export default Product;
import React, { useState } from "react";
import { navlink } from "../constants";
import { ic_close_menu, ic_humburger, logo } from "../assets/images";

const Nav = () => {
  const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);

  const handleToggleMobileMenu = () => {
    setIsMobileMenuOpen(!isMobileMenuOpen);
  };

  return (
    <header className="p-8 lg:pl-40 lg:pr-[9rem] lg:py-10 absolute z-10 w-full max-container">
      <nav className="flex justify-between items-center max-container">
        <a href="/">
          <img
            src={logo}
            alt="logo"
            className={`${
              isMobileMenuOpen ? "relative z-50 w-[130px]" : "w-[100px] "
            }`}
          />
        </a>
        <ul className="flex-1 flex justify-end items-center gap-6 max-lg:hidden">
          {navlink.map((item) => (
            <li key={item.label}>
              <a href={item.href} className="text-white text-lg">
                {item.label}
              </a>
            </li>
          ))}
        </ul>
        <div className="hidden max-lg:block">
          {isMobileMenuOpen ? (
            <img
              src={ic_close_menu}
              alt="close"
              width={16}
              onClick={handleToggleMobileMenu}
              className="relative z-50"
            />
          ) : (
            <img
              src={ic_humburger}
              alt="hamburger"
              width={16}
              onClick={handleToggleMobileMenu}
            />
          )}
        </div>
      </nav>
      {isMobileMenuOpen && (
        <div
          className="fixed inset-0 bg-black bg-opacity-40 z-20"
          onClick={handleToggleMobileMenu}
        >
          <div className="flex items-center justify-center">
            <ul
              id="mobileMenu"
              className=" mt-20 w-[80%] bg-white px-4 py-4 flex flex-col gap-6 rounded-lg shadow-md"
            >
              {navlink.map((item) => (
                <li key={item.label}>
                  <a
                    href={item.href}
                    className="text-black text-sm font-medium"
                  >
                    {item.label}
                  </a>
                </li>
              ))}
            </ul>
          </div>
        </div>
      )}
    </header>
  );
};

export default Nav;
<script crossorigin src="https://unpkg.com/react@18/umd/react.development.js"></script>
<script crossorigin src="https://unpkg.com/react-dom@18/umd/react-dom.development.js"></script>
import React from "react";
import { ic_check } from "../assets/images";
import Button from "./Button";

function DialogBox({ isOpen, onClose }) {
  if (!isOpen) return null;
  return (
    <section className="modal-section">
      <div className="modal-box  translate-y-1.5 lg:w-[30%]">
        <div className="flex flex-col items-center gap-6">
          <img src={ic_check} alt="Icon check" width={80} />
          <h1 className="font-bold text-xl">Thanks for your support!</h1>
          <p className="text-dark-gray text-center">
            Your pledge brings us one step closer to sharing Mastercraft Bamboo
            Monitor Riser worldwide. You will get an email once our campaign is
            completed.
          </p>
          <Button 
            label={"Got it!"}
            onClick={onClose}
        />
        </div>
      </div>
    </section>
  );
}

export default DialogBox;
import React, { useEffect, useState } from "react";
import { project } from "../constants";
import Button from "../components/Button";
import IconCloseModal from "../assets/images/icon-close-modal";

function Modal({ isOpen, onClose, openDialog }) {
  const [selectedItem, setSelectedItem] = useState("");
  const [isMobile, setIsMobile] = useState(false);

  //check mobile or not
  const checkMobile = () => {
    if (window.innerWidth <= 768) {
      setIsMobile(true);
    } else {
      setIsMobile(false);
    }
  };
  useEffect(() => {
    checkMobile();
    window.addEventListener("resize", checkMobile);

    return () => {
      window.removeEventListener("resize", checkMobile);
    };
  }, []);

  const handleRadioChange = (title) => {
    setSelectedItem(title);
  };
  if (!isOpen) return null;
  return (
    <section className="modal-section">
      <div className="modal-box">
        <div className="flex flex-row items-center justify-between">
          <h1 className="text-lg font-bold">Back this project</h1>
          <div
            className="cursor-pointer"
            onClick={() => {
              onClose();
              setSelectedItem("");
            }}
          >
            <IconCloseModal className=" fill-dark-gray hover:fill-black" />
          </div>
        </div>
        <p className="text-base text-dark-gray">
          Want to support us in bringing Mastercraft Bamboo Monitor Riser out in
          the world?
        </p>

        {project.map((item, index) => (
          <div
            key={index}
            className={`flex flex-col p-4 lg:p-8 gap-8 border-2 border-solid rounded-xl 
                ${item.disabled ? "opacity-50" : "opacity-100"}
                ${
                  selectedItem === item.title
                    ? "border-moderate-cyan"
                    : "border-gray-100"
                }
            `}
          >
            <div className="flex flex-row gap-4 items-center ">
              <input
                type="radio"
                name="project"
                id={`project-${index}`}
                className={`
                  bg-transparent  border border-gray-200 rounded-full 
                
                `}
                checked={selectedItem === item.title}
                onChange={() => handleRadioChange(item.title)}
              />
              <div className="flex flex-col lg:flex-row lg:justify-between  lg:gap-4 lg:w-full">
                <div className="flex flex-col lg:flex-row lg:gap-4">
                  <label
                    htmlFor={`project-${index}`}
                    className="cursor-pointer text-lg font-bold .form-control hover:text-dark-cyan"
                  >
                    {item.title}
                  </label>

                  {item.subtitle && (
                    <p className="text-moderate-cyan font-medium lg:text-lg">
                      {item.subtitle}
                    </p>
                  )}
                </div>

                <div>
                  {!isMobile && item.stock >= 0 && (
                    <p className="flex flex-row items-center gap-2 text-dark-gray">
                      <span className="text-xl font-bold text-black">
                        {item.stock}
                      </span>
                      left
                    </p>
                  )}
                </div>
              </div>
            </div>

            <div className="lg:pl-8 flex flex-col gap-8">
              <p className="text-dark-gray font-medium">{item.description}</p>
              {isMobile && item.stock >= 0 && (
                <p className="flex flex-row items-center gap-2 text-dark-gray">
                  <span className="text-xl font-bold text-black">
                    {item.stock}
                  </span>
                  left
                </p>
              )}
            </div>

            {selectedItem === item.title &&
              item.stock != 0 && (
                <div className="flex flex-col lg:flex-row lg:justify-between items-center gap-4 justify-center border-t-2 py-4">
                  <h3 className="text-dark-gray ">Enter your pledge</h3>
                  <div className="flex flex-row gap-6 max-sm:gap-2 items-center justify-center">
                    <Button
                      label={item.button1}
                      borderColor={
                        "border-gray-300 hover:border-moderate-cyan  border-2"
                      }
                      textColor={"text-black"}
                      optionalIcon={"$"}
                      backgroundColor={"bg-white"}
                    />
                    <Button label={item.button2} onClick={openDialog} />
                  </div>
                </div>
              )}
          </div>
        ))}
      </div>
    </section>
  );
}

export default Modal;
import { useState } from "react";
import Modal from "./components/Modal";
import About from "./sections/About";
import Features from "./sections/Features";
import Hero from "./sections/Hero";
import Nav from "./sections/Nav";
import Product from "./sections/Product";
import DialogBox from "./components/DialogBox";
import Backed from "./sections/Backed";

function App() {
  const [isModalOpen, setModalOpen] = useState(false);
  const [isDialogOpen, setDialogOpen] = useState(false);

  const handleOpenModal = () => {
    setModalOpen(true);
    document.body.classList.add("modal-open");
  };
  const handleCloseModal = () => {
    setModalOpen(false);
    document.body.classList.remove("modal-open");
  };
  const handleOpenDialog = () => {
    setModalOpen(false);
    setDialogOpen(true);
    document.body.classList.add("modal-open");
  };
  const handleCloseDialog = () => {
    setDialogOpen(false);
    document.body.classList.remove("modal-open");
  };
  return (
    <>
      <main className={` bg-gray-50 max-container`}>
        <Modal
          isOpen={isModalOpen}
          onClose={handleCloseModal}
          openDialog={handleOpenDialog}
        />
        <DialogBox isOpen={isDialogOpen} onClose={handleCloseDialog} />
        <Nav />
        <Hero />

        <div className="flex flex-col gap-6 relative -translate-y-[92px]">
          <div className=" bg-white w-[90%] lg:w-1/2 lg:px-8 px-2  max-container rounded-lg pt-4  ">
            <Product openModal={handleOpenModal} />
          </div>
          <div className=" bg-white w-[90%] lg:w-1/2 max-container rounded-lg pb-10 ">
            <Backed />
          </div>

          <div className=" bg-white w-[90%] lg:w-1/2 m-auto max-container rounded-lg py-4 ">
            <About />
            <Features openDialog={handleOpenDialog} />
          </div>
        </div>
      </main>
    </>
  );
}

export default App;
#include "SSD1306Wire.h"
#include "ESP8266WiFi.h"
// Initialize the OLED display using Arduino Wire:
SSD1306Wire display(0x3c, SCL, SDA); // reversed!

void setup() {
  WiFi.mode(WIFI_STA);
  WiFi.disconnect();
  delay(100);
  
  // Initialising the UI will init the display too.
  display.init();

  //display.flipScreenVertically();
  display.setFont(ArialMT_Plain_10);
  display.setTextAlignment(TEXT_ALIGN_LEFT);
  display.drawString(0, 0, "Starting.." );
  display.display();
}


void loop() {
  // clear the display
  display.clear();
  int height = 10;
  // WiFi.scanNetworks will return the number of networks found
  int n = WiFi.scanNetworks();
  if (n == 0) {
    display.drawString(0, 0, "no networks found");
  } else {
    for (int i = 0; i < n; ++i) {
      int y = i * height;
      String ssid = WiFi.SSID(i);
      String rssi = String(WiFi.RSSI(i));
      String encryption = "Unknown";
      switch(WiFi.encryptionType(i)) {
        case ENC_TYPE_WEP:
          encryption = "WEP";
          break;
        case ENC_TYPE_TKIP:
          encryption = "WPA";
          break;
        case ENC_TYPE_CCMP:
          encryption = "WPA2";
          break;
        case ENC_TYPE_NONE:
          encryption = "Open";
          break;
        case ENC_TYPE_AUTO:
          encryption = "Auto";
          break;
        default:
          encryption = "Unknown";
          break;
      }
      String line = ssid + ": " + rssi + " " + encryption;
      display.drawString(0, y, line);
      display.display();
      delay(10);
    }
  }

  // Wait a bit before scanning again
  delay(5000);
}

const tweetId = location.pathname.match(/status\/([0-9]+)/)[1];
const imgElements = document.querySelectorAll(`a[href*="${tweetId}"] img`);
let imgArray = new Array();
for (const imgElement of imgElements) {
  let imgSrc = imgElement
    .getAttribute("src")
    .replace(/\?format=/, ".")
    .replace(/&.+/, "");
  imgArray.push(imgSrc);
}
git clone https://github.com/Rajkumrdusad/Tool-X.git
import math
import os
import random
import re
import sys


# Complete the 'diagonalDifference' function below.

# The function is expected to return an INTEGER.
# The function accepts 2D_INTEGER_ARRAY arr as parameter.


def diagonalDifference(arr):
    diagonal1_sum = 0
    diagonal2_sum = 0
    
    for i in range(len(arr)):
        diagonal1_sum += arr[i][i]
        diagonal2_sum += arr[i][len(arr)-(i+1)]
        
    absolute_sum = abs(diagonal1_sum - diagonal2_sum)
    
    return absolute_sum

if __name__ == '__main__':
    fptr = open(os.environ['OUTPUT_PATH'], 'w')

    n = int(input().strip())

    arr = []

    for _ in range(n):
        arr.append(list(map(int, input().rstrip().split())))

    result = diagonalDifference(arr)

    fptr.write(str(result) + '\n')

    fptr.close()
package pl.pp;

import java.util.Scanner;

public class AgeInSeconds {
        public static void main(String[] args) {
                // Create a Scanner object to read input
                Scanner scanner = new Scanner(System.in);

                // Ask the user for their age in years
                System.out.print("Enter your age in years: ");
                int ageInYears = scanner.nextInt();

                // Close the scanner to prevent resource leak
                scanner.close();

                // Calculate the age in seconds
                long ageInSeconds = (long) ageInYears * 365 * 24 * 60 * 60;

                // Display the age in seconds with proper description
                System.out.println("My age in seconds: " + ageInSeconds);
        }
}
#include <iostream>
#include <algorithm>
using namespace std;
long long w, h, s, g, x1, y1, x2, y2, sum1, sum2, y, tot, n;
int main()
{
    cin>>w>>h>>s>>g>>x1>>y1>>x2>>y2;
    y=(y2-y1)*(g+1);
    s=min(s, w-s);
    if(s<x1)
    {
        sum2=x2-x1;
    }
    else if(x2>s)
    {
        sum1=2*(s-x1);
        sum2=x2-s;
    }
    else
    {
        sum1=2*(x2-x1);
    }
    tot=w*h-y*(sum1+sum2);
    cout<<tot;
}
export const navlink = [
  { href: "#about", label: "About" },
  { href: "#discover", label: "Discover" },
  { href: "#getStarted", label: "Get Started" },
];

export const backers = [
  { value: "$89,914", label: "of $100,000 backed", line:"true" },
  { value: "5,007", label: "total backers", line:"true" },
  { value: "56", label: "days left", line:false },
];

export const feature = [
  {
    title: "Bamboo Stand",
    subtitle: "Pledge $25 or more",
    description:
      "You get a Black Special Edition computer stand and a personal thank you. You’ll be added to our Backer member list. Shipping is included.",
    stock: 101,
    button: "Select Reward",
    disabled: false,
  },
  {
    title: "Black Edition Stand",
    subtitle: "Pledge $75 or more",
    description:
      "You get an ergonomic stand made of natural bamboo. You've helped us launch our promotional campaign, and you’ll be added to a special Backer member list.",
    stock: 64,
    button: "Select Reward",
    disabled: false,
  },
  {
    title: "Mahogany Special Edition",
    subtitle: "Pledge $200 or more",
    description:
      "You get two Special Edition Mahogany stands, a Backer T-Shirt, and a personal thank you. You’ll be added to our Backer member list. Shipping is included.",
    stock: 0,
    button: "Out of Stock",
    disabled: true,
  },
];

export const project = [
  {
    title: "Pledge with no reward",
    subtitle: "",
    description:
      "Choose to support us without a reward if you simply believe in our project. As a backer, you will be signed up to receive product updates via email.",

    selectedTitle: "",
    button1: 0,
    button2: "Continue",
    disabled: false,
  },
  {
    title: "Bamboo Stand",
    subtitle: "Pledge $25 or more",
    description:
      "You get an ergonomic stand made of natural bamboo. You've helped us launch our promotional campaign, and you’ll be added to a special Backer member list.",
    stock: 101,

    selectedTitle: "Enter your pledge",
    button1: 25,
    button2: "Continue",
    disabled: false,
  },
  {
    title: "Black Edition Stand",
    subtitle: "Pledge $75 or more",
    description:
      "You get a Black Special Edition computer stand and a personal thank you. You’ll be added to our Backer member list. Shipping is included.",
    stock: 64,

    selectedTitle: "Enter your pledge",
    button1: 75,
    button2: "Continue",
    disabled: false,
  },
  {
    title: "Mahogany Special Edition",
    subtitle: "Pledge $200 or more",
    description:
      "You get two Special Edition Mahogany stands, a Backer T-Shirt, and a personal thank you. You’ll be added to our Backer member list. Shipping is included.",
    stock: 0,

    selectedTitle: "Enter your pledge",
    button1: 200,
    button2: "Continue",
    disabled: true,
  },
];
import React from "react";

function Button({ 
  optionalIcon,
  label,
  disabled, 
  onClick,
  backgroundColor,
  borderColor,
  textColor,
 }) {
  return (
    <button
    onClick={onClick}
    className={`
    ${optionalIcon ? `${backgroundColor} hover:bg-white` : "bg-moderate-cyan hover:bg-dark-cyan" }
    ${
      backgroundColor
        ? `${backgroundColor} ${textColor} ${borderColor} ${optionalIcon}`
        : "bg-moderate-cyan hover:bg-dark-cyan text-white"
    }
    py-4 px-12 max-sm:py-4 max-sm:px-8
    font-bold text-base max-sm:text-sm rounded-full duration-300`}
    >
      {optionalIcon && (
        <span className="text-dark-gray">{optionalIcon} </span>
      )}
      {label}
    </button>
  );
}

export default Button;
# Basics
import os
import pandas as pd
import matplotlib.pyplot as plt
from dotenv import load_dotenv

# LangChain Training
# LLM
from langchain.llms import OpenAI

# Document Loader
from langchain.document_loaders import PyPDFLoader 

# Splitter
from langchain.text_splitter import RecursiveCharacterTextSplitter 

# Tokenizer
from transformers import GPT2TokenizerFast  

# Embedding
from langchain.embeddings import OpenAIEmbeddings 

# Vector DataBase
from langchain.vectorstores import FAISS, Pinecone # for the vector database part -- FAISS is local and temporal, Pinecone is cloud-based and permanent. 

# Chains
#from langchain.chains.question_answering import load_qa_chain
#from langchain.chains import ConversationalRetrievalChain
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
from transformers import AutoModelForCausalLM, AutoTokenizer
import time
import torch

class Chatbot:
    def __init__(self, model_name):
        self.tokenizer = AutoTokenizer.from_pretrained(model_name, padding_side='left')
        self.model = AutoModelForCausalLM.from_pretrained(model_name, load_in_4bit=True, torch_dtype=torch.bfloat16)
        if self.tokenizer.pad_token_id is None:
            self.tokenizer.pad_token_id = self.tokenizer.eos_token_id

    def get_response(self, prompt):
        inputs = self.tokenizer.encode_plus(prompt, return_tensors="pt", padding='max_length', max_length=100)
        if next(self.model.parameters()).is_cuda:
            inputs = {name: tensor.to('cuda') for name, tensor in inputs.items()}
        start_time = time.time()
        tokens = self.model.generate(input_ids=inputs['input_ids'], 
                                    attention_mask=inputs['attention_mask'],
                                    pad_token_id=self.tokenizer.pad_token_id,
                                    max_new_tokens=400)
        end_time = time.time()
        output_tokens = tokens[0][inputs['input_ids'].shape[-1]:]
        output = self.tokenizer.decode(output_tokens, skip_special_tokens=True)
        time_taken = end_time - start_time
        return output, time_taken

def main():
    chatbot = Chatbot("LoupGarou/Starcoderplus-Guanaco-GPT4-15B-V1.0")
    while True:
        user_input = input("Enter your prompt: ")
        if user_input.lower() == 'quit':
            break
        output, time_taken = chatbot.get_response(user_input)
        print("\033[33m" + output + "\033[0m")
        print("Time taken to process: ", time_taken, "seconds")
    print("Exited the program.")

if __name__ == "__main__":
    main()
var links = document.links;
for (let i = 0, linksLength = links.length ; i < linksLength ; i++) {
  if (links[i].hostname !== window.location.hostname) {
    links[i].target = '_blank';
    links[i].rel = 'noreferrer noopener';
  }
}             
<script>
  let items = document.querySelector(".header__inline-menu").querySelectorAll("details");
  console.log(items)
  items.forEach(item => {
    item.addEventListener("mouseover", () => {
      item.setAttribute("open", true);
      item.querySelector("ul").addEventListener("mouseleave", () => {
        item.removeAttribute("open");
      });
    item.addEventListener("mouseleave", () => {
      item.removeAttribute("open");
    });
  });
  
  });
</script>                                   
star

Tue Mar 12 2024 20:51:32 GMT+0000 (Coordinated Universal Time) https://www.googleapis.com/robot/v1/metadata/x509/igk-318@capable-droplet-405205.iam.gserviceaccount.com

@okokokok

star

Tue Mar 12 2024 17:17:02 GMT+0000 (Coordinated Universal Time)

@abdul_rehman #java

star

Tue Mar 12 2024 14:56:03 GMT+0000 (Coordinated Universal Time) http://localhost:5000/w3schools/articles

@topthonder

star

Tue Mar 12 2024 14:39:42 GMT+0000 (Coordinated Universal Time) http://34.74.16.180:3000/question#eyJkYXRhc2V0X3F1ZXJ5Ijp7ImRhdGFiYXNlIjoyLCJuYXRpdmUiOnsidGVtcGxhdGUtdGFncyI6e30sInF1ZXJ5IjoiW1xyXG4gICAge1xyXG4gICAgICAgICRncm91cDoge1xyXG4gICAgICAgICAgICBfaWQ6IFwiJHBhcnRpY2lwYW50SWRcIixcclxuICAgICAgICAgICAgZG9jdW1lbnRzOiB7ICRwdXNoOiBcIiQkUk9PVFwiIH0sXHJcbiAgICAgICAgICAgIGNvdW50OiB7ICRzdW06IDEgfVxyXG4gICAgICAgIH1cclxuICAgIH0sXHJcbiAgICB7XHJcbiAgICAgICAgJG1hdGNoOiB7XHJcbiAgICAgICAgICAgIGNvdW50OiB7ICRndDogMSB9XHJcbiAgICAgICAgfVxyXG4gICAgfSxcclxuICAgIHtcclxuICAgICAgICAkdW53aW5kOiBcIiRkb2N1bWVudHNcIlxyXG4gICAgfSxcclxuICAgIHtcclxuICAgICAgICAkbWF0Y2g6IHtcclxuICAgICAgICAgICAgXCJkb2N1bWVudHMucHJvZ3JhbUNvZGVcIjogeyAkbmU6IFwiXCIgfVxyXG4gICAgICAgIH1cclxuICAgIH0sXHJcbiAgICB7XHJcbiAgICAgICAgJGdyb3VwOiB7XHJcbiAgICAgICAgICAgIF9pZDoge1xyXG4gICAgICAgICAgICAgICAgcGFydGljaXBhbnRJZDogXCIkX2lkXCIsXHJcbiAgICAgICAgICAgICAgICBwcm9ncmFtQ29kZTogXCIkZG9jdW1lbnRzLnByb2dyYW1Db2RlXCIsXHJcbiAgICAgICAgICAgICAgICBwcm9ncmFtU3RhcnREYXRlOiBcIiRkb2N1bWVudHMucHJvZ3JhbVN0YXJ0RGF0ZVwiXHJcbiAgICAgICAgICAgIH0sXHJcbiAgICAgICAgICAgIGJhc2VsaW5lSWQ6IHsgJGZpcnN0OiBcIiRfaWRcIiB9LFxyXG4gICAgICAgICAgICBkb2N1bWVudElkczogeyAkcHVzaDogXCIkZG9jdW1lbnRzLl9pZFwiIH0sIFxyXG4gICAgICAgICAgICBkb2N1bWVudHM6IHsgJHB1c2g6IFwiJGRvY3VtZW50c1wiIH0sXHJcbiAgICAgICAgICAgIGNvdW50OiB7ICRzdW06IDEgfVxyXG4gICAgICAgIH1cclxuICAgIH0sXHJcbiAgICB7XHJcbiAgICAgICAgJG1hdGNoOiB7XHJcbiAgICAgICAgICAgIGNvdW50OiB7ICRndDogMSB9XHJcbiAgICAgICAgfVxyXG4gICAgfSxcclxuICAgIHtcclxuICAgICAgICAkcHJvamVjdDoge1xyXG4gICAgICAgICAgICBfaWQ6IDEsXHJcbiAgICAgICAgICAgIHBhcnRpY2lwYW50SWQ6IFwiJF9pZC5wYXJ0aWNpcGFudElkXCIsXHJcbiAgICAgICAgICAgIHByb2dyYW1Db2RlOiBcIiRfaWQucHJvZ3JhbUNvZGVcIixcclxuICAgICAgICAgICAgcHJvZ3JhbVN0YXJ0RGF0ZTogXCIkX2lkLnByb2dyYW1TdGFydERhdGVcIixcclxuICAgICAgICAgICAgYmFzZWxpbmVJZDogMSxcclxuICAgICAgICAgICAgZG9jdW1lbnRJZHM6IDEgXHJcbiAgICAgICAgfVxyXG4gICAgfSxcclxuICAgIHtcclxuICAgICAgICAkbG9va3VwOiB7XHJcbiAgICAgICAgICAgIFwiZnJvbVwiOiBcInBhcnRpY2lwYW50XCIsXHJcbiAgICAgICAgICAgIFwibG9jYWxGaWVsZFwiOiBcInBhcnRpY2lwYW50SWRcIixcclxuICAgICAgICAgICAgXCJmb3JlaWduRmllbGRcIjogXCJfaWRcIixcclxuICAgICAgICAgICAgXCJhc1wiOiBcInRlbXBcIlxyXG4gICAgICAgIH1cclxuICAgIH0sXHJcbiAgICB7XHJcbiAgICAgICAgJG1hdGNoOiB7XHJcbiAgICAgICAgICAgIFwidGVtcC51c2VyU3RhdHVzXCI6IHsgJG5lOiBcIlRFU1RcIiB9LFxyXG4gICAgICAgICAgICAkYW5kOiBbXHJcbiAgICAgICAgICAgICAgICB7IFwidGVtcC5lbWFpbFwiOiB7ICRuaW46IFsvZGVsZXRlZC9dIH0gfSxcclxuICAgICAgICAgICAgICAgIHsgXCJ0ZW1wXCI6IHsgJG5lOiBudWxsIH0gfVxyXG4gICAgICAgICAgICBdXHJcbiAgICAgICAgfVxyXG4gICAgfSxcclxuICAgIHtcclxuICAgICAgICAkdW53aW5kOlwiJGRvY3VtZW50SWRzXCJcclxuICAgIH1cclxuICAgIHtcclxuICAgICAgICAkcHJvamVjdDoge1xyXG4gICAgICAgICAgICBfaWQ6MFxyXG4gICAgICAgICAgICBcInBhcnRpY2lwYW50SWRcIjogeyAkYXJyYXlFbGVtQXQ6IFtcIiR0ZW1wLl9pZFwiLCAwXSB9LFxyXG4gICAgICAgICAgICBcImVtYWlsXCI6IHsgJGFycmF5RWxlbUF0OiBbXCIkdGVtcC5lbWFpbFwiLCAwXSB9LFxyXG4gICAgICAgICAgICBcImRvY3VtZW50SWRzXCI6IDEgXHJcbiAgICAgICAgfVxyXG4gICAgfVxyXG5dXHJcbiIsImNvbGxlY3Rpb24iOiJwYXJ0aWNpcGFudEJhc2VsaW5lQW5kRm9sbG93dXBEYXRhIn0sInR5cGUiOiJuYXRpdmUifSwiZGlzcGxheSI6InRhYmxlIiwidmlzdWFsaXphdGlvbl9zZXR0aW5ncyI6e319

@CodeWithSachin ##jupyter #aggregation #mongodb

star

Tue Mar 12 2024 13:16:46 GMT+0000 (Coordinated Universal Time) https://maticz.com/web3-development-company

@HenryJames

star

Tue Mar 12 2024 12:58:04 GMT+0000 (Coordinated Universal Time)

@brhm_lifter

star

Tue Mar 12 2024 12:58:04 GMT+0000 (Coordinated Universal Time)

@brhm_lifter

star

Tue Mar 12 2024 12:47:07 GMT+0000 (Coordinated Universal Time) https://maticz.com/mobile-app-development-company

@HenryJames

star

Tue Mar 12 2024 12:02:47 GMT+0000 (Coordinated Universal Time) undefined

@mdfaizi

star

Tue Mar 12 2024 09:47:46 GMT+0000 (Coordinated Universal Time)

@shiro #dart #programming

star

Tue Mar 12 2024 08:41:22 GMT+0000 (Coordinated Universal Time)

@riyadhbin

star

Tue Mar 12 2024 08:18:20 GMT+0000 (Coordinated Universal Time)

@manhmd

star

Tue Mar 12 2024 07:13:50 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 07:01:45 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 06:59:31 GMT+0000 (Coordinated Universal Time)

@Raj0250

star

Tue Mar 12 2024 06:59:04 GMT+0000 (Coordinated Universal Time)

@Raj0250

star

Tue Mar 12 2024 06:58:41 GMT+0000 (Coordinated Universal Time)

@Raj0250

star

Tue Mar 12 2024 06:58:14 GMT+0000 (Coordinated Universal Time)

@Raj0250

star

Tue Mar 12 2024 06:57:44 GMT+0000 (Coordinated Universal Time)

@Raj0250

star

Tue Mar 12 2024 06:50:59 GMT+0000 (Coordinated Universal Time)

@ltam

star

Tue Mar 12 2024 06:49:46 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 06:48:04 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 06:46:48 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 06:44:42 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 06:40:33 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 06:32:52 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 06:30:51 GMT+0000 (Coordinated Universal Time)

@topthonder

star

Tue Mar 12 2024 06:25:23 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 03:52:33 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 03:38:03 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Tue Mar 12 2024 02:08:54 GMT+0000 (Coordinated Universal Time) https://blog.marxy.org/2019/06/arduino-esp8266-with-on-board-oled.html

@Raf12066

star

Tue Mar 12 2024 02:06:53 GMT+0000 (Coordinated Universal Time)

@agedofujpn #javascript

star

Tue Mar 12 2024 01:15:40 GMT+0000 (Coordinated Universal Time) https://spycit.notion.site/S2-IT-Notes-Web-Development-9db5e9b2ac2d4a32aa8660c0c6f0e0b6

@sadasadsas

star

Tue Mar 12 2024 00:54:21 GMT+0000 (Coordinated Universal Time) https://codeium.com/vscode_tutorial?extensionName

@tony5

star

Mon Mar 11 2024 22:16:38 GMT+0000 (Coordinated Universal Time) https://www.darkhackerworld.com/2020/06/best-hacking-tools-for-termux.html

@Saveallkids

star

Mon Mar 11 2024 22:16:05 GMT+0000 (Coordinated Universal Time) https://www.darkhackerworld.com/2020/06/best-hacking-tools-for-termux.html

@Saveallkids

star

Mon Mar 11 2024 18:23:47 GMT+0000 (Coordinated Universal Time) https://github.com/karthiksalapu/python_code

@karthiksalapu

star

Mon Mar 11 2024 18:10:14 GMT+0000 (Coordinated Universal Time)

@brhm_lifter

star

Mon Mar 11 2024 11:46:02 GMT+0000 (Coordinated Universal Time) https://www.acmicpc.net/submit/1117/74789328

@hajinjang0714

star

Mon Mar 11 2024 08:23:56 GMT+0000 (Coordinated Universal Time) https://bito.ai/resources/javascript-calculate-total-price-javascript-explained/

@vishpriya412

star

Mon Mar 11 2024 07:09:54 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Mon Mar 11 2024 06:52:41 GMT+0000 (Coordinated Universal Time)

@fazmi322

star

Mon Mar 11 2024 04:06:25 GMT+0000 (Coordinated Universal Time)

@vaibhavupadhyay

star

Mon Mar 11 2024 02:12:25 GMT+0000 (Coordinated Universal Time)

@manhmd

star

Sun Mar 10 2024 21:37:53 GMT+0000 (Coordinated Universal Time) https://huggingface.co/LoupGarou/Starcoderplus-Guanaco-GPT4-15B-V1.0

@acarp3422

star

Sun Mar 10 2024 20:43:08 GMT+0000 (Coordinated Universal Time)

@VinMinichiello #javascript

star

Sun Mar 10 2024 20:42:11 GMT+0000 (Coordinated Universal Time)

@VinMinichiello #html

star

Sun Mar 10 2024 20:37:40 GMT+0000 (Coordinated Universal Time)

@VinMinichiello

star

Sun Mar 10 2024 17:04:23 GMT+0000 (Coordinated Universal Time) https://darkwebmarketbuyer.com/product/oxycodone-80-mg/

@darkwebmarket

star

Sun Mar 10 2024 17:03:48 GMT+0000 (Coordinated Universal Time) https://darkwebmarketbuyer.com/product/fake-e10-euro-banknotes-x-50/

@darkwebmarket

Save snippets that work with our extensions

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