Snippets Collections

1.HTML - blockquote tag and q tag

<!DOCTYPE html>
<html lang="en">
<head>
    <title>Traditional Fair Poster</title>
</head>
<body>
    <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>
</body>
</html>



2. HTML Basics - Formatted tags-Olympics


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

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.
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 Olympic Charter defining its <small>structure and authority</small>.
The evolution of the Olympic Movement during the 20<sup>th</sup> and 21<sup>st</sup> 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 <strike>Deaflympics and the Special Olympics</strike>. The IOC has needed to adapt to a variety of <del>economic, political, and technological</del> advancements.
<tt>The Olympic Movement consists of international sports federations (IFs), National Olympic Committees (NOCs), and organising committees for each specific Olympic Games.</tt>

    </body>
</html>
1ST QUESTION


<!DOCTYPE html>
<html>


<body>


      <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>
</body>
</html>







2ND QUESTION




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

        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.

        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 Olympic Charter defining its <small>structure and authority</small>.
   
        The evolution of the Olympic Movement during the 20<sup>th</sup> and 21<sup>st</sup> 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 <strike>Deaflympics and the Special Olympics</strike>. The IOC has needed to adapt to a variety of <del>economic, political, and technological </del>advancements.


       <tt> The Olympic Movement consists of international sports federations (IFs), National Olympic Committees (NOCs), and organising committees for each specific Olympic Games.</tt>


    </body>
</html>



/*----------------------- Custom Post type Services ------------------------------------*/
//Services Post Type
add_action('init', 'services_post_type_init');
function services_post_type_init()
{
 
    $labels = array(
 
        'name' => __('Services', 'post type general name', ''),
        'singular_name' => __('Services', 'post type singular name', ''),
        'add_new' => __('Add New', 'Services', ''),
        'add_new_item' => __('Add New Services', ''),
        'edit_item' => __('Edit Services', ''),
        'new_item' => __('New Services', ''),
        'view_item' => __('View Services', ''),
        'search_items' => __('Search Services', ''),
        'not_found' =>  __('No Services found', ''),
        'not_found_in_trash' => __('No Services found in Trash', ''),
        'parent_item_colon' => ''
    );
    $args = array(
        'labels' => $labels,
        'public' => true,
        'publicly_queryable' => true,
        'show_ui' => true,
        'rewrite' => true,
        'query_var' => true,
        'menu_icon' => get_stylesheet_directory_uri() . '/images/testimonials.png',
        'capability_type' => 'post',
        'hierarchical' => true,
        'public' => true,
        'has_archive' => true,
        'show_in_nav_menus' => true,
        'menu_position' => null,
        'rewrite' => array(
            'slug' => 'services',
            'with_front' => true
        ),
        'supports' => array(
            'title',
            'editor',
            'thumbnail'
        )
    );
 
    register_post_type('services', $args);
}
// SHORTCODE

 
// Add Shortcode [our_services];
add_shortcode('our_services', 'codex_our_services');
function codex_our_services()
{
    ob_start();
    wp_reset_postdata();
?>
    <div class="container-fluid">
	
        <div class="services-slider ser-content">
			
            <?php
            $arg = array(
                'post_type' => 'services',
                'posts_per_page' => -1,
            );
            $po = new WP_Query($arg);
            ?>
            <?php if ($po->have_posts()) : ?>
 
                <?php while ($po->have_posts()) : ?>
                    <?php $po->the_post(); ?>
                    <div class="item">
                        <div class="ser-body">
                           <div class="thumbnail-blog">
							   <?php echo get_the_post_thumbnail(get_the_ID(), 'full'); ?>
							</div>
							
							<!-- Hover DIV-->
							<div class="content">
								<h3 class="title"><?php the_title(); ?></h3>
								<div class="excerpt">
									<?php echo wp_trim_words(get_the_content(), 25, '...'); ?>
								</div>
								<div class="readmore">
									<a href="<?php echo get_permalink() ?>">Read More</a>
								</div>
							</div>
							<!-- Hover DIV-->
							
                        </div>
                    </div>
                <?php endwhile; ?>
 
            <?php endif; ?>
        </div>
    </div>

 
<?php
    wp_reset_postdata();
    return '' . ob_get_clean();
}
function slick_cdn_enqueue_scripts(){
    wp_enqueue_style( 'slick-style', '//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css' );
    wp_enqueue_script( 'slick-script', '//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.min.js', array(), null, true );
}
add_action( 'wp_enqueue_scripts', 'slick_cdn_enqueue_scripts' );
curl --location --request GET 'https://linkable.to/api/splash?limit=2&page=1' \
--header 'Authorization: Bearer YOURAPIKEY' \
--header 'Content-Type: application/json' \
Performance of –parallel
Without --parallel:

> python3 manage.py test --keepdb
...
----------------------------------------------------------------------
Ran 591 tests in 670.560s
 Save
With --parallel (concurrency: 6):

> python3 manage.py test --keepdb --parallel 6
...
----------------------------------------------------------------------
Ran 591 tests in 305.394s
{countries.length > 0 && (
  <>
    <h3>Countries in {inputValue}</h3>
    <div className={isVisible ? "reveal" : ""}>
      <div className="country-contain">
        {countries.map((item, index) => (
          <p key={index} className="country">
            {item.name}
          </p>
        ))}
      </div>
    </div>
  </>
)}
useEffect(() => {
  if (inputValue) {
    const query = `query($code: ID!) {
      continent(code: $code) {
        countries {
          name
        }
      }
    }`;

    fetchGraphQL(query, { code: inputValue }).then((data) => {
      setCountries(data.data.continent.countries);
    });

    setIsVisible(true);
    const timer = setTimeout(() => {
      setIsVisible(false);
    }, 1000);

    return () => clearTimeout(timer);
  }
}, [inputValue]);
<select className="custom-select" onChange={(e) => setInputValue(e.target.value)}>
  <option selected hidden>Select a Continent</option>
  {continents.map((item, index) => (
    <option key={index} value={item.code}>
      {item.name}
    </option>
  ))}
</select>
useEffect(() => {
  const query = `query {
    continents {
      name
      code
    }
  }`;

  fetchGraphQL(query).then((data) => {
    setContinents(data.data.continents);
  });
}, []);
const fetchGraphQL = (query, variables = {}) => {
  return fetch("https://countries.trevorblades.com/", {
    method: "POST",
    headers: { "Content-Type": "application/json" },
    body: JSON.stringify({
      query,
      variables,
    }),
  }).then((res) => res.json());
};
SELECT DISTINCT
 "Accounts"."Id" AS "Account ID",
 "Accounts"."Account Name" AS "Account Name",
 "Promoter"."Id" AS "Promoter ID",
 REPLACE("Promoter"."Promoter Name", ',', '') AS "Promoter Name",
 if(SUM(CASE
 WHEN DATE_FORMAT("Promoters Vs Invoices"."Invoice Date", '%Y-%m')  = DATE_FORMAT(today(), '%Y-%m') THEN "Promoters Vs Invoices"."Total"
 ELSE 0
 END)  > 0, 'Invoiced', if(SUM("Check Transactions"."Previous Month Contribution")  > 0, 'Invoice Missing', 'No Contributions')) AS "Current Month Billing Status",
 SUM(CASE
 WHEN DATE_FORMAT("Promoters Vs Invoices"."Invoice Date", '%Y-%m')  = DATE_FORMAT(today(), '%Y-%m') THEN "Promoters Vs Invoices"."Total"
 ELSE 0
 END) AS "Invoiced Current Month",
 SUM(CASE
 WHEN DATE_FORMAT("Promoters Vs Invoices"."Invoice Date", '%Y-%m')  = DATE_FORMAT(today() -INTERVAL 1 MONTH, '%Y-%m') THEN "Promoters Vs Invoices"."Total"
 ELSE 0
 END) AS "Invoiced Last Month",
 SUM(CASE
 WHEN DATE_FORMAT("Promoters Vs Invoices"."Invoice Date", '%Y-%m')  = DATE_FORMAT(today() -INTERVAL 2 MONTH, '%Y-%m') THEN "Promoters Vs Invoices"."Total"
 ELSE 0
 END) AS "Invoiced Two Months Ago"
FROM  "Accounts"
JOIN "Promoter" ON "Promoter"."Account"  = "Accounts"."Id" 
LEFT JOIN "Promoters Vs Invoices" ON "Promoters Vs Invoices"."Promoter ID"  = "Promoter"."Id"
 AND	"Promoters Vs Invoices"."Invoice Date"  >= DATE_SUB(start_day(month, today()), INTERVAL 3 MONTH) 
LEFT JOIN(	SELECT
 "Promoter Id",
 SUM("Contribution Amount") as "Overall Contributions",
 SUM(CASE
 WHEN DATE_FORMAT("Transaction Date", '%Y-%m')  = DATE_FORMAT(today() -INTERVAL 1 MONTH, '%Y-%m') THEN "Contribution Amount"
 ELSE 0
 END) AS "Previous Month Contribution"
	FROM  "AWS Transactions - Final (3 Hour Sync)" 
	GROUP BY  "Promoter Id" 
) AS  "Check Transactions" ON "Check Transactions"."Promoter Id"  = "Promoter"."Id"  
WHERE "Accounts"."Billing Cycle"  != ''
 AND	"Accounts"."Auto Invoice"  = 'Yes'
 AND	("Promoter"."Promoter Status"  = 'Live'
 OR	("Promoter"."Promoter Status"  = 'Cancelled'
 AND	"Promoter"."Cancellation/Pause Date"  is not null))
 AND	"Promoter"."Bill To"  is not null
 AND	"Check Transactions"."Overall Contributions"  > 0
GROUP BY "Accounts"."Id",
 "Accounts"."Account Name",
 "Promoter"."Id",
  "Promoter"."Promoter Name" 
ORDER BY "Accounts"."Account Name",
 replace("Promoter"."Promoter Name", ',', '')
<?php 
// Put this in Functions
function popular_posts($post_id) {
	$count_key = 'popular_posts';
	$count = get_post_meta($post_id, $count_key, true);
	if ($count == '') {
		$count = 0;
		delete_post_meta($post_id, $count_key);
		add_post_meta($post_id, $count_key, '0');
	} else {
		$count++;
		update_post_meta($post_id, $count_key, $count);
	}
}
function track_posts($post_id) {
	if (!is_single()) return;
	if (empty($post_id)) {
		global $post;
		$post_id = $post->ID;
	}
	popular_posts($post_id);
}
add_action('wp_head', 'track_posts');
?>
  
 <h3>Popular Posts</h3>
<ul>
	<?php 
		$args_mostread = array(
		'post_type' => 'nyheder',
		'meta_key'=>'popular_posts',
		'orderby'=>'meta_value_num',
		'posts_per_page' => 6,
		'order' => 'DESC',
		'category_name' => 'ligaherrer'
		);
	$mostread = new WP_Query( $args_mostread ); 
	while ($mostread->have_posts()) : $mostread->the_post(); ?>
	<li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li>
	<?php endwhile; wp_reset_postdata(); ?>
</ul>


//Enable or Disable Developer Mode
bench set-config developer_mode 1
bench set-config developer_mode 0

-----------------------------------


//*Enable Server Script*//
bench set-config -g server_script_enabled 1
bench --site site1.local set-config server_script_enabled true



//*Enable Developer Mode*//
bench set-config -g developer_mode 1
bench --site site1.local clear-cache
bench setup requirements --dev

frappe-bench/sites/site1.local/site_config.json
  Manually write (( "developer_mode": 1,))



//Enable Scheduler//
bench --site all enable-scheduler
bench --site site1.local enable-scheduler
Manually write (( "pause_scheduler": 1,))



//Refresh your site.
//if your site is in production, run the command.
sudo supervisorctl restart all
input[type="color"]::-webkit-color-swatch {
    border-color: transparent;
}
#include <bits/stdc++.h>
#include <vector>
#include <string>
#include <deque>
#include <iosream>
#include <algorimth>
#include <cmath>

int main(){
int n;
vector<int> S(n);
for(int i = 0; i < n; i++){
	int a;
	cin >> a;
	S.push_back(a);
}

vector<int> dp1(n);
for(int i = 0; i < n; i++){
	dp1[i] = 1;
}

for(int i = 1; i < n; i++){
	if(a[i] > a[i-1]){
		dp[i] += 1;
}

//in ra day con lien tiep tang dan dai nhat

cout << *max_element(dp1.begin(), dp1.end());


#include <bits/stdc++.h>
using namespace std;

int main(){
    ios_base::sync_with_stdio(0);
    cin.tie(NULL);
    string s;
    cin >> s;
    int temp = 1;
    int ans;
    for(int i = 1; i < s.size(); i++){
        if(s[i] == s[i-1]){
            temp += 1;
            cout << temp << " ";
        }
        else;
            ans = max(ans, temp);
            temp = 1;
        }
    if(ans >= 7){
        cout << "YES";
    }
    else{
        cout << "NO";
    }
    return 0;
}
In the world of fast-changing crypto trading, AI Trading Bot have built as most effective tool for earning from price discrepancies across all over the crypto exchange. These robust algorithms make trades instantly and with profit by automating the analysis of data in real time. 

How does AI Crypto Trading Bot work?

AI Crypto Trading Bot utilizes cutting-edge machine learning algorithms to analyze immense amounts of data and permit trades effectively and instantly. These trading bots profit from price differences caused by inefficiencies and delays in data transfers all over many crypto exchanges. Are you an entrepreneur or startup want to initiate your own advanced technology trading bot solution, then Maticz offers you the top-notch AI Crypto Trading bot development solutions that includes in-built features and functionalities that assist you to initiate your own business solutions into top-notch level. Connect with us today to learn more about our high-tech AI Trading bot solutions!

Email: sales@maticz.com
Whatsapp: +91 93845 87998
Telegram: @maticzofficial
Skype: live:.cid.817b888c8d30b212
​import os

def generate_structure_string(start_path, exclude_dirs=None):
    if exclude_dirs is None:
        exclude_dirs = []

    structure = []
    for root, dirs, files in os.walk(start_path):
        # 跳过需要排除的目录
        if any(excluded in root for excluded in exclude_dirs):
            continue

        level = root.replace(start_path, '').count(os.sep)
        indent = '│   ' * level + '├── ' if level > 0 else ''
        sub_indent = '│   ' * (level + 1) + '├── '
        structure.append(f'{indent}{os.path.basename(root)}/')

        for f in files:
            structure.append(f'{sub_indent}{f}')

    return '\n'.join(structure)

if __name__ == "__main__":
    start_path = '.'  # 你的项目根目录路径
    exclude_dirs = ['static', '__pycache__', '.git']  # 需要排除的文件夹列表
    print(generate_structure_string(start_path, exclude_dirs))
import * as React from 'react';
import {Camera, CameraPermissionStatus} from "react-native-vision-camera";

export default function PermissionsScreen(){
    const [CameraPermissionStatus, setCameraPermissionStatus] = React.u
    return (
        <>
        </>
    )
}
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;

int maxSumIncreasingSubsequenceWithLengthK(const vector<int>& arr, int k) {
    int n = arr.size();
    if (n == 0 || k == 0 || k > n) return 0;

    // Khởi tạo mảng dp có kích thước n x (k+1)
    vector<vector<int>> dp(n, vector<int>(k+1, 0));

    // Khởi tạo dp[i][1] bằng arr[i]
    
    for(int i = 0; i < n; i++){
        dp[i][1] = arr[i];
    }
    // Tính toán dp[i][j] cho các độ dài từ 2 đến k
    for(int i = 1; i < n; i++){
        for(int j = 0; j < i; j++){
            if(arr[i] > arr[j]){
                for(int l = 2; l < k; l++){
                    dp[i][l] = max(dp[i][l], dp[j][l-1] + arr[i]);
                }
            }
        }
    }
    


    // Tìm giá trị lớn nhất trong dp[i][k]
    int max_sum = 0;
    for (int i = 0; i < n; ++i) {
        max_sum = max(max_sum, dp[i][k]);
    }

    return max_sum;
}

int main() {
    vector<int> arr = {2, 3, 5, 7, 3, 9};
    int k = 3; // Độ dài yêu cầu của dãy con

    int result = maxSumIncreasingSubsequenceWithLengthK(arr, k);
    cout << "Tổng lớn nhất của dãy con tăng có độ dài " << k << " là: " << result << endl;

    return 0;
}
AL|Alabama
AK|Alaska
AZ|Arizona
AR|Arkansas
CA|California
CO|Colorado
CT|Connecticut
DE|Delaware
FL|Florida
GA|Georgia
HI|Hawaii
ID|Idaho
IL|Illinois
IN|Indiana
IA|Iowa
KS|Kansas
KY|Kentucky
LA|Louisiana
ME|Maine
MD|Maryland
MA|Massachusetts
MI|Michigan
MN|Minnesota
MS|Mississippi
MO|Missouri
MT|Montana
NE|Nebraska
NV|Nevada
NH|New Hampshire
NJ|New Jersey
NM|New Mexico
NY|New York
NC|North Carolina
ND|North Dakota
OH|Ohio
OK|Oklahoma
OR|Oregon
PA|Pennsylvania
RI|Rhode Island
SC|South Carolina
SD|South Dakota
TN|Tennessee
TX|Texas
UT|Utah
VT|Vermont
VA|Virginia
WA|Washington
WV|West Virginia
WI|Wisconsin
WY|Wyoming
DC|District of Columbia
AS|American Samoa
GU|Guam
MP|Northern Mariana Islands
PR|Puerto Rico
UM|United States Minor Outlying Islands
VI|Virgin Islands, U.S.
SUBSTITUTE(select(Dining Menu Slice[Menu and Counter], [Counter]>0), " , ", "
")
#include <bits/stdc++.h>
using namespace std;
 
int main(){
    ios_base::sync_with_stdio(0);
    cin.tie(NULL);
    
    int n;
    cin >> n;
    
    vector<vector<int>> S(n);
    for(int i = 0; i < n; i++){
        for(int j = 0; j <= i; j++){
            int a;
            cin >> a;
            S[i].push_back(a);
        }
    }
 
    vector<vector<int>> dp(n);
    for(int i = 0; i < n; i++){
        dp[i] = vector<int>(i + 1, 1);
    }
    
    dp[0][0] = S[0][0];
 
    for(int i = 1; i < n; i++){
        for(int j = 0; j <= i; j++){
            if (j == 0) {
                dp[i][j] = dp[i-1][j] * S[i][j];
            } else if (j == i) {
                dp[i][j] = dp[i-1][j-1] * S[i][j];
            } else {
                if(S[i][j] > 0){
                    dp[i][j] = max(dp[i-1][j], dp[i-1][j-1]) * S[i][j];
                } else {
                    dp[i][j] = min(dp[i-1][j], dp[i-1][j-1]) * S[i][j];
                }
            }
        }
    }
    
    cout << *max_element(dp[n-1].begin(), dp[n-1].end());
 
    return 0;
}
<!-- Text Animation Scripts -->
<script src="https://unpkg.com/split-type"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.11.3/ScrollTrigger.min.js"></script>
<script>
window.addEventListener("DOMContentLoaded", (event) => {
  // Split text into spans
  let typeSplit = new SplitType("[text-split]", {
    types: "words, chars",
    tagName: "span"
  });

  // Link timelines to scroll position
  function createScrollTrigger(triggerElement, timeline) {
    // Reset tl when scroll out of view past bottom of screen
    ScrollTrigger.create({
      trigger: triggerElement,
      start: "top bottom",
      onLeaveBack: () => {
        timeline.progress(0);
        timeline.pause();
      }
    });
    // Play tl when scrolled into view (60% from top of screen)
    ScrollTrigger.create({
      trigger: triggerElement,
      start: "top 60%",
      onEnter: () => timeline.play()
    });
  }

  $("[words-slide-up]").each(function (index) {
    let tl = gsap.timeline({ paused: true });
    tl.from($(this).find(".word"), { opacity: 0, yPercent: 100, duration: 0.5, ease: "back.out(2)", stagger: { amount: 0.5 } });
    createScrollTrigger($(this), tl);
  });

  $("[words-rotate-in]").each(function (index) {
    let tl = gsap.timeline({ paused: true });
    tl.set($(this).find(".word"), { transformPerspective: 1000 });
    tl.from($(this).find(".word"), { rotationX: -90, duration: 0.6, ease: "power2.out", stagger: { amount: 0.6 } });
    createScrollTrigger($(this), tl);
  });

  $("[words-slide-from-right]").each(function (index) {
    let tl = gsap.timeline({ paused: true });
    tl.from($(this).find(".word"), { opacity: 0, x: "1em", duration: 0.6, ease: "power2.out", stagger: { amount: 0.2 } });
    createScrollTrigger($(this), tl);
  });

  $("[letters-slide-up]").each(function (index) {
    let tl = gsap.timeline({ paused: true });
    tl.from($(this).find(".char"), { yPercent: 100, duration: 0.2, ease: "power1.out", stagger: { amount: 0.6 } });
    createScrollTrigger($(this), tl);
  });

  $("[letters-slide-down]").each(function (index) {
    let tl = gsap.timeline({ paused: true });
    tl.from($(this).find(".char"), { yPercent: -120, duration: 0.3, ease: "power1.out", stagger: { amount: 0.7 } });
    createScrollTrigger($(this), tl);
  });

  $("[letters-fade-in]").each(function (index) {
    let tl = gsap.timeline({ paused: true });
    tl.from($(this).find(".char"), { opacity: 0, duration: 0.2, ease: "power1.out", stagger: { amount: 0.8 } });
    createScrollTrigger($(this), tl);
  });

  $("[letters-fade-in-random]").each(function (index) {
    let tl = gsap.timeline({ paused: true });
    tl.from($(this).find(".char"), { opacity: 0, duration: 0.05, ease: "power1.out", stagger: { amount: 0.4, from: "random" } });
    createScrollTrigger($(this), tl);
  });

  $("[scrub-each-word]").each(function (index) {
    let tl = gsap.timeline({
      scrollTrigger: {
        trigger: $(this),
        start: "top 90%",
        end: "top center",
        scrub: true
      }
    });
    tl.from($(this).find(".word"), { opacity: 0.2, duration: 0.2, ease: "power1.out", stagger: { each: 0.4 } });
  });

  // Avoid flash of unstyled content
  gsap.set("[text-split]", { opacity: 1 });
});
</script>

<!-- Lenis Smooth Scroll Script -->
<script src="https://cdn.jsdelivr.net/gh/studio-freight/lenis@1.0.23/bundled/lenis.min.js"></script> 
<script>
// LENIS SMOOTH SCROLL
let lenis;
if (Webflow.env("editor") === undefined) {
  lenis = new Lenis({
    lerp: 0.1,
    wheelMultiplier: 0.7,
    gestureOrientation: "vertical",
    normalizeWheel: false,
    smoothTouch: false
  });
  function raf(time) {
    lenis.raf(time);
    requestAnimationFrame(raf);
  }
  requestAnimationFrame(raf);
}
$("[data-lenis-start]").on("click", function () {
  lenis.start();
});
$("[data-lenis-stop]").on("click", function () {
  lenis.stop();
});
$("[data-lenis-toggle]").on("click", function () {
  $(this).toggleClass("stop-scroll");
  if ($(this).hasClass("stop-scroll")) {
    lenis.stop();
  } else {
    lenis.start();
  }
});
</script>
<style>
/* Text Animation Styles */
[text-split] {opacity: 0;}
html.w-editor [text-split] {opacity: 1;}

.word {
	overflow: hidden;
  padding-bottom: 0.1em;
  margin-bottom: -0.1em;
  transform-origin: bottom;
}

/* Lenis Scroll Styles */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
</style>
# Python 3: List comprehensions
>>> fruits = ['Banana', 'Apple', 'Lime']
>>> loud_fruits = [fruit.upper() for fruit in fruits]
>>> print(loud_fruits)
['BANANA', 'APPLE', 'LIME']

# List and the enumerate function
>>> list(enumerate(fruits))
[(0, 'Banana'), (1, 'Apple'), (2, 'Lime')]
The NFT Minting Platform presents a viable chance to secure a long-term profitable position in the ever-evolving NFT world. NFTs are unreplicable, perpetual ownership records in the form of tokens. Thus, creating an NFT mining platform of your own with strong features and security is sure to be successful. To create your own NFT Minting platform and ensure your success, visit NFT minting platform development company Coinclone to learn more.
orderby(select(AGENCY[UID], in([UID], Database[Agency Name])), [Agency])
#To define a function that take two integers 
# and return the sum of those two numbers
def add(a,b):
  return a+b

#initializing the variables
num1 = 10
num2 = 5

#function calling and store the result into sum_of_twonumbers
sum_of_twonumbers = add(num1,num2)

#To print the result
print("Sum of {0} and {1} is {2};" .format(num1,
                           num2, sum_of_twonumbers))
# Python3 program to add two numbers

number1 = input("First number: ")
number2 = input("\nSecond number: ")

# Adding two numbers
# User might also enter float numbers
sum = float(number1) + float(number2)

# Display the sum
# will print value in float
print("The sum of {0} and {1} is {2}" .format(number1, 
                                            number2, sum))
418s-242128@cberi.go.kr
<?php 
// ADD SHORTCODE [latest_products category='banner' type='' taxonomy='product_cat' posts_per_page="1"];
add_shortcode('latest_products', 'codex_latest_products');
function codex_latest_products($atts)
{

  ob_start();
  extract(shortcode_atts(
    array(
      'category' => '',
      'taxonomy' => '',
      'type' => 'product',
      'posts_per_page' => '12',
  ), $atts));
  ?>
<section id="home">
   <div class="container-fluid">
      <div class="row ser-content product-slider">
         <?php
           // WP_Query arguments;
           $category = explode(',', $category);  
           $args = array(
             'post_type'             => $type,
             'post_status'           => 'publish',
             'order'                 => 'DESC',
             'posts_per_page'        =>  $posts_per_page,
             'tax_query' => array(
               array(
                 'taxonomy'      => $taxonomy,
                 'field'         => 'slug',
                 'terms'         => $category,
               )
             )
           );

           // echo "<pre>";
           // print_r($args);

         $po = new WP_Query($args);
         ?>
         <?php if ($po->have_posts()) : ?>
             <?php while ($po->have_posts()) : ?>
                 <?php $po->the_post(); ?>
         <div class="col-md-3">
            <div class="product_col">
               <div class="product_inner">
                  <div class="product_img">
                     <?php the_post_thumbnail('full'); ?>
                  </div>
                  <div class="product_title">
                     <h4><?php echo esc_html(get_the_title()); ?></h4>
                  </div>
                  <div class="product_bottom">
                     <div class="detail-btn"><a class="prCart" href="<?php echo esc_url( get_site_url() . '/cart/?add-to-cart=' . $product->get_id() ); ?>">See Detail<span class="list-icon wd-icon far fa-eye"></span></a></div>
                     <div class="price_product">
                        <?php 
                           if ($product->is_type( 'simple' )) { ?>
                        <?php echo $product->get_price_html(); ?>
                        <?php } ?>
                        <?php 
                           if($product->get_type()=='variable') {
                               $available_variations = $product->get_available_variations();
                               $variation_id=$available_variations[0]['variation_id'];
                               $variable_product1= new WC_Product_Variation( $variation_id );
                               $regular_price = $variable_product1 ->regular_price;
                               $sales_price = $variable_product1 -> sale_price;
                               if (empty($sales_price)) {
                               $sales_price = 0;
                                 }
                               }
                           ?>
                     </div>
                  </div>
               </div>
            </div>
         </div>
         <?php
            endwhile;
            endif;
            ?>
      </div>
   </div>
</section>
<?php
wp_reset_postdata();
return ob_get_clean();
}
#include <bits/stdc++.h>
using namespace std;

int main(){
    ios_base::sync_with_stdio(0);
    cin.tie(NULL);
    
    int n;
    cin >> n;
    
    vector<vector<int>> S(n);
    for(int i = 0; i < n; i++){
        for(int j = 0; j <= i; j++){
            int a;
            cin >> a;
            S[i].push_back(a);
        }
    }

    vector<vector<int>> dp(n);
    for(int i = 0; i < n; i++){
        dp[i] = vector<int>(i + 1, 1);
    }
    
    dp[0][0] = S[0][0];

    for(int i = 1; i < n; i++){
        for(int j = 0; j <= i; j++){
            if (j == 0) {
                dp[i][j] = dp[i-1][j] * S[i][j];
            } else if (j == i) {
                dp[i][j] = dp[i-1][j-1] * S[i][j];
            } else {
                if(S[i][j] > 0){
                    dp[i][j] = max(dp[i-1][j], dp[i-1][j-1]) * S[i][j];
                } else {
                    dp[i][j] = min(dp[i-1][j], dp[i-1][j-1]) * S[i][j];
                }
            }
        }
    }
    
    cout << *max_element(dp[n-1].begin(), dp[n-1].end());

    return 0;
}
<link rel="shortcut icon" href=“<FAVICON_LINK>”/>
<link rel="shortcut icon" href=“<FAVICON_LINK>”/>
fetch('/my-api-endpoint')
  .then(response => {
    if (response.headers.get('cf-mitigated') === 'challenge') {
      // Handle challenged response
    } else {
      // Process response as usual
    }
  });
fetch('/my-api-endpoint')
  .then(response => {
    if (response.headers.get('cf-mitigated') === 'challenge') {
      // Handle challenged response
    } else {
      // Process response as usual
    }
  });
star

Sat Aug 24 2024 05:57:25 GMT+0000 (Coordinated Universal Time)

@chatgpt #kotlin

star

Sat Aug 24 2024 05:48:05 GMT+0000 (Coordinated Universal Time) https://codepen.io/robertostringa/pen/yLdjjON

@rstringa

star

Sat Aug 24 2024 04:56:24 GMT+0000 (Coordinated Universal Time)

@login123

star

Fri Aug 23 2024 23:33:43 GMT+0000 (Coordinated Universal Time)

@humdanaliii

star

Fri Aug 23 2024 23:32:55 GMT+0000 (Coordinated Universal Time)

@humdanaliii

star

Fri Aug 23 2024 21:27:50 GMT+0000 (Coordinated Universal Time) https://linkable.to/developers

@CallTheCops

star

Fri Aug 23 2024 18:58:01 GMT+0000 (Coordinated Universal Time) https://www.orfium.com/engineering/speeding-up-your-python-django-test-suite/

@fearless

star

Fri Aug 23 2024 17:25:38 GMT+0000 (Coordinated Universal Time)

@negner

star

Fri Aug 23 2024 17:22:28 GMT+0000 (Coordinated Universal Time)

@negner

star

Fri Aug 23 2024 17:19:37 GMT+0000 (Coordinated Universal Time)

@negner

star

Fri Aug 23 2024 17:16:56 GMT+0000 (Coordinated Universal Time)

@negner

star

Fri Aug 23 2024 17:13:36 GMT+0000 (Coordinated Universal Time)

@negner

star

Fri Aug 23 2024 15:08:13 GMT+0000 (Coordinated Universal Time)

@RehmatAli2024 #deluge

star

Fri Aug 23 2024 13:14:33 GMT+0000 (Coordinated Universal Time) https://www.codechef.com/practice/course/two-pointers/POINTERF/problems/PREP68

@iampran

star

Fri Aug 23 2024 11:43:27 GMT+0000 (Coordinated Universal Time) https://www.tenforums.com/user-accounts-family-safety/159403-command-turn-off-uac-prompts-specific-apps.html

@Curable1600

star

Fri Aug 23 2024 11:38:14 GMT+0000 (Coordinated Universal Time) https://digwp.com/2016/03/diy-popular-posts/

@andersdeleuran #php

star

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

@Taimoor

star

Fri Aug 23 2024 09:23:06 GMT+0000 (Coordinated Universal Time)

@divyasoni23 #css

star

Fri Aug 23 2024 08:09:38 GMT+0000 (Coordinated Universal Time) https://hnoj.edu.vn/problem/loop8

@LizzyTheCatto

star

Fri Aug 23 2024 08:04:56 GMT+0000 (Coordinated Universal Time) https://www.programiz.com/cpp-programming/online-compiler/

@LizzyTheCatto #c++

star

Fri Aug 23 2024 07:29:04 GMT+0000 (Coordinated Universal Time) http://octopi.local/?

@amccall23

star

Fri Aug 23 2024 07:24:20 GMT+0000 (Coordinated Universal Time) https://www.konkadayclub.co.za/

@blackcypher

star

Fri Aug 23 2024 06:31:04 GMT+0000 (Coordinated Universal Time) https://kaspi.kz/shop/p/mikrovolnovaja-pech-grand-ggmw-20afmb-chernyi-20l-109822448/?c

@bekzatkalau

star

Fri Aug 23 2024 05:22:00 GMT+0000 (Coordinated Universal Time) https://maticz.com/ai-crypto-trading-bot-development

@jamielucas #drupal

star

Fri Aug 23 2024 03:27:59 GMT+0000 (Coordinated Universal Time)

@theshyxin #undefined

star

Fri Aug 23 2024 02:59:19 GMT+0000 (Coordinated Universal Time)

@azariel #glsl

star

Fri Aug 23 2024 01:45:55 GMT+0000 (Coordinated Universal Time) https://www.programiz.com/cpp-programming/online-compiler/

@LizzyTheCatto

star

Fri Aug 23 2024 00:52:26 GMT+0000 (Coordinated Universal Time) https://dailydictation.com/exercises/short-stories/11-summer-vacation.323/listen-and-type

@testhrfnj

star

Fri Aug 23 2024 00:51:29 GMT+0000 (Coordinated Universal Time) https://dailydictation.com/exercises/short-stories/11-summer-vacation.323/listen-and-type

@testhrfnj

star

Thu Aug 22 2024 20:14:05 GMT+0000 (Coordinated Universal Time) https://www.drupal.org/node/332575

@DKMitt #php

star

Thu Aug 22 2024 17:43:55 GMT+0000 (Coordinated Universal Time) https://www.appsheet.com/template/appdef?utm_campaign

@Wittinunt

star

Thu Aug 22 2024 17:30:29 GMT+0000 (Coordinated Universal Time)

@besho

star

Thu Aug 22 2024 13:38:33 GMT+0000 (Coordinated Universal Time) https://gsap-text-animate.webflow.io/

@zily

star

Thu Aug 22 2024 13:33:52 GMT+0000 (Coordinated Universal Time)

@zily

star

Thu Aug 22 2024 13:17:09 GMT+0000 (Coordinated Universal Time) define( 'ALLOW_UNFILTERED_UPLOADS', true );

@odesign

star

Thu Aug 22 2024 12:56:42 GMT+0000 (Coordinated Universal Time) https://www.python.org/

@Black_Shadow

star

Thu Aug 22 2024 11:30:23 GMT+0000 (Coordinated Universal Time) https://veriftools.net/en/australia_dl

@wafflexyzz

star

Thu Aug 22 2024 04:04:48 GMT+0000 (Coordinated Universal Time) https://www.appsheet.com/template/AppDef?appName

@Wittinunt

star

Thu Aug 22 2024 03:55:58 GMT+0000 (Coordinated Universal Time) https://www.geeksforgeeks.org/python-program-to-add-two-numbers/

@chunder

star

Thu Aug 22 2024 03:55:11 GMT+0000 (Coordinated Universal Time) https://www.geeksforgeeks.org/python-program-to-add-two-numbers/

@chunder

star

Thu Aug 22 2024 02:36:45 GMT+0000 (Coordinated Universal Time)

@wheedo

star

Thu Aug 22 2024 00:09:28 GMT+0000 (Coordinated Universal Time)

@wasim_mm1

star

Wed Aug 21 2024 23:34:09 GMT+0000 (Coordinated Universal Time) https://www.programiz.com/cpp-programming/online-compiler/

@LizzyTheCatto #c++

star

Wed Aug 21 2024 23:33:51 GMT+0000 (Coordinated Universal Time) https://www.programiz.com/cpp-programming/online-compiler/

@LizzyTheCatto #c++

star

Wed Aug 21 2024 23:16:28 GMT+0000 (Coordinated Universal Time) https://developers.cloudflare.com/waf/reference/cloudflare-challenges/#browser-support

@LjjDev

star

Wed Aug 21 2024 23:15:54 GMT+0000 (Coordinated Universal Time) https://developers.cloudflare.com/waf/reference/cloudflare-challenges/#browser-support

@LjjDev

star

Wed Aug 21 2024 23:15:44 GMT+0000 (Coordinated Universal Time) https://developers.cloudflare.com/waf/reference/cloudflare-challenges/#browser-support

@LjjDev

star

Wed Aug 21 2024 23:15:41 GMT+0000 (Coordinated Universal Time) https://developers.cloudflare.com/waf/reference/cloudflare-challenges/#browser-support

@LjjDev

Save snippets that work with our extensions

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