Snippets Collections
<!-- index.html -->

<html lang="en">
<body>
    <h1>Pink Frag Event Organizer</h1>
    <table border="1">
        <tr>
            <td width="20%">
                <a href="index.html">Home</a>
                <a href="events.html">Events</a>
                <a href="aboutUs.html">About us</a>
                <a href="contactUs.html">Contact Us</a>
            </td>
            <td width="80%">
                <h2>Pink Frag Event Organizer</h2>
                <p>
                    We are indulged in offering a Promotional Event Management. These services are provided by our team
                    of
                    professionals as per the requirement of the client. These services are highly praised for their
                    features
                    like sophisticated technology, effective results, and reliability. We offer these services in a
                    definite
                    time frame and at affordable rates.
                </p>
            </td>
        </tr>
    </table>
</body>

</html>

<!-- events.html -->

<html lang="en">
<body>

    <h1>Pink Frag Event Organizer</h1>
    <table border="1">
        <tr>
            <td width="20%">
                <a href="index.html">Home</a>
                <a href="events.html">Events</a>
                <a href="aboutUs.html">About us</a>
                <a href="contactUs.html">Contact Us</a>
            </td>
            <h2>Events</h2>
            <h3>Corporate Events</h3>
            <td>
                <p>
                    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.
                </p>
            </td>
            <h3>Wedding Planning</h3>
            <p>
                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
                considerable amounts
                of money to ensure that their weddings are well-organized. Wedding planners are often used by couples
                who work long hours
                and have little spare time available for sourcing and managing wedding venues and wedding suppliers.
            </p>
            <h3>Product Launches</h3>
            <p>
                The debut of a product into the market. The product launch signifies the point at which consumers first
                have access to a
                new product.
            </p>
        </tr>
    </table>
</body>
</html>

<!-- aboutus.html -->
 
<html lang="en">
<body>
    <h1>Pink Frag Event Organizer</h1>
    <table border="1">
        <tr>
          <td width="20%">
                <a href="index.html">Home</a>
                <a href="events.html">Events</a>
                <a href="aboutUs.html">About us</a>
                <a href="contactUs.html">Contact Us</a>
            </td>
            <td width="80%">
                <h2>About us</h2>
                <p>
                    Pink Frag Event is a reputed organization, which has come into being in 2009, as a Sole Proprietorship Firm,
                    with a sole aim of achieving the trust and support of large customers. We have indulged our all endeavors
                    towards offering trustworthy Wedding Event Management, Promotional Event Management, Birthday Party Management
                    and many more. To offer these services, we have hired specialized professionals, who are capable of understanding
                    as well as accomplishing the specific customers’ desires.
                </p>
            </td>
        </tr>
    </table>

</body>
</html>

<!-- contactus.html -->
<html>
<body>
    <h1>Pink Frag Event Organizer</h1>
    <table border="1">
        <tr>
            <td width="20%">
                <a href="#">Home</a>
                <a href="#">Events</a>
                <a href="#">About us</a>
                <a href="#">Contact Us</a>
            </td>
            <td width="80%">
                <h2>Contact us</h2>
                <p>14/509A,Sterlin Street,Nungambakkam, Chennai - 600034.</p>
            </td>
        </tr>
    </table>
</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: 0;
            padding: 0;
        }
        table {
            width: 100%;
            border-collapse: collapse;
        }
        td {
            padding: 10px;
            border: 1px solid #ddd;
        }
        img {
            max-width: 100%;
            height: auto;
        }
        h1 {
            text-align: center;
        }
        .title {
            font-weight: bold;
            margin-bottom: 10px;
        }
    </style>
</head>
<body>
    <h1>Pink Frag Event Management</h1>
    <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">
                <div class="title">Wedding Planner</div>
                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">
                <div class="title">Corporate Event</div>
                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>
<!-- 1 -->
<!DOCTYPE html>
<html>
    <body>
            <h1>Pink Frag Event Organizer</h1>
            <img src="../images/Event_Picture.jpg" />
            <h2>Service Description</h2>
            <p>We are indulged in offering a Promotional Event Management. These services are provided by our team of professionals as per the requirement of the client. These services are highly praised for their features like sophisticated technology, effective results and reliability. We offer these services in a definite time frame and at affordable rates.</p>
    </body>
</html>

<!-- 2 -->

<!DOCTYPE html>
<html>
    <body>
            <h2>Events</h2>
            <picture>
                <source media="(min-width: 650px)" srcset="teamBuilding.jpg">
            <source media="(min-width: 500px)" srcset="weddingAlbum.jpg">
            <img src="newyear.jpg" alt="Event image" style="width:auto;">
            </picture>
    </body>
</html>
<!-- 1 -->
<!DOCTYPE html>
<html>
<h2>Wedding Event</h2>
<p>A wedding is a ceremony where two people or a couple are united in marriage. Wedding traditions and customs vary
    greatly between cultures, ethnic groups, religions, countries, and social classes. Most wedding ceremonies involve
    an exchange of marriage vows by the couple, presentation of a gift, and a public proclamation of marriage by an
    authority figure or celebrant. Special wedding garments are often worn, and the ceremony is sometimes followed by a
    wedding reception. Music, poetry, prayers or readings from religious texts or literature are also commonly
    incorporated into the ceremony.</p>
<blockquote cite="https://www.brainyquote.com/quotes/sheri_l_dew_679111">
    <q>Neither man nor woman is perfect or complete without the other. Thus, no marriage or family, no ward or stake is
        likely to reach its full potential until husbands and wives, mothers and fathers, men and women work together in
        unity of purpose, respecting and relying upon each other's strengths.</q>
</blockquote>
</html>


<!-- 2 -->
<html>
<head>
    <title>My First Website</title>
</head>
<body>
    <h1>Olympic Games</h1>

    <p>The modern <b>Olympic Games</b> or <b>Olympics</b> are leading international sporting events featuring summer and
        winter sports competitions in which thousands of <i>athletes</i> from around the world participate in a variety
        of competitions. The Olympic Games are considered the world's foremost sports competition with more than <i>200
            nations</i> participating. The Olympic Games are normally held every <u>four years</u>, alternating between
        the
        <u>Summer</u> and <u>Winter Olympics</u> every two years in the four-year period.
    </p>
    <p>Their creation was inspired by the <ins>ancient Olympic Games</ins>, held in Olympia, Greece from the 8th century
        BC
        to the 4th century AD. <mark>Baron Pierre de Coubertin</mark> founded the <ins>International Olympic
            Committee</ins> (IOC)
        in 1894, leading to the first modern Games in Athens in 1896. The IOC is the governing body of the Olympic
        Movement, with the <small>structure and authority</small> defined by the Olympic Charter.</p>
    <p>The evolution of the Olympic Movement during the <i>20<sup>th</sup> and 21<sup>st</sup></i> centuries has
        resulted in several changes to the Olympic Games. Some of these adjustments include the creation of the Winter
        Olympic Games for snow and ice sports, the Paralympic Games for athletes with disabilities, the Youth Olympic
        Games for athletes aged <sub>14 to 18</sub>, the five Continental games <big>(Pan American, African, Asian,
            European, and
            Pacific)</big>, and the World Games for sports that are not contested in the Olympic Games. The IOC also
        endorses the Deaflympics and the Special Olympics. The IOC has needed to adapt to a variety of
        <del>economic, political, and technological</del> advancements.
    </p>
    <p>The <tt>Olympic Movement consists of international sports federations (IFs), National Olympic Committees (NOCs),
            and <small>organising committees</small> for each specific Olympic Games.</tt></p>
</body>

</html>
            .title {
              border-radius: 16px;
              border: 1px solid #e8e9fb;
              box-shadow: 0 0 10px #e8e9fb;
              text-align: center;
              color: #12a3f5;
              width: fit-content;
              min-width: 80px;
              padding: 0 10px;
              position: relative;
              left: 50%;
              translate: -50%;
              margin-bottom: 6px;
              &:before {
                content: "";
                width: 300%;
                height: 2px;
                background: #e8e9fb;
                position: absolute;
                bottom: -6px;
                left: 50%;
                translate: -50%;
                background: linear-gradient(to right, rgba(255, 255, 255, 0) ,#e8e9fb,rgba(255, 255, 255, 0));
              }
            }
function customizer_register_cta_settings($wp_customize) {
    // Add a section for the CTA
    $wp_customize->add_section('cta_section', array(
        'title'    => __('CTA Settings', 'textdomain'),
        'priority' => 30,
    ));

    // Add a setting for the CTA Title
    $wp_customize->add_setting('cta_title', array(
        'default'           => __('If You Need Any Help Contact With Us', 'textdomain'),
        'sanitize_callback' => 'sanitize_text_field',
    ));

    // Add a control for the CTA Title
    $wp_customize->add_control('cta_title_control', array(
        'label'    => __('CTA Title', 'textdomain'),
        'section'  => 'cta_section',
        'settings' => 'cta_title',
        'type'     => 'text',
    ));

    // Add a setting for the phone number
    $wp_customize->add_setting('cta_phone_number', array(
        'default'           => __('343.909.3074', 'textdomain'),
        'sanitize_callback' => 'sanitize_text_field',
    ));

    // Add a control for the phone number
    $wp_customize->add_control('cta_phone_number_control', array(
        'label'    => __('Phone Number', 'textdomain'),
        'section'  => 'cta_section',
        'settings' => 'cta_phone_number',
        'type'     => 'text',
    ));
}

add_action('customize_register', 'customizer_register_cta_settings');
Did you know? VisualForce still can be very useful! ⚙️

🙏🏼 Thanks to Raman Bazyleu for this video where he shows how to generate a Word document using VisualForce. 🎖️

🔗 LINK: https://lnkd.in/gqhjK6Af
Pull
gsutil -m cp -r gs://us-central1-airflow-test-1-b4b7b1e0-bucket/dags/* ./local-dags/

Push
gsutil -m cp -r * gs://us-central1-airflow-test-1-b4b7b1e0-bucket/dags/
{
	"blocks": [
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": ":star: What's on in Melbourne this week! :star:"
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n\n Hey Melbourne, happy Monday! Please see below for what's on 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 Footballer Cookies, AFL Cookies, Caramel Slice (GF) \n\n *Weekly Café Special*: _Matcha Latte_"
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": " Wednesday, 25th September :calendar-date-25:",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": "\n\n:fruits: *Afternoon Tea*: From *2pm* in the L3 kitchen + breakout space! \n\n:yoga2:*Wellbeing - Pilates*: Confirm your spot <https://docs.google.com/spreadsheets/d/1iKMQtSaawEdJluOmhdi_r_dAifeIg0JGCu7ZSPuwRbo/edit?gid=0#gid=0/|*here*>. Please note we have a maximum of 15 participants per class, a minimum notice period of 4 hours is required if you can no longer attend."
			}
		},
		{
			"type": "header",
			"text": {
				"type": "plain_text",
				"text": "Thursday, 26th September :calendar-date-26:",
				"emoji": true
			}
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":breakfast: *Breakfast*: Provided by *Kartel Catering* from *8:30am - 10:30am* in the Wominjeka Breakout Space.\n\n :AFL: *AFL Grand Final BBQ Social+* from 4pm - 6pm"
			}
		},
		{
			"type": "divider"
		},
		{
			"type": "section",
			"text": {
				"type": "mrkdwn",
				"text": ":connect: *Reminder - Boost Survey:* Our Boost Day feedback survey is live until the 1st of October 2024, give us your thoughts <https://yourvoice.xero.com/jfe/form/SV_eyA8ArYHfnsfUwu|*here*>. All responses are anonymous! \n\n Stay tuned to this channel for more details, and make sure you're subscribed to the <https://calendar.google.com/calendar/u/0?cid=Y19xczkyMjk5ZGlsODJzMjA4aGt1b3RnM2t1MEBncm91cC5jYWxlbmRhci5nb29nbGUuY29t|*Melbourne Social Calendar*> :party-wx:"
			}
		}
	]
}
create procedure generate_range(startvalue integer, endvalue integer)
    returns (seq integer)
as
begin
    seq = startvalue;
    suspend;

    while (seq < endvalue) do
    begin
        seq = seq + 1;
        suspend;
    end
end;

/* Ex: select seq from generate_range(1, 100); */
{
    "importId": "clay",
    "upsert": true,
    "queueForRender": true,
    "variables": {
        "originalData": {
        "first_name": 

First Name

,
        "company_name": 

Company Name

,
        "niche": 

Niche

,
        "location": 

Location

,
        "email": 

Email

,
        "website_0": 

Website

,
        "custom_2": 

Chat GPT

,
        "last_name": 

Last Name


   },
        "originalUid": 

Email

,
        "first_name": 

First Name

,
        "company_name": 

Company Name

,
        "email": 

Email

,
        "website_0": 

Website

,
        "custom_2": 

Chat GPT


 }
}
GET /api/v1/users/123
yeah_|WARNING:-DO-NOT-SHARE-THIS.--Sharing-this-will-allow-someone-to-log-in-as-you-and-to-steal-your-ROBUX-and-items.|_FEB2CE0170F0EED707AA532EA3030066EA89B105D85A08E82FDA9E867C212187BE5F84070A803896EA89874B1926B7DA7D616F20D2CD7FB9568AC09A33A62336395B899E506790B18371F0E8745EF778DF8DEC076B08B8154FB3CE9FD9EFD5D53EC03AC23D8EB50E463868B8529517333997A0B0CB16FDE514E21C71D73728F5AB0231318CCF92A56F1C7599BF95ED7840A76F43E7846DC6310700D752274C419F5725830B361F2D1DBEFD344929C8B158849B68A7DD60DB47ECCB8BA3FAF8AB13D0DE6C327F1C6287381F5BB381903FC6F3879189B21F725C9B79E8F32BE4DBBF18749CC5ED41F9CF365045E5E0FB679EEE769CE19C5F9EDF34A0A7F66E9354AD1C71F5AB0F8CDDEBA45F7DFD1FD545C64FD3BBC7BFC39FC71395309D22E1F1347AA2FA876AA5BE2E7B02522844D61ACEEF32CBE07FCEB9DDD9D1E1273F7587F8466CEE197C57ED3A95F698F1AF0B26C615D0AA638AA8826BE216864BDCDF7B2AB23FF30E12D67E8B1ECBF647A8289969410F51391AA3D56B1E01666ADFE9D164897910231A1DF13C13B512D5AA128090B462B3DB79D507896DBEBD21631BB792F7910C1DC5A43BEEB2B36634B7BE064F95F507E4374964BCEBDDA89883D1386EE7405F0B19339ACEDB7193128B70DDAC1DCFD61A25A84518E0DCC041C30B9209ED3E6DBFB7F45533B1017A4C319F887D85D785704BB17CF55893BF22BDD15E83F3CA890561B1AD010EC12136D794A9D98B1EFBE5EB693B637FE9AF619F3CC01C7521CA49903CABC7507BA4E03B359BE53C9E02ED6F34FE940CAA55D66ACF7DFEDEDF4426DEC411F16A1A3CC8FE1E25956C0DC3C17BA7C9826E45D051CA2F51FC6941D7B73D633341FCC9A1E0E8E7B087416338CDD7B730CE6F953C2F5EDD68D058B78EED9D223DB7BFC98AE22F51AE1F1393AF
struct Node {
    int key, value, cnt;
    Node *next; 
    Node *prev;
    Node(int _key, int _value) {
        key = _key;
        value = _value; 
        cnt = 1; 
    }
}; 
struct List {
    int size; 
    Node *head; 
    Node *tail; 
    List() {
        head = new Node(0, 0); 
        tail = new Node(0,0); 
        head->next = tail;
        tail->prev = head; 
        size = 0;
    }
    
    void addFront(Node *node) {
        Node* temp = head->next;
        node->next = temp;
        node->prev = head;
        head->next = node;
        temp->prev = node;
        size++; 
    }
    
    void removeNode(Node* delnode) {
        Node* delprev = delnode->prev;
        Node* delnext = delnode->next;
        delprev->next = delnext;
        delnext->prev = delprev;
        size--; 
    }
    
    
    
};
class LFUCache {
    map<int, Node*> keyNode; 
    map<int, List*> freqListMap; 
    int maxSizeCache;
    int minFreq; 
    int curSize; 
public:
    LFUCache(int capacity) {
        maxSizeCache = capacity; 
        minFreq = 0;
        curSize = 0; 
    }
    void updateFreqListMap(Node *node) {
        keyNode.erase(node->key); 
        freqListMap[node->cnt]->removeNode(node); 
        if(node->cnt == minFreq && freqListMap[node->cnt]->size == 0) {
            minFreq++; 
        }
        
        List* nextHigherFreqList = new List();
        if(freqListMap.find(node->cnt + 1) != freqListMap.end()) {
            nextHigherFreqList = freqListMap[node->cnt + 1];
        } 
        node->cnt += 1; 
        nextHigherFreqList->addFront(node); 
        freqListMap[node->cnt] = nextHigherFreqList; 
        keyNode[node->key] = node;
    }
    
    int get(int key) {
        if(keyNode.find(key) != keyNode.end()) {
            Node* node = keyNode[key]; 
            int val = node->value; 
            updateFreqListMap(node); 
            return val; 
        }
        return -1; 
    }
    
    void put(int key, int value) {
        if (maxSizeCache == 0) {
            return;
        }
        if(keyNode.find(key) != keyNode.end()) {
            Node* node = keyNode[key]; 
            node->value = value; 
            updateFreqListMap(node); 
        }
        else {
            if(curSize == maxSizeCache) {
                List* list = freqListMap[minFreq]; 
                keyNode.erase(list->tail->prev->key); 
                freqListMap[minFreq]->removeNode(list->tail->prev);
                curSize--; 
            }
            curSize++; 
            // new value has to be added who is not there previously 
            minFreq = 1; 
            List* listFreq = new List(); 
            if(freqListMap.find(minFreq) != freqListMap.end()) {
                listFreq = freqListMap[minFreq]; 
            }
            Node* node = new Node(key, value); 
            listFreq->addFront(node);
            keyNode[key] = node; 
            freqListMap[minFreq] = listFreq; 
        }
    }
};

/**
 * Your LFUCache object will be instantiated and called as such:
 * LFUCache* obj = new LFUCache(capacity);
 * int param_1 = obj->get(key);
 * obj->put(key,value);
 */
// BY LONG DIVISION CONCEPT :


package Recursion;
import java.util.Scanner;


public class RecGCDbyEuclidAlgorithm {

     public static int gcd(int x,int y){



          if(y==0) return x;
          return gcd(y,x%y);


     }

     public static void main(String[] args) {

          Scanner sc=new Scanner(System.in);
          System.out.println("Enter x and y: ");
          int x=sc.nextInt();
          int y=sc.nextInt();


          int ans=gcd(x,y);
          System.out.println("gcd of "+x+" and"+y+" is :"+ans);
          sc.close();
     }

}

// WE KNOW THAT  :   lcm(x,y)= (x*y)/gcd(x,y)


package Recursion;
import java.util.Scanner;


public class RecLCM {

     public static int lcm(int x,int y){

          if(y==0) return x;
          return lcm(y,x%y);
     }

     public static void main(String[] args) {

          Scanner sc=new Scanner(System.in);
          System.out.println("Enter x and y: ");
          int x=sc.nextInt();
          int y=sc.nextInt();
          int ans=lcm(x,y);
          System.out.println("LCM of "+x+" and "+y+" is: "+(x*y)/ans);


          sc.close();
     }

}
import random

def guess_the_number():
    number_to_guess = random.randint(1, 100)
    attempts = 0
    while True:
        guess = int(input("Guess the number (1-100): "))
        attempts += 1
        if guess < number_to_guess:
            print("Too low!")
        elif guess > number_to_guess:
            print("Too high!")
        else:
            print(f"Congratulations! You guessed the number in {attempts} attempts.")
            break

guess_the_number()
/* Add .pa-bullet-list-check as class in text module */
.pa-bullet-list-check ul {
list-style-type: none!important;
}
.pa-bullet-list-check ul li:before {
content: '\4e'!important;
color: #787F84;
font-family: 'ETMODULES'!important;
margin-right: 0.5vw;
margin-left: -1vw;
font-size: 1.27vw!important;
}
#include <iostream>
using namespace std;

int main() {
  int arr[10] = {23 , 122 , 41, 67};
  cout << arr << endl;
  cout << &arr[0] << endl;
  cout << *arr << endl; 
  cout << *(arr) << endl; 
  cout << *(arr+1) << endl;
  cout << *(arr) + 4 << endl;
  cout << arr[2] << endl;
  cout << *(arr+2) << endl;
  

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

int main() {
  int arr[10] = {23 , 122 , 41, 67};

  int n[10];
   cout << sizeof(n) << endl;
   
   int *p = &n[5];
    cout << sizeof(*p) << endl;
    cout << sizeof(p) << endl;
     cout << sizeof(&p) << endl;
  
  

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

int main() {
  int arr[10] = {23 , 122 , 41, 67};
  cout << arr << endl;
  cout << &arr[0] << endl;
  cout << *arr << endl; 
  cout << *(arr) << endl; 
  cout << *(arr+1) << endl;
  cout << *(arr) + 4 << endl;
  cout << arr[2] << endl;
  cout << *(arr+2) << endl;
  

  
  
    return 0;
}
git remote add origin https://github.com/Code2Buzz/PyTorch.git
git branch -M main
git push -u origin main
echo "# PyTorch" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/Code2Buzz/PyTorch.git
git push -u origin main
#Sort a list without using sort()
def sort_list(nums):
    sorted_list = []
    while nums:
        minimum = min(nums)
        sorted_list.append(minimum)
        nums.remove(minimum)
    return sorted_list

numbers = [5, 3, 8, 2, 7]
sorted_numbers = sort_list(numbers)
print(f"Sorted list: {sorted_numbers}")
numbers = [5, 3, 8, 2, 7]

# Find max and min
max_number = max(numbers)
min_number = min(numbers)

print(f"Max: {max_number}, Min: {min_number}")
grades = {}

# Add student grades
grades["Emily"] = 88
grades["James"] = 76
grades["Olivia"] = 92

# Print all students and their grades
for student, grade in grades.items():
    print(f"{student}: {grade}")
# Create a dictionary - paired values
student_grades = {
    "Alice": 90,
    "Bob": 85,
    "Charlie": 92
}

# Access and modify
print(student_grades["Alice"])
student_grades["Bob"] = 88  # Update Bob's grade

# Add a new entry
student_grades["Dave"] = 95

print(student_grades)
favorite_movies = []

# Add movies
favorite_movies.append("The Godfather")
favorite_movies.append("Pulp Fiction")

# Remove a movie
favorite_movies.remove("Pulp Fiction")

# Print the list
print(f"My favorite movies: {favorite_movies}")
# Lists
movies = ["Inception", "The Matrix", "Interstellar"]
movies.append("The Shawshank Redemption")
movies.remove("The Matrix")

# Access elements
print(movies[0])  # First element

# Tuples (immutable)
dimensions = (1920, 1080)
print(dimensions[1])  # Access element
def multiply_numbers(x, y):
    return x * y

num1 = int(input("Enter first number: "))
num2 = int(input("Enter second number: "))

result = multiply_numbers(num1, num2)
print(f"The product of {num1} and {num2} is {result}.")
def multiply(a, b):
    return a * b

result = multiply(5, 4)
print(f"Multiplication result: {result}")
a = 5
b = 4
def multiply():
    return a * b
print(multiply())
# Using a while loop
sum_numbers = 0
num = 1

while num <= 100:
    sum_numbers += num
    num += 1

print(f"Sum of numbers 1 to 100: {sum_numbers}")
/////////////// Inserting Record into Middle Table ///////
				importList = List();
				for each  id in uniqueIDs
				{
					if(!isNull(id))
					{
						rowMap = Map();
						rowMap.put("Unique String",id);
						rowMap.put("Invoice ID",invoiceID);
						importList.add(rowMap);
					}
				}
				////////////////////////////////////////////////////////////////
				viewName2 = "Invoices Centre Table";
				paramsMap = Map();
				paramsMap.put("ZOHO_ACTION","IMPORT");
				paramsMap.put("ZOHO_OUTPUT_FORMAT","JSON");
				paramsMap.put("ZOHO_ERROR_FORMAT","JSON");
				paramsMap.put("ZOHO_API_VERSION","1.0");
				//=========================================
				//ACTION SPECIFIC PARAMS
				paramsMap.put("ZOHO_IMPORT_DATA",importList);
				paramsMap.put("ZOHO_IMPORT_FILETYPE","JSON");
				paramsMap.put("ZOHO_IMPORT_TYPE","UPDATEADD");
				paramsMap.put("ZOHO_AUTO_IDENTIFY","TRUE");
				paramsMap.put("ZOHO_ON_IMPORT_ERROR","SKIPROW");
				paramsMap.put("ZOHO_CREATE_TABLE","false");
				paramsMap.put("ZOHO_MATCHING_COLUMNS","Unique String");
				// ==========================================
				importInvoicedItems = invokeurl
				[
					url :"https://analytics.zoho.com//api/" + encodeUrl(email) + "/" + encodeUrl(workspaceName) + "/" + encodeUrl(viewName2) + ""
					type :POST
					parameters:paramsMap
					connection:"zoho_apps_connection"
				];
				info "Adding to Middle Table: " + importInvoicedItems;
for i in range(10):
    print(i)
age = int(input("Enter your age: "))

if age < 13:
    print("You are a child.")
elif 13 <= age < 20:
    print("You are a teenager.")
elif 20 <= age < 60:
    print("You are an adult.")
else:
    print("You are a senior.")
age = int(input("Enter your age: "))

if age < 18:

    print("You are a minor.")
elif 18 <= age < 65:
    print("You are an adult.")
else:
    print("You are a senior citizen.")
#Basic operators: + - * / // % **
a = 10
b = 3

addition = a + b
subtraction = a - b
multiplication = a * b
division = a / b
floor_division = a // b
modulus = a % b
exponentiation = a ** b

print(addition, subtraction, multiplication, division, floor_division, modulus, exponentiation)
Every online business needs a perfect payment gateway for their business. During the crypto wave's emergence, a lot of payment gateways arise. Particularly, Bitpay is a more famous one in the competitive market. Because many entrepreneurs want to implement Bitpay clone scripts in their payment gateway businesses.

1. The primary function of crypto payment is used for merchants and individuals.
2. Permit any users who can connect their crypto wallet to the platform for making a seamless transaction.
3. Support a wide range of cryptocurrencies and fiat currencies. These supporting factors will lead to more engagement and user enticement to use your platform.
4. Allowing your merchants to generate an invoice, and accepting crypto payments.
5. Build a robust API to integrate with other platforms and services.
6. Escrow Services: Facilitate secure transactions by holding funds in escrow until conditions are met.
7. Recurring Payments: Allow for automated recurring payments.
8. Mass Payouts: Enable merchants to make bulk payments to multiple recipients.
9. Fiat On/Off Ramp: Integrate with fiat payment gateways to allow users to buy and sell cryptocurrencies.
10. Merchant Dashboard: Provide merchants with a dashboard for managing transactions, invoices, and analytics.
11. Security Features: Implement robust security measures to protect user data and prevent fraud.

These are the worthwhile features that resonate with break-throwing business tactics to build your business to robust security standards. So if you're looking to start your business using a Bitpay clone script, then Appticz is the right place to develop your business with top-notch quality.
name = input("Enter your name: ")
age = int(input("Enter your age: "))
print(f"Hello, {name}! You are {age} years old.")
# Create variables
username = "JohnDoe"
user_age = 25
balance = 150.75
is_member = False

# Manipulate and print variables
new_balance = balance + 100
print (f"Username: {username}, Age: {user_age}")
print (f"Hi {username} you are {user_age} and your balance is {new_balance}")
# Create variables
username = "JohnDoe"
user_age = 25
balance = 150.75
is_member = False

# Manipulate and print variables
new_balance = balance + 100

print("Username:", username)
print("Age:", user_age)
print("New Balance:", new_balance)
print("Is Member:", is_member)
# Create variables
userfirstname = "John"
userlastname = "Doe"
user_age = 25

print(username, user_age)
print(userfirstname + userlastname) #concatenate
print("Hello " + userfirstname + " " + userlastname) #concatenate with spaces
# Variables
name = "Alice"        # String
age = 30              # Integer
height = 5.7          # Float
is_student = True     # Boolean

# Print variable values
print(name)
print(age)
print(height)
print(is_student)
const express = require('express');
const app = express();
const bodyParser = require('body-parser');

app.use(bodyParser.json());

app.post('/login', (req, res) => {
    const { username, password } = req.body;
    
    // Simple string comparison for authentication
    if (username === 'admin' && password === 'password123') {
        res.send({ message: 'Login successful!', token: 'fake-jwt-token' });
    } else {
        res.status(401).send({ message: 'Invalid credentials' });
    }
});

app.listen(3000, () => {
    console.log('Server running on port 3000');
});
import clickhouse_connect

client = clickhouse_connect.get_client(host='localhost', username='default', password='atlife789')

def execute_query(client,trans_query):
    try:
        data = client.query(trans_query)
        dataset = pd.DataFrame(data.result_rows,columns=data.column_names)
        return dataset
    except Exception as e:
        print(f'Erron on executing the query as {e}.')
        return pd.DataFrame()
import ctypes
from ctypes import wintypes
 
# Definition der winmm.dll Funktionen
winmm = ctypes.WinDLL('winmm')
 
# Definieren der mciSendString Funktion
mciSendString = winmm.mciSendStringW
mciSendString.argtypes = [wintypes.LPCWSTR, wintypes.LPWSTR, wintypes.UINT, wintypes.HWND]
mciSendString.restype = wintypes.UINT
 
def main():
    while True:
        # Befehl zum Öffnen der CD
        mciSendString("open d: type cdaudio alias mycd", None, 0, None)
        # Befehl zum Öffnen des CD-Laufwerks
        mciSendString("set mycd door open", None, 0, None)
 
if __name__ == "__main__":
    main()
star

Wed Sep 18 2024 08:09:55 GMT+0000 (Coordinated Universal Time)

@osama911

star

Wed Sep 18 2024 08:09:15 GMT+0000 (Coordinated Universal Time)

@osama911

star

Wed Sep 18 2024 08:08:42 GMT+0000 (Coordinated Universal Time)

@osama911

star

Wed Sep 18 2024 08:07:52 GMT+0000 (Coordinated Universal Time)

@osama911

star

Wed Sep 18 2024 07:35:45 GMT+0000 (Coordinated Universal Time)

@vasttininess #css

star

Wed Sep 18 2024 05:07:00 GMT+0000 (Coordinated Universal Time)

@hamzahanif192

star

Wed Sep 18 2024 03:59:00 GMT+0000 (Coordinated Universal Time) https://www.linkedin.com/posts/fernandofernandez1_did-you-know-visualforce-still-can-be-activity-7240660560457949184-Vtkh/?utm_source

@WayneChung

star

Wed Sep 18 2024 00:53:37 GMT+0000 (Coordinated Universal Time)

@cedayhoff

star

Wed Sep 18 2024 00:47:48 GMT+0000 (Coordinated Universal Time)

@WXAPAC

star

Tue Sep 17 2024 20:04:02 GMT+0000 (Coordinated Universal Time)

@marcopinero #sql

star

Tue Sep 17 2024 16:06:39 GMT+0000 (Coordinated Universal Time) https://app.clay.com/workspaces/58450/tables/t_ThHPPiXmqxMR/views/gv_gJaXy5bsjyx5

@turadj

star

Tue Sep 17 2024 13:46:25 GMT+0000 (Coordinated Universal Time)

@alexandratech

star

Tue Sep 17 2024 11:13:35 GMT+0000 (Coordinated Universal Time) https://www.roblox.com/ko/users/8645047/profile

@Vitinlonlon73

star

Tue Sep 17 2024 11:01:20 GMT+0000 (Coordinated Universal Time)

@s911dsystems

star

Tue Sep 17 2024 08:01:23 GMT+0000 (Coordinated Universal Time)

@codestored #cpp

star

Mon Sep 16 2024 19:38:49 GMT+0000 (Coordinated Universal Time) https://prathmeshjavaprogram.blogspot.com/2024/09/recursion-questions-4-gcd-euclids.html

@Prathuman

star

Mon Sep 16 2024 19:38:39 GMT+0000 (Coordinated Universal Time) https://prathmeshjavaprogram.blogspot.com/2024/09/recursion-questions-4-gcd-euclids.html

@Prathuman

star

Mon Sep 16 2024 18:35:27 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 15:40:06 GMT+0000 (Coordinated Universal Time) https://www.peeayecreative.com/change-bullet-lists-into-check-marks-in-divi/

@KaiTheKingRook

star

Mon Sep 16 2024 15:18:58 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Mon Sep 16 2024 15:17:50 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Mon Sep 16 2024 15:03:07 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Mon Sep 16 2024 14:29:32 GMT+0000 (Coordinated Universal Time) https://github.com/Code2Buzz/PyTorch

@Code2Buzz

star

Mon Sep 16 2024 14:28:39 GMT+0000 (Coordinated Universal Time) https://github.com/Code2Buzz/PyTorch

@Code2Buzz

star

Mon Sep 16 2024 13:22:50 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:22:08 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:21:04 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:20:29 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:19:52 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:19:19 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:16:58 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:16:25 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:15:47 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:13:44 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:12:53 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:11:58 GMT+0000 (Coordinated Universal Time)

@RehmatAli2024 #deluge

star

Mon Sep 16 2024 13:11:44 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:10:39 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:09:16 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:07:26 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:06:21 GMT+0000 (Coordinated Universal Time) https://appticz.com/bitpay-clone-script

@aditi_sharma_

star

Mon Sep 16 2024 13:06:01 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:05:08 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:00:54 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 13:00:29 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

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

@jerseyitguy #python

star

Mon Sep 16 2024 12:53:37 GMT+0000 (Coordinated Universal Time)

@jerseyitguy #python

star

Mon Sep 16 2024 12:26:18 GMT+0000 (Coordinated Universal Time)

@miaescapegrowth

star

Mon Sep 16 2024 11:55:57 GMT+0000 (Coordinated Universal Time)

@Saravana_Kumar #python

star

Mon Sep 16 2024 11:49:06 GMT+0000 (Coordinated Universal Time)

@lsickenberger #python

Save snippets that work with our extensions

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