Snippets Collections
lazy_tbl %>% dplyr::mutate(last_month = my_date + months(-1))

# using lubridate doesn't work
class Bus extends Thread
{
    int available = 1;
    int passenger;

    Bus(int passenger)
    {
        this.passenger=passenger;
    }

    public synchronized void run()
    {
        String n = Thread.currentThread().getName();
        if (available >= passenger)
        {
            System.out.println(n + " seat reserved");
            available = available-passenger;
        }
        else
        {
            System.out.println("Seat not reserved");
        }
    }
}

class D
{
    public static void main(String[] args)
    {
        Bus bus = new Bus(1);

        Thread a = new Thread(bus);
        Thread s = new Thread(bus);
        Thread z = new Thread(bus);

        a.setName("raju");
        z.setName("rahul");
        s.setName("om");

        a.start();
        z.start();
        s.start();
    }
}
RewriteEngine On
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

ErrorDocument 403     /cgi-sys/403_def.html

ErrorDocument 404     /cgi-sys/404_def.html

ErrorDocument 500     /cgi-sys/500_def.html

ErrorDocument 502     /cgi-sys/502_def.html

ErrorDocument 503     /cgi-sys/503_def.html

ErrorDocument 504     /cgi-sys/504_def.html
pip3 install numpy --pre torch --force-reinstall --index-url https://download.pytorch.org/whl/nightly/cu117
import React from 'react';

const ParentComponent = () => {
  const parentStyle = {
    position: 'relative',
    width: '300px', // Set the width of the parent div
    height: '200px', // Set the height of the parent div
    border: '1px solid #ccc', // Optional: Just for visualization
  };

  const childStyle = {
    position: 'absolute',
    top: '50%',
    left: '50%',
    transform: 'translate(-50%, -50%)',
  };

  return (
    <div style={parentStyle}>
      <div style={childStyle}>
        {/* Your content goes here */}
        <p>This is a centered absolute component</p>
      </div>
    </div>
  );
};

export default ParentComponent;
class S extends Thread
{
    public void run()
    {
        System.out.println(Thread.currentThread().getName());
        System.out.println(Thread.currentThread().getPriority());
    }
     
        
    
}
class F 
{
    public static void main(String[] args)
    {
        S t= new S();
        S r= new S();
        S y= new S();

        t.setName("Thread 1");
        r.setName("Thread 2");
        y.setName("Thread 3");

        t.setPriority(10);
        r.setPriority(6);
        y.setPriority(7);

        t.start();
        r.start();
        y.start();
    }
    
}
import User from "@/models/User";
import connectDb from "@/middleware/connectDb";

const handler = async (req, res) => {
  console.log(req.body);
  if(req.method == 'POST'){
    // Queries
    res.status(200).send({msg:"Success"})
  }
  else{
    res.status(400).send({msg:"Bad Request"})
  }
}
export default connectDb(handler);
TypeScript allows developers to add  to JavaScript.
class A extends Thread
{
    public void run()
    {
        try
        {
            for(int i=1;i<=5;i++)
            {
                System.out.println("okay boss");
                Thread.sleep(1000);
            }
        }
        catch(Exception m)
        {
            System.out.println("some eror");
        }
    }
}
class F 
{
    public static void main(String[] args)
    {
        A r= new A();

        r.start();
        r.interrupt();
    }
}
selector .elementor-heading-title{
    width: 100%;
   white-space: nowrap;
   animation: slideRightToLeft 40s linear infinite;
   
}


@keyframes slideRightToLeft {
   0% {
      transform: translateX(-106%);
   }
   100% {
      transform: translateX(106%);
   }
}
selector .elementor-heading-title{
    width: 100%;
   white-space: nowrap;
   animation: slideRightToLeft 40s linear infinite;
   
}


@keyframes slideRightToLeft {
   0% {
      transform: translateX(106%);
   }
   100% {
      transform: translateX(-106%);
   }
}
import { useLocation } from "react-router-dom";

const ProfileTwo = () => {
  const location = useLocation();
  const data = location.state;

  return (
    <div>
      <p>Name: {data.name}</p>
      <p>Age: {data.age}</p>
      Hello
    </div>
  );
};

export default ProfileTwo;
import { useNavigate } from "react-router-dom";

const ProfileOne = () => {
  const navigate = useNavigate();
  const data = { name: "John", age: 30 };

  const handleClick = () => {
    navigate("/profile-two", { state: data });
  };

  return <button onClick={handleClick}>Go to ProfileTwo</button>;
};

export default ProfileOne;
zip -r myfiles.zip mydir
// importing
import ReactPaginate from 'react-paginate';

// handling the pagination
const [page, setPage] = useState(0);
const handlePageClick = (num) => {
  setPage(num);
};

// fetching all the employee details from the mongoDB database
const [loadedEmployees, setLoadedEmployees] = useState();
useEffect(() => {
  const fetchEmployees = async () => {
    try {
      const responseData = await sendRequest(
        `http://localhost:5000/api/employees/emp?page=${page}`
      );
      setLoadedEmployees(responseData.employees);
    } catch (err) {
      console.log("Error in fetching employees: "+err);
    }
  };
  fetchEmployees();
}, [sendRequest, page]);


// returning this component
<ReactPaginate
  containerClassName="flex gap-2 justify-center mt-4"
  pageClassName="text-gray-500"
  activeClassName="text-gray-900 border-2 border-black px-2"
  previousClassName="text-gray-500"
  nextClassName="text-gray-500"
  breakLabel="..."
  nextLabel="next >"
  onPageChange={(selected) => handlePageClick(selected.selected + 1)}
  pageRangeDisplayed={2}
  marginPagesDisplayed={1}
  pageCount={pageCount}
  previousLabel="< previous"
  renderOnZeroPageCount={null}
/>



// backend - controller methods
const getEmployeeCount = async (req, res, next) => {
  let employeeCount;
  try {
    employeeCount = await Employee.countDocuments();
  } catch (err) {
    const error = new HttpError(
      'Fetching employee count failed, please try again later.',
      500
    );
    return next(error);
  }

  res.json({ employeeCount });
  console.log("DEBUG -- Employee-Controller - Fetching employee count successful!");
};
const getEmployees = async (req, res, next) => {
  const page = req.query.page || 0;
  const employeesPerPage = 2; 

  let allEmployees;
  try {
    allEmployees = await Employee
      .find()
      .skip(page * employeesPerPage)
      .limit(employeesPerPage);
  } catch (err) {
    const error = new HttpError(
      'Fetching Employees failed, please try again later.',
      500
    );
    return next(error);
  }

  if (!allEmployees || allEmployees.length === 0) {
    return next(new HttpError('No employees found.', 404));
  }

  res.json({
    employees: allEmployees.map((emp) => emp.toObject({ getters: true })),
  });
  console.log("DEBUG -- Employee-Controller - Fetching employees successful!");
};
import tkinter as tk
from tkinter import messagebox
import webbrowser

num_assignments = 0
assignment_grades = []  
assignment_totals = []

def ordinal(n):
    return "%d%s" % (n,"tsnrhtdd"[(n//10%10!=1)*(n%10<4)*n%10::4])

html_link = "https://freetutoringcenter.com/"  

def center_window(window):
    window.update_idletasks()
    width = window.winfo_width()
    height = window.winfo_height()
    x = (window.winfo_screenwidth() // 2) - (width // 2)
    y = (window.winfo_screenheight() // 2) - (height // 2)
    window.geometry('{}x{}+{}+{}'.format(width, height, x, y))

def open_link():
    webbrowser.open(html_link)

def calculate_grade():
    global num_assignments
    num_assignments = int(num_assignments_entry.get())
    for i in range(0, num_assignments, 1):
        total_window = tk.Toplevel(root)
        total_window.geometry("450x50")
        center_window(total_window)
        total_text = tk.Entry(total_window, width=50)
        total_text.pack()
        total_text.insert(0, f'Points possible for the {ordinal(i + 1)} assignment')

        def submit_total(event=None):
            total = int(total_text.get())
            if total < 0:
                raise ValueError("Total must be non-negative.")
            assignment_totals.append(total)
            total_window.destroy()

        def clear_text(event):
            total_text.delete(0,'end')

        total_text.bind('<FocusIn>', clear_text)  # Clear text when the widget is clicked
        total_text.bind('<Return>', submit_total)  # Submit total when Enter is pressed

        submit_button = tk.Button(total_window, text="Submit Total", command=submit_total)
        submit_button.pack()
        total_window.wait_window()  

        grade_window = tk.Toplevel(root)
        grade_window.geometry("450x50")
        center_window(grade_window)
        grade_text = tk.Entry(grade_window, width=50)
        grade_text.pack()
        grade_text.insert(0, f'Grade received on the {ordinal(1 + i)} assignment')

        def submit_grade(event=None):
            grade = int(grade_text.get())
            if grade < 0:
                raise ValueError("Grade must be non-negative.")
            if grade > assignment_totals[i]:
                raise ValueError("Grade cannot be greater than total.")
            assignment_grades.append(grade)
            grade_window.destroy()

        def clear_grade_text(event):
            grade_text.delete(0,'end')

        grade_text.bind('<FocusIn>', clear_grade_text)  # Clear text when the widget is clicked
        grade_text.bind('<Return>', submit_grade)  # Submit grade when Enter is pressed

        submit_button = tk.Button(grade_window, text="Submit Grade", command=submit_grade)
        submit_button.pack()
        grade_window.wait_window()

    assignment_totals_received = sum(assignment_grades)
    assignment_totals_possible = sum(assignment_totals)
    if assignment_totals_possible != 0:
        assignment_percent = (assignment_totals_received / assignment_totals_possible) * 100
    else:
        assignment_percent = 0

    result_window = tk.Toplevel(root)
    result_window.geometry("600x300")
    center_window(result_window)
    result_label = tk.Label(result_window, text='You have completed {:.0f} so far in this course.\nThe total points received on the {:.0f} assignments is {:.0f} points, out of the {:.0f} points possible.'.format(num_assignments, num_assignments, assignment_totals_received, assignment_totals_possible))
    result_label.pack(pady=10)

    if assignment_percent > 90 and assignment_percent <= 100:
        result_text = f"The grade you received was a {assignment_percent}% so far. You should be happy with an A; however, if not visit {html_link}."
    elif assignment_percent > 80 and assignment_percent <= 90:
        result_text = f"The grade you received so far in the course was a {assignment_percent}%. You should be happy with a B; however, if not review this website {html_link}."
    elif assignment_percent > 70 and assignment_percent <= 80:
        result_text = f'The grade received so far in the class was a {assignment_percent}%. You should raise your C by visiting {html_link}.'
    elif assignment_percent > 60 and assignment_percent <= 70:
        result_text = f'Your current grade is {assignment_percent}%, which is a D. You can raise your grade by visiting {html_link}.'
    else:
        result_text = f'You got an F with a low grade of {assignment_percent}%. You should immediately visit {html_link} and start to study.'

    result_message = tk.Message(result_window, text=result_text)
    result_message.pack(pady=10)

    open_link_button = tk.Button(result_window, text="Open Link", command=open_link)
    open_link_button.pack(pady=10)

root = tk.Tk()
root.geometry("800x800")
center_window(root)

num_assignments_label = tk.Label(root, text="How many assignments have been completed in the class so far?")
num_assignments_label.pack()

num_assignments_entry = tk.Entry(root)
num_assignments_entry.pack()

calculate_button = tk.Button(root, text="Calculate Grade", command=calculate_grade)
calculate_button.pack()

root.mainloop()
class A extends Thread
{
    public void run()
    {
        System.out.println("is alive moment ");
    }
}
class F 
{
    public static void main(String[] args)
    {
        A r= new A();
        A p= new A();

        r.start();
        System.out.println(r.isAlive());
        p.start();
        System.out.println(p.isAlive());
    }
}
UPDATE tbl_lab_setup_Test_Control 
SET Test_Blank_Result_Flag = 0 
WHERE
	Test_Code IN (
	SELECT
		tbl_lab_setup_Test.Test_Code 
	FROM
		dbo.tbl_lab_setup_Test_Control
		INNER JOIN dbo.tbl_lab_setup_Test ON tbl_lab_setup_Test_Control.Test_Code = tbl_lab_setup_Test.Test_Code 
	WHERE
		tbl_lab_setup_Test_Control.Test_Blank_Result_Flag = '1' 
	AND tbl_lab_setup_Test.Test_Group_Code = 'CH' 
	);
class A extends Thread
{
    public void run()
    {
        String n=Thread.currentThread().getName();
        
            for(int i=1;i<+5;i++)
            {
                System.out.println(n);
                
                
            }
    }
}
class P extends Thread
{
    public void run()
    {
        String n=Thread.currentThread().getName();
        
            for(int i=1;i<+5;i++)
            {
                System.out.println(n);
                
               
                
            }
    }
}

class F
{
    public static void main(String[] args)
    {
        A r = new A();
        P t = new P();

        r.setName("thread n");
        t.setName("thread m");

        r.start();
        r.stop();
        t.start();
    }
}
class A extends Thread
{
    public void run()
    {
        String n=Thread.currentThread().getName();
        
            for(int i=1;i<+5;i++)
            {
                System.out.println(n);
                
                
            }
    }
}
class P extends Thread
{
    public void run()
    {
        String n=Thread.currentThread().getName();
        
            for(int i=1;i<+5;i++)
            {
                System.out.println(n);
                Thread.yield();
               
                
            }
    }
}

class F
{
    public static void main(String[] args)
    {
        A r = new A();
        P t = new P();

        r.start();
        t.start();
    }
}
class A extends Thread
{
    public void run()
    {
        String n=Thread.currentThread().getName();
        try
        {
            for(int i=1;i<+5;i++)
            {
                System.out.println(n);
                
            }
        }
        catch(Exception a)
            {
                
            }
}
}

class F
{
    public static void main(String[] args)
    {
        A r= new A();
        A t= new A();
        A y= new A();

        r.setName("Thread 1");
        t.setName("Thread 2");
        y.setName("Thread 3");

        r.start();
        
        t.start();
        t.suspend();

        y.start();
        t.resume();
       
    }
}
public static str base64FromData(container _data)
    {
        str base64;
 
        Bindata bindata;
        if(_data!=conNull())
        {
            bindata = new bindata();
 
            bindata.setData(_data);
 
            base64 = bindata.base64Encode();
        }
 
        return base64;
 
    }
class A extends Thread
{
    public void run()
    {
        String n=Thread.currentThread().getName();
        try
        {
            for(int i=1;i<+5;i++)
            {
                System.out.println(n);
                
            }
        }
        catch(Exception a)
            {
                
            }
}
}

class F
{
    public static void main(String[] args)
    {
        A r= new A();
        A t= new A();
        A y= new A();

        r.setName("Thread 1");
        t.setName("Thread 2");
        y.setName("Thread 3");

        t.start();
        try
        {
            t.join();
        }
        catch(Exception m)
        {

        }
        r.start();
        y.start();
    }
}
public class NW_AttachmentAPIHelper
{
    public static void AttachFileFromAPI(Filename _fileName , str _attachment , TableId _tableID , Recid _recid)
    {
        System.Byte[]    reportBytes = new System.Byte[0]();
        reportBytes = System.Convert::FromBase64String(_attachment);
        System.IO.Stream      stream = new System.IO.MemoryStream(reportBytes);
        DocumentManagement::attachFile(_tableID, _recid, curExt(),  DocuType::typeFile(),stream,
            System.IO.Path::GetFileName(_fileName),
            System.Web.MimeMapping::GetMimeMapping(_fileName),
            System.IO.Path::GetFileNameWithoutExtension(_fileName));
    }

}
public class NW_AttachFileHelper
{
    public static void UploadFileBase64(str _base64, TableId _refTableId, RecId _refRecId, str _filename,str _TypeId = 'File', str _fileExtension = "pdf")
    {
        DocuRef Ref;
        DocuValue Value;
        //System.Byte[]    reportBytes = new System.Byte[0]();
        //reportBytes = System.Convert::FromBase64String(_base64);
        //System.IO.Stream      stream = new System.IO.MemoryStream(reportBytes);
        //DocumentManagement::attachFile(_refTableId, _refRecId, curExt(),  DocuType::typeFile(),stream,
        //    System.IO.Path::GetFileName(_fileName),
        //    System.Web.MimeMapping::GetMimeMapping(_fileName),
        //    System.IO.Path::GetFileNameWithoutExtension(_fileName));

             //DocumentManagement::attachFile(
             //   _tableId,
             //   _recId,
             //   _dataAreaId,
             //   DocuType::typeFile(),
             //   memoryStream,
             //   System.IO.Path::GetFileName(_fileName),
             //   System.Web.MimeMapping::GetMimeMapping(_fileName),
             //   System.IO.Path::GetFileNameWithoutExtension(_fileName));
        str Path, filePath;
        BinData binData;
        filePath = System.IO.Path::GetTempPath(); //Get temp path
        Path = filePath + _filename + '.' + _fileExtension;

        ttsBegin;
        Value.clear();
        binData = new binData();
        Value.File = BinData::loadFromBase64(_base64);
        Value.Name = _filename;
        Value.FileName = _filename;
        Value.FileType = _fileExtension;
        Value.OriginalFileName = _filename +"." + _fileExtension;
       // Value.Path = Path;
        Value.insert(); // insert into DB
        if (Value.RecId)
        {
            Ref.clear();
            Ref.RefRecId = _refRecid;
            Ref.RefTableId = _refTableId;
            Ref.RefCompanyId = curext();
            Ref.Name = _filename;
            Ref.TypeId = _TypeId;
            Ref.ValueRecId = Value.RecId;

            Ref.insert();
        }
        ttsCommit;
    }

}
Public class NW_ApproveBlacklistSupplierRequestUIBuilder    extends SysOperationAutomaticUIBuilder
{
    NW_ApproveBlacklistSupplierRequestContract      Contract;
    DialogField                                         DepartmentName,PersonnelNumber,FromDate,ToDate,RequestId;

    public void build()
    {
        Contract = this.dataContractObject();
        FromDate                = this.addDialogField(methodStr(NW_ApproveBlacklistSupplierRequestContract,parmFromDate),contract);
        ToDate                     = this.addDialogField(methodStr(NW_ApproveBlacklistSupplierRequestContract,parmToDate),contract);
        DepartmentName = this.addDialogField(methodStr(NW_ApproveBlacklistSupplierRequestContract,parmDepartmentName),contract);
        PersonnelNumber = this.addDialogField(methodStr(NW_ApproveBlacklistSupplierRequestContract,parmPersonnelnumber),contract);
        RequestId                = this.addDialogField(methodStr(NW_ApproveBlacklistSupplierRequestContract,parmRequestId),contract);



    }

    public void postbuild()
    {
        super();
        Contract = this.dataContractObject();
        DepartmentName =  this.bindInfo().getDialogField(Contract,methodStr(NW_ApproveBlacklistSupplierRequestContract,parmDepartmentName));
        DepartmentName.registerOverrideMethod(methodStr(FormStringControl,lookup),methodStr(NW_ApproveBlacklistSupplierRequestUIBuilder, DepartmentLookup),this);
       
        FromDate =  this.bindInfo().getDialogField(Contract,methodStr(NW_ApproveBlacklistSupplierRequestContract,parmFromDate));
        ToDate      =  this.bindInfo().getDialogField(Contract,methodStr(NW_ApproveBlacklistSupplierRequestContract,parmToDate));

        personnelnumber =  this.bindInfo().getDialogField(Contract,methodStr(NW_ApproveBlacklistSupplierRequestContract,parmPersonnelnumber));
        personnelnumber.registerOverrideMethod(methodStr(FormStringControl,lookup),methodStr(NW_ApproveBlacklistSupplierRequestUIBuilder, PersonnelnumberLookup),this);
        
        RequestId =  this.bindInfo().getDialogField(Contract,methodStr(NW_ApproveBlacklistSupplierRequestContract,parmRequestId));


    }

    private void DepartmentLookup( FormStringControl _control)
    {
        Query                   query = new Query();
        QueryBuildDataSource    qbd, qbdPerson;
        QueryBuildDataSource qbds;
        QueryBuildDataSource qbdsJoin;
        SysTableLookup sysTableLookup = sysTableLookup::newParameters(tableNum(OMOperatingUnit), _control);
        qbds= query.addDataSource(tableNum(OMOperatingUnit));
        sysTableLookup.parmQuery(query);
        sysTableLookup.addLookupfield(fieldNum(OMOperatingUnit, OMOperatingUnitNumber), false);
        sysTableLookup.addLookupfield(fieldNum(OMOperatingUnit, Name), true);
        sysTableLookup.addLookupfield(fieldNum(OMOperatingUnit, OMOperatingUnitType), false);

        qbds.addRange(fieldNum(OMOperatingUnit, OMOperatingUnitType)).value(enum2Str(OMOperatingUnitType::OMDepartment));

        sysTableLookup.parmQuery(query);
        sysTableLookup.parmUseLookupValue(False);
        sysTableLookup.performFormLookup();


    }

    private Void PersonnelnumberLookup(FormStringControl _control)
    {
        Query                   query = new Query();
        QueryBuildDataSource    qbd, qbdPerson;
        QueryBuildDataSource qbds;
        QueryBuildDataSource qbdsJoin;
        SysTableLookup sysTableLookup = sysTableLookup::newParameters(tableNum(HcmWorker), _control);
        qbds= query.addDataSource(tableNum(HcmWorker));
        sysTableLookup.parmQuery(query);
        sysTableLookup.addLookupfield(fieldNum(HcmWorker, PersonnelNumber), true);
        sysTableLookup.addLookupMethod(tablemethodStr(HcmWorker, Name), true);

        sysTableLookup.parmQuery(query);
        sysTableLookup.parmUseLookupValue(False);
        sysTableLookup.performFormLookup();
    }

}
class NumberSeqModuleNetwaysProcurementEnhancement extends NumberSeqApplicationModule
{
    protected void loadModule()
    {
        NumberSeqDatatype datatype = NumberSeqDatatype::construct();

        // <NAP>
        /* Setup Procurement configuration code numbers */
        datatype.parmReferenceLabel("Invoice PO Request ID");
        datatype.parmDatatypeId(extendedTypeNum(NW_InvoicePORequestID));
        datatype.parmReferenceHelp(literalStr("Unique key for invoice PO request")); // Use Labels here
        datatype.parmWizardIsContinuous(true);
        datatype.parmWizardIsManual(NoYes::No);
        datatype.parmWizardIsChangeDownAllowed(NoYes::No);
        datatype.parmWizardIsChangeUpAllowed(NoYes::No);
        datatype.parmWizardHighest(999999);
        datatype.parmSortField(21);
        datatype.addParameterType(NumberSeqParameterType::DataArea, true, false);
        this.create(datatype);
    }
  public NumberSeqModule numberSeqModule()
    {
        return NumberSeqModule::Purch;
    }

    /// <summary>
    ///    Appends the current class to the map that links modules to number sequence data type generators.
    /// </summary>
    [SubscribesTo(classstr(NumberSeqGlobal),delegatestr(NumberSeqGlobal,buildModulesMapDelegate))]
    static void buildModulesMapSubsciber(Map numberSeqModuleNamesMap)
    {
        NumberSeqGlobal::addModuleToMap(classnum(NumberSeqModuleNetwaysProcurementEnhancement), numberSeqModuleNamesMap);
    }
}
[ExtensionOf(tablestr(HcmWorker))]
final class HcmWorkerTableNetwaysProcrementEnahancement_Extension
{
    public static  HcmPositionRecId getPrimaryPosition(HcmWorker _hcmWorker, utcdatetime _asOfDate = DateTimeUtil::utcNow())
    {
        HcmPositionRecId                    positionRecId = 0;
        HcmPositionWorkerAssignment         hcmPositionWorkerAssignment;
        HcmPositionWorkerAssignmentRecId    hcmPositionWorkerAssignmentRecId;
        HcmWorkerRecId _workerRecId;

        _workerRecId=_hcmWorker.RecId;

        hcmPositionWorkerAssignmentRecId = HcmWorker::getPrimaryPositionAssignment(_hcmWorker);

        hcmPositionWorkerAssignment = HcmPositionWorkerAssignment::find(hcmPositionWorkerAssignmentRecId);

        if (hcmPositionWorkerAssignment)
        {
            positionRecId = hcmPositionWorkerAssignment.Position;
        }
        return positionRecId;
    }

    public static  HcmPositionWorkerAssignmentRecId getPrimaryPositionAssignment(HcmWorker _hcmWorker,utcdatetime _asOfDate = DateTimeUtil::utcNow())

    {
        HcmPositionRecId                    positionRecId = 0;
        HcmPositionWorkerAssignmentRecId    positionWorkerAssignmentRecId = 0;
        HcmPositionWorkerAssignment         hcmPositionWorkerAssignment;
        HcmPositionDuration                 hcmPositionDuration;
        boolean                             isValidPosition = true;
        HcmWorkerPrimaryPosition            hcmWorkerPrimaryPosition;
        HcmWorkerRecId _workerRecId;

        _workerRecId=_hcmWorker.RecId;   

        // check whether the worker has a primary position assignment

        select firstonly ValidTimeState(_asOfDate) PositionAssignment from hcmWorkerPrimaryPosition

            where hcmWorkerPrimaryPosition.Worker == _workerRecId

        exists join hcmPositionWorkerAssignment

            where hcmPositionWorkerAssignment.Worker == hcmWorkerPrimaryPosition.Worker

                    && hcmPositionWorkerAssignment.RecId == hcmWorkerPrimaryPosition.PositionAssignment

        exists join hcmPositionDuration where hcmPositionDuration.Position == hcmPositionWorkerAssignment.Position;

        positionWorkerAssignmentRecId = hcmWorkerPrimaryPosition.PositionAssignment;

        if (positionWorkerAssignmentRecId == 0)
        {
            // no valid primary position existed for the worker, so retrieve the position

            // assignment for the worker in which the worker has the longest active seniority

            select ValidTimeState(_asOfDate) Position, RecId from hcmPositionWorkerAssignment

            order by ValidFrom asc

                where hcmPositionWorkerAssignment.Worker == _workerRecId

            exists join hcmPositionDuration

                where hcmPositionDuration.Position == hcmPositionWorkerAssignment.Position;

            positionWorkerAssignmentRecId = hcmPositionWorkerAssignment.RecId;

        }
        return positionWorkerAssignmentRecId;
    }

     public static  OMDepartmentRecId getPrimaryDepartmentRecId(HcmWorker _hcmWorker,utcdatetime _asOfDate = DateTimeUtil::utcNow())
    {
        HcmPositionRecId            positionRecId;
        HcmPositionDetail           positionDetail;
        HcmWorkerRecId _workerRecId;

        _workerRecId=_hcmWorker.RecId;

        // Determine the primary position of the worker.

        positionRecId = HcmWorker::getPrimaryPosition(_hcmWorker);

        if (positionRecId)
        {
           // Retrieve the corresponding position.
            positionDetail = HcmPositionDetail::findByPosition(positionRecId, _asOfDate);
        }
        return positionDetail.Department;
    }

}
[ExtensionOf(classStr(PurchRFQCaseTableForm))]
final class PurchRFQCaseTableForm_Extension
{
    str createForm()
    {
        str ret = next createForm() ;
        ret =  formStr(NW_PurchCreateRFQCase);
        return ret ;
    }

}
 NW_ProcurmentEmailSetup     EmailSetup;
        Email                       ToEmail;
        PurchRFQCaseTable           PurchRFQCaseTable;
        select firstonly PurchRFQCaseTable where PurchRFQCaseTable.RFQCaseId == this.RFQCaseId;

        ////////////////// Sending Email
        ToEmail = VendTable::find(this.VendAccount).email();
        //info(ToEmail);
        select EmailSetup where EmailSetup.NW_ProcurmentEmailTypes == NW_ProcurmentEmailTypes::RFQRegisteredVend;
        if(EmailSetup)
        {
            str body="";
            SysMailerMessageBuilder builder = new SysMailerMessageBuilder();
            Body=EmailSetup.jobAdText;
            Body=strReplace(Body,"{RFQNum}",PurchRFQCaseTable.RFQCaseId);
            Body=strReplace(Body,"{SubjectOrProjectTitle}",PurchRFQCaseTable.SubjectOrProjectTitle);
            Body=strReplace(Body,"{VendorName}", VendTable::find(this.VendAccount).name());
            Body=strReplace(Body,"{LastDateToSubmit}",any2Str(PurchRFQCaseTable.LastDateSubmitFinalProposal));
            Body=strReplace(Body,"{RequesterEmail}",HcmWorker::find(PurchRFQCaseTable.Requester).email());
            Body=strReplace(Body,"{RequesterPhone}",HcmWorker::find(PurchRFQCaseTable.Requester).phone());
            builder.setSubject(EmailSetup.Subject);
            builder.setBody(body,true);
            builder.setFrom(EmailSetup.Sender);
            builder.addTo(ToEmail);
            SysMailerFactory::getNonInteractiveMailer().sendNonInteractive(builder.getMessage());
        }
public static Str getReportBase64Str(RecId _RecId)
    {
        SrsReportRunController   controller = new SrsReportRunController();
        NW_GeneralContract contract = new NW_GeneralContract();
        SRSPrintDestinationSettings     settings;
        System.Byte[]                   reportBytes = new System.Byte[0]();
        SRSProxy                        srsProxy;
        SRSReportRunService             srsReportRunService = new SrsReportRunService();
        Microsoft.Dynamics.AX.Framework.Reporting.Shared.ReportingService.ParameterValue[]   parameterValueArray;
        Map  reportParametersMap;
        SRSReportExecutionInfo       executionInfo = new SRSReportExecutionInfo();
        PurchTable  Table;
        System.IO.Stream stream;
        str Base64Str;
        changecompany("SHC")
        {
            select firstonly Table where Table.RecId == _RecId;

            if(Table)
            {
                Filename filename = strfmt("%1.pdf",Table.PurchId);
                str reportnameLocal = ssrsReportStr(NW_PurchaseOrderReport, PrecisionDesign1);
                if(!reportnameLocal)
                {
                    error("The request Type not Exist in thee request please select it "  );
                }
                controller.parmReportName(reportnameLocal);

                controller.parmShowDialog(false);
                contract.parmRecordId(Table.RecId);
                controller.parmReportContract().parmRdpContract(contract);
                settings = controller.parmReportContract().parmPrintSettings();
                settings.printMediumType(SRSPrintMediumType::File);
                settings.fileFormat(SRSReportFileFormat::PDF);
                settings.overwriteFile(true);
                settings.fileName(filename);
                controller.parmReportContract().parmReportServerConfig(SRSConfiguration::getDefaultServerConfiguration());
                controller.parmReportContract().parmReportExecutionInfo(executionInfo);
                srsReportRunService.getReportDataContract(controller.parmreportcontract().parmReportName());
                srsReportRunService.preRunReport(controller.parmreportcontract());
                reportParametersMap =  srsReportRunService.createParamMapFromContract(controller.parmReportContract());
                parameterValueArray = SrsReportRunUtil::getParameterValueArray(reportParametersMap);

                srsProxy = SRSProxy::constructWithConfiguration(controller.parmReportContract().parmReportServerConfig());
                // Actual rendering to byte array
                reportBytes = srsproxy.renderReportToByteArray(controller.parmreportcontract().parmreportpath(),
                parameterValueArray,
                settings.fileFormat(),
                settings.deviceinfo());
                if (reportBytes)
                {
                    stream = new System.IO.MemoryStream(reportBytes);
                    //Save the file
                    //var fileStream = new System.IO.FileStream(filename, System.IO.FileMode::Create, System.IO.FileAccess::ReadWrite);
                    //stream.CopyTo(fileStream);
                    Base64Str=  System.Convert::ToBase64String(reportBytes);
                }
            }
            // end if
        }
        // end change company
        return Base64Str;
    }
class A extends Thread
{
    public void run()
    {
        String n=Thread.currentThread().getName();
        try
        {
            for(int i=1;i<+5;i++)
            {
                System.out.println(n);
                Thread.sleep(2000);
            }
        }
        catch(Exception a)
            {
                
            }
}
}

class F
{
    public static void main(String[] args)
    {
        A r= new A();
        A t= new A();
        A y= new A();

        r.setName("Thread 1");
        t.setName("Thread 9");
        y.setName("Thread 10");

        r.start();
        t.start();
        y.start();
    }
}
class A extends Thread
{
    public void run()
    {
        String n= Thread.currentThread().getName();
        for(int i=1;i<=3;i++)
        {
            System.out.println(n);
        }
    }
}
class F
{
    public static void main(String[] args)
    {
        A r= new A();
        A t= new A();
        A y= new A();

        r.setName("Thread 1");
        t.setName("Thread 2");
        y.setName("Thread 3");

        r.start();
        t.start();
        y.start();
    }
}
public void takeAction(Description _action)
    {
        WorkflowWorkItemTable workflowWorkItemTable;
        WorkflowWorkItemActionType actionType;
        WorkflowUser workflowUser;
        str menuItemName;
        System.Exception exception;
        #define.Approve("Approve")
        #define.Reject("Reject")
        #define.WFDelegate("Delegate")
        #define.RequestChange("RequestChange")
        #OCCRetryCount
        UserId _fromuser = curUserId();
        UserId _toUser = NW_COODCOApprovalRequest.DelegateUser;
        str _comment = "";
        try
        {
            select firstonly workflowWorkItemTable
            order by RecId desc
            where workflowWorkItemTable.RefTableId  == tableNum(PurchTable)
                && workflowWorkItemTable.RefRecId   == purchTable.recid
                && workflowWorkItemTable.Status     == WorkFlowWorkItemStatus::Pending
                && workflowWorkItemTable.Type       == WorkflowWorkItemType::WorkItem;
 
            switch (_action)
            {
                case #Approve :
                    actionType      = WorkflowWorkItemActionType::Complete;
                    workflowUser    = _fromuser;
                    menuItemName    = menuItemActionStr(PurchTableApprovalApprove);
                    break;
                case #Reject :
                    actionType      = WorkflowWorkItemActionType::Return;
                    workflowUser    = _fromuser;
                    menuItemName    = menuItemActionStr(PurchTableApprovalReject);
                    break;
                case #WFDelegate :
                    actionType      = WorkflowWorkItemActionType::Delegate;
                    workflowUser    = _toUser;
                    menuItemName    = menuItemActionStr(PurchTableApprovalDelegate);
                    ttsbegin;
                    NW_COODCOApprovalRequest.DelegatePO = NoYes::No;
                    NW_COODCOApprovalRequest.DelegateUser = "";
                    NW_COODCOApprovalRequest.doUpdate();
                    ttscommit;
                    break;
                case #RequestChange :
                    actionType      = WorkflowWorkItemActionType::RequestChange;
                    workflowUser    = _fromuser;
                    menuItemName    = menuItemActionStr(PurchTableApprovalRequestChange);
                    ttsbegin;
                    NW_COODCOApprovalRequest.doDelete();
                    ttscommit;
                    break;
            }
            if (workflowWorkItemTable)
            {
                WorkflowWorkItemActionManager::dispatchWorkItemAction(workflowWorkItemTable
                                                                    , _comment
                                                                    , workflowUser
                                                                    , actionType
                                                                    , menuItemName);
            }
        }
        catch (Exception::Deadlock)
        {
            retry;
        }
        catch (Exception::UpdateConflict)
        {
            if(appl.ttsLevel() == 0)
            {
                if(xSession::currentRetryCount() >= #RetryNum)
                {
                    throw exception::UpdateConflictNotRecovered;
                }
                else
                {
                    retry;
                }
            }
            else
            {
                throw exception::UpdateConflict;
            }
        }
        catch (Exception::Error)
        {
            throw error("Error occurred.");
        }
      	// to refresh the page list
        FormDataSource  ds  = FormDataUtil::getFormDataSource(element.args().record());
        ds.executeQuery();
        element.close();
    }
# Use a lightweight base image with Go
FROM golang:1.21-alpine as builder

# Set the working directory inside the container
WORKDIR /app

# Assuming the project root is two levels up
# Copy go mod and sum files
COPY ../../go.mod ../../go.sum ./

# Download all dependencies
RUN go mod download

# Copy the source from the project root to the working directory inside the container
COPY ../.. .

# Copy the .env file
COPY ../../.env ./

# Build the Go app
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o gradely-main .

# Start a new stage for the final image
FROM alpine:latest

WORKDIR /root/

# Copy the pre-built binary file from the previous stage
COPY --from=builder /app/gradely-main .

# Copy the .env file from the builder stage
COPY --from=builder /app/.env .

# Command to run the executable
CMD ["./gradely-main"]
    int n;
    cin >> n;
    string s;
    cin >> s;
    for (char c = 'A'; c <= 'Z'; c++) {
        int first = n;
        int last = -1;
        for (int i = 0; i < n; i++) {
            if (s[i] == c) {
                first = min(first, i);
                last = max(last, i);
            }
        }
        for (int i = first; i <= last; i++) {
            if (s[i] != c) {
                cout << "NO\n";
                return;
            }
        }
    }
    cout << "YES\n";
Microsoft.AspNetCore.Identity.EntityFrameworkCore  6.0.23
Microsoft.AspNetCore.Identity.UI  6.0.23
Microsoft.EntityFrameworkCore 7.0.9
Microsoft.EntityFrameworkCore.Sqlite 7.0.9
Microsoft.EntityFrameworkCore.SqlServer 7.0.9
Microsoft.EntityFrameworkCore.Tools 7.0.9
Microsoft.VisualStudio.Web.CodeGeneration.Design 6.0.16
create database Practice;
use Practice ;

create table Customers(
	id int not null,
    NAME varchar(20) NOT NULL,
    aGE INT NOT NULL,
    Address varchar(20),
    Salary decimal(10,2),
    primary key (ID)
);

insert into Customers values(1,'Abi',32,'Banglore',50000.00);
insert into Customers values(2,'Bharath',22,'UP',60000.00);
insert into Customers values(3,'Charan',42,'Andra',70000.00);
insert into Customers values(4,'Deepa',52,'Kolkatha',20000.00);
insert into Customers values(5,'Esha',27,'Maharastra',30000.00);
insert into Customers values(6,'Ganesh',72,'Delhi',35000.00);
insert into Customers values(7,'Inchara',22,'Banglore',54000.00);
insert into Customers values(8,'Jaya',31,'UP',60000.00);
insert into Customers values(9,'Harish',35,'Andra',55000.00);

insert into Customers values(10,'Thanesh',35,'Andra',66000.00);
select * from Customers;

DELIMITER //
create procedure getAllCustomers()
begin
select * from Customers;
end //
DELIMITER ;

call getAllCustomers();

DELIMITER //
create procedure orderedSalary()
begin 
select * from Customers order by salary ;
end //
DELIMITER ;




DELIMITER //
create procedure greaterthensalary()
begin 
select * from Customers where salary > 55000 ;
end //
DELIMITER ;


DELIMITER //
create procedure  greaterthensalarydynimic(IN mysalary int)
begin 
select * from Customers where Salary >  mysalary;
End //
DELIMITER 

DELIMITER //
create procedure getCount1(OUT totalcount int)
begin
Select count(age)  into totalcount from  Customers where age > 40;
END //
DELIMITER 

call getCount1(@totalcount); // 3

select @totalcount;






call getAllCustomers();
call orderedSalary();
call greaterthensalary();
call greaterthensalarydynimic(61000);
call getCount1(@totalcount);
create database Practice;
use Practice ;

create table Customers(
	id int not null,
    NAME varchar(20) NOT NULL,
    aGE INT NOT NULL,
    Address varchar(20),
    Salary decimal(10,2),
    primary key (ID)
);

insert into Customers values(1,'Abi',32,'Banglore',50000.00);
insert into Customers values(2,'Bharath',22,'UP',60000.00);
insert into Customers values(3,'Charan',42,'Andra',70000.00);
insert into Customers values(4,'Deepa',52,'Kolkatha',20000.00);
insert into Customers values(5,'Esha',27,'Maharastra',30000.00);
insert into Customers values(6,'Ganesh',72,'Delhi',35000.00);
insert into Customers values(7,'Inchara',22,'Banglore',54000.00);
insert into Customers values(8,'Jaya',31,'UP',60000.00);
insert into Customers values(9,'Harish',35,'Andra',55000.00);

insert into Customers values(10,'Thanesh',35,'Andra',66000.00);
select * from Customers;

DELIMITER //
create procedure getAllCustomers()
begin
select * from Customers;
end //
DELIMITER ;

call getAllCustomers();

DELIMITER //
create procedure orderedSalary()
begin 
select * from Customers order by salary ;
end //
DELIMITER ;




DELIMITER //
create procedure greaterthensalary()
begin 
select * from Customers where salary > 55000 ;
end //
DELIMITER ;


DELIMITER //
create procedure  greaterthensalarydynimic(IN mysalary int)
begin 
select * from Customers where Salary >  mysalary;
End //
DELIMITER 

DELIMITER //
create procedure getCount1(OUT totalcount int)
begin
Select count(age)  into totalcount from  Customers where age > 40;
END //
DELIMITER 

call getCount1(@totalcount); // 3

select @totalcount;






call getAllCustomers();
call orderedSalary();
call greaterthensalary();
call greaterthensalarydynimic(61000);
call getCount1(@totalcount);
package com.verify724.blue_check;

import static android.app.PendingIntent.getActivity;

import android.os.Bundle;
import android.widget.Toast;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;

import com.etebarian.meowbottomnavigation.MeowBottomNavigation;


public class main_page extends AppCompatActivity {

    MeowBottomNavigation bottomNavigation;


    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_page);

        bottomNavigation = findViewById(R.id.bottomNav);

        bottomNavigation.add(new MeowBottomNavigation.Model(1,R.drawable.ic_home));

        bottomNavigation.add(new MeowBottomNavigation.Model(2,R.drawable.ic_home));
        bottomNavigation.add(new MeowBottomNavigation.Model(3,R.drawable.ic_home));


        final Fragment[] fragment = {null,null};
        //bottomNavigation.setCount(3,"5");

        bottomNavigation.setOnShowListener(new MeowBottomNavigation.ShowListener() {
            @Override
            public void onShowItem(MeowBottomNavigation.Model item) {

                if (item.getId() == 2){
                    fragment[0] = new HomeFragment();
                }

                loadFragment(fragment[0]);
            }
        });

        bottomNavigation.show(2,true);

        bottomNavigation.setOnClickMenuListener(new MeowBottomNavigation.ClickListener() {
            @Override
            public void onClickItem(MeowBottomNavigation.Model item) {
                //Toast.makeText(getApplicationContext(),"you "+item.getId(),Toast.LENGTH_SHORT);
                //Fragment fragment = null;
                if (item.getId() == 1){
                    fragment[1] = new btn_menu_it2();
                }
                removeFragment(fragment[0]);
                loadFragment(fragment[1]);
            }
        });
        bottomNavigation.setOnReselectListener(new MeowBottomNavigation.ReselectListener() {
            @Override
            public void onReselectItem(MeowBottomNavigation.Model item) {
                //Toast.makeText(getApplicationContext(),"you resel "+item.getId(),Toast.LENGTH_SHORT);
                if (item.getId() == 1){
                    fragment[1] = new btn_menu_it2();
                }
                removeFragment(fragment[0]);
                loadFragment(fragment[1]);
            }
        });


    }

    private void loadFragment(Fragment fragment) {
        getSupportFragmentManager().beginTransaction().replace(R.id.nav_host_fragment_container,fragment,null).commit();
    }

    public void removeFragment(Fragment fragment){
        FragmentManager fragmentManager = getSupportFragmentManager();
        FragmentTransaction fragmentTransaction = fragmentManager.beginTransaction();

        fragmentTransaction.remove(fragment);
        fragmentTransaction.commit();
    }

}
<script>
	
setTimeout(getElements, 1000); //Αναμονή 1 δευτερόλεπτο να γίνουν fetch τα products
function getElements(){
	let ariaDesc = document.getElementsByClassName("product_type_variable"); //Επιλογή όλων των elements που έχουν πολλαπλές επιλογές
	let ariaLength = ariaDesc.length;
	
for (let i = 0; i < ariaLength; i++){ //Εντολές για κάθε αντικείμενο που είναι variable
	let par = document.createElement("p"); //Δημιουργία παραγράφου
	par.setAttribute("id",`desc${i}`); //Set το ID σε desc0,desc1...
	par.innerHTML = "Πολλαπλές επιλογές"; //Συμπλήρωση κειμένου
	par.style = "display:none"; //Απόκρυψη της παραγράφου
	ariaDesc[0].appendChild(par); //Προσθήκη της κάτω από κάθε element
	ariaDesc[0].setAttribute('aria-describedby', `desc${i}`) //Προσθήκη του describedby
}
}
</script>
jQuery(document).ready(function() {
  jQuery('.display-slider').slick({
    infinite: true,
    loop:true,
    dots: true,
    slidesToShow: 3,
    slidesToScroll: 1,
    autoplay: false,
    autoplaySpeed: 2000,
    leftMode: true,
      arrows: false,
    });
     var numberOfDotsToShow = 2;
  jQuery('.display-slider .slick-dots li').slice(numberOfDotsToShow).hide();
});
class P implements Runnable
{
    public void run()
    {
        for(int i=1;i<=5;i++)
        {
            System.out.println("child");
        }
    }
}
class D
{
    public static void main(String[] args )
    {
        P r= new P();

        Thread t=new Thread(r);
        t.start();

        for(int i=1;i<=5;i++)
        {
            System.out.println("main");
        }
    }
}
class P extends Thread {
    @Override
    public void run() {
        try {
            for (int i = 1; i <= 5; i++) {
                System.out.println("akhil");
                Thread.sleep(1000);
            }
        } catch (InterruptedException e) {
            // Exception handling code (empty in this case)
        }
    }
}

class D {
    public static void main(String[] args) throws InterruptedException {
        P r = new P();
        r.start();  // Starts the thread

        for (int i = 1; i <= 5; i++) {
            System.out.println("tanishq");
            Thread.sleep(1000);
        }
    }
}
class P extends Thread
{
    public void run()
    {
        for(int i=1;i<=5;i++)
        {
            System.out.println("akhil");
        }
    }
}
class D
{
    public static void main(String[] args)
    {
        P r=new P();
        r.start();

        for(int i=1;i<=5;i++)
        {
            System.out.println("tanishq");
        }

    }
}
>>> import os
>>> dir_fd = os.open('somedir', os.O_RDONLY)
>>> def opener(path, flags):
...     return os.open(path, flags, dir_fd=dir_fd)
...
>>> with open('spamspam.txt', 'w', opener=opener) as f:
...     print('This will be written to somedir/spamspam.txt', file=f)
...
>>> os.close(dir_fd)  # don't leak a file descriptor
import java.io.*;
import java.util.Scanner;

class D
{
    public static void main(String[] args) throws Exception{
        try
        {
            File f= new File("C:\\Users\\HP\\Desktop\\poco");
            Scanner sc= new Scanner(f);
            while(sc.hasNextLine())
            {
                System.out.println(sc.hasNextLine());
                System.out.println(sc.nextLine());
                System.out.println(sc.hasNextLine());
            }
        }
        catch(Exception e)
        {
            System.out.println("handled");
        }
        
}
}
star

Mon Jan 22 2024 20:56:16 GMT+0000 (Coordinated Universal Time)

@vs #r

star

Mon Jan 22 2024 17:39:33 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Mon Jan 22 2024 12:39:15 GMT+0000 (Coordinated Universal Time) https://www.myhomenishada.co.in:2083/cpsess2736258669/frontend/jupiter/filemanager/showfile.html?file

@sandeepv

star

Mon Jan 22 2024 11:40:27 GMT+0000 (Coordinated Universal Time) https://pytorch.org/get-started/pytorch-2.0/#requirements

@odaat_detailer

star

Mon Jan 22 2024 11:12:16 GMT+0000 (Coordinated Universal Time)

@2018331055

star

Mon Jan 22 2024 10:51:34 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Mon Jan 22 2024 10:42:02 GMT+0000 (Coordinated Universal Time)

@Hritujeet

star

Mon Jan 22 2024 09:43:30 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/typescript/exercise.php?filename

@esmeecodes

star

Mon Jan 22 2024 09:34:49 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Mon Jan 22 2024 06:58:37 GMT+0000 (Coordinated Universal Time) https://dgtool.co.il/אנימציית-גלילה-בטקסט/

@chen

star

Mon Jan 22 2024 06:58:34 GMT+0000 (Coordinated Universal Time) https://dgtool.co.il/אנימציית-גלילה-בטקסט/

@chen

star

Mon Jan 22 2024 05:00:37 GMT+0000 (Coordinated Universal Time) https://dev.to/esedev/how-to-pass-and-access-data-from-one-route-to-another-with-uselocation-usenavigate-usehistory-hooks-1g5m

@KhanhDu #javascript

star

Mon Jan 22 2024 05:00:23 GMT+0000 (Coordinated Universal Time) https://dev.to/esedev/how-to-pass-and-access-data-from-one-route-to-another-with-uselocation-usenavigate-usehistory-hooks-1g5m

@KhanhDu #javascript

star

Mon Jan 22 2024 03:53:21 GMT+0000 (Coordinated Universal Time)

@diptish

star

Sun Jan 21 2024 21:31:29 GMT+0000 (Coordinated Universal Time) https://chat.openai.com/?__cf_chl_tk

@eziokittu #react.js #javascript #nodejs

star

Sun Jan 21 2024 20:27:23 GMT+0000 (Coordinated Universal Time)

@jrray

star

Sun Jan 21 2024 17:02:12 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Jan 21 2024 16:45:59 GMT+0000 (Coordinated Universal Time)

@HUMRARE7 #ilink

star

Sun Jan 21 2024 12:40:03 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Jan 21 2024 12:21:40 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Jan 21 2024 12:09:02 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Jan 21 2024 11:12:02 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 11:11:51 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Jan 21 2024 11:08:23 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 11:06:54 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 11:05:39 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 11:03:50 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 11:02:22 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 10:51:00 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 10:49:16 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 10:47:38 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 10:10:00 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Jan 21 2024 09:28:12 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Jan 21 2024 08:29:13 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Jan 21 2024 06:46:31 GMT+0000 (Coordinated Universal Time)

@IfedayoAwe

star

Sat Jan 20 2024 16:23:46 GMT+0000 (Coordinated Universal Time)

@ahmed1792001 #asp.net #packages

star

Sat Jan 20 2024 15:23:52 GMT+0000 (Coordinated Universal Time) https://paste.ubuntu.com/p/dHhPSCnZgt/

@monras

star

Sat Jan 20 2024 15:21:17 GMT+0000 (Coordinated Universal Time) https://paste.ubuntu.com/p/dHhPSCnZgt/

@monras

star

Sat Jan 20 2024 14:23:02 GMT+0000 (Coordinated Universal Time)

@mehran

star

Sat Jan 20 2024 12:43:42 GMT+0000 (Coordinated Universal Time)

@Savvos

star

Sat Jan 20 2024 11:07:35 GMT+0000 (Coordinated Universal Time)

@BilalRaza12

star

Sat Jan 20 2024 10:11:02 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sat Jan 20 2024 09:14:11 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sat Jan 20 2024 09:04:33 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sat Jan 20 2024 07:25:53 GMT+0000 (Coordinated Universal Time) https://docs.python.org/3/library/functions.html

@Mad_Hatter

star

Sat Jan 20 2024 05:54:20 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sat Jan 20 2024 02:17:33 GMT+0000 (Coordinated Universal Time) https://github.com/LaravelDaily/laravel-tips/blob/master/other.md

@hasan #laravel #other #topics

star

Sat Jan 20 2024 02:14:11 GMT+0000 (Coordinated Universal Time) https://github.com/LaravelDaily/laravel-tips/blob/master/mail.md

@hasan #laravel #mail

star

Sat Jan 20 2024 02:12:05 GMT+0000 (Coordinated Universal Time) https://github.com/LaravelDaily/laravel-tips/blob/master/factories.md

@hasan #laravel #factory #factories

Save snippets that work with our extensions

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