Snippets Collections
https://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&sz=640x480&cust_params=sample_ct%3Dredirecterror&ciu_szs=300x250%2C728x90&gdfp_req=1&output=vast&unviewed_position_start=1&env=vp&impl=s&correlator=
#include <iostream>
#include <stack>
using namespace std;
 
void InsertInSortedOrder(stack<int>& s, int element) {
    if (s.empty() || s.top() <= element) {
        s.push(element);
        return;
    }
 
    int topElement = s.top();
    s.pop();
    InsertInSortedOrder(s, element);
    s.push(topElement);
}
 
void SortStack(stack<int>& s) {
    if (!s.empty()) {
        int topElement = s.top();
        s.pop();
        SortStack(s);
        InsertInSortedOrder(s, topElement);
    }
}
 
void PrintStack(stack<int> s) {
    if (s.empty()) {
        return;
    }
 
    int topElement = s.top();
    s.pop();
    cout << topElement << " ";
    PrintStack(s);
    s.push(topElement);
}
 
int main() {
    stack<int> s;
    s.push(30);
    s.push(-5);
    s.push(18);
    s.push(14);
    s.push(-3);
 
    cout << "Original Stack: ";
    PrintStack(s);
    cout << endl;
 
    SortStack(s);
 
    cout << "Sorted Stack: ";
    PrintStack(s);
    cout << endl;
 
    return 0;
}
#include <iostream>
using namespace std;

int Factorial(int n){
    if(n == 0 || n == 1)
        return 1;
        
    return n * Factorial(n-1);
}

void CalculateFactorial(int n){
    if(n == 0 || n == 1){
        cout << "1";
        return;
    }
    
    int ans = Factorial(n);
    cout << ans;
}

int main() {
    int n;
    
    cout << "Enter a number: ";
    cin >> n;
    
    cout << "Factorial of " << n << ": ";
    CalculateFactorial(n);

    return 0;
}
{
	"blocks": [
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":star: Xero Boost Days! :star:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Please see below for what's on this week! "
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-3: Monday, 3rd February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n:coffee: *Café Partnership*: Enjoy free coffee and café-style beverages from our Cafe partner *Edwards*.\n:Lunch: *Brunch*: from *10am* in the kitchen.\n:massage:*Wellbeing*: Pilates at *SP Brisbane City* is bookable every Monday!"
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":calendar-date-5: Wednesday, 5th February",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":coffee: *Café Partnership*: Enjoy free coffee and café-style beverages from our Cafe partner *Edwards*.\n:lunch: *Lunch*:from *12pm* in the kitchen!"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Stay tuned to this channel for more details, check out the <https://calendar.google.com/calendar/u/0?cid=Y19uY2M4cDN1NDRsdTdhczE0MDhvYjZhNnRjb0Bncm91cC5jYWxlbmRhci5nb29nbGUuY29t|*Brisbane Social Calendar*>, and get ready to Boost your workdays!\n\nLove,\nWX Team :party-wx:"
			}
		}
	]
}
{
	"blocks": [
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":cute-sun: Boost Days - What's On This Week :cute-sun:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n\n Happy February Melbourne! \n\n See below for what's on this week. \n\n _Please note that our barista services will be operating from Level 2 again this week_ "
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": "Xero Café :coffee:",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n :new-thing: *This week we are offering:* \n\n :cookiemonster2: Triple Chocolate Chip Cookies  \n\n :raspberry: Raspberry & White Chocolate Cookies \n\n"
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": " Wednesday, 5th February :calendar-date-5:",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": " \n\n :lunch: *Light Lunch*: Provided by Kartel Catering from *12pm* in the L1 & L2 Kitchens! \n\n"
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": "Thursday, 6th February :calendar-date-6:",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":breakfast: *Breakfast*: Provided by *Kartel Catering* from *8:30am - 10:30am* in the L1 & L2 Kitchens!"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "Thank you, \n\n WX :party-wx:"
			}
		}
	]
}
<!DOCTYPE html>
<html lang="he">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>One row text title By CSS</title>
    <style>
        /* Reset */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Global Rules */
        html, body {
            height: 100%;
            width: 100%;
            overflow-x: hidden;
        }
        .wrapper.row {
            direction: rtl;
            max-width: 1800px;
            margin: 0 auto;
            display: flex;
            gap: 10px;
        }
        .section.ue_post_grid_item {
            max-width: 25%;
            padding: 20px;
            min-height: 320px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            flex-direction: column;
        }
       /* .slider-container .section {
            position: absolute;
            width: 100vh; /* Switch width by height */
            /*height: 100vw; /* Switch height by width */
          /*  display: flex;
            justify-content: center;
            align-items: center;
            font-size: 3rem;
            color: white;
            transform: rotate(-90deg); /* Flip all */
           /* transition: transform 0.5s ease-in-out; 
        }*/

        /* Each section is stacked vertically */
        .section-1 { top: 0; left: 0; background-color: #ff6f61; }
        .section-2 { top: 100vh; left: 0; background-color: #6fa3ff; }
        .section-3 { top: 200vh; left: 0; background-color: #6fff7a; }
        .section-4 { top: 300vh; left: 0; background-color: #ffdf6f; }

        .uc_post_image img {
            max-width: 100%;
            object-fit: cover;
            height: 220px;
        }
        .uc_post_title h2 {
            font-size: 1.2em;
            font-family: system-ui;
            text-decoration: none;
            color: #000;
            line-height: normal;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .uc_post_title a {
            text-decoration: none;
        }
        .uc_post_title {
            background: #fff;
            padding: 10px 15px 15px;
        }        
    </style>
</head>
<body>
    <div class="wrapper row">
        <div class="section section-1 ue_post_grid_item">
            <div class="uc_post_image">
               <img decoding="async" src="https://aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" alt="27270-1920" width="768" height="318" data-lazy-src="//aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" data-ll-status="loaded" class="entered lazyloaded">
            </div>
            <div class="uc_post_title">
                <a href="https://aspx.co.il/%d7%91%d7%a0%d7%99%d7%99%d7%aa-%d7%90%d7%aa%d7%a8-%d7%97%d7%a0%d7%95%d7%aa/" target="_self">
                    <h2>בניית אתרים ← בניית אתר חנות | בניית חנות אינטרנטית: המדריך המלא</h2>
                </a>
            </div>           
        </div>

        <div class="section section-2 ue_post_grid_item">
            <div class="uc_post_image">
               <img decoding="async" src="https://aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" alt="27270-1920" width="768" height="318" data-lazy-src="//aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" data-ll-status="loaded" class="entered lazyloaded">
            </div>
            <div class="uc_post_title">
                <a href="https://aspx.co.il/%d7%91%d7%a0%d7%99%d7%99%d7%aa-%d7%90%d7%aa%d7%a8-%d7%97%d7%a0%d7%95%d7%aa/" target="_self">
                    <h2>בניית אתרים ← בניית אתר חנות | בניית חנות אינטרנטית: המדריך המלא</h2>
                </a>
            </div>           
        </div>

        <div class="section section-3 ue_post_grid_item">
            <div class="uc_post_image">
               <img decoding="async" src="https://aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" alt="27270-1920" width="768" height="318" data-lazy-src="//aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" data-ll-status="loaded" class="entered lazyloaded">
            </div>
            <div class="uc_post_title">
                <a href="https://aspx.co.il/%d7%91%d7%a0%d7%99%d7%99%d7%aa-%d7%90%d7%aa%d7%a8-%d7%97%d7%a0%d7%95%d7%aa/" target="_self">
                    <h2>בניית אתרים ← בניית אתר חנות | בניית חנות אינטרנטית: המדריך המלא</h2>
                </a>
            </div>           
        </div>

        <div class="section section-4 ue_post_grid_item">
            <div class="uc_post_image">
               <img decoding="async" src="https://aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" alt="27270-1920" width="768" height="318" data-lazy-src="//aspx.co.il/wp-content/uploads/2024/11/27270-1920-768x318.webp" data-ll-status="loaded" class="entered lazyloaded">
            </div>
            <div class="uc_post_title">
                <a href="https://aspx.co.il/%d7%91%d7%a0%d7%99%d7%99%d7%aa-%d7%90%d7%aa%d7%a8-%d7%97%d7%a0%d7%95%d7%aa/" target="_self">
                    <h2>בניית אתרים ← בניית אתר חנות | בניית חנות אינטרנטית: המדריך המלא</h2>
                </a>
            </div>           
        </div>        
    </div>
<!-- This is the short and direct code  -->
<style>
	.slot-title {
    		display: -webkit-box;
        	-webkit-line-clamp: 1;
        	-webkit-box-orient: vertical;
      		overflow: hidden;
    }
</style>
                    
<div class="title-wrapper">
  <a id="blabla"  href="https://www.ynet.co.il/food/article/bj7eyktoyl">
  	<div class="slot-title">הקרואסון המפורסם חזר - בפעם האחרונה</div>
  </a>
</div>
                    
</body>
</html>
    
//taken from a select option field
selectSortValue = e.target.value; // or whatever matches our swtich condition


function onHandleSort(array, selectOpion) {
        switch (selectOpion) {
            
            case "alphabetical":
             // using slice as to not modify the original array (made a mistake with this!)
              return locations.slice().sort((a, b) => a.name.localeCompare(b.name));

            case "cost":
                return locations.slice().sort((a, b) => a.minimumFee - b.minimumFee);

            case "closest":
                console.log("closest");
                break;

            default:
                return locations; // In case no valid option is selected
        }
    }

   filteredItems = onHandleSort(filteredItems, selectSortValue);
 // this function is used to get the data we need for the html we want to render
    function getItemData(dataArray) {
        if (!dataArray) return [];

        return dataArray?.map((item) => ({
            name: item?.name ?? "",
            category: item?.category ?? "",
            web: item?.website ?? "",
            tel: item?.tel ?? "",
            email: item?.email ?? "",
        }));
    }
\documentclass[a4paper,10pt]{article}
%-----------------------------------------------------------
\usepackage[top=0.75in, bottom=0.75in, left=0.55in, right=0.85in]{geometry}
\usepackage{graphicx}
\usepackage{url}
\usepackage{palatino}
\usepackage{booktabs}
\usepackage{hyperref}
\fontfamily{SansSerif}
\selectfont

\hypersetup{
    colorlinks=true,
    linkcolor=blue,
    filecolor=magenta,      
    urlcolor=cyan,
    pdftitle={Overleaf Example},
    pdfpagemode=FullScreen,
    }
    
\urlstyle{same}

\usepackage[T1]{fontenc}
\usepackage
%[ansinew]
[utf8]
{inputenc}

\usepackage{color}
\definecolor{mygrey}{gray}{0.75}
\textheight=9.8in
\raggedbottom

\setlength{\tabcolsep}{0in}
\newcommand{\isep}{-2 pt}
\newcommand{\lsep}{-0.5cm}
\newcommand{\psep}{-0.6cm}
\renewcommand{\labelitemii}{$\circ$}

\pagestyle{empty}
%-----------------------------------------------------------
%Custom commands
\newcommand{\resitem}[1]{\item #1 \vspace{-2pt}}
\newcommand{\resheading}[1]{{\small \colorbox{mygrey}{\begin{minipage}{0.975\textwidth}{\textbf{#1 \vphantom{p\^{E}}}}\end{minipage}}}}
\newcommand{\ressubheading}[3]{
\begin{tabular*}{6.62in}{l @{\extracolsep{\fill}} r}
	\textsc{{\textbf{#1}}} & \textsc{\textit{[#2]}} \\
\end{tabular*}\vspace{-8pt}}

%-----------------------------------------------------------


\begin{document}

\hspace{0.5cm}\\[-1.8cm]

\textbf{Kovid valluripalli} \hspace{9.6cm} {\bf kovid0258@gmail.com}\\
\indent {\bf Senior Undergraduate}  \hspace{10.7 cm} {\bf +91-9xxxxxxxxxx} \\
\indent {\bf CVR College of Engineering }  \hspace{8.4 cm} {\bf linkedin.com/in/kovid } \\

\vspace{-2mm}
\resheading{\textbf{EDUCATION} }\\[\lsep]\\ \\
%\begin{table}[ht!]
%\begin{center}
\indent \begin{tabular}{ p{2.5cm} @{\hskip 0.15in} p{5.5cm} @{\hskip 0.15in} p{3.5cm} @{\hskip 0.15in} p{2.5cm} @{\hskip 0.15in} p{1.5cm} }
\toprule
\textbf{Degree} & \textbf{Specialization} & \textbf{Institute} & \textbf{Year} & \textbf{CPI} \\
\midrule
B.Tech & \textit{Computer Science \& Engineering} & CVR College of Engineering & 2019-Present & 8.03 \\
HSC BIEAP & \textit{Physics, Chemistry, \& Mathematics} & Sri chaitanya College & 2019 & 9.88\\
SSC CBSE & - & Sri chaitanya  College & 2018 & 10.0\\
\bottomrule
\end{tabular}

%\end{center}
%\end{table}
\\ \\

%\resheading{\textbf{FIELDS OF INTEREST} }\\[\lsep]
%\begin{itemize}
%\item \noindent Wireless Network and Network Security, Another one, a third one
%\end{itemize}

\vspace{1mm}

\resheading{\textbf{WORK EXPERIENCE} }

\begin{itemize}

\vspace{-0.5mm}
\item {\bf Software Intern } \textit{[Truminds Software Systems]}
\textit{\hfill 
{May-Jul 2022}
}
\vspace{-1mm}

\begin{itemize}






\item \textbf{Coordinated in a team of four} to program micro-services including \textbf{NETCONF client, Configuration, and Performance Management Application} as a part of the \textbf{5G Network Management Station}

\item \textbf{Developed a REST API} and used \textbf{NATS messaging} to enable communication between various micro-services and using \textbf{protocol buffers to serialize the data} between different microservices

\item \textbf{Integrated the distinct micro-services} and \textbf{deployed the project on cloud} server by building \textbf{Docker containers} for all the applications along with working on technologies like \textbf{InfluxDB and Kubernetes}

\vspace{-1mm}

\end{itemize}
\end{itemize}

\begin{itemize}

\vspace{-1mm}
\item {\bf Freelancer (Solution Writing Project)} \textit{[Toppr]}
\textit{\hfill 
{Feb-Mar 2022}
}
\vspace{-1mm}

\begin{itemize}



\item Successfully \textbf{cleared the freelancer screening test} conducted by Toppr for \textbf{100+ applicants} from various colleges responsible for \textbf{clarifying the doubts of school students} of classes 11th and 12th


\item Solved \textbf{80+ chemistry problems} from the study material of the \textbf{grade of competitive exams} consisting of \textbf{multiple choice questions, and brief \& long answer questions within 20 days}


\vspace{-1mm}
\end{itemize}
\end{itemize}


\resheading{\textbf{PROJECTS} }

\begin{itemize}

 \vspace{-0.5mm}
\item {\bf Data Analysis of World Ineuqality and the Pandemic} \textit{[Prof. Anirban Dasgupta]}
\textit{\hfill 
{Mar-Apr 2022}
}



\begin{itemize}


\vspace{-2mm}
\item Documented a \textbf{comprehensive report on income, economic, and carbon inequalities} interpreting raw datasets visually followed by \textbf{drawing qualitative insights} from the generated plots 


\item Built a \textbf{Computational Neural Network (CNN) model} for \textbf{Covid-19 detection through chest X-rays attaining 90\% accuracy} and analyzed \textbf{correlations between registered deaths and health care centres}

%\item Forecasted the growth in the number of Covid-19 cases over a span of 300+ days across the country through a linear regression model reporting an error of 27.75\% between actual and predicted values


\vspace{-2mm}
\end{itemize}
\end{itemize}




\begin{itemize}

 
 
\item {\bf Financial Markets Experience Program} \textit{[Finlatics]}
\textit{\hfill 
{Feb-Apr 2022}
}

\begin{itemize}

\vspace{-1.5mm}

\item Managed a \textbf{virtual portfolio of BSE 500 stocks} selected based on \textbf{fundamental analysis} and conducted \textbf{SWOT and Porter's five forces analysis} for four companies from \textbf{Banking and Automobile sectors}

\item Secured a position among the \textbf{top 10\% Of portfolio managers} participating from \textbf{60+ colleges} across India by generating \textbf{50\% returns} having \textbf{virtual holdings worth Rs. 3,00,000} eventually


\vspace{-2mm}
\end{itemize}
\end{itemize}






\iffalse
\begin{itemize}


\item {\bf Review on Perceptron-based Prefetch Filtering
} \textit{[Prof. Sameer Kulkarni]}
\textit{\hfill 
{Feb-Apr 2021}
}



\begin{itemize}

\vspace{-1.5mm}


\item Coordinated in a team three to \textbf{review a paper based on perceptron-based prefetch filtering (PPF) }presented in the \textbf{46th Annual International Symposium on Computer Architecture (ISCA ’19)}


\vspace{-1mm}

\item \textbf{Presented a comprehensive review} of PPF using an underlying \textbf{Signature Path Prefetcher}

\vspace{-1mm}
\end{itemize}
\end{itemize}

\fi

\begin{itemize}


\item {\bf MNIST Digit Detection using Verilog
} \textit{[Prof. Joycee Mekie]}
\textit{\hfill 
{Sept-Dec 2020}
}



\begin{itemize}

\vspace{-1.5mm}
\item \textbf{Programmed a CNN model in Vivado and Python} to \textbf{detect numbers in the MNIST data set} based on the \textbf{pixel values of the datapoints} available as images through machine learning techniques

\item Developed the \textbf{Adder, Multiplier, Neuron, Neural Layer, and Activation Function sub-models from scratch} by taking \textbf{input as floating point numbers} and eventually integrated them to run the model


\vspace{-1mm}

\end{itemize}
\end{itemize}







\resheading{\textbf{POSITIONS OF RESPONSIBILITY} }
	
%\item \textbf{Introduction to \LaTeX
%} (Workshop) \\
%\emph{(Organizer: Team \LaTeX , IIT Gandhinagar
%, 14 November `15)} \\[-0.6cm]
%	\begin{itemize}\itemsep \isep
%	\item Objective : To introduce and to promote \LaTeX \ in the student community
%	\item Organized the workshop as a part of Team \LaTeX

%	\end{itemize}
	

	
\begin{itemize}

\vspace{-0.5mm}
\item {\bf Gully Cricket Coordinator} \textit{[Hallabol 2021]}
\textit{\hfill 
{Sept-Oct 2021}
}



\begin{itemize}
    
\vspace{-2mm}

\item \textbf{Organized Gully Cricket} under Hallabol, the intra-college sports festival of IIT Gandhinagar, witnessing an \textbf{overall footfall of 800+ participants} from students as well as staff members of the institute

\item \textbf{Led a team of four} responsible for looking after \textbf{scheduling of matches} between \textbf{60+ registered teams}, addressing \textbf{logistical concerns}, crowd management, and \textbf{seamless execution} of the event 

\vspace{-2mm}

\end{itemize}
\end{itemize}


\resheading{\textbf{EXTRA-CURRICULAR ACHIEVEMENTS/ACTIVITIES} }



	
\begin{itemize}

\vspace{-0.5mm}

\item Secured \textbf{third position in football} game out of \textbf{25+ teams} as a part of state level selection

\vspace{-1.5mm}

\item Secured a \textbf{second position in EPL football compitation  2022} out of \textbf{20+ competing teams from every college} from the state 

\vspace{-1.5mm}

\item \textbf{Tried track day} in the \textbf{Chicane Circuit}  and bagged \textbf{runners-up position out of 17 participants in 2024}

\vspace{-1.5mm}
\end{itemize}



\resheading{\textbf{TECHNICAL SKILLS} }
\begin{itemize}
\vspace{-1mm}

\item \textbf{Languages:} Python, C, java (Beginner),MySQl

\vspace{-1mm}
\item \textbf{Tools: } Jupiter Notebook, VS Code, GitHub
\vspace{-1mm}
\item \textbf{Moocs:}Financial Markets,Financial Analyst Course,The Complete Investment Banking Course 
\vspace{-4mm}

\end{itemize}








%\resheading{\textbf{STRENGTHS} }\\[\lsep]
%\begin{itemize}
%\item \noindent Positive Attitude, Social Interaction, Hardworking.
%\end{itemize}





%\end{itemize}



\end{document}


*
  Professional SAS Programming Secrets
  Program 5f
  Picture format
*;
proc format;
picture cent
    0   -< 100 = '0001' (multiplier=100)
    other  = '----' (noedit)
    ;
run;
clear row.Item;
 itm_list = List();
 rem_list = List();
 fet_cat = Expense_Item[Expense_Categories == input.Category].ID.getAll();
 itm_list.addAll(fet_cat);
 for each val in input.Item
 {
  if(val.Item != null)
  {
 	 rem_list.add(val.Item);
  }
 }
  if(itm_list.size() > 0 && rem_list.size() > 0)
  {
   itm_list.removeAll(rem_list);
   row.Item:ui.add(itm_list);
  }
  else
  {
  row.Item:ui.add(itm_list);
  }
<%{
	//<li><a href="#Report:All_Indents" target="_blank">Create / View Indent</a></li>
	%>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Page Designed by Varun</title>
    <style>
        body.custom-links-page {
            font-family: 'Arial', sans-serif;
            background-color: #f8f8f8;
            margin: 0;
            padding: 10px;
        }

        body.custom-links-page h1 {
            color: #333;
            text-align: center;
        }

        .group-container {
            background-color: #14638e;
            border-radius: 8px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            margin-bottom: 10px;
            padding: 10px;
            overflow: hidden;
        }

        .subgroup-container {
            background-color: #f2f2f2;
            border-radius: 8px;
            margin-bottom: 10px;
            padding: 10px;
            overflow: hidden;
        }

        .column {
            width: 33.33%;
            float: left;
            box-sizing: border-box;
            padding: 0 5px;
        }

        .column ul {
            list-style-type: none;
            padding: 0;
            margin: 0;
        }

        .column li {
            margin-bottom: 10px;
            border-bottom: 1px solid #ddd;
            padding-bottom: 5px;
        }

        .column a {
            text-decoration: none;
            color: #14638e;
            font-weight: bold;
            transition: color 0.3s ease;
        }

        .column a:hover {
            color: #da251c;
        }

        /* Media Query for Mobile Devices */
        @media only screen and (max-width: 767px) {
            .column {
                width: 100%;
                float: none;
                margin-bottom: 15px;
            }
        }
    </style>
</head>
<body class="custom-links-page">

    <h2 style="text-align: center"><img src=<%="https://carrierwheels.com/images/CWPL_LOGO_NAME.png"%> width="350px"></h2>

    <div class="group-container">
	<h2 style="text-align: center">SALES ORDER PROCESS</h2>
	
        <div class="subgroup-container">

			<div class="column">
                <h4>Customer</h4>
                <ul>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Form:Customer_Pricing_Master" target="_blank">Create Customer Pricing</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Customer_Pricing_Masters" target="_blank">View Customer Pricing - Customerwise</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Customer_Pricing_Productwise1" target="_blank">View Customer Pricing - Productwise</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Customer_Pricing_History" target="_blank">Customer Pricing History</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Edit_Customer_Pricing_Master" target="_blank">Edit Customer Pricing</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Import_Customer_Price_Master" target="_blank">Import Customer Pricing</a></li>
                </ul>
            </div>

            <div class="column">
                <h4>Sales Order</h4>
                <ul>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Sales_Order_Process" target="_blank">Active Sales Order</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Draft_SalesOrder" target="_blank">Draft Sales Order</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Form:Sales_Order" target="_blank">Create Sales Order</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Sales_Order_History" target="_blank">Sales Order History</a></li>
				<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Sales_Order_Itemwise" target="_blank">Item wise Sales Order</a></li>
					
                </ul>
            </div>
			
			<div class="column">
                <h4>Invoice</h4>
                <ul>
                    <li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Domestic_Invoices" target="_blank">View Invoice</a></li>
					<!--<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:All_Payments" target="_blank">View Payments</a></li>--> 
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Update_MRN" target="_blank">MRN/Detention Process</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:MRN_Process_Report" target="_blank">MRN/Detention Report</a></li>
                </ul>
            </div>            
        </div>
		
		
	
	
		<div class="subgroup-container">
			<div class="column">
                <h4>Proforma Invoice</h4>
                <ul>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:All_Proforma_Invoices" target="_blank">View Proforma Invoice</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Form:Create_Proforma_Invoice" target="_blank">Create Proforma Invoice</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Pending_Proforma_Invoices" target="_blank">Pending Proforma Invoice</a></li>
                </ul>
            </div>

            <div class="column">
                <h4>Dispatch Note</h4>
                <ul>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Dispatch_Note_Plan_Report" target="_blank">View Dispatch Note Plan</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:History_of_Dispatch_Note" target="_blank">Dispatch Note History</a></li>
					<!--<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Revert_Dispatch_Note_Plan" target="_blank">Revert Dispatch Note Plan</a></li>-->
					<!--<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Vehicles_Dispatch_Details_Report" target="_blank">Vehicles Dispatch Details</a></li>-->
					<!--<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Closed_Dispatch_Note" target="_blank">Closed Dispatch Details</a></li>-->
                </ul>
            </div>
	
	
			<div class="column">
                <h4>Stock</h4>
                <ul>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Production_Stock_Summary" target="_blank">Production Stock Summary</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Inventory_Aging_Report1" target="_blank">Inventory Aging Report</a></li>
                </ul>
            </div>
        </div>

   
		
		<div class="subgroup-container">

			<div class="column">
                <h4>Others</h4>
                <ul>                  
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Form:Daily_Inward_Sheets" target="_blank">Daily Inward Sheets</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Customer_Part_Master" target="_blank">Customer Part Master</a></li>
                </ul>
            </div>
  
            <div class="column">
                <h4>Reports</h4>
                <ul>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Sales_Report" target="_blank">Sales Report Customer Wise</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:SO_Report_Itemwise" target="_blank">SO Report Itemwise</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Sale_Book_Report" target="_blank">Sales Book</a></li>
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:Sales_Order_on_EDD" target="_blank">Open SO Report Shipment Datewise</a></li>	
					<li><a href="https://creatorapp.zoho.in/carrierwheels/erp/#Report:All_Daily_Inward_Sheets" target="_blank">Daily Inward Sheets</a></li>	
                </ul>
            </div>

           
        </div>
		
		
    </div>

  	<!-- Add more groups and links as needed -->

</body>
</html>
<%

}%>
<%{
	get_comp = Company_Details[ID != null];
	logo_file = Company_Details[ID is not null].LOGO.getSuffix("image/").getPrefix("border").replaceAll("\"","").trim();
	//CompanyLogo = "https://creator.zoho.in/carrierwheels/erp/Company_Details_Report/LOGO/image/W7UqgNQJ655rKwa5s7pquwPXWbOCKSxBtRE62MF06mTUzGMS9vnvQJrpUDX9r6As10RNdekajMT6kbfX2p9xCE9T09hNYP9CB4kp/" + logo_filePacking_Details
	CompanyLogo = "https://carrierwheels.com/images/CW_Logo.png";
	CompanyName_Image = "https://carrierwheels.com/images/CWPL_NAME.png";
	fet_disp = Create_Dispatch_Note_Format[ID == input.ID.toLong()];
	veh = 0;
	tran = 0;
	if(fet_disp.Transport_Type == "One Time")
	{
		veh = ifNull(fet_disp.Vehicle_No_dup,"");
		tran = ifNull(fet_disp.Transporter_Name,"");
	}
	else
	{
		veh = ifNull(fet_disp.Vehicle_No_dup,"");
		tran = ifNull(fet_disp.Transporter_Name,"");
	}
	fet_cus = Customers[ID == fet_disp.Customer_Name];
	fet_trans = Name_of_Transport[ID == fet_disp.Transport_Name];
	fet_veh = Vehicle_Details[ID == fet_disp.Vehicle_No];
	fet_so = Sales_Order[ID == fet_disp.Sales_Order_No];
	fet_inco = Incoterms[ID == fet_disp.Incoterms];
	fet_incolo = Incoterms[ID == fet_disp.Incoterms_Location];
	comp_add_print = "";
	if(get_comp.Address.address_line_1 != null)
	{
		comp_add_print = get_comp.Address.address_line_1 + ", ";
	}
	if(get_comp.Address.address_line_2 != null)
	{
		comp_add_print = comp_add_print + get_comp.Address.address_line_2 + ", ";
	}
	if(get_comp.Address.district_city != null)
	{
		comp_add_print = comp_add_print + get_comp.Address.district_city + ", ";
	}
	if(get_comp.Address.district_city != null)
	{
		comp_add_print = comp_add_print + get_comp.Address.state_province + ", (INDIA) -  ";
	}
	if(get_comp.Address.postal_Code != null)
	{
		comp_add_print = comp_add_print + get_comp.Address.postal_Code + ". " + "<br>";
	}
	if(get_comp.Phone_Number != null)
	{
		comp_add_print = comp_add_print + "Tel.: " + get_comp.Phone_Number + ", ";
	}
	if(get_comp.Email != null)
	{
		comp_add_print = comp_add_print + "Email: " + get_comp.Email + ", ";
	}
	if(get_comp.web != null)
	{
		comp_add_print = comp_add_print + "Web: " + get_comp.web + "<br>";
	}
	if(get_comp.GST_Number != null)
	{
		comp_add_print = comp_add_print + "GSTIN: " + get_comp.GST_Number + "; ";
	}
	if(get_comp.CIN != null)
	{
		comp_add_print = comp_add_print + "CIN: " + get_comp.CIN + "; ";
	}
	if(get_comp.Permanent_Account_Number != null)
	{
		comp_add_print = comp_add_print + "PAN: " + get_comp.Permanent_Account_Number + "; ";
	}
	if(get_comp.TAN != null)
	{
		comp_add_print = comp_add_print + "TAN: " + get_comp.TAN + "; ";
	}
	if(get_comp.IEC != null)
	{
		comp_add_print = comp_add_print + "IEC: " + get_comp.IEC;
	}
	%>
<style>
	.heading
{
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	border: 1px solid black;
	text-align: center;
}
.disp 
	{
		text-align: center;
		font-size : 10.5px;
	   	width : 100%;
	   	height : 0.5px;
	   	border :1px solid black;
	}
		.prod
	{
		text-align: left;
		font-size : 10.5px;
	   	width : 100%;
	   	height : 0.5px;
		border :1px solid black; 
		border-collapse : collapse;
	   
	}
	.mainfrm 
	{
			width: 100%;
			margin-left: auto;
			margin-right: auto;
			border: 1px solid black;
			border-collapse: collapse;
	}
	 .tr
   {
   border :1px solid black;
   border-collapse : collapse;
   font-size : 10.5px;
   height : 2px;
   }
   .td
   {
   border :1px solid black;
   border-collapse : collapse;
   font-size : 12px;
   height : 2px;
   }
   
   .th
   {
   border :1px solid black;
   border-collapse : collapse;
   font-size : 10.5px;
   height : 2px;
   background-color : lightsteelblue;
   }
      .tableInfo
   {
	     width : 100%;
	  
	   font-size : 10.5px;
	   border :1px solid black;
	   border-collapse: collapse;
   	 }
	</style>
	<table class="heading" >
<tr>
         <td width="10%"><img src=<%=CompanyLogo%>  width="86px" height ="40px"></td>
		 <td><img src=<%=CompanyName_Image%> width="501px" height ="31px"></td>
	</tr>
	<tr>
         <td style = "background-color : white"></td>
         <td style = "font-size : 9px; padding-top : 0px; padding-bottom:0px ; background-color : white"> <%=comp_add_print%></td>
     </tr>
</table>
<table class="disp" >
<tr>
	<td style="font-size:15px"> <b>Dispatch Note <b></td>
</tr>
</table>

<table class = "mainfrm">
<tr>
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Dispatch No: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_disp.CDNF_ID%>  </td>
			
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Dispatch Note Date: </b> </td>
						<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_disp.Dispatch_Note_Date%> </td>
						
						<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Sale Order No: </b> </td>
						<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_so.Sale_Order_No%> </td>
</tr>
		<tr>
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Customer Name: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_cus.Customer_Name%> </td>
			
			
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Shipping Location: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_disp.Customer_Address%> </td>
				<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b>Incoterms: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_inco.Incoterms%> </td>
			
			
			</tr>
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b>Incoterms Location: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_incolo.Incoterms_Location%> </td>
			
						<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Transporter Name: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=tran%> </td>
			
			
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Driver Name: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_disp.Driver_Name%> </td>
			<tr>
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Driver Mob No: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_disp.Driver_Mobile_Number%> </td>
				
		
			<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b>GR/RRNo: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_disp.GR_No%> </td>
	<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Vehicle Type: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=fet_disp.Vehicle_Type%> </td>
			
		
			<tr>
		<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:10.5px ; background-color : lightsteelblue"> <b> Vehicle No: </b> </td>			
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:10.5px"> <%=veh%> </td>
			
			</tr>
			<table class="prod" >
<tr style="border :1px solid black; border-collapse : collapse;" >
	<td colspan = "3" style="font-size:15px; border :1px solid black; border-collapse : collapse;" > <b>Product Details <b></td>
</tr>
</table>

<table style="width : 100%; border :1px solid black; border-collapse : collapse; font-size : 10.5px;">
<tr class="tr">
<th class="th" >S.No</th>
<th class="th">Product Code</th>
<th class="th">Product Description</th>
<th class="th">Packing Details</th>
<th class="th">Planned Qty</th>
<th class="th">Actual Qty</th>
<th class="th">UOM</th>
<th class="th">Remarks</th>
<th class="th">Planned Weight</th>
<th class="th">Actual Weight</th>
</tr>
<%
	slno = 1;
	for each  sub in fet_disp.Product_Details
	{
		fet_material = Materials[ID == sub.Product_Code];
		fet_uom = Unit_of_Measurement[ID == sub.UoM];
		%>
<tr class="tr">
<td class="td"><%=sub.S_NO%></td>
<td class="td" align = "center"><%=ifnull(sub.Product_Code.Part_No,"")%></td>
<td class="td" align = "center"><%=ifnull(sub.Product_Description.Part_Description,"")%></td>

<td class="td" align = "center"><%=ifnull(sub.Packing_Details1.Packaging_Name,"")%></td>
<td class="td" align = "center"><%=ifnull(sub.Planned_Qty,"")%></td>
<td class="td" align = "center"><%=ifnull(sub.Actual_Qty,"")%></td>
<td class="td" align = "center"><%=ifnull(sub.UoM.UOM,"")%></td>
<td class="td" align = "center"><%=ifnull(sub.Remarks,"")%></td>
<td class="td" align = "center"><%=ifnull(sub.Product_Weight,"")%></td>
<td class="td" align = "center"><%=ifnull(sub.Actual_Weight,"")%></td></tr>
<%
	}
	%>
</table>
<table class = "tableInfo">
<tr><td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:12px ; background-color : lightsteelblue"> <b>Total Qty: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"> <%=fet_disp.Total_Qty%> </td>
<td style="text-align:left; width:10% ;border :1px solid black; border-collapse : collapse;font-size:12px ; background-color : lightsteelblue"> <b>Total Weight: </b> </td>
			<td style="text-align:left; width:20% ;border :1px solid black; border-collapse : collapse;font-size:12px"> <%=fet_disp.Total_Weight%> </td>
			</tr>
			</table>
			<table width="100%" style="border :1px solid black;border-collapse:collapse;font-size : 12px;padding: 1px;">
<tr class="td">
<td  colspan = "3" class="td"  height="20px" align="center"> <b>DOC No. CWPL/MKT/F/10 Rev. No. 04 & Dated: 06/09/2018 Origin Dt.11/04/2014 </td>
<%

}%>
library(dplyr)

# Compute average temperature per year
df_avg <- df %>%
  rowwise() %>%
  mutate(Average_Temperature = mean(c_across(-Year), na.rm = TRUE))  # Exclude "Year" column

# Create the bar chart
ggplot(df_avg, aes(x = Year, y = Average_Temperature, fill = as.factor(Year))) +
  geom_bar(stat = "identity", show.legend = FALSE) +  # Bar chart
  scale_fill_viridis_d() +  # Use a color palette
  labs(title = "Average Yearly Temperature",
       x = "Year",
       y = "Average Temperature (°C)") +
  theme_minimal()
library(ggplot2)
library(reshape2)

# Reshape data into long format for heatmap
df_long <- melt(df, id.vars = "Year", variable.name = "Month", value.name = "Temperature")

# Create the heatmap
ggplot(df_long, aes(x = Year, y = Month, fill = Temperature)) +
  geom_tile() +  # Creates the heatmap
  scale_fill_viridis_c(option = "plasma", name = "Temperature (°C)") +  # Adjust color scale
  labs(title = "Heatmap of Monthly Temperature Trends",
       x = "Year",
       y = "Month") +
  theme_minimal() +
  theme(axis.text.x = element_text(angle = 90, hjust = 1))  # Rotate x-axis labels
# Load required libraries
library(readxl)
library(dplyr)
library(ggplot2)
library(scales)
library(tidyr)

# Step 1: Load the cleaned temperature data
df <- read_excel("D:/thesis/cleaned_temperature_data.xlsx") 

# Step 2: Convert 'Min_Temperature' to numeric
df <- df %>%
  mutate(Min_Temperature = as.numeric(Min_Temperature))

# Step 3: Reshape the data to long format
df_long <- df %>%
  pivot_longer(cols = c(Max_Temperature, Min_Temperature), 
               names_to = "Type", 
               values_to = "Temperature")

# Step 4: Ensure Month is an ordered factor for proper sequencing
df_long$Month <- factor(df_long$Month, 
                        levels = c("Jan", "Feb", "Mar", "Apr", "May", "Jun", 
                                   "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"),
                        ordered = TRUE)

# Step 5: Create the line graph with facets for months in order
ggplot(df_long, aes(x = Year, y = Temperature, color = Type, group = Type)) +
  geom_line(size = 1) +  # Add lines
  geom_point(size = 2) +  # Add points
  facet_wrap(~ Month, scales = "free_y", nrow = 3, ncol = 4) +  # Correct sequence of months
  labs(title = "Monthly Temperature Trends Over Years",
       x = "Year", y = "Temperature (°C)") +
  scale_y_continuous(breaks = scales::pretty_breaks(n = 10)) +  # Proper Y-axis
  scale_x_continuous(breaks = seq(min(df$Year, na.rm = TRUE), max(df$Year, na.rm = TRUE), by = 1)) +  # Remove decimals in Year
  scale_color_manual(values = c("Max_Temperature" = "red", "Min_Temperature" = "blue")) +  # Color mapping
  theme_minimal() +
  theme(axis.text.x = element_text(angle = 45, hjust = 1))  # Rotate X-axis labels for clarity
class InputBox
{
    /// <summary>
    /// Displays a dialog with a prompt and textbox where the user can enter information
    /// </summary>
    /// <param name="title">Dialog title</param>
    /// <param name="promptText">Dialog prompt</param>
    /// <param name="value">Sets the initial value and returns the result</param>
    /// <returns>Dialog result</returns>
    public static DialogResult Show(string title, string promptText, ref string value)
    {
        Form form = new Form();
        Label label = new Label();
        TextBox textBox = new TextBox();
        Button buttonOk = new Button();
        Button buttonCancel = new Button();

        form.Text = title;
        label.Text = promptText;
        textBox.Text = value;

        buttonOk.Text = "OK";
        buttonCancel.Text = "Cancel";
        buttonOk.DialogResult = DialogResult.OK;
        buttonCancel.DialogResult = DialogResult.Cancel;

        label.SetBounds(9, 20, 372, 13);
        textBox.SetBounds(12, 36, 372, 20);
        buttonOk.SetBounds(228, 72, 75, 23);
        buttonCancel.SetBounds(309, 72, 75, 23);

        label.AutoSize = true;
        textBox.Anchor = textBox.Anchor | AnchorStyles.Right;
        buttonOk.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
        buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;

        form.ClientSize = new Size(396, 107);
        form.Controls.AddRange(new Control[] { label, textBox, buttonOk, buttonCancel });
        form.ClientSize = new Size(Math.Max(300, label.Right + 10), form.ClientSize.Height);
        form.FormBorderStyle = FormBorderStyle.FixedDialog;
        form.StartPosition = FormStartPosition.CenterScreen;
        form.MinimizeBox = false;
        form.MaximizeBox = false;
        form.AcceptButton = buttonOk;
        form.CancelButton = buttonCancel;

        DialogResult dialogResult = form.ShowDialog();
        value = textBox.Text;
        return dialogResult;
    }
}
class InputBox
{
    /// <summary>
    /// Displays a dialog with a prompt and textbox where the user can enter information
    /// </summary>
    /// <param name="title">Dialog title</param>
    /// <param name="promptText">Dialog prompt</param>
    /// <param name="value">Sets the initial value and returns the result</param>
    /// <returns>Dialog result</returns>
    public static DialogResult Show(string title, string promptText, ref string value)
    {
        Form form = new Form();
        Label label = new Label();
        TextBox textBox = new TextBox();
        Button buttonOk = new Button();
        Button buttonCancel = new Button();

        form.Text = title;
        label.Text = promptText;
        textBox.Text = value;

        buttonOk.Text = "OK";
        buttonCancel.Text = "Cancel";
        buttonOk.DialogResult = DialogResult.OK;
        buttonCancel.DialogResult = DialogResult.Cancel;

        label.SetBounds(9, 20, 372, 13);
        textBox.SetBounds(12, 36, 372, 20);
        buttonOk.SetBounds(228, 72, 75, 23);
        buttonCancel.SetBounds(309, 72, 75, 23);

        label.AutoSize = true;
        textBox.Anchor = textBox.Anchor | AnchorStyles.Right;
        buttonOk.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;
        buttonCancel.Anchor = AnchorStyles.Bottom | AnchorStyles.Right;

        form.ClientSize = new Size(396, 107);
        form.Controls.AddRange(new Control[] { label, textBox, buttonOk, buttonCancel });
        form.ClientSize = new Size(Math.Max(300, label.Right + 10), form.ClientSize.Height);
        form.FormBorderStyle = FormBorderStyle.FixedDialog;
        form.StartPosition = FormStartPosition.CenterScreen;
        form.MinimizeBox = false;
        form.MaximizeBox = false;
        form.AcceptButton = buttonOk;
        form.CancelButton = buttonCancel;

        DialogResult dialogResult = form.ShowDialog();
        value = textBox.Text;
        return dialogResult;
    }
}
<!doctype>
  <html>
  <body> welcome my first wewbpage </body>
#include <iostream>
using namespace std;

unsigned long long Fibonacci(int n) {
    if (n <= 1)
        return n;
    else
        return Fibonacci(n - 1) + Fibonacci(n - 2);
}

void PrintFibonacci(int n) {
    for (int i = 0; i < n; ++i) {
        cout << Fibonacci(i);
        if (i != n - 1) {
            cout << ", ";
        }
    }
}

int main() {
    int numberOfTerms = 20;
    
    cout << "Fibonacci series for " << numberOfTerms << " terms: " << endl;
    PrintFibonacci(numberOfTerms);

    return 0;
}
#include <iostream>
using namespace std;

void PrintFibonacci(int n){
    unsigned long long a = 0, b = 1, c;
    cout << a << ", " << b;
    for(int i = 2; i < n; ++i){
        c = a + b;
        cout << ", " << c;
        a = b;
        b = c;
    }
}

int main() {
    int numberOfTerms = 100;
    
    cout << "Fibonacci series for 100 terms:" << endl;
    PrintFibonacci(numberOfTerms);

    return 0;
}
SELECT
  -- TRANSACCIONES
  FECHA AS FECHA_DE_TRANSAC,
  CAST(MONTH (FECHA) AS CHAR) AS MES,
  CAST(YEAR (FECHA) AS CHAR) AS AÑO,
  -- (COALESCE(T.[NRO COMPROBANTE],'') + '-' + COALESCE([IPO DE COMPROBANTE],'')) as NRO_COMPROBANTE_TRANSAC,
  T.[NRO COMPROBANTE] AS NRO_COMPROBANTE_TRANSAC,
  C.CODIGO AS COD_CLIENTE,
  T."RAZON SOCIAL" AS RAZON_SOCIAL,
  T."LISTA DE PRECIO" AS LISTA_DE_PRECIO,
  "NOMBRE LISTA" AS NOMBRE_LISTA,
    "PROV COSTO REF" AS PROV_COSTO_REF,
  "DIR DE ENTREGA" AS DIR_DE_ENTREGA,
   "NOMBRE ZONA" AS NOMBRE_ZONA,
  "COD ZONA" AS COD_ZONA,
  "CLASI CLIENTE" AS CLASE_CLIENTE,	
  SUCURSAL,
  "NOMBRE SUCURSAL" AS NOMBRE_SUCURSAL,
  -- CLIENTES
  "QUE HACE" AS QUE_HACE,
  "OBS DE VENTA" AS OBS_DE_VENTA,
  "OBS PAGO" AS OBS_PAGO,
  "DIR VISITA COMERCIAL" AS DIR_VISITA_COMERCIAL,
  REVENDEDOR,
  "GRUPO EMPRESARIO" AS GRUPO_EMPRESARIO,
  "CUPO DE CREDITO" AS CUPO_DE_CREDITO,
  "CONDICION DE PAGO" AS CONDICION_DE_PAGO,
  COUNT("COD ARTICULO") AS COUNT_COD_ARTICULO, 
  SUM(BONIFICACION) AS SUM_BONIFICACION, -- SUM
  SUM(DESCUENTO) AS SUM_DESCUENTO, -- SUM
  SUM(T.CANT) AS SUM_CANT, -- SUM
  SUM("IMPORTE SIN IVA") AS SUM_IMPORTE_SIN_IVA, -- SUM
  SUM(CASE
    WHEN UM = 'Kilogramo' THEN T.CANT
    ELSE T.CANT * T.PESO
  END) AS SUM_KILOS-- SUM
FROM TABLERO.dbo.TRANSACCIONES T
  LEFT JOIN TABLERO.dbo.CLIENTES C ON T."COD CLIENTE" = C.CODIGO
  LEFT JOIN TABLERO.dbo.ARTICULOS A ON T."COD ARTICULO" = A.CODIGO
  WHERE FECHA BETWEEN 
     '2019-01-01' -- Inicio del mes del año anterior
    AND DATEADD(DAY, -1, DATEADD(MONTH, DATEDIFF(MONTH, 0, GETDATE()) + 1, 0)) -- Último día del mes actual
     AND [IPO DE COMPROBANTE] = 'FAC' -- Último día del mes actual
     -- AND CLASIFICACION = 'C'
    GROUP BY 
  FECHA,
  CAST(MONTH(FECHA) AS CHAR),
  CAST(YEAR(FECHA) AS CHAR),
  T."NRO COMPROBANTE",
  [IPO DE COMPROBANTE],
  C.CODIGO,
  T."RAZON SOCIAL",
  T."LISTA DE PRECIO",
  "NOMBRE LISTA",
  "COSTO REFERENCIA",
  "PROV COSTO REF",
  "DIR DE ENTREGA",
  "NOMBRE ZONA",
  "COD ZONA",
  "CLASI CLIENTE",
  SUCURSAL,
  "NOMBRE SUCURSAL",
  "QUE HACE",	
  "OBS DE VENTA",
  "OBS PAGO",
  "DIR VISITA COMERCIAL",
  REVENDEDOR,
  "GRUPO EMPRESARIO",
  "CUPO DE CREDITO",
  "CONDICION DE PAGO"
# Check the structure of nucByCycle
glimpse(nucByCycle)

# Create a line plot of cycle vs. count
nucByCycle %>% 
  # Gather the nucleotide letters in alphabet and get a new count column
  pivot_longer(-cycle, names_to = "alphabet", values_to = "count") %>% 
  ggplot(aes(x = cycle, y = count, color = alphabet)) +  # Fill in missing values
  geom_line(size = 0.5 ) +
  labs(y = "Frequency") +
  theme_bw() +
  theme(panel.grid.major.x = element_blank())
// Small mobile header without extending on scroll //

@media screen and (max-width:767px) {
.header-announcement-bar-wrapper {
    padding: 1vw !important;
}
}
library (ShortRead)
genome <- readDNAStrings(Fasta file)
sread(genome)[1]
quality(genome)[1]
##PhredQuality instance
pq <- PhredQuality (quality(fqsample))
# transform encoding into scores
qs <- as(pq, "IntegerList")
qs # Print score
qaSummary <- qa(fqsample, lane = 1)
#class : ShortReadQQA(1D)
#Names accessible with the quality assessment summary
names (qaSummary)
1. Create Quick Action to open the Screen Flow on the Parent object (Example - Opportunity)
2. Create List Button on the child object to reference that Quick Action.

Quick Action Developer Name: Add_Products_Related_List

List button syntax:
/lightning/action/quick/SOBJECT.QUICK_ACTION_DEV_NAME?objectApiName&context=RECORD_DETAIL&recordId={!CASESAFEID(OBJECT.Id)}&backgroundContext=%2Flightning%2Fr%2FOpportunity%2F{!CASESAFEID(OBJECT.Id)}%2Fview

Example:

/lightning/action/quick/Opportunity.Add_Products_Related_List?objectApiName&context=RECORD_DETAIL&recordId={!CASESAFEID(Opportunity.Id)}&backgroundContext=%2Flightning%2Fr%2FOpportunity%2F{!CASESAFEID(Opportunity.Id)}%2Fview
#include <iostream>
using namespace std;

int main() {
	// your code goes here
	return 0;
}
library(Biostrings)

download.file('https://ftp.ncbi.nlm.nih.gov/genomes/all/GCF/003/972/325/GCF_003972325.1_ASM397232v1/GCF_003972325.1_ASM397232v1_cds_from_genomic.fna.gz'
              'genomic.fna.fz')
genome = readDNAStringSet('genome.fna.gz')
F5 drücken zum Öffnen des "Gehe zu"-Fensters. 
Inhalte > Objekte > OK
Alle Bilder werden markiert
In the crypto market, manual trading is no longer enough. Crypto algorithmic trading bots leverage advanced strategies, AI, and automation to execute profitable trades 24/7. These bots analyze market trends, react instantly to price movements, and eliminate emotional trading, giving traders a competitive edge.
At Beleaftechnologies, we specialize in developing customized crypto algo trading bots tailored to your needs. Our bots integrate advanced algorithms, risk management tools, and high-frequency trading capabilities to maximize your profits. Whether you're a beginner or a pro, our expert team ensures seamless bot deployment and optimization.
Take your crypto trading to the next level with Beleaftechnologies—where innovation meets profitability. Contact us today!
Visit now >>https://beleaftechnologies.com/crypto-algo-trading-bot-
development
Whatsapp :  +91 8056786622
Email id :  business@beleaftechnologies.com
Telegram : https://telegram.me/BeleafSoftTech 


SELECT name FROM sys.procedures WHERE Object_definition(object_id) LIKE '%CALL TO CURRENT%'
using Origami.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Autofac;

namespace OrigamiService.Dependency_Injection
{
    public class AutofacDependencyResolver : IResolver
    {
        private readonly IContainer _serviceProvider;

        public ServiceProviderDependencyResolver(IContainer serviceProvider)
        {
            _serviceProvider = serviceProvider;
        }



        public T GetService<T>() => _serviceProvider.Resolve<T>();
        public object GetService(Type serviceType) => _serviceProvider.Resolve(serviceType);

        public T GetRequiredService<T>() => GetScopedServiceProvider().GetRequiredService<T>();
        public object GetRequiredService(Type type) => GetScopedServiceProvider().GetRequiredService(type);

        public IEnumerable<T> GetServices<T>() => _serviceProvider.re;
        public IEnumerable<object> GetServices(Type serviceType) => GetScopedServiceProvider().GetServices(serviceType);

        public IEnumerable<T> GetRequiredServices<T>() => GetScopedServiceProvider().GetServices<T>();
        public IEnumerable<object> GetRequiredServices(Type type) => GetScopedServiceProvider().GetServices(type);



        private IContainer GetScopedServiceProvider()
        {
            var scope = _serviceProvider.
            return scope.ServiceProvider;
        }
    }
}
AuthServer=Srp256,Srp,Legacy_auth 
AuthClient=Srp256,Srp,Legacy_auth 
UserManager=Srp,Legacy_UserManager 
WireCrypt=Enabled
string standalone.TestDeskLocationUpdates()
{
Page_Number = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52};
Locations_list = List();
Location_Names = List();
// List to store "Location_Name_For_Desk" field values
total_records_count = 0;
// Counter to track total records
// --------->>>>Fetch Records and "Location_Name_For_Desk" Data <<<<<----------------
for each  no in Page_Number
{
	// info no;
	LocationsRec = zoho.crm.getRecords("Deals",no);
	// Fetch records from each page
	//  Locations_list.addAll(LocationsRec);  // Add all records to the master list
	total_records_count = total_records_count + LocationsRec.size();
	// Loop through each record to extract "Location_Name_For_Desk" field
	for each  rec in LocationsRec
	{
		if(rec.containsKey("Location_Name_For_Desk"))
		{
			// Check if the field exists
			Location_Names.add(rec.get("Location_Name_For_Desk"));
		}
	}
	// Break if fewer than 200 records are fetched, indicating end of available data
	if(LocationsRec.size() <= 199)
	{
		break;
	}
}
//------------Check Dublication------------
Distinct_list = Location_Names.distinct();
// Filtered Data
queryValue = Map();
queryValue.put("defaultValue","-None-");
queryValue.put("allowedValues",Distinct_list.toList());
//----------Authtoken---------------------------------------------------------
Desk_NewAccessTokenRequest = invokeurl
[
	url :"https://accounts.zoho.com/oauth/v2/token?refresh_token=1000.daa4436319a1d3e0bfe78fe3f564a7fa.48b125526495975ac16adf57dfcd592c&client_id=1000.DP7DCNEXQHNJIV58JDKW7UJX0Z5M6R&client_secret=f7266ae45c4cce8c4a6477c4188f1ad89684b15aca&redirect_uri=https://rebiz.com/&grant_type=refresh_token"
	type :POST
];
Desk_NewAccessToken = Desk_NewAccessTokenRequest.get("access_token");
//---------------------------Authtoken---------------------------------------
DeskAccountAuthtoken = Map();
DeskAccountAuthtoken.put("Authorization","Zoho-oauthtoken " + Desk_NewAccessToken + "");
DeskAccountAuthtoken.put("orgId","673553956");
//---------------------------------------------------------------------------
Resp = invokeurl
[
	url :"https://desk.zoho.com/api/v1/layouts/309910000008730384/fields/309910000329061015"
	type :PATCH
	parameters:queryValue + ""
	headers:DeskAccountAuthtoken
];
info Resp;
// Log the total count of records
info "Total Records Count: " + total_records_count;
return "";
//Location_Names.toString();  // Return the list of "Location_Name_For_Desk" values
}
ps_connections – It contains informations about each visit in your shop. For example you can see there the IP address or referer link which caused visitor to enter your website.

ps_connections_page – Connections to specific pages.

ps_connections_source – URL of pages where users came from.

ps_pagenotfound – All 404 error hits (page not found).

ps_statssearch – Your store search engine statistics.

Remove data from those tables
Run following command in your phpMyAdmin:

TRUNCATE TABLE ps_connections;
TRUNCATE TABLE ps_connections_page;
TRUNCATE TABLE ps_connections_source;
TRUNCATE TABLE ps_pagenotfound;
TRUNCATE TABLE ps_statssearch;

Some people recommend to clear also ps_guest table but I would not do that. Why? Because guests infos are located in more tables, so those informations (based on guests IDs) would not have connection to specific guests (when you would clear main guest table).
<script runat="client">
                var loadFile = function(e, fichero) {
                    if (fichero == "file"){
                        document.getElementById("imgUpload").style.display= "block";
                        document.getElementById("imgUpload").src = URL.createObjectURL(e.target.files[0]);
                    }
<script> 
    function readURL(input) {
        if (input.files && input.files[0]) {
            var reader = new FileReader();
 
            reader.onload = function (e) {
                $('#imgUpload').attr('src', e.target.result);
            }
 
            reader.readAsDataURL(input.files[0]);
        }
    }
 
    $("#imgInp").change(function(){
        readURL(this);
    }); 
</script>
                }
                function getBase64(e, fichero) {
                    var CIF = document.getElementById("CIF").value;
                    var reader = new FileReader;
                    reader.readAsDataURL(e), reader.onload = function() {
                        //prepare data to pass to processing page 
                         var fullFileName = document.getElementById("imgInp").files[0].name;
                         var asset = fullFileName.split(".")[1];
                         if (asset == "png" || asset == "jpg" || asset == "jpeg") {
                             var assetName = fullFileName.split(".")[1];
                             } else {
                               var assetName = "png"
                             }
                         var base64enc = reader.result.split(";base64,")[1],
                          fileName = fullFileName.split(".")[0]

                        fetch("https://cloud.xxx.com/xxxx", {
                                      method: "POST",
                                      headers: {
                                        "Content-Type": "application/json"
                                      },
                                      body: JSON.stringify({
                                        base64enc: base64enc,
                                        fileName: fileName,
                                        assetName: assetName,
                                        CIF: CIF
                                      })
                                      }).then(function(e) {
                                    }).catch(function(e) {
                                    })
                                }, reader.onerror = function(e) {
                                    }
                                }


                document.getElementById("button").addEventListener("click", function() {
                        if(document.getElementById("imgInp").files.length>0) {
                        var e = document.getElementById("imgInp").files;
                        e.length > 0 && getBase64(e[0],"imgInp");
                        }else{
                        }
                    });

</script>
Auxiliar para meter la imagen
<script runat="server">
    Platform.Load("Core","1.1.1");
    try {
        //fetch posted data
        var jsonData = Platform.Request.GetPostData();
        var obj = Platform.Function.ParseJSON(jsonData);
        //prepare data for API call
        var base64enc = obj.base64enc;
        var fileName = obj.fileName;
        var assetName = obj.assetName;
        var CIF = obj.CIF;
        var today = new Date();
        today.setTime(today.getTime() + (7*60*60*1000));
        var finalFileName= CIF + "" + today;
        //match asset type with uploaded file (https://developer.salesforce.com/docs/atlas.en-us.noversion.mc-apis.meta/mc-apis/base-asset-types.htm)
        var assetTypes = { ai: 16, psd: 17, pdd: 18, eps: 19, gif: 20, jpe: 21, jpeg: 22, jpg: 23, jp2: 24, jpx: 25, pict: 26, pct: 27, png: 28, tif: 29, tiff: 30, tga: 31, bmp: 32, wmf: 33, vsd: 34, pnm: 35, pgm: 36, pbm: 37, ppm: 38, svg: 39, "3fr": 40, ari: 41, arw: 42, bay: 43, cap: 44, crw: 45, cr2: 46, dcr: 47, dcs: 48, dng: 49, drf: 50, eip: 51, erf: 52, fff: 53, iiq: 54, k25: 55, kdc: 56, mef: 57, mos: 58, mrw: 59, nef: 60, nrw: 61, orf: 62, pef: 63, ptx: 64, pxn: 65, raf: 66, raw: 67, rw2: 68, rwl: 69, rwz: 70, srf: 71, sr2: 72, srw: 73, x3f: 74, "3gp": 75, "3gpp": 76, "3g2": 77, "3gp2": 78, asf: 79, avi: 80, m2ts: 81, mts: 82, dif: 83, dv: 84, mkv: 85, mpg: 86, f4v: 87, flv: 88, mjpg: 89, mjpeg: 90, mxf: 91, mpeg: 92, mp4: 93, m4v: 94, mp4v: 95, mov: 96, swf: 97, wmv: 98, rm: 99, ogv: 100, indd: 101, indt: 102, incx: 103, wwcx: 104, doc: 105, docx: 106, dot: 107, dotx: 108, mdb: 109, mpp: 110, ics: 111, xls: 112, xlsx: 113, xlk: 114, xlsm: 115, xlt: 116, xltm: 117, csv: 118, tsv: 119, tab: 120, pps: 121, ppsx: 122, ppt: 123, pptx: 124, pot: 125, thmx: 126, pdf: 127, ps: 128, qxd: 129, rtf: 130, sxc: 131, sxi: 132, sxw: 133, odt: 134, ods: 135, ots: 136, odp: 137, otp: 138, epub: 139, dvi: 140, key: 141, keynote: 142, pez: 143, aac: 144, m4a: 145, au: 146, aif: 147, aiff: 148, aifc: 149, mp3: 150, wav: 151, wma: 152, midi: 153, oga: 154, ogg: 155, ra: 156, vox: 157, voc: 158, "7z": 159, arj: 160, bz2: 161, cab: 162, gz: 163, gzip: 164, iso: 165, lha: 166, sit: 167, tgz: 168, jar: 169, rar: 170, tar: 171, zip: 172, gpg: 173, htm: 174, html: 175, xhtml: 176, xht: 177, css: 178, less: 179, sass: 180, js: 181, json: 182, atom: 183, rss: 184, xml: 185, xsl: 186, xslt: 187, md: 188, markdown: 189, as: 190, fla: 191, eml: 192, text: 193, txt: 194, freeformblock: 195, textblock: 196, htmlblock: 197, textplusimageblock: 198, imageblock: 199, abtestblock: 200, dynamicblock: 201, stylingblock: 202, einsteincontentblock: 203, webpage: 205, webtemplate: 206, templatebasedemail: 207, htmlemail: 208, textonlyemail: 209, socialshareblock: 210, socialfollowblock: 211, buttonblock: 212, layoutblock: 213, defaulttemplate: 214, smartcaptureblock: 215, smartcaptureformfieldblock: 216, smartcapturesubmitoptionsblock: 217, slotpropertiesblock: 218, externalcontentblock: 219, codesnippetblock: 220, rssfeedblock: 221, formstylingblock: 222, referenceblock: 223, imagecarouselblock: 224, customblock: 225, liveimageblock: 226, livesettingblock: 227, contentmap: 228, jsonmessage: 230 };
        var assetTypeID = assetTypes[assetName];
        //authenticate to get access token
        var authEndpoint = 'https://xxxxx.marketingcloudapis.com/'; //add authentication endpoint
        var payload = {
            client_id: "xxxxxx", //pass Client ID
            client_secret: "xxxxxx", //pass Client Secret
            grant_type: "client_credentials"
        };
        var url = authEndpoint + '/v2/token'
        var contentType = 'application/json'
        var accessTokenRequest = HTTP.Post(url, contentType, Stringify(payload));
        if (accessTokenRequest.StatusCode == 200) {
            var tokenResponse = Platform.Function.ParseJSON(accessTokenRequest.Response[0]);
            var accessToken = tokenResponse.access_token
            var rest_instance_url = tokenResponse.rest_instance_url
        }
        //make api call to create asset   
        if (base64enc != null) {
            var headerNames = ["Authorization"];
            var headerValues = ["Bearer " + accessToken];
            var jsonBody = {
                "name": finalFileName,
                "assetType": {
                    "name": assetName,
                    "id": assetTypeID
                },
               "category": { "id": 392124 } //lo sacas del inspeccionador, seleccionando en la carpeta y viendo el data-id del <li>
               ,
               "file": base64enc
            };
            var requestUrl = rest_instance_url + "asset/v1/content/assets"
            var createAsset = HTTP.Post(requestUrl, contentType, Stringify(jsonBody), headerNames, headerValues);
        }

    } catch (error) {
        Write("<br>error: " + Stringify(error));
    }
</script>
//////////////////////////////////////// Contact Exist //////////////////////////////////////
meeting_rec = zoho.crm.getRecordById("Events",event_id);
checkModule = meeting_rec.get("$se_module");
contactId = ifnull(meeting_rec.get("Who_Id"),{"id":null}).get("id");
meeting_id = meeting_rec.get("id");
booking_id = meeting_rec.get("zohobookingstest__BookingId");
title = meeting_rec.get("Event_Title");
camp_id = ifnull(meeting_rec.get("Campaign_ID"),"");
vendor_id = ifnull(meeting_rec.get("Vendor_ID"),"");
///////////////////////////////
participant_id = meeting_rec.get("Participants").get(0).get("participant");
participant_email = meeting_rec.get("Participants").get(0).get("Email");
participant_name = meeting_rec.get("Participants").get(0).get("name");
participant_type = meeting_rec.get("Participants").get(0).get("type");
/////////////////////////////////////////////////
host_id = meeting_rec.get("Owner").get("id");
host_name = meeting_rec.get("Owner").get("name");
host_email = meeting_rec.get("Owner").get("email");
///////////////////////////////////////////////////////////////////////////////////
if(checkModule == "Leads")
{
	leadId = ifnull(meeting_rec.get("What_Id"),{"id":null}).get("id");
	if(leadId != null)
	{
		event_title = booking_id + " - " + participant_name;
		eventmap = Map();
		eventmap.put("Event_Title","GiftTrees Appointment");
		// 		upd_Event = zoho.crm.updateRecord("Events",meeting_id,eventmap);
		// 		info "Event Updated: " + upd_Event;
	}
}
else if(contactId != null)
{
	queryMap = Map();
	queryMap.put("select_query","select id , Deal_Name,Contact_Name,Closing_Date from Deals where Contact_Name=" + contactId + " Order by id desc limit 1");
	response = invokeurl
	[
		url :"https://www.zohoapis.com/crm/v5/coql"
		type :POST
		parameters:queryMap.toString()
		connection:"zoho_crm"
	];
	info "Deals Resp " + response;
	if(response.size() > 0)
	{
		info "Deal Found";
		deals = response.get("data");
		for each  data in deals
		{
			dealId = data.get("id");
			info "Deal Id" + dealId;
		}
		if(dealId != "")
		{
			///////////////////////Update meeting////////////////////////////////////
			startdate = today.toString("yyyy-MM-dd");
			event_title = booking_id + " - " + participant_name;
			eventmap = Map();
			// 			eventmap.put("Event_Title","GiftTrees Appointment");
			eventmap.put("What_Id",dealId);
			eventmap.put("$se_module","Deals");
			upd_Event = zoho.crm.updateRecord("Events",meeting_id,eventmap);
			info "Event Updated: " + upd_Event;
		}
	}
}
star

Fri Jan 31 2025 07:44:39 GMT+0000 (Coordinated Universal Time)

@RL

star

Fri Jan 31 2025 06:43:23 GMT+0000 (Coordinated Universal Time)

@Rohan@99

star

Fri Jan 31 2025 05:11:28 GMT+0000 (Coordinated Universal Time)

@Rohan@99

star

Fri Jan 31 2025 02:58:55 GMT+0000 (Coordinated Universal Time)

@FOHWellington

star

Fri Jan 31 2025 02:13:05 GMT+0000 (Coordinated Universal Time)

@FOHWellington

star

Fri Jan 31 2025 00:39:07 GMT+0000 (Coordinated Universal Time) https://aspx.co.il/

@ASPX #css #webkit #-webkit

star

Thu Jan 30 2025 23:34:43 GMT+0000 (Coordinated Universal Time)

@davidmchale #sort #switch

star

Thu Jan 30 2025 23:33:11 GMT+0000 (Coordinated Universal Time)

@davidmchale #data #object

star

Thu Jan 30 2025 16:27:17 GMT+0000 (Coordinated Universal Time)

@kovid

star

Thu Jan 30 2025 15:14:46 GMT+0000 (Coordinated Universal Time) https://www.globalstatements.com/secret/3/5f.html

@VanLemaime

star

Thu Jan 30 2025 13:38:28 GMT+0000 (Coordinated Universal Time)

@Pooja

star

Thu Jan 30 2025 13:36:15 GMT+0000 (Coordinated Universal Time)

@Pooja

star

Thu Jan 30 2025 13:35:12 GMT+0000 (Coordinated Universal Time)

@Pooja

star

Thu Jan 30 2025 12:31:53 GMT+0000 (Coordinated Universal Time)

@Rehbar #python

star

Thu Jan 30 2025 12:31:23 GMT+0000 (Coordinated Universal Time)

@Rehbar #python

star

Thu Jan 30 2025 12:16:45 GMT+0000 (Coordinated Universal Time)

@Rehbar #python

star

Thu Jan 30 2025 10:35:32 GMT+0000 (Coordinated Universal Time)

@2late #excel

star

Thu Jan 30 2025 10:35:13 GMT+0000 (Coordinated Universal Time) http://www.blackbeltcoder.com/Articles/winforms/dynamically-creating-a-winforms-dialog

@somyot

star

Thu Jan 30 2025 10:34:45 GMT+0000 (Coordinated Universal Time) http://www.blackbeltcoder.com/Articles/winforms/dynamically-creating-a-winforms-dialog

@somyot

star

Thu Jan 30 2025 09:45:55 GMT+0000 (Coordinated Universal Time)

@kuldeepcoder

star

Thu Jan 30 2025 09:40:33 GMT+0000 (Coordinated Universal Time) https://www.trioangle.com/future-trading-clone-script/

@Johnhendrick #java #javascript #django #nodejs #react.js #css

star

Thu Jan 30 2025 09:40:06 GMT+0000 (Coordinated Universal Time) https://www.trioangle.com/paxful-clone/

@Johnhendrick #java #javascript #django #nodejs #react.js #css

star

Thu Jan 30 2025 09:39:46 GMT+0000 (Coordinated Universal Time) https://www.trioangle.com/p2p-cryptocurrency-exchange-script/

@Johnhendrick #java #javascript #django #nodejs #css

star

Thu Jan 30 2025 09:39:19 GMT+0000 (Coordinated Universal Time) https://www.trioangle.com/wazirx-clone-script/

@Johnhendrick #javascript #java #django #angular #android #css

star

Thu Jan 30 2025 09:34:04 GMT+0000 (Coordinated Universal Time) https://www.trioangle.com/cryptocurrency-exchange-script/

@Johnhendrick #django #nodejs #angular #android #javascript #css

star

Thu Jan 30 2025 09:32:27 GMT+0000 (Coordinated Universal Time) https://www.trioangle.com/bybit-clone-script/

@Johnhendrick #css #javascript #django #android

star

Thu Jan 30 2025 09:29:07 GMT+0000 (Coordinated Universal Time)

@Rohan@99

star

Thu Jan 30 2025 09:21:03 GMT+0000 (Coordinated Universal Time)

@Rohan@99

star

Wed Jan 29 2025 23:25:45 GMT+0000 (Coordinated Universal Time)

@nicolastp #sql

star

Wed Jan 29 2025 21:06:34 GMT+0000 (Coordinated Universal Time)

@raiyan

star

Wed Jan 29 2025 20:38:45 GMT+0000 (Coordinated Universal Time)

@camikunu14 #css #squarespace

star

Wed Jan 29 2025 19:30:23 GMT+0000 (Coordinated Universal Time)

@raiyan

star

Wed Jan 29 2025 16:27:00 GMT+0000 (Coordinated Universal Time) https://hugolemos.medium.com/launch-flow-modal-from-a-related-list-00aba6590187

@dannygelf #salesforce #screnflow #relatedlist

star

Wed Jan 29 2025 15:54:27 GMT+0000 (Coordinated Universal Time) https://www.codechef.com/java-online-compiler

@Yogendra_Nath

star

Wed Jan 29 2025 13:14:51 GMT+0000 (Coordinated Universal Time)

@raiyan

star

Wed Jan 29 2025 12:41:59 GMT+0000 (Coordinated Universal Time) https://appticz.com/gopuff-clone

@davidscott

star

Wed Jan 29 2025 10:37:07 GMT+0000 (Coordinated Universal Time) https://elbnetz.com/elemente-nur-mit-css-ein-und-ausblenden/

@2late #css

star

Wed Jan 29 2025 10:35:45 GMT+0000 (Coordinated Universal Time)

@2late #excel

star

Wed Jan 29 2025 10:34:41 GMT+0000 (Coordinated Universal Time) https://beleaftechnologies.com/crypto-algo-trading-bot- development

@raydensmith #cryptoalgotradingbot development #cryptoalgotradingbot #trading #bot

star

Wed Jan 29 2025 10:29:47 GMT+0000 (Coordinated Universal Time)

@2late #excel

star

Wed Jan 29 2025 09:16:35 GMT+0000 (Coordinated Universal Time) https://www.coinsclone.com/features-of-nft-marketplace/

@Emmawoods

star

Wed Jan 29 2025 06:22:52 GMT+0000 (Coordinated Universal Time) https://www.facebook.com/offline.wixred

@miniinde111d #พีเอชพี

star

Wed Jan 29 2025 04:36:27 GMT+0000 (Coordinated Universal Time)

@narangyawali #sql

star

Wed Jan 29 2025 01:09:05 GMT+0000 (Coordinated Universal Time) undefined

@dofjs

star

Tue Jan 28 2025 22:57:21 GMT+0000 (Coordinated Universal Time)

@digicjm #c#

star

Tue Jan 28 2025 20:43:22 GMT+0000 (Coordinated Universal Time)

@marcopinero

star

Tue Jan 28 2025 19:10:42 GMT+0000 (Coordinated Universal Time)

@Hassnain_Abbas

star

Tue Jan 28 2025 18:23:56 GMT+0000 (Coordinated Universal Time)

@caovillanueva #html

star

Tue Jan 28 2025 16:40:25 GMT+0000 (Coordinated Universal Time)

@andresrivera #ssjs

star

Tue Jan 28 2025 13:17:50 GMT+0000 (Coordinated Universal Time)

@RehmatAli2024 #deluge

Save snippets that work with our extensions

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