Snippets Collections
<script>
$(document).ready(function () {
    // Define the page-specific URLs and their corresponding booking URLs
    var pageMap = {
        "https://nationalzoo.com.au/encounter/awesome-roarsome-tour/": "https://fareharbor.com/embeds/book/nationalzoo/items/565915/?full-items=yes&flow=1231254",
        "https://nationalzoo.com.au/encounter/african-savannah-safari/": "https://fareharbor.com/embeds/book/nationalzoo/items/565917/?full-items=yes&flow=1231254",
        "https://nationalzoo.com.au/wildnightzooventure/": "https://fareharbor.com/embeds/book/nationalzoo/?full-items=yes&flow=1231275",
        "https://nationalzoo.com.au/encounter/walk-on-the-wildside/": "https://fareharbor.com/embeds/book/nationalzoo/items/566541/?full-items=yes&flow=1231254",
        "https://nationalzoo.com.au/encounter/family-wonders-of-wildlife-tour/": "https://fareharbor.com/embeds/book/nationalzoo/items/566545/?full-items=yes&flow=1231254",
        "https://nationalzoo.com.au/encounter/enrichment-tour/": "https://fareharbor.com/embeds/book/nationalzoo/items/566546/?full-items=yes&flow=1231254",
        "https://nationalzoo.com.au/groups-education/focus-on-wildlife/": "https://fareharbor.com/embeds/book/nationalzoo/items/566537/?full-items=yes&flow=1231254",
        "https://nationalzoo.com.au/close-encounters/cheetah-experiences/": "https://fareharbor.com/embeds/book/nationalzoo/?full-items=yes&flow=1231270",
        "https://nationalzoo.com.au/encounter/meet-a-meerkat/": "https://fareharbor.com/embeds/book/nationalzoo/items/566557/?full-items=yes&flow=1231261",
        "https://nationalzoo.com.au/encounter/lemur-encounter/": "https://fareharbor.com/embeds/book/nationalzoo/items/567986/?full-items=yes&flow=no",
        "https://nationalzoo.com.au/encounter/giraffe-encounter/": "https://fareharbor.com/embeds/book/nationalzoo/items/566551/?full-items=yes&flow=1231261",
        "https://nationalzoo.com.au/encounter/sun-bear-encounter/": "https://fareharbor.com/embeds/book/nationalzoo/items/566552/?full-items=yes&flow=1231261",
        "https://nationalzoo.com.au/encounter/tiger-encounter/": "https://fareharbor.com/embeds/book/nationalzoo/items/566553/?full-items=yes&flow=1231261",
        "https://nationalzoo.com.au/encounter/white-lion-encounter/": "https://fareharbor.com/embeds/book/nationalzoo/items/566549/?full-items=yes&flow=1231261",
        "https://nationalzoo.com.au/encounter/rhino-encounter/": "https://fareharbor.com/embeds/book/nationalzoo/items/566559/?full-items=yes&flow=1231261",
        "https://nationalzoo.com.au/encounter/owl-encounter/": "https://fareharbor.com/embeds/book/nationalzoo/items/566556/?full-items=yes&flow=1231261"
    };

    // Get the current page URL
    var currentPage = window.location.href;

    // Get the corresponding booking URL or default if not found
    var bookingURL = pageMap[currentPage] || "https://fareharbor.com/embeds/book/nationalzoo/?full-items=yes";

    // Create the desktop button
    var desktopButton = $('<a>', {
        href: bookingURL,
        style: "font-weight:bold !important; box-shadow:none !important; padding: .6em 2em !important;",
        class: "fh-hide--mobile fh-shape--square fh-fixed--bottom fh-icon--ticket fh-color--black fh-button-true-flat-color",
        text: "Book now"
    });

    // Create the mobile button
    var mobileButton = $('<a>', {
        href: bookingURL,
        style: "font-size: 1.1em !important; font-weight:bold !important; box-shadow:none !important;",
        class: "fh-hide--desktop fh-size--small fh-fixed--bottom fh-shape--square fh-icon--ticket fh-button-true-flat-color fh-color--black",
        text: "Book now"
    });

    // Append the buttons to the body
    $('body').append(desktopButton).append(mobileButton);
});
</script>
#include <bits/stdc++.h>
using namespace std;

void DFS(int node, const vector<vector<int>>& S, vector<int>& V){
    V[node] = 1;
    for(int i = 0; i < S[node].size(); i++){
        if(V[S[node][i]] == 0){
            DFS(S[node][i], S, V);
        }
    }
}

int main(){
    int n,m; //n so dinh m so canh
    cin >> n >> m;
    vector<vector<int>> S(n);
    vector<int> V(n,0);
    for(int i = 0; i < m; i++){
        int x,y;
        cin >> x >> y;
        S[x].push_back(y);
        S[y].push_back(x);
    }
    
    int ans = 0;
    for(int i = 0; i < n; i++){
        if(V[i] == 0){
            DFS(i, S, V);
            ans ++;
        }
    }
    
    cout << ans;
}

import frappe
import base64
import requests
import json
from heero.utils.common import *


@frappe.whitelist()
def cronos_cpa(docname):
    url = "https://tb.panteonaffs.com/api/signup/procform"
    
    headers = {
        "x-api-key": "2643889w34df345676ssdas323tgc738",
        "Content-Type": "application/json",
        "x-trackbox-username": "Heero",
        "x-trackbox-password": "EYN2R%h?@lDM",
    }

    try:
        doc = frappe.get_doc("Flagedu-Lead", docname)
    except frappe.DoesNotExistError:
        return {"message": f"Document with name {docname} does not exist"}
    
    email = doc.email
    firstName = doc.name1
    phone = doc.phone
    country = get_country_code(doc.country)
    lastName = doc.last_name or doc.name1
    afp = doc.afp or "Heero"
    afp2 = doc.afp2 or ""
    ip = doc.ip if doc.ip else "137.184.226.177",


    data = {
        "ai": "2958297",
        "ci": "1",
        "gi": "297",
        "country": country,
        "userip": ip,
        "firstname": firstName,
        "lastname": lastName,
        "email": email,
        "password": "Aa12345!",
        "phone": phone,
        "so": "AFF_2958974",
        "sub": "AFF_2958974",
        "MPC_1": afp,
        "MPC_2": afp2,
        "MPC_3": "FreeParam",
        "MPC_4": "Emaar",
    }
    
    try:
        response = requests.post(url, headers=headers, json=data)
        response.raise_for_status()
    except requests.exceptions.RequestException as e:
        doc.all = json.dumps({"message": "Request failed", "error": str(e)})
        doc.save()
        return {"message": "Request failed", "error": str(e)}
    
    try:
        response_data = response.json()
    except ValueError:
        doc.all = json.dumps({"message": "Failed to parse response as JSON", "response": response.text})
        doc.save()
        return {"message": "Failed to parse response as JSON", "response": response.text}
    
    if response_data.get("status") == True:
        addon_data = response_data.get("addonData", {}).get("data", {})
        doc.axia_response = json.dumps(addon_data)  # Store the raw response as a JSON string if needed for reference
        doc.axia_login_url = addon_data.get("loginURL")
        doc.axia_client_id = addon_data.get("customerId")
        doc.append("brokers", {
                    "broker": "Fxglobe",
                    "signup_date":today(),
                    "client_id":addon_data.get("customerId"),
                    "loginurl":addon_data.get("loginURL"),
                    "success":True,
                    'type':"CPA"
                })
        doc.add_tag('Fxglobe')
        doc.save()
        return {"message": "Signup successful", "data": response_data}
    else:
        doc.all = json.dumps({"message": "Signup failed", "response": response_data})
        doc.append("brokers", {
            "broker": "Fxglobe",
            "signup_date":today(),
            "error":True,
            "type":"CPA",
            "response":json.dumps({"message": "Signup failed", "response": response_data})
        })
        doc.save()
        return {"message": "Signup failed", "response": response_data }
import 'package:flutter/material.dart';

class HighlightTextSearch extends StatelessWidget {
  final String data;
  final String? searchText;
  final bool enable;
  final TextStyle style;
  final Color highlightColor;

  const HighlightTextSearch({
    super.key,
    this.searchText,
    this.enable = true,
    required this.data,
    required this.style,
    this.highlightColor = Colors.amber,
  });

  @override
  Widget build(BuildContext context) {
    if (searchText == null || searchText!.isEmpty && enable == true) {
      return Text(
        data,
        style: style,
        overflow: TextOverflow.ellipsis,
        maxLines: 1,
      );
    }

    final lowerCaseUserName = data.toLowerCase();
    final lowerCaseSearchText = searchText!.toLowerCase();
    final highlightedSpans = <TextSpan>[];

    int start = 0;
    while (start < lowerCaseUserName.length) {
      final index = lowerCaseUserName.indexOf(lowerCaseSearchText, start);
      if (index == -1) {
        highlightedSpans.add(TextSpan(
          text: data.substring(start),
          style: style,
        ));
        break;
      }

      if (index > start) {
        highlightedSpans.add(TextSpan(
          text: data.substring(start, index),
          style: style,
        ));
      }

      highlightedSpans.add(TextSpan(
        text: data.substring(index, index + lowerCaseSearchText.length),
        style: style.copyWith(color: highlightColor),
      ));

      start = index + lowerCaseSearchText.length;
    }

    return RichText(
      text: TextSpan(
        children: highlightedSpans,
      ),
      overflow: TextOverflow.ellipsis,
      maxLines: 1,
    );
  }
}
I’m thinking about how I can best help you with whatever you need! 
Container(
  width: 100.0,
  height: 100.0,
  decoration: BoxDecoration(
    shape: BoxShape.circle,
    border: Border.all(color: Colors.white, width: 2.0),
  ),
  child: CircleAvatar(
    radius: 50.0,
    backgroundImage: NetworkImage('https://example.com/image.jpg'), // Replace with your image URL
),
)
Card(
child: List Tile(
leading: FlutterLogo() ,
title: Text( 'One-tine with leading widget'),
Card(
child: List Tile(
leading: FlutterLogo() ,
title: Text( 'One-tine with leading widget'),
version: "2"
authtoken: ....
tunnels:
  auth:
    addr: http://localhost:8001/
    host_header: localhost:8001
    proto: http
  conversation:
    addr: http://localhost:8002/
    host_header: localhost:8002
    proto: http

> ngrok start --all --config=ngrok.yml
function getTransformHandleFun(ele) {
    if (!(ele instanceof HTMLElement || ele instanceof Node)) throw new Error("Note element or node");
    const clamp = (value, min, max) => {
        if (typeof min === "number" && typeof max === "number") {
            return Math.min(Math.max(value, min), max);
        } else if (typeof min === "number" && typeof max !== "number") {
            return Math.max(value, min)
        } else if (typeof min !== "number" && typeof max === "number") {
            return Math.min(value, max)
        }
        return value
    }

    const setTranslate = (options) => {
        if (typeof options === "function") options = options();
        const { isDeff = true } = options;
        const o = { value: 0 }, _ = isDeff ? o : { value: 1 };
        const { dA = _, dB = o, dC = o, dD = _, dTx = o, dTy = o } = options;
        console.log(dA, dB);

        const style = getComputedStyle(ele);
        let transform = style.transform || style.webkitTransform || style.mozTransform;
        if (transform === 'none') transform = "matrix(1, 0, 0, 1, 0, 0)";

        if (transform) {
            const matrixValues = transform.match(/^matrix.*\((.+)\)$/);
            if (!matrixValues) return "matrix(1, 0, 0, 1, 0, 0)";
            const vals = matrixValues[1].split(', ').map(Number);
            const arr = [dA, dB, dC, dD, dTx, dTy];
            while (vals.length < 6) vals.push(0);
            let getVal = isDeff ? (i) => +arr[i].value + vals[i] : (i) => +arr[i].value;
            for (let i = 0; i < vals.length; i++) {
                vals.splice(i, 1, clamp(getVal(i), arr[i].min, arr[i].max))
            }
            transform = `matrix(${vals})`;
        }

        return transform;
    }

    return (options) => {
        ele.style.transform = setTranslate(options);
        return ele;
    }
};
Select all_data.*,gross_salary from 
(SELECT 
  ISNULL(A.[staffpin], '') AS [staffpin],
  ISNULL(A.[staffname], '') AS [staffname], 
  ISNULL(A.[sex], '') AS [sex], 
  CONVERT(date, A.[dateofbirth]) AS [dateofbirth], 
  DATEDIFF(year,A.[dateofbirth],GETDATE()) AS [age], 
  CONVERT(date, A.[joining_date]) AS [joining_date], 
  DATEDIFF(year,A.[joining_date],GETDATE()) AS [service_length], 
  Case when ISNULL(A.[status], '') = 'C' then 'CONFIRM' else 'NON CONFIRM' end AS [status], 
  ISNULL(A.[jobstatus], '') AS [jobstatus], 
  ISNULL(A.[jobbase], '') AS [jobbase], 
  ISNULL(A.[designation], '') AS [designation], 
  ISNULL(A.[functionaldesignation], '') AS [Role], 
  ISNULL(A.[program_name], '') AS [program_name], 
  ISNULL(A.[project_name], '') AS [project_name], 
  ISNULL(A.[branchname], '') AS [branchname], 
  ISNULL(A.[district_name], '') AS [district_name], 
  ISNULL(A.[thana_name], '') AS [thana_name], 
  ISNULL(A.[division_name], '') AS [division_name], 
  CASE WHEN ISNULL(A.[level], 0) = 99 THEN 0 ELSE ISNULL(A.[level], 0) END AS [Grade], 
  ISNULL(A.[email_address], '') AS [email_address], 
  ISNULL(A.[mobile], '') AS [mobile], 
  ISNULL(slb.slab, 0) AS [slab], 
  ISNULL(A.[BirthDistrict], '') AS [HomeDistrict], 
  ISNULL(A.[LastEducation], '') AS [LastEducation], 
  ISNULL(A.[Last_Pms], '') AS [PMS2023], 
  ISNULL(A.[Second_Last_Pms], '') AS [PMS2022], 
  ISNULL(A.[Third_Last_Pms], '') AS [PMS2021], 
  ISNULL(A.[Last_Promotion_Date], '') AS [Last_Promotion_Date], 
  ISNULL(A.[Action_Taken], '') AS [Action_Taken], 
  ISNULL(A.[LastTransferDate], '') AS [LastTransferDate],  
  [Last_Salary_Enhance_date] [LastSlab]
FROM [HRReportDB].[HRReportDB].[dbo].[tblERP_Data] A
LEFT JOIN (
				SELECT RIGHT('00000000' + pin, 8) AS PIN, ISNULL(slab, 0) AS slab FROM OPENQUERY(payroll_tool, 'SELECT pin, slab FROM payroll_tools.staffs')
		  ) slb ON a.staffPIN = slb.PIN 
WHERE a.jobstatus = 'Active' AND HRProgramId = '11'
  AND a.HRProgramId NOT IN ('00', '08', '41', '33', '05', '78', '66', '65', '50', '31') 
  AND a.jobbase IN ('REGULAR', 'SERVICE', 'CONTRACT')
UNION
SELECT  
  RIGHT(REPLICATE('0', 8) + k.pin,8) AS [staffpin], 
  ISNULL(k.name, '') AS StaffName, 
  ISNULL(A.[sex], '') AS [sex], 
  CONVERT(date, A.[dateofbirth]) AS [dateofbirth], 
  DATEDIFF(
    year, 
    A.[dateofbirth], 
    GETDATE()
  ) AS [age], 
  CONVERT(date, A.[joining_date]) AS [joining_date], 
  DATEDIFF(year,A.[joining_date],GETDATE()) AS [service_length], 
  ISNULL(k.job_status, '') AS [status],
  'Active' AS [jobstatus],  
  ISNULL(k.employee_type, '') AS [jobbase], 
  ISNULL(k.designation, '') AS [designation], 
  ISNULL(k.designation, '') AS [Role], 
  ISNULL(k.program_name, '') AS [program_name], 
  ISNULL(k.project_name, '') AS [project_name], 
  ISNULL(k.branch_name, '') AS [branchname], 
  ISNULL(Branch.DistrictName, '') AS [district_name], 
  ISNULL(Branch.UpazilaName, '') AS [thana_name], 
  ISNULL(Branch.DivisionName, '') AS [division_name], 
  RIGHT(
    REPLICATE('0', 3) + CAST(
      ISNULL(k.grade, 0) AS VARCHAR
    ), 
    3
  ) AS [Grade], 
  ISNULL(A.[email_address], '') AS [email_address], 
  ISNULL(A.[mobile], '') AS [mobile], 
  RIGHT(
    REPLICATE('0', 3) + CAST(
      CASE WHEN ISNULL(k.slab, 0) IN (0, 99, 16) THEN 0 ELSE k.slab END AS VARCHAR
    ), 
    3
  ) AS [slab], 
  ISNULL(A.[BirthDistrict], '') AS [HomeDistrict], 
  ISNULL(A.[LastEducation], '') AS [LastEducation], 
  ISNULL(A.[Last_Pms], '') AS [PMS2023], 
  ISNULL(A.[Second_Last_Pms], '') AS [PMS2022], 
  ISNULL(A.[Third_Last_Pms], '') AS [PMS2021], 
  ISNULL(A.[Last_Promotion_Date], '') AS [Last_Promotion_Date], 
  ISNULL(A.[Action_Taken], '') AS [Action_Taken], 
  ISNULL(A.[LastTransferDate], '') AS [LastTransferDate], 
  [Last_Salary_Enhance_date] [LastSlab] 
FROM 
  OPENQUERY(
    PAYROLL_TOOL, 'SELECT DISTINCT month, pin, name, designation, grade, slab, employee_type, job_status, project_name, project_code, branch_name, branch_code, program_name, program_code, salary_to_be_paid 
  FROM (
    SELECT MAX(sa.id) AS id, b.month, pin, sa.name, designation, grade, slab, employee_type, job_status, project_name, project_code, branch_name, branch_code, program_name, program_code, salary_to_be_paid 
    FROM payroll_tools.salary_info_history sa 
    INNER JOIN payroll_tools.batches ba ON ba.id = sa.batch_id 
    INNER JOIN payroll_tools.salary_months b ON b.id = ba.salary_month_id 
    WHERE sa.salary_to_be_paid != ''separation'' 
    AND ba.`type` = ''salary'' and sa.program_code = ''11''
    AND b.month IN (
            SELECT MAX(month) 
            FROM payroll_tools.batches bb 
            INNER JOIN payroll_tools.salary_months bm ON bm.id = bb.salary_month_id 
            WHERE salary_month_id IS NOT NULL 
            AND status IN (''finalized'',''archived'')
      )
    GROUP BY pin, b.month, sa.name, designation, grade, slab, employee_type, job_status, project_name, project_code, branch_name, branch_code, program_name, program_code, salary_to_be_paid
  ) s'
  ) k 
  LEFT JOIN HRReportDb.HRReportDb.dbo.tblERP_Data A ON staffpin = RIGHT(REPLICATE('0', 8) + k.pin,8) 
  LEFT JOIN DataProject.bpm.Branch ON HR_BranchId = branch_code 
WHERE JobBase NOT IN ('REGULAR', 'SERVICE', 'CONTRACT')
) all_data
left join (
select right('00000000'+pin,8) pin,gross_salary from openquery(payroll_tool,'select pin,gross_salary from payroll_tools.salary_structure') 
) sal on sal.pin = all_data.staffpin;
npm install

npm install @menu-buildr/ui@1.3.4 --registry=http://172.10.30.166:4873/
<?php
  //date in mm/dd/yyyy format; or it can be in other formats as well
  $birthDate = "09/03/1960";
  //explode the date to get month, day and year
  $birthDate = explode("/", $birthDate);
  //get age from date or birthdate
  $age = (date("md", date("U", mktime(0, 0, 0, $birthDate[0], $birthDate[1], $birthDate[2]))) > date("md")
    ? ((date("Y") - $birthDate[2]) - 1)
    : (date("Y") - $birthDate[2]));
  echo "Age is:" . $age;
?>
git checkout --track origin/serverfix
System.Net.HttpWebRequest request;
        System.IO.Stream stream;
        System.Exception sysEx;
        
        request = System.Net.WebRequest::Create("URL") as System.Net.HttpWebRequest;
        request.Method = 'POST';
        request.ContentType = 'application/json';

        // Set the request headers
        System.Net.WebHeaderCollection headerCollection = request.Headers;
        headerCollection.Set('Name', 'Value');

        var utf8 = System.Text.Encoding::get_UTF8();


        // Set the request body
        var byteArrayPayload = utf8.GetBytes("{\"key1\":\"value1\",\"key2\":\"value2\"}");
         try
        {
            // send out the payload
            using (System.IO.Stream dataStream = request.GetRequestStream())
            {
                dataStream.Write(byteArrayPayload, 0, byteArrayPayload.Length);
            }

            // request.GetResponse() may already result in an error if the request was e.g. a Bad Request(Status Code 400). This should be handled upstream via our global error handling.
            using (System.Net.HttpWebResponse response = request.GetResponse() as System.Net.HttpWebResponse)
            {
                stream = response.GetResponseStream();
                System.IO.StreamReader reader = new System.IO.StreamReader(stream);
                str responseBody = reader.ReadToEnd();
            }
        }
        catch (sysEx)
        {
            throw;
        }

Private Sub txtCustomerName_Change()
    Dim strFilter As String

    strFilter = Me.txtCustomerName.Text

    Me.frmCustomers_sheet.Form.Filter = "CustomerName LIKE '*" & strFilter & "*'"
    Me.frmCustomers_sheet.Form.FilterOn = True
End Sub

-------------------------------CPLImplimented code-------------------------------------------------
  using Microsoft.WindowsAzure.Storage;
Using Microsoft.WindowsAzure.Storage.Blob;
using System.IO;
using Microsoft.Dynamics.AX.Framework.FileManagement;
public final class CPLAzureBlobStorageUtility
{
    public static boolean upLoadFilebyStream(System.IO.Stream memoryStream, str _fileName)  //
    {
        boolean             ret = false;
        ProdParameters      prodParameters = ProdParameters::find();
        String255           connectionString = ProdParameters.CPLAzureBlobConnectionStr; //"DefaultEndpointsProtocol=https;AccountName=cpltest;AccountKey=JqrWct3zc10YGDUTefsi+sEj0OfsAjvpje3je4GLWhxKKfd3Iybn8Q7oqdW8F+V+O80/DLDh0Ox0+ASt6ifb4g==;EndpointSuffix=core.windows.net";
        String50            containerName = ProdParameters.CPLDrumFileExportContainerName; //"geodisxml";
        str                 errorMsg;
       
        //Validation-start
        if(connectionString == '')
           errorMsg +='Azure Bolb connection string is missing in the production control parameters\n';
        if(containerName == '')
            errorMsg +='Azure Bolb container name is missing in the production control parameters\n';
        if(_fileName == '')
            errorMsg +='Drum label file name is missing';
        if(errorMsg !='')
        {
            throw error(errorMsg);
            return ret;
        }

        //connect to blob storage-start 
        CloudStorageAccount     cloudStorageAccount = CloudStorageAccount::Parse(connectionString);
        CloudBlobClient         cloudBlobClient     = cloudStorageAccount.CreateCloudBlobClient();
        CloudBlobContainer      cloudBlobContainer  = cloudBlobClient.GetContainerReference(containerName);
        cloudBlobContainer.CreateIfNotExistsAsync();

        //Upload File to blob container-start
     // Access to sub folders we can use cloudBolbDirectory 
     // CloudBlobDirectory      cloudBlobDirectory;
     // cloudBlobDirectory  = _cloudBlobContainer.GetDirectoryReference("My Folder");
     // CloudBlockBlob      = cloudBlobDirectory.GetBlockBlobReference("File.Txt");

        CloudBlockBlob          cloudBlockBlob = cloudBlobContainer.GetBlockBlobReference(_fileName);
        memoryStream.Seek(0, System.IO.SeekOrigin::Begin);
        cloudBlockBlob.UploadFromStream(memoryStream, null, null, null);
        cloudBlockBlob.FetchAttributes(null,null,null);
        BlobProperties          blobProperties = cloudBlockBlob.Properties;
  
        if(blobProperties.Length != 0)
        {
            info('File upload successful');
            ret = true;
        }
        return ret;
    }

}
-------------------------------Reference blob------------------------------------------------------
using Microsoft.WindowsAzure.Storage;
Using Microsoft.WindowsAzure.Storage.Blob;
using System.IO;
class TestAzureBlob 
{
    public static void main(Args _args)
    {
        TestAzureBlob       testAzureBlob = new TestAzureBlob();
        CloudBlobContainer  blobContainer;

        // Connecting container
        blobContainer = testAzureBlob.connectToAzureBlob();

        // Get's the file List
        testAzureBlob.getFilesList(blobContainer);// Way 1
        testAzureBlob.readTheFiles(blobContainer);// Way 2

        // Read the data in file
        testAzureBlob.readFileValue(blobContainer);

        // upload the file
        testAzureBlob.UploadFileToBlob(blobContainer);

        // move the file
        testAzureBlob.moveTheFileFromOneFolderToAnotherFolder(blobContainer);

        // delete the file
        testAzureBlob.deleteFileFromFolder(blobContainer);
    }
}


// Connect to Blob:

    public CloudBlobContainer connectToAzureBlob()
    {
        CloudBlobClient 	cloudBlobClient;
        CloudBlobContainer	cloudBlobContainer;
        CloudStorageAccount cloudStorageAccount;
  
        cloudStorageAccount = CloudStorageAccount::Parse("Azure Blob Connection String");
        // Example :
        // ("DefaultEndpointsProtocol = https;
        // AccountName = 'AccountName';AccountKey = 'AccountKey';EndpointSuffix=core.windows.net");
        cloudBlobClient 	= cloudStorageAccount.CreateCloudBlobClient();
        cloudBlobContainer 	= cloudBlobClient.GetContainerReference("mycontainer");
  
        Info(cloudBlobContainer.Name);

        return cloudBlobContainer;
    }

  //  Get the files List:
 //   Way 1:

     public void getFilesList(CloudBlobContainer _cloudBlobContainer)
    {
        // Directory of blob container
        CloudBlobDirectory  cloudBlobDirectory;
        container           fileCon;

        // Folder Path
        cloudBlobDirectory = _cloudBlobContainer.GetDirectoryReference("My Folder");

        System.Collections.IEnumerable lstEnumarable = cloudBlobDirectory.ListBlobs(false, 0, null, null);
        System.Collections.IEnumerator lstEnumarator = lstEnumarable.GetEnumerator();

        List filenames = new List(Types::String);

        while(lstEnumarator.MoveNext())
        {
            IListBlobItem item = lstEnumarator.Current;

            if (item is CloudBlockBlob)
            {
                CloudBlockBlob      blob = item;

                blob.FetchAttributes(null, null, null);

                fileCon = str2con(blob.name, "/");

                filenames.addStart(conPeek(filecon, conLen(filecon)));

                info(strFmt("File : %1", conPeek(filecon, conLen(filecon))));
            }
        }
    }

//    Way 2:

    public void readTheFiles(CloudBlobContainer _cloudBlobContainer)
    {
        System.Collections.IEnumerable lstEnumarable = _cloudBlobContainer.ListBlobs(null, false, 0, null, null);
        System.Collections.IEnumerator lstEnumarator = lstEnumarable.GetEnumerator();

        List filenames = new List(Types::String);
        while (lstEnumarator.MoveNext())
        {
            IListBlobItem item = lstEnumarator.Current;

            if (item is CloudBlockBlob)
            {
                CloudBlockBlob blob = item;
                System.IO.StreamReader  reader = new System.IO.StreamReader(blob.OpenRead(null, null, null));
                Info(reader.ReadToEnd());
            }
        }
    }

  //  Read the file content:

    public void readFileValue(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory  cloudBlobDirectory  = _cloudBlobContainer.GetDirectoryReference("My Folder");
        CloudBlockBlob      blob                = cloudBlobDirectory.GetBlockBlobReference("File");

        System.IO.Stream memory = blob.openRead(null, null, null);

        // Read the content
        System.IO.StreamReader streamReader = new System.IO.StreamReader(memory);

        // Read each line
        str  strRecord = streamReader.ReadLine();

        // while (!System.String::IsNullOrEmpty(strRecord))
        {
            try
            {
                container   conRecord = str2con_RU(strRecord, ',');

                info(conPeek(conRecord, 1));

                info(conPeek(conRecord, 2));

                strRecord = streamReader.ReadLine();
            }
            catch
            {
                throw error("Message");
            }
        
        }
    }


  //  Upload the file:

     public void UploadFileToBlob(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory      cloudBlobDirectory;
        CloudBlockBlob          CloudBlockBlob;
        System.Byte[]           reportBytes = new System.Byte[0]();

        // File path
        cloudBlobDirectory  = _cloudBlobContainer.GetDirectoryReference("My Folder");
        CloudBlockBlob      = cloudBlobDirectory.GetBlockBlobReference("File.Txt");

        // ---------------- or ----------------
        CloudBlockBlob      = _cloudBlobContainer.GetBlockBlobReference("File.Txt");

        // Encode
        System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
        reportBytes = enc.GetBytes("YOUR XML STRING/TEXT or Data in file");
        System.IO.MemoryStream stream = new System.IO.MemoryStream(reportBytes);
 
        // upload stream
        CloudBlockBlob.UploadFromStream(stream, null, null, null);
    }

  //  Move the file:

    public void moveTheFileFromOneFolderToAnotherFolder(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory      sourceCloudBlobDirectory;
        CloudBlobDirectory      destinationCloudBlobDirectory;
        CloudBlockBlob          sourceCloudBlockBlob;
        CloudBlockBlob          destinationCloudBlockBlob;

        sourceCloudBlobDirectory        = _cloudBlobContainer.GetDirectoryReference("My Folder");
        destinationCloudBlobDirectory   = _cloudBlobContainer.GetDirectoryReference("My Folder 2");

        sourceCloudBlockBlob            = sourceCloudBlobDirectory.GetBlockBlobReference("File1.Txt");
        destinationCloudBlockBlob       = destinationCloudBlobDirectory.GetBlockBlobReference("File1.Txt");

        // Upload the file to destination
        destinationCloudBlockBlob.UploadFromStream(sourceCloudBlockBlob.OpenRead(null, null, null), null, null, null);
    }
    Delete the file:

    public void deleteFileFromFolder(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory      sourceCloudBlobDirectory;
        CloudBlockBlob          sourceCloudBlockBlob;

        sourceCloudBlobDirectory        = _cloudBlobContainer.GetDirectoryReference("My Folder");
        sourceCloudBlockBlob            = sourceCloudBlobDirectory.GetBlockBlobReference("File2.Txt");

        // Delete file
        sourceCloudBlockBlob.delete(0, null, null, null);
    }
-------------------------------CPLImplimented code-------------------------------------------------
  using Microsoft.WindowsAzure.Storage;
Using Microsoft.WindowsAzure.Storage.Blob;
using System.IO;
using Microsoft.Dynamics.AX.Framework.FileManagement;
public final class CPLAzureBlobStorageUtility
{
    public static boolean upLoadFilebyStream(System.IO.Stream memoryStream, str _fileName)  //
    {
        boolean             ret = false;
        ProdParameters      prodParameters = ProdParameters::find();
        String255           connectionString = ProdParameters.CPLAzureBlobConnectionStr; //"DefaultEndpointsProtocol=https;AccountName=cpltest;AccountKey=JqrWct3zc10YGDUTefsi+sEj0OfsAjvpje3je4GLWhxKKfd3Iybn8Q7oqdW8F+V+O80/DLDh0Ox0+ASt6ifb4g==;EndpointSuffix=core.windows.net";
        String50            containerName = ProdParameters.CPLDrumFileExportContainerName; //"geodisxml";
        str                 errorMsg;
       
        //Validation-start
        if(connectionString == '')
           errorMsg +='Azure Bolb connection string is missing in the production control parameters\n';
        if(containerName == '')
            errorMsg +='Azure Bolb container name is missing in the production control parameters\n';
        if(_fileName == '')
            errorMsg +='Drum label file name is missing';
        if(errorMsg !='')
        {
            throw error(errorMsg);
            return ret;
        }

        //connect to blob storage-start 
        CloudStorageAccount     cloudStorageAccount = CloudStorageAccount::Parse(connectionString);
        CloudBlobClient         cloudBlobClient     = cloudStorageAccount.CreateCloudBlobClient();
        CloudBlobContainer      cloudBlobContainer  = cloudBlobClient.GetContainerReference(containerName);
        cloudBlobContainer.CreateIfNotExistsAsync();

        //Upload File to blob container-start
     // Access to sub folders we can use cloudBolbDirectory 
     // CloudBlobDirectory      cloudBlobDirectory;
     // cloudBlobDirectory  = _cloudBlobContainer.GetDirectoryReference("My Folder");
     // CloudBlockBlob      = cloudBlobDirectory.GetBlockBlobReference("File.Txt");

        CloudBlockBlob          cloudBlockBlob = cloudBlobContainer.GetBlockBlobReference(_fileName);
        memoryStream.Seek(0, System.IO.SeekOrigin::Begin);
        cloudBlockBlob.UploadFromStream(memoryStream, null, null, null);
        cloudBlockBlob.FetchAttributes(null,null,null);
        BlobProperties          blobProperties = cloudBlockBlob.Properties;
  
        if(blobProperties.Length != 0)
        {
            info('File upload successful');
            ret = true;
        }
        return ret;
    }

}
-------------------------------Reference blob------------------------------------------------------
using Microsoft.WindowsAzure.Storage;
Using Microsoft.WindowsAzure.Storage.Blob;
using System.IO;
class TestAzureBlob 
{
    public static void main(Args _args)
    {
        TestAzureBlob       testAzureBlob = new TestAzureBlob();
        CloudBlobContainer  blobContainer;

        // Connecting container
        blobContainer = testAzureBlob.connectToAzureBlob();

        // Get's the file List
        testAzureBlob.getFilesList(blobContainer);// Way 1
        testAzureBlob.readTheFiles(blobContainer);// Way 2

        // Read the data in file
        testAzureBlob.readFileValue(blobContainer);

        // upload the file
        testAzureBlob.UploadFileToBlob(blobContainer);

        // move the file
        testAzureBlob.moveTheFileFromOneFolderToAnotherFolder(blobContainer);

        // delete the file
        testAzureBlob.deleteFileFromFolder(blobContainer);
    }
}


// Connect to Blob:

    public CloudBlobContainer connectToAzureBlob()
    {
        CloudBlobClient 	cloudBlobClient;
        CloudBlobContainer	cloudBlobContainer;
        CloudStorageAccount cloudStorageAccount;
  
        cloudStorageAccount = CloudStorageAccount::Parse("Azure Blob Connection String");
        // Example :
        // ("DefaultEndpointsProtocol = https;
        // AccountName = 'AccountName';AccountKey = 'AccountKey';EndpointSuffix=core.windows.net");
        cloudBlobClient 	= cloudStorageAccount.CreateCloudBlobClient();
        cloudBlobContainer 	= cloudBlobClient.GetContainerReference("mycontainer");
  
        Info(cloudBlobContainer.Name);

        return cloudBlobContainer;
    }

  //  Get the files List:
 //   Way 1:

     public void getFilesList(CloudBlobContainer _cloudBlobContainer)
    {
        // Directory of blob container
        CloudBlobDirectory  cloudBlobDirectory;
        container           fileCon;

        // Folder Path
        cloudBlobDirectory = _cloudBlobContainer.GetDirectoryReference("My Folder");

        System.Collections.IEnumerable lstEnumarable = cloudBlobDirectory.ListBlobs(false, 0, null, null);
        System.Collections.IEnumerator lstEnumarator = lstEnumarable.GetEnumerator();

        List filenames = new List(Types::String);

        while(lstEnumarator.MoveNext())
        {
            IListBlobItem item = lstEnumarator.Current;

            if (item is CloudBlockBlob)
            {
                CloudBlockBlob      blob = item;

                blob.FetchAttributes(null, null, null);

                fileCon = str2con(blob.name, "/");

                filenames.addStart(conPeek(filecon, conLen(filecon)));

                info(strFmt("File : %1", conPeek(filecon, conLen(filecon))));
            }
        }
    }

//    Way 2:

    public void readTheFiles(CloudBlobContainer _cloudBlobContainer)
    {
        System.Collections.IEnumerable lstEnumarable = _cloudBlobContainer.ListBlobs(null, false, 0, null, null);
        System.Collections.IEnumerator lstEnumarator = lstEnumarable.GetEnumerator();

        List filenames = new List(Types::String);
        while (lstEnumarator.MoveNext())
        {
            IListBlobItem item = lstEnumarator.Current;

            if (item is CloudBlockBlob)
            {
                CloudBlockBlob blob = item;
                System.IO.StreamReader  reader = new System.IO.StreamReader(blob.OpenRead(null, null, null));
                Info(reader.ReadToEnd());
            }
        }
    }

  //  Read the file content:

    public void readFileValue(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory  cloudBlobDirectory  = _cloudBlobContainer.GetDirectoryReference("My Folder");
        CloudBlockBlob      blob                = cloudBlobDirectory.GetBlockBlobReference("File");

        System.IO.Stream memory = blob.openRead(null, null, null);

        // Read the content
        System.IO.StreamReader streamReader = new System.IO.StreamReader(memory);

        // Read each line
        str  strRecord = streamReader.ReadLine();

        // while (!System.String::IsNullOrEmpty(strRecord))
        {
            try
            {
                container   conRecord = str2con_RU(strRecord, ',');

                info(conPeek(conRecord, 1));

                info(conPeek(conRecord, 2));

                strRecord = streamReader.ReadLine();
            }
            catch
            {
                throw error("Message");
            }
        
        }
    }


  //  Upload the file:

     public void UploadFileToBlob(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory      cloudBlobDirectory;
        CloudBlockBlob          CloudBlockBlob;
        System.Byte[]           reportBytes = new System.Byte[0]();

        // File path
        cloudBlobDirectory  = _cloudBlobContainer.GetDirectoryReference("My Folder");
        CloudBlockBlob      = cloudBlobDirectory.GetBlockBlobReference("File.Txt");

        // ---------------- or ----------------
        CloudBlockBlob      = _cloudBlobContainer.GetBlockBlobReference("File.Txt");

        // Encode
        System.Text.ASCIIEncoding enc = new System.Text.ASCIIEncoding();
        reportBytes = enc.GetBytes("YOUR XML STRING/TEXT or Data in file");
        System.IO.MemoryStream stream = new System.IO.MemoryStream(reportBytes);
 
        // upload stream
        CloudBlockBlob.UploadFromStream(stream, null, null, null);
    }

  //  Move the file:

    public void moveTheFileFromOneFolderToAnotherFolder(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory      sourceCloudBlobDirectory;
        CloudBlobDirectory      destinationCloudBlobDirectory;
        CloudBlockBlob          sourceCloudBlockBlob;
        CloudBlockBlob          destinationCloudBlockBlob;

        sourceCloudBlobDirectory        = _cloudBlobContainer.GetDirectoryReference("My Folder");
        destinationCloudBlobDirectory   = _cloudBlobContainer.GetDirectoryReference("My Folder 2");

        sourceCloudBlockBlob            = sourceCloudBlobDirectory.GetBlockBlobReference("File1.Txt");
        destinationCloudBlockBlob       = destinationCloudBlobDirectory.GetBlockBlobReference("File1.Txt");

        // Upload the file to destination
        destinationCloudBlockBlob.UploadFromStream(sourceCloudBlockBlob.OpenRead(null, null, null), null, null, null);
    }
    Delete the file:

    public void deleteFileFromFolder(CloudBlobContainer _cloudBlobContainer)
    {
        CloudBlobDirectory      sourceCloudBlobDirectory;
        CloudBlockBlob          sourceCloudBlockBlob;

        sourceCloudBlobDirectory        = _cloudBlobContainer.GetDirectoryReference("My Folder");
        sourceCloudBlockBlob            = sourceCloudBlobDirectory.GetBlockBlobReference("File2.Txt");

        // Delete file
        sourceCloudBlockBlob.delete(0, null, null, null);
    }
-------------------------------blog1-------------------------------------------------------------
  
//Here is the code snippet to upload file into sharepoint site using x++ code D365FO.

     public void uploadFiletoSharepoint()
    { 
  
    //upload to sharepoint site

        str site = '/Sites/TestSharepointSite';
        str folder = 'TestDocumentLibrary/TestFolder';
        System.UriBuilder builder = new System.UriBuilder('Test.sharepoint.com');
        str host = builder.Host;
        str extId = xUserInfo::getCurrentUserExternalId();
        str filename = 'Testdata.csv';

        SharePointDocumentStorageProvider storageProvider =
            new SharePointDocumentStorageProvider(host, site, folder, extId);

        storageProvider.ProviderId = DocuStorageProviderType::SharePoint;
         
        memoryStream.Position = 0;

        boolean fileExists;
         
        fileExists = storageProvider.FileExists(filename);
        if(fileExists)
        {
         
            if(memoryStream.Length  > 0  )
            {
                storageProvider.SaveFileWithOverwrite(newGuid(), filename, 'application/csv', memoryStream);
            }
        }
        else
        {
            if(memoryStream.Length  > 0  )
            {
                storageProvider.SaveFile(newGuid(), filename, 'application/csv', memoryStream);
            }
  }

    }
-----------------------------------------blog 2----------------------------------------------------

//Now, let’s determine the specific SharePoint paths by splitting up the address. That would be…
//SharePoint server: d365dev.sharepoint.com
//SharePoint site: sites/Test-Site
//SharePoint folder path: Shared Documents/Invoices

//One important thing to note: to use the D365fFO framework, it requires a D365fFO user who has a //so-called “ExternalId”.

//The function could then look like this:

protected void uploadToSharepoint(DocuRef _docuRef)
{
    str filename;
    str fileContetType;
    str externalId;
    System.IO.Stream fileStream;
    DocuValue docuValue = _docuRef.docuValue();

    const str defaultSPServer = 'd365dev.sharepoint.com';
    const str spSite = 'sites/Test-Site';
    const str spFolderPath = 'Shared Documents/Invoices';

    filename = docuValue.filename();
    fileContetType = System.Web.MimeMapping::GetMimeMapping(filename);

    // Get the file stream of the document attachment.
    fileStream = DocumentManagement::getAttachmentStream(_docuRef);
    // Specify a user who has an External Id.
    externalId = xUserInfo::getExternalId(curUserId());

    // Instantiate SharePoint document storage provider with sharepoint address path.
    Microsoft.Dynamics.AX.Framework.FileManagement.IDocumentStorageProvider storageProvider = new Microsoft.Dynamics.AX.Framework.FileManagement.SharePointDocumentStorageProvider(
        defaultSPServer,
        spSite,
        spFolderPath,
        externalId);

    storageProvider.ProviderId = DocuStorageProviderType::SharePoint;

    if (storageProvider != null)
    {
        // Generates a unique file name in case the file name already exists on SharePoint path.
        str uniqueFilename = storageProvider.GenerateUniqueName(filename);
        // Upload file to SharePoint Online path.
        Microsoft.Dynamics.AX.Framework.FileManagement.DocumentLocation location = storageProvider.SaveFile(
            docuValue.FileId,
            uniqueFilename,
            fileContetType,
            fileStream);

        if (location != null)
        {
            info(strFmt("File path: %1", location.get_NavigationUri().ToString()));
        }
    }
}

using Microsoft.Dynamics.AX.Framework.Utilities;

class DeepLinkTestJob
{

private static str buildAXURL(MenuItemName _menuItemName, MenuItemType _menuItemtype, DataSourceName _dataSource='', FieldName _field='', str _value='' )
{
UrlHelper.UrlGenerator generator = new UrlHelper.UrlGenerator();
System.Uri currentHost = new System.Uri(UrlUtility::getUrl());

generator.HostUrl = currentHost.GetLeftPart(System.UriPartial::Authority);
generator.Company = curExt();
generator.MenuItemName = _menuItemName;
generator.MenuItemType = _menuItemtype;
generator.Partition = getCurrentPartition();
generator.EncryptRequestQuery = true;

if(_dataSource != '')
{
UrlHelper.RequestQueryParameterCollection requestQueryParameterCollection;

requestQueryParameterCollection = generator.RequestQueryParameterCollection;
requestQueryParameterCollection.UpdateOrAddEntry(_dataSource, _field, _value);
}

System.Uri fullURI = generator.GenerateFullUrl();

return fullURI.AbsoluteUri;
}

public static void main(Args _args)
{
str link;

link = DeepLinkTestJob::buildAXURL(menuItemDisplayStr(CustTable), MenuItemType::Display, formDataSourceStr(CustTable,CustTable), fieldstr(CustTable, AccountNum), "US-002" );

info(link);

}

}
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

import '../screens/SignUpScreen.dart';

class UserModel {
  String userID;
  String firstName;
  String lastName;
  String email;
  String imageURL;
  bool emailVerified;
  bool profileCompleted;
  String fcmToken;
  String osType;
  String country;
  String flagCode;
  int dateOfBirth;
  String bio;
  Map<String, dynamic> geo; // New geo field
  bool onlineStatus; // New onlineStatus field

  // Default constructor with named parameters
  UserModel({
    this.userID = '',
    this.firstName = '',
    this.lastName = '',
    this.email = '',
    this.imageURL = '',
    this.emailVerified = false,
    this.profileCompleted = false,
    this.fcmToken = '',
    this.osType = '',
    this.country = '',
    this.flagCode = '',
    this.dateOfBirth = 0,
    this.bio = '',
    this.geo = const {}, // Initialize the geo field with an empty map
    this.onlineStatus = false, // Initialize the onlineStatus field
  });

  // Factory constructor to create UserModel from Firestore document
  factory UserModel.fromDocument(DocumentSnapshot document) {
    return UserModel(
      userID: document['userID'] ?? '',
      firstName: document['firstName'] ?? '',
      lastName: document['lastName'] ?? '',
      email: document['email'] ?? '',
      imageURL: document['imageURL'] ?? '',
      emailVerified: document['emailVerified'] ?? false,
      profileCompleted: document['profileCompleted'] ?? false,
      fcmToken: document['fcmToken'] ?? '',
      osType: document['osType'] ?? '',
      country: document['country'] ?? '',
      flagCode: document['flagCode'] ?? '',
      dateOfBirth: document['dateOfBirth'] ?? 0,
      bio: document['bio'] ?? '',
      geo: Map<String, dynamic>.from(document['geo'] ?? {}), // New geo field
      onlineStatus: document['onlineStatus'] ?? false, // New onlineStatus field
    );
  }

  // Factory constructor to create UserModel from a map
  factory UserModel.fromLinkedMap(Map<String, dynamic> map) {
    return UserModel(
      userID: map['userID'] ?? '',
      firstName: map['firstName'] ?? '',
      lastName: map['lastName'] ?? '',
      email: map['email'] ?? '',
      imageURL: map['imageURL'] ?? '',
      emailVerified: map['emailVerified'] ?? false,
      profileCompleted: map['profileCompleted'] ?? false,
      fcmToken: map['fcmToken'] ?? '',
      osType: map['osType'] ?? '',
      country: map['country'] ?? '',
      flagCode: map['flagCode'] ?? '',
      dateOfBirth: map['dateOfBirth'] ?? 0,
      bio: map['bio'] ?? '',
      geo: Map<String, dynamic>.from(map['geo'] ?? {}), // New geo field
      onlineStatus: map['onlineStatus'] ?? false, // New onlineStatus field
    );
  }

  // Method to convert UserModel to a map
  Map<String, dynamic> toMap() {
    return {
      'userID': userID,
      'firstName': firstName,
      'lastName': lastName,
      'email': email,
      'imageURL': imageURL,
      'emailVerified': emailVerified,
      'profileCompleted': profileCompleted,
      'fcmToken': fcmToken,
      'osType': osType,
      'country': country,
      'flagCode': flagCode,
      'dateOfBirth': dateOfBirth,
      'bio': bio,
      'geo': geo, // New geo field
      'onlineStatus': onlineStatus, // New onlineStatus field
    };
  }

  static Future<UserModel?> fetchCurrentUser(String userId, {bool fetchSnapshot = true}) async {
    User? user = FirebaseAuth.instance.currentUser;

    if (user == null) {
      print('User not logged in');
      return null;
    }

    if (userId.isEmpty) {
      userId = user.uid;
    }

    try {
      if (fetchSnapshot) {
        DocumentSnapshot documentSnapshot = await FirebaseFirestore.instance
            .collection('Users')
            .doc(userId)
            .get();

        if (documentSnapshot.exists) {
          return UserModel.fromDocument(documentSnapshot);
        } else {
          print('No document found');
          return null;
        }
      } else {
        // Fetch essential user details if fetchSnapshot is false
        DocumentSnapshot documentSnapshot = await FirebaseFirestore.instance
            .collection('Users')
            .doc(userId)
            .get();

        if (documentSnapshot.exists) {
          return UserModel.fromDocument(documentSnapshot);
        } else {
          print('No document found');
          return null;
        }
      }
    } catch (e) {
      print('Failed to fetch document: $e');
      return null;
    }
  }


  logOut(context) async {
    try {
      await FirebaseAuth.instance.signOut();
      Navigator.pushAndRemoveUntil(context, MaterialPageRoute(builder: (context) => const SignUpScreen()), (route) => false);
    } catch (e) {
      print('Logout failed: $e');
    }
  }
}
import people from "./data.js";


(function () {
  "use strict";

  let colCount = 0;
  let html = "";
  const container = document.querySelector(".container");

  function htmlList({ img, name, job, text }) {
    return `<div class="col-sm-4"><div class="card"><h3>${name}</h3></div></div>`;
  }

  function peopleLayout() {
    if (people.length) {
      html += `<div class="row">`;
      people.forEach((person, index) => {
        colCount++;
        html += htmlList(person);

        if (colCount % 3 === 0) {
          html += `</div>`; // closing the row if there are more than 3 cols
          colCount = 0;

          if (index < people.length - 1) {
            //opening a new row if index is less that the people array
            html += '<div class="row">';
          }
        }
      });

      // add to the DOM
      if (container) {
        container.innerHTML = html;
      }
    }
  }

  const init = () => {
    peopleLayout();
  };

  window.addEventListener("DOMContentLoaded", init);
})();





/** data (people) */
const people = [
  {
    img: "https://res.cloudinary.com/diqqf3eq2/image/upload/c_scale,w_200/v1595959121/person-1_aufeoq.jpg",
    name: "peter doe",
    job: "product manager",
    text: `Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis? `,
  },
  {
    img: "https://res.cloudinary.com/diqqf3eq2/image/upload/c_scale,w_200/v1595959131/person-2_ipcjws.jpg",
    name: "susan doe",
    job: "developer",
    text: `D dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis?
    D dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis?`,
  },
  {
    img: "https://res.cloudinary.com/diqqf3eq2/image/upload/c_scale,w_200/v1595959131/person-3_rxtqvi.jpg",
    name: "emma doe",
    job: "designer",
    text: `Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis?`,
  },
  {
    img: "https://res.cloudinary.com/diqqf3eq2/image/upload/c_scale,w_200/v1595959131/person-2_ipcjws.jpg",
    name: "susan doe",
    job: "developer",
    text: `Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis?`,
  },
  {
    img: "https://res.cloudinary.com/diqqf3eq2/image/upload/c_scale,w_200/v1595959131/person-3_rxtqvi.jpg",
    name: "emma doe",
    job: "designer",
    text: `Lorem ipsum dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis?`,
  },
  {
    img: "https://res.cloudinary.com/diqqf3eq2/image/upload/c_scale,w_200/v1595959131/person-2_ipcjws.jpg",
    name: "susan doe",
    job: "developer",
    text: `D dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis?
    D dolor sit amet consectetur adipisicing elit. Quidem quoeius recusandae officia voluptas sint deserunt dicta nihil nam omnis?`,
  },
];

export default people;
Computer\HKEY_CLASSES_ROOT\MSEdgeHTM\shell\open\command
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --single-argument %1
#to
"C:\Program Files (x86)\Microsoft\Edge\Application\msedge.exe" --enable-features="EnableCsrssLockdown,EncryptedClientHello,IsolatePrerenders,IsolateSandboxedIframes,RendererAppContainer,WinSboxDisableExtensionPoint" --disable-webgl --no-pings --single-argument %1
npx create-next-app@latest --typescript
cd my-app
<?php
              
              require_once("secure/baglan/baglan.php");
require_once("secure/func.php");

             
                $turlar=$db->prepare("SELECT * FROM turlar");
                $turlar->execute();
                $turlarData = $turlar->fetchAll(PDO::FETCH_ASSOC);

               
$feed_metadata = [
    "shard_id" => 0,
    "total_shards_count" => 1,
    "processing_instruction" => "PROCESS_AS_SNAPSHOT",
    "nonce" => 202113041501
];

$products = [];

foreach ($turlarData as $tur) {
    $products[] = [
        "id" => $tur['id'],
        "title" => [
            "localized_texts" => [
                ["language_code" => "en", "text" => $tur['baslik']],
                ["language_code" => "es", "text" => $tur['isbaslik']],
            ]
        ],
        "description" => [
            "localized_texts" => [
                ["language_code" => "en", "text" => $tur['detay']],
                ["language_code" => "es", "text" => $tur['isdetay']],
            ]
        ],
        "rating" => [
            "average_value" => $tur['puan'],
            "rating_count" => $tur['puan']
        ],
        "product_features" => [
            [
                "feature_type" => "TEXT_FEATURE_INCLUSION",
                "value" => [
                    "localized_texts" => [
                        ["language_code" => "en", "text" => $tur['dahil']],
                        ["language_code" => "es", "text" => $tur['isdahil']],
                    ]
                ]
            ],
            [
                "feature_type" => "TEXT_FEATURE_HIGHLIGHT",
                "value" => [
                    "localized_texts" => [
                        ["language_code" => "en", "text" => $tur['ziyaret']],
                        ["language_code" => "es", "text" => $tur['isziyaret']],
                    ]
                ]
            ],
            [
                "feature_type" => "TEXT_FEATURE_MUST_KNOW",
                "value" => [
                    "localized_texts" => [
                        ["language_code" => "en", "text" => $tur['sss']],
                        ["language_code" => "es", "text" => $tur['issss']],
                    ]
                ]
            ]
        ],
        "options" => [
            [
                "id" => $tur['id'],
                "title" => [
                    "localized_texts" => [
                        ["language_code" => "en", "text" => $tur['baslik']],
                        ["language_code" => "es", "text" => $tur['isbaslik']],
                    ]
                ],
                "landing_page" => [
                    "url" => "https://turcotravel.com/tours/"+$tur['landing_page_url']
                ],
                "landing_page_list_view" => [
                    "url" => "https://turcotravel.com/tours/"+$tur['landing_page_url']
                ],
               "duration_sec" => $tur['gun'] +"Day",
                "cancellation_policy" => [
                    "localized_texts" => [
                        ["language_code" => "en", "text" => $tur['politika']],
                        ["language_code" => "es", "text" => $tur['ispolitika']],
                ],
                    "refund_conditions" => [
                        [
                            "min_duration_before_start_time_sec" => "7 Days",
                            "refund_percent" => $tur['refund_percent']
                        ]
                    ]
                ],
                "option_categories" => [
                    ["label" => $tur['tag_id']],
                    ["label" => $tur['isyer']]
                ],
                "related_locations" => [
                    [
                        "location" => [
                            "place_id" => $tur['ulke']
                        ],
                        "relation_type" => "RELATION_TYPE_RELATED_NO_ADMISSION"
                    ],
                    [
                        "location" => [
                            "place_info" => [
                                "name" => $tur['ulke'],
                                "coordinates" => [
                                    "latitude" => "",
                                    "longitude" => ""
                                ]
                            ]
                        ],
                        "relation_type" => "RELATION_TYPE_RELATED_NO_ADMISSION"
                    ]
                ],
                "price_options" => [
                    [
                        "id" => $tur['id'],
                        "title" => $tur['baslik'],
                        "price" => [
                            "currency_code" => "usdt",
                            "units" => $tur['fiyat'],
                            "nanos" => 0
                        ],
                        "fees_and_taxes" => [
                            "per_ticket_fee" => [
                                "currency_code" => "usdt",
                                "units" => $tur['fiyat']
                            ],
                            "per_ticket_tax" => [
                                "currency_code" => "usdt",
                                "units" => 0
                            ]
                        ]
                    ]
                ],
                "meeting_point" => [
                    "location" => [
                        "place_id" => $tur['ulke']
                    ],
                    "description" => [
                        "localized_texts" => [
                            ["language_code" => "en", "text" => $tur['yer']],
                            ["language_code" => "es", "text" => $tur['isyer']],
                        ]
                    ]
                ]
            ]
        ],
        "related_media" => [
            
            [
                "url" => "https://turcotravel.com/"+$tur['image'],
                "type" => "MEDIA_TYPE_PHOTO",
                "attribution" => [
                    "localized_texts" => [
                        ["language_code" => "en", "text" => $tur['detay']],
                        ["language_code" => "es", "text" => $tur['isdetay']]

                    ]
                ]
            ]
        ],
        "operator" => [
            "google_business_profile_name" => [
                "localized_texts" => [
                    ["language_code" => "en", "text" => "Turco Travel"]
                ]
            ],
            "locations" => [
                [
                    "location" => [
                        "place_info" => [
                            "name" => $tur['yer'],
                            "phone_number" => "+90(543) 442 80 69",
                            "website_url" => "https://turcotravel.com/",
                            "unstructured_address" => "Turkey - Istanbul"
                        ]
                    ]
                ]
            ]
        ],
        "inventory_type" => "INVENTORY_TYPE_DEFAULT",
        "confirmation_type" => "CONFIRMATION_TYPE_INSTANT",
        "fulfillment_type" => [
            "mobile" => true,
            "print_at_home" => false,
            "pickup" => true
        ]
    ];
}

$output = [
    "feed_metadata" => $feed_metadata,
    "products" => $products
];

// JSON çıktısını oluşturma
header('Content-Type: application/json');
echo json_encode($output, JSON_PRETTY_PRINT);
?>
#include <stdio.h>
#include <stdbool.h>

bool isPalindrome(int n) {
    int reversed = 0, original = n, remainder;
    while (n != 0) {
        remainder = n % 10;
        reversed = reversed * 10 + remainder;
        n /= 10;
    }
    return original == reversed;
}

int main() {
    int n;
    printf("Enter a number: ");
    scanf("%d", &n);
    if (isPalindrome(n)) {
        printf("%d is a palindrome number.\n", n);
    } else {
        printf("%d is not a palindrome number.\n", n);
    }
    return 0;
}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Event Schedule List</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        div {
            margin-bottom: 20px;
        }
    </style>
</head>
<body>
    <h1>Event Schedule List</h1>

    <div id="CommonEvents">
        <h2>Supported Events</h2>
        <ul type="circle">
            <li>Concerts</li>
            <li>Conferences</li>
            <li>Films</li>
            <li>Panel Debates</li>
            <li>Performances</li>
            <li>Seminars</li>
            <li>Talks & Discussions</li>
            <li>Workshops</li>
        </ul>
    </div>

    <div id="CorporateEvents">
        <h2>Corporate Events</h2>
        <ul type="square">
            <li>Team Building Events</li>
            <li>Trade Shows</li>
            <li>Business Dinners</li>
            <li>Networking Events</li>
            <li>Opening Ceremonies</li>
            <li>Product Launches2018</li>
            <li>Theme Parties</li>
            <li>Shareholder Meetings</li>
        </ul>
    </div>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>GoldenPetal Events - Mega Consumer Fair</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
        }
        ol {
            margin-bottom: 20px;
        }
        p {
            margin: 10px 0;
        }
    </style>
</head>
<body>
    <h1>GoldenPetal Events</h1>
    <h2>Mega Consumer Fair</h2>
    
    <!-- First ordered list -->
    <ol start="1">
        <li>Bridal party</li>
        <li>Engagement parties</li>
        <li>Caterer</li>
        <li>Wedding ceremony</li>
    </ol>

    <!-- Description after first list -->
    <p>You can't imagine your wedding day without your best friends. So read our advice on how to choose your bridesmaids and groomsmen, get their duties in detail, and new bridesmaid and groomsmen gift ideas. Plus, read all you need to know about casting your very important extras -- from the flower girl to the ushers, readers, and candlelighters.</p>

    <p>One of the most personal and important aspects of your wedding planning process will be choosing your wedding party! Your wedding party (also known as the bridal party) will include not only the people who will help you plan your big day, but they also are those you will want by your side when you walk down the aisle and say your vows. Typically your wedding party is made up of your sisters, brothers and closest friends or family members. This page will serve as a guide to share all of the duties, roles and responsibilities that are involved for each participant of the wedding party. Each individual member of the wedding party has unique responsibilities, so click on each of the roles below to read thorough explanations of those duties.</p>

    <!-- Second ordered list with continuation of numbering -->
    <ol start="5">
        <li>Seminars and Conferences</li>
        <li>Appreciation Events</li>
        <li>Team Building Events</li>
    </ol>

    <!-- Description after second list -->
    <p>An engagement party is a party held to celebrate a couple's recent engagement and to help future wedding guests to get to know one another. Traditionally, the bride's parents host the engagement party, but many modern couples host their own celebration.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Pink Frag Event Management</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            margin: 20px;
            text-align: center;
        }
        table {
            width: 100%;
            border-collapse: collapse;
            margin: 20px 0;
        }
        td {
            padding: 10px;
            border: 1px solid #ddd;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        h2 {
            margin: 0;
            font-size: 1.5em;
        }
    </style>
</head>
<body>
    <h1>Pink Frag Event Management</h1>
    <p>Simple Layout Format</p>

    <table id="eventTable">
        <!-- First Row -->
        <tr>
            <td colspan="1">
                <img src="eventLogo1.png" id="eventLogo1" alt="Event Logo 1">
            </td>
            <td colspan="4">
                Pink Frag Event Management
            </td>
            <td colspan="1">
                <img src="eventLogo2.png" id="eventLogo2" alt="Event Logo 2">
            </td>
        </tr>

        <!-- Second Row -->
        <tr>
            <td colspan="2">
                Event management is the application of project management to the creation and development of large scale events such as festivals, conferences, ceremonies, weddings, formal parties, concerts, or conventions. It involves studying the brand, identifying its target audience, and coordinating the technical aspects before actually launching the event.
            </td>
            <td colspan="2">
                The process of planning and coordinating the event is usually referred to as event planning and which can include budgeting, scheduling, site selection, acquiring necessary permits, coordinating transportation and parking, arranging for speakers or entertainers, arranging decor, event security, catering, coordinating with third party vendors, and emergency plans.
            </td>
            <td colspan="2">
                Each event is different in its nature, so process of planning & execution of each event differs on the basis of type of event. The events industry now includes events of all sizes from the Olympics down to business breakfast meetings. Many industries, charitable organizations, and interest groups hold events in order to market themselves or celebrate an achievement.
            </td>
        </tr>

        <!-- Third Row -->
        <tr>
            <td colspan="3">
                <h2>Wedding Planner</h2>
                A wedding planner is a professional who assists with the design, planning and management of a client's wedding. Weddings are significant events in people's lives and as such, couples are often willing to spend a considerable amount of money to ensure that their weddings are well-organized.
            </td>
            <td colspan="3">
                <h2>Corporate Event</h2>
                A corporate event can be defined as a gathering that is sponsored by a business for its employees, business partners, clients and/or prospective clients. These events can be for larger audiences such as conventions or smaller events like conferences, meetings or holiday parties.
            </td>
        </tr>
    </table>
</body>
</html>
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;400;600&display=swap");
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background-color: linear-gradiet(300deg, #757b87, #909d9d);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}
input {
    padding: 1rem;
    border-radius: 25px;
    border: none;
    background-color: #fff;
    font-family: inherit;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    font-size: 1rem;
}
input:focus {
    outline: none;
}
.weather {
    text-align: center;
    font-size: 2rem;
}
.weather h2 {
    margin-bottom: 0;
    display: flex;
    align-items: center;
} /* .weather img{ transform: scale(2); } */
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Weather</title>
    <link rel="stylesheet" href="style.css">
</head>

<body>
    <form id="form">
        <input type="text" id="search" placeholder="Search By Loaction" autocomplete="off">
    </form>
    <main id="main">

    </main>

    <script src="app.js"></script>
</body>

</html>
using namespace std;

// An iterative binary search function.
int binarySearch(int arr[], int low, int high, int x)
{
    while (low <= high) {
        int mid = low + (high - low) / 2;

        // Check if x is present at mid
        if (arr[mid] == x)
            return mid;

        // If x greater, ignore left half
        if (arr[mid] < x)
            low = mid + 1;

        // If x is smaller, ignore right half
        else
            high = mid - 1;
    }

    // If we reach here, then element was not present
    return -1;
}

// Driver code
int main(void)
{
    int arr[] = { 2, 3, 4, 10, 40 };
    int x = 10;
    int n = sizeof(arr) / sizeof(arr[0]);
    int result = binarySearch(arr, 0, n - 1, x);
    if(result == -1) cout << "Element is not present in array";
    else cout << "Element is present at index " << result;
    return 0;
}
import java.util.*; 
import java.io.*;

class Main {
   public static String CodelandUsernameValidation(String str) {
    // code goes here 

    if(str.length() < 4 || str.length() > 25 || Character.isLetter(str.charAt(0)) == false || str.charAt(str.length()-1) == '_') {
      return "false";
    } 
    else{
      for(int i=0;i<str.length();i++){
        if(Character.isLetter(str.charAt(i)) || Character.isDigit(str.charAt(i)) || str.charAt(i) == '_'){
          continue;
        }
        else{
          return "false";
        }
      }
    }
    return "true";
    
  }

  public static void main (String[] args) {  
    // keep this function call here     
    Scanner s = new Scanner(System.in);
    System.out.print(CodelandUsernameValidation(s.nextLine())); 
  }

}

  
function throttle(fun, delay) {
    let isRun = true;
    return function (...args) {
        if (isRun) {
            fun.apply(this, args)
            isRun = false
            setTimeout(() => {
                isRun = true
            }, delay)
        }
    }
}
function debounce(fun, delay) {
    let i;
    return function (...args) {
        if (i) clearTimeout(i)
        setTimeout(() => {
            fun.apply(this, args)
        }, delay);
    }
}
function hasChanged(x, y) {
    if (x === y) return x === 0 && 1 / x !== 1 / y
    else return x === x || y === y
}
; (function () {
    const ob = new IntersectionObserver((entries) => {
        entries.filter(entry => entry.isIntersecting).forEach(entry => {
            const img = entry.target;
            img.src = img.dataset.src;
            ob.unobserve(img);
        })
    })

    const imgs = document.querySelectorAll('img[data-src]');
    imgs.forEach(img => { ob.observe(img) });
})();
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
public class App {

    public static void main(String[] args) {
        System.out.println("Hello World!");

        myVariables();
        DataTypes();
        Casting();
        Operations();
    }

    public static void myVariables() {
        int Book = 10;
        double Pen = 20.5;
        String Paper = "Hello";
        char Pencil = 'P';
        boolean Binder = true;
        
        System.out.println("My Variable:");
        System.out.println("int: " + Book);
        System.out.println("double: " + Pen);
        System.out.println("String: " + Paper);
        System.out.println("char: " + Pencil);
        System.out.println("boolean: " + Binder);
    }

    public static void DataTypes() {
        byte Watch = 9;
        short Fan = 50;
        int Shirt = 100;
        long Gown = 857;
        float Bag = 10.5f;
        double Pants = 50.99;
        char Umbrella = 'A';
        boolean Shoes = true;

        System.out.println("\nDifferent Data Types:");
        System.out.println("byte: " + Watch);
        System.out.println("short: " + Fan);
        System.out.println("int: " + Shirt);
        System.out.println("long: " + Gown);
        System.out.println("float: " + Bag);
        System.out.println("double: " + Pants);
        System.out.println("char: " + Umbrella);
        System.out.println("boolean: " + Shoes);
    }

    public static void Casting() {
        int intVar = 20;
        double WideCast = intVar;
        
        double doubleVar = 20.78;
        int NarCast = (int) doubleVar;

        System.out.println("\nCasting:");
        System.out.println("Wide casting (int to double): " + WideCast);
        System.out.println("Narrow casting (double to int): " + NarCast);
    }

    public static void Operations() {
        int a = 20;
        int b = 21;

        System.out.println("\nOperations on different operators:");
        System.out.println("Addition (a + b): " + (a + b));
        System.out.println("Subtraction (a - b): " + (a - b));
        System.out.println("Multiplication (a * b): " + (a * b));
        System.out.println("Division (a / b): " + (a / b));
        System.out.println("Modulus (a % b): " + (a % b));

        System.out.println("a is greater than b: " + (a > b));

        boolean result = (a > b) && (a != b);
        System.out.println("Logical AND operation (a > b && a != b): " + result);
    }
}
file:///C:/Users/Vu%20Minh/Desktop/KCBOOK%20-%20chuyen%20de%20-%20qhd%20-%20ctdl%20-%20dt%20-%20chuyentin.pro.pdf
// Use the ColorFromPalette function to rotate through the rainbow by the colorIndex
//ColorFromPalette( paletteName, colorIndex[0-255], brightness[0-255], blendType[NOBLEND or LINEARBLEND])
leds[j] = ColorFromPalette(RainbowColors_p, colorIndex, 255, LINEARBLEND);
colorIndex += 15;  // Increment the colorIndex to change the color for the next LED
// Add new variable to track the color palette indices
uint8_t colorIndex;
star

Tue Sep 03 2024 16:25:13 GMT+0000 (Coordinated Universal Time) https://www.codewithharry.com/work/

@varun007

star

Tue Sep 03 2024 11:22:53 GMT+0000 (Coordinated Universal Time)

@Shira

star

Tue Sep 03 2024 11:13:29 GMT+0000 (Coordinated Universal Time) https://www.programiz.com/cpp-programming/online-compiler/

@LizzyTheCatto

star

Tue Sep 03 2024 10:42:32 GMT+0000 (Coordinated Universal Time) https://www.coinsclone.com/bored-ape-yacht-club-clone-script/

@LilianAnderson #nftmarketplace #boredapeyachtclub #nftdevelopment #blockchaintechnology #cryptoinvesting

star

Tue Sep 03 2024 09:28:23 GMT+0000 (Coordinated Universal Time)

@menaheero

star

Tue Sep 03 2024 09:19:58 GMT+0000 (Coordinated Universal Time)

@Samuel1347 #flutter #dart

star

Tue Sep 03 2024 08:59:13 GMT+0000 (Coordinated Universal Time) https://chatgpt.com/

@JohnPillix

star

Tue Sep 03 2024 00:59:16 GMT+0000 (Coordinated Universal Time) https://devopsnz.co.nz/wp-admin/admin.php?page

@mediasolutions #undefined

star

Mon Sep 02 2024 20:50:13 GMT+0000 (Coordinated Universal Time)

@maken

star

Mon Sep 02 2024 20:49:18 GMT+0000 (Coordinated Universal Time)

@maken

star

Mon Sep 02 2024 20:49:18 GMT+0000 (Coordinated Universal Time)

@maken

star

Mon Sep 02 2024 20:06:54 GMT+0000 (Coordinated Universal Time)

@RobertoSilvaZ #ngrok #server #api #endpoint

star

Mon Sep 02 2024 11:25:47 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Mon Sep 02 2024 10:06:31 GMT+0000 (Coordinated Universal Time)

@TanzibulBOT #sql

star

Mon Sep 02 2024 08:12:02 GMT+0000 (Coordinated Universal Time)

@Jeremicah

star

Mon Sep 02 2024 06:49:43 GMT+0000 (Coordinated Universal Time)

@2late #php

star

Mon Sep 02 2024 06:36:13 GMT+0000 (Coordinated Universal Time)

@zaki

star

Mon Sep 02 2024 06:00:12 GMT+0000 (Coordinated Universal Time) https://dax365.blogspot.com/2023/05/api-call-using-x-in-d365-fo.html?m=1

@Manjunath

star

Sun Sep 01 2024 23:36:39 GMT+0000 (Coordinated Universal Time)

@rmdnhsn

star

Sun Sep 01 2024 15:21:12 GMT+0000 (Coordinated Universal Time) https://livesql.oracle.com/apex/f?p=590:43:110468522533521:::43:P43_ID:43598910548515259669053517882265218870&cs=3g_84ZvGlY0PofpPC3c_ISHIpXeNw35seuVtwQw2hGE-m9HowWoJLocJkByWB7O83gTqK9pnL1Y1CxBmj45vexg

@emir

star

Sun Sep 01 2024 09:41:13 GMT+0000 (Coordinated Universal Time) https://kishoredynamics11.blogspot.com/2023/02/upload-and-download-file-from-blob.html

@Manjunath

star

Sun Sep 01 2024 09:39:59 GMT+0000 (Coordinated Universal Time) https://kishoredynamics11.blogspot.com/2023/02/upload-and-download-file-from-blob.html

@Manjunath

star

Sun Sep 01 2024 09:29:05 GMT+0000 (Coordinated Universal Time) https://vijayaxtechnical.blogspot.com/2020/01/upload-file-to-sharepoint-in-d365fo-x.html

@Manjunath

star

Sun Sep 01 2024 08:53:35 GMT+0000 (Coordinated Universal Time) https://devblog.sertanyaman.com/2018/03/26/generating-deep-links-for-d365-fo-forms-and-records/

@Manjunath

star

Sun Sep 01 2024 08:16:33 GMT+0000 (Coordinated Universal Time) https://zipextractor.app/?state

@nj

star

Sun Sep 01 2024 08:07:50 GMT+0000 (Coordinated Universal Time)

@hasnat #dart #flutter #user #usermodel

star

Sun Sep 01 2024 06:30:52 GMT+0000 (Coordinated Universal Time)

@davidmchale

star

Sun Sep 01 2024 04:54:19 GMT+0000 (Coordinated Universal Time) https://superuser.com/questions/1755876/how-to-launch-edge-browser-with-command-line-flags

@Curable1600 #windows #edgebrowser

star

Sun Sep 01 2024 00:21:24 GMT+0000 (Coordinated Universal Time) https://flowbite.com/docs/getting-started/next-js/

@icao21 #bash

star

Sat Aug 31 2024 20:58:19 GMT+0000 (Coordinated Universal Time)

@ECY

star

Sat Aug 31 2024 07:14:19 GMT+0000 (Coordinated Universal Time) https://goodvibesonly.cloud/category/tutorials-in-hindi/c-tutorial-in-hindi/

@geeknotnerd

star

Sat Aug 31 2024 06:15:21 GMT+0000 (Coordinated Universal Time) https://github.com/vercel/next.js/tree/canary/examples/with-typescript

@icao21

star

Sat Aug 31 2024 05:54:58 GMT+0000 (Coordinated Universal Time)

@signup

star

Sat Aug 31 2024 05:51:17 GMT+0000 (Coordinated Universal Time)

@signup

star

Sat Aug 31 2024 05:41:02 GMT+0000 (Coordinated Universal Time)

@signup

star

Fri Aug 30 2024 23:37:12 GMT+0000 (Coordinated Universal Time) https://whiskerstotailspetsitting.com/2017/05/purr-fect-list-cat-vocabulary-not-kitten-around/

@LizzyTheCatto

star

Fri Aug 30 2024 21:21:21 GMT+0000 (Coordinated Universal Time) https://www.codewithrandom.com/2023/11/25/weather-app-javascript-weather-app-using-html-css-javascript/

@icao21

star

Fri Aug 30 2024 21:21:14 GMT+0000 (Coordinated Universal Time) https://www.codewithrandom.com/2023/11/25/weather-app-javascript-weather-app-using-html-css-javascript/

@icao21

star

Fri Aug 30 2024 11:51:17 GMT+0000 (Coordinated Universal Time)

@Suryansh1807 #c++

star

Fri Aug 30 2024 09:03:07 GMT+0000 (Coordinated Universal Time)

@Thiru #java

star

Fri Aug 30 2024 05:46:22 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 05:45:29 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 05:24:10 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 05:08:29 GMT+0000 (Coordinated Universal Time)

@vasttininess #javascript

star

Fri Aug 30 2024 02:45:07 GMT+0000 (Coordinated Universal Time) https://rustup.rs/

@mikefried

star

Fri Aug 30 2024 01:40:25 GMT+0000 (Coordinated Universal Time)

@hungarylin2

star

Fri Aug 30 2024 00:40:08 GMT+0000 (Coordinated Universal Time) https://vietcodes.github.io/algo/biconnect

@LizzyTheCatto

star

Fri Aug 30 2024 00:39:35 GMT+0000 (Coordinated Universal Time) https://vietcodes.github.io/algo/biconnect

@LizzyTheCatto

star

Thu Aug 29 2024 20:01:12 GMT+0000 (Coordinated Universal Time)

@TechBox #c++

star

Thu Aug 29 2024 19:57:52 GMT+0000 (Coordinated Universal Time)

@TechBox #c++

Save snippets that work with our extensions

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