Snippets Collections
$ sudo tar -zxvf ftusbnet-*.tar.gz -C /opt
invoke-command -ComputerName Server1 -ScriptBlock {$MyProgs = Get-ItemProperty 'HKLM:SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*'; $MyProgs += Get-ItemProperty 'HKLM:SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*' ; $MyProgs.DisplayName | sort -Unique
$Directory = 'D:\Users\Public\Public.Language\Pronounce it Perfectly in Spanish 2e\Pronounce it Perfectly in Spanish 2e.Down.Load'
$Shell = New-Object -ComObject Shell.Application
$Folder = $Shell.Namespace($Directory)

1..512 | ForEach-Object {
    $prop = $Folder.GetDetailsOf($null, $_)
                
    if($prop){
        [PSCustomObject] @{
            Number   = $_
            Property = $prop
        }
    }
}
$MediaFiles = '*.mp3', '*.wav', '*.wma'
$Directory = 'D:\Users\Public\Public.Language\Pronounce it Perfectly in Spanish 2e\Pronounce it Perfectly in Spanish 2e.Down.Load'

$Shell = New-Object -ComObject Shell.Application

foreach($type in $MediaFiles){
    $sample = Get-ChildItem -Path $Directory -Recurse -Include $type | Select-Object -First 1
    
    if($sample){
        $sample | ForEach-Object {
            $Folder = $Shell.Namespace($_.DirectoryName)
            $File = $Folder.ParseName($_.Name)

            1..512 | ForEach-Object {
                $value = $Folder.GetDetailsOf($file, $_)
                
                if($value){
                    [PSCustomObject] @{
                        File     = $sample.FullName
                        Number   = $_
                        Property = $Folder.GetDetailsOf($null, $_)
                        Value    = $value
                    }
                }
            }
        }
    }
}

public class MergeSort {

    // Function to perform merge sort
    public static void mergeSort(int[] array, int left, int right) {
        if (left < right) {
            // Find the middle point to divide the array into two halves
            int middle = (left + right) / 2;

            // Recursively sort the first and second halves
            mergeSort(array, left, middle);
            mergeSort(array, middle + 1, right);

            // Merge the sorted halves
            merge(array, left, middle, right);
        }
    }

    // Function to merge two halves
    public static void merge(int[] array, int left, int middle, int right) {
        // Sizes of the two subarrays to merge
        int n1 = middle - left + 1;
        int n2 = right - middle;

        // Temporary arrays
        int[] leftArray = new int[n1];
        int[] rightArray = new int[n2];

        // Copy data to temporary arrays
        for (int i = 0; i < n1; i++)
            leftArray[i] = array[left + i];
        for (int j = 0; j < n2; j++)
            rightArray[j] = array[middle + 1 + j];

        // Initial indexes of the subarrays
        int i = 0, j = 0;
        int k = left; // Initial index of merged subarray

        // Merge the temp arrays back into the original array
        while (i < n1 && j < n2) {
            if (leftArray[i] <= rightArray[j]) {
                array[k] = leftArray[i];
                i++;
            } else {
                array[k] = rightArray[j];
                j++;
            }
            k++;
        }

        // Copy remaining elements of leftArray, if any
        while (i < n1) {
            array[k] = leftArray[i];
            i++;
            k++;
        }

        // Copy remaining elements of rightArray, if any
        while (j < n2) {
            array[k] = rightArray[j];
            j++;
            k++;
        }
    }

    public static void main(String[] args) {
        int[] array = { 12, 11, 13, 5, 6, 7 };
        int n = array.length;

        mergeSort(array, 0, n - 1);

        System.out.println("Sorted array:");
        for (int value : array) {
            System.out.print(value + " ");
        }
    }
}
public class QuickSort {

    // Function to perform quick sort
    public static void quickSort(int[] array, int low, int high) {
        if (low < high) {
            // Find the pivot element such that elements smaller than pivot are on the left
            // and elements greater than pivot are on the right
            int pivotIndex = partition(array, low, high);
            
            // Recursively sort the elements on the left of the pivot
            quickSort(array, low, pivotIndex - 1);
            
            // Recursively sort the elements on the right of the pivot
            quickSort(array, pivotIndex + 1, high);
        }
    }

    // Partition the array and return the pivot index
    public static int partition(int[] array, int low, int high) {
        int pivot = array[high]; // Choosing the pivot element
        int i = (low - 1);       // Index of the smaller element

        for (int j = low; j < high; j++) {
            // If the current element is smaller than or equal to the pivot
            if (array[j] <= pivot) {
                i++;
                // Swap array[i] and array[j]
                int temp = array[i];
                array[i] = array[j];
                array[j] = temp;
            }
        }

        // Swap array[i + 1] and array[high] (or pivot)
        int temp = array[i + 1];
        array[i + 1] = array[high];
        array[high] = temp;

        return i + 1;
    }

    public static void main(String[] args) {
        int[] array = { 10, 7, 8, 9, 1, 5 };
        int n = array.length;

        quickSort(array, 0, n - 1);

        System.out.println("Sorted array:");
        for (int value : array) {
            System.out.print(value + " ");
        }
    }
}
https://community.dynamics.com/blogs/post/?postid=13c7e857-9992-ef11-ac20-7c1e525a7593

allowEditFieldsOnFormDS_W(dirPartyTable_ds, false);
dirPartyTable_ds.object(fieldNum(DirPartyTable, KnownAs)).allowEdit(true);
<!DOCTYPE html>
<html lang-"en">
 <head>
<meta charset="UTF-8">
<meta name-"viewport" content="width=device-width, initial-scale=1.0">
<title>Responsive Bootstrap Layout</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<link rel-"stylesheet"href="styles.css">
</head>
<body>
<header class="bg-primary text-white text-center py-4">
<h1>My Awesome Web Page</h1></header>
<main class-"container my-4">
<section class="row">
<div class="col-md-3 mb-4">
 <div class-"card text-center bg-success text-white h-100">
<div class-"card-body">
  Item 1
</div>
</div>
</div>
 <div class="col-md-3 mb-4">
 <div class-"card text-center bg-success text-white h-100">
<div class-"card-body">
Item 2</div>
</div></div>
<div class="col-md-3 mb-4“>
<div class-"card text-center bg-success text-white h-100">
<div class="card-body">
Item 3</div>
</div></div>
 
<div class="col-md-3 mb-4">
<div class-"card text-center bg-success text-white h-100">
<div class-"card-body">
Item 4</div>
<div></div>
</section>
<section class="d-flex justify-content-between">
<div class="flex-fill mx-2">
<div class="card text-center bg-info text-white h-100">
<div class="card-body">
Flex Item 1</div>
</div>
</div>
<div class="flex-fill mx-2">
<div class="card text-center bg-info text-white h-100">
<div class="card-body">
Flex Item 2</div>
</div>
</div>
<div class="flex-fill mx-2">
<div class="card text-center bg-info text-white h-100">
<div class="card-body">
Flex Item 3
</div>
</div>
</div>
</section></main>
<footer class-"bg-dark text-white text-center py-3">
<p>&copy; 2024 My website</p></footer>:
cscript src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
<script src-"https://cdn.jsdelivr.net/npm/@popperjs/core@2.5.3/dist/umd/popper.min.js"></script><script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrag.min.js"></script></body>
</html>





.card{
transition: transform.0.3s, background-color 0.3s;
}
.card:hover{
transform: scale(1.05);
}
.bg-success {
background-color:□#28a745 !important;
}
.bg-info {
background-color:■#17a2b8 !important;
}

#include<stdio.h>
//Author : Khadiza Sultana
void dectohex(int n){
    if(n == 0) return;
    dectohex(n / 16);
    int rem = n % 16;
    if(rem < 10) printf("%d", rem);
    else printf("%c", rem - 10 + 'A');
}
int main(){
    printf("Enter a number : ");
    scanf("%d", &num);
    printf("Hexadecimal representation of %d : ", num);
    dectohex(num);
    printf("\n");
    return 0;
}
// Author : Khadiza Sultana
#include<stdbool.h>
#include<stdio.h>
#include<stdlib.h>
#include<time.h>

#define NUM_SUITS 4
#define NUM_RANKS 13

int main(){
    bool in_hand[NUM_SUITS][NUM_RANKS] = {false};
    int num_cards, rank, suit;
    const char rank_code[] = {'2', '3', '4', '5', '6', '7', '8', '9', 't', 'j', 'q', 'k', 'a'};
    const char suit_code[] = {'c', 'd', 'h', 's'};
    srand((unsigned) time(NULL));
    printf("Enter number of cards in hand : ");
    scanf("%d", &num_cards);
    printf("Your hand : ");
    while(num_cards > 0){
        suit = rand() % NUM_SUITS;
        rank = rand() % NUM_RANKS;
        if(! in_hand[suit][rank]){
            in_hand[suit][rank] = true;
            num_cards--;
            printf("%c%c ", rank_code[rank], suit_code[suit]);
        }
    }
    printf("\n");
    return 0;
}
import { example1 } from "https://esm.town/v/stevekrouse/example1";
<?php
/**
 * Gravity Perks // Hide Perks from Plugins Page
 * https://gravitywiz.com/documentation/
 */
add_filter( 'all_plugins', function( $plugins ) {

	if ( ! is_callable( 'get_current_screen' ) || get_current_screen()->id !== 'plugins' ) {
		return $plugins;
	}

	$filtered_plugins = array();

	foreach ( $plugins as $slug => $plugin ) {
		if ( ! wp_validate_boolean( rgar( $plugin, 'Perk' ) ) ) {
			$filtered_plugins[ $slug ] = $plugin;
		}
	}

	return $filtered_plugins;
} );
import time
import requests
from threading import Thread
from colorama import Fore, Style
from queue import Queue

def measure_ttfb(url, site_name, color, ttfb_queue):
    while True:
        start_time = time.perf_counter()
        response = requests.get(url)
        end_time = time.perf_counter()

        ttfb = end_time - start_time
        ttfb_ms = ttfb * 1000
        print(f"{color}{site_name}: TTFB: {ttfb_ms:.2f} ms{Style.RESET_ALL}")
        ttfb_queue.put((site_name, ttfb_ms))
        time.sleep(interval)

def main():
    sites = [
        ("https://wordpress-193052-4604364.cloudwaysapps.com/wp-admin", "Staging", Fore.GREEN),
        ("https://contentsnare.com/wp-admin", "Production", Fore.BLUE),
        ("https://mythic-abyss-71810.wp1.site/wp-admin/", "Cloud Nine Web", Fore.CYAN),
    ]
    global interval
    interval = 5  # Interval in seconds

    ttfb_queue = Queue()

    threads = []
    for site in sites:
        url, site_name, color = site
        thread = Thread(target=measure_ttfb, args=(url, site_name, color, ttfb_queue))
        threads.append(thread)
        thread.start()

    while True:
        ttfb_values = []
        for _ in range(len(sites)):
            site_name, ttfb_ms = ttfb_queue.get()
            ttfb_values.append((site_name, ttfb_ms))

        lowest_ttfb = min(ttfb_values, key=lambda x: x[1])
        lowest_site, lowest_ttfb_value = lowest_ttfb

        for site_name, ttfb_ms in ttfb_values:
            color = next((site[2] for site in sites if site[1] == site_name), None)
            print(f"{color}{site_name}: TTFB: {ttfb_ms:.2f} ms{Style.RESET_ALL}")

        lowest_color = next((site[2] for site in sites if site[1] == lowest_site), None)
        print(f"{lowest_color}{Style.BRIGHT}**{lowest_site}: TTFB: {lowest_ttfb_value:.2f} ms**{Style.RESET_ALL}")
        print("-" * 50)
        time.sleep(interval)

if __name__ == "__main__":
    main()
import os
import requests
from bs4 import BeautifulSoup
from urllib.parse import urlparse, urljoin
import xml.etree.ElementTree as ET

# Constants
SITEMAP_URL = 'https://ultimaterides.com/post-sitemap1.xml'
OLD_DOMAIN = 'old.ultimaterides.com'
NEW_DOMAIN = 'ultimaterides.com'
BASE_DOWNLOAD_DIR = './downloaded_images'  # Change this to your desired directory

def check_image(url):
    try:
        response = requests.head(url)
        return response.status_code == 200
    except requests.RequestException:
        return False

def download_image(url, save_path):
    try:
        response = requests.get(url, stream=True)
        if response.status_code == 200:
            os.makedirs(os.path.dirname(save_path), exist_ok=True)
            with open(save_path, 'wb') as file:
                for chunk in response.iter_content(1024):
                    file.write(chunk)
            print(f"Downloaded: {url} to {os.path.abspath(save_path)}")
        else:
            print(f"Failed to download: {url}, status code: {response.status_code}")
    except requests.RequestException as e:
        print(f"Error downloading {url}: {e}")

def find_and_fix_images(blog_post_url):
    response = requests.get(blog_post_url)
    soup = BeautifulSoup(response.content, 'html.parser')
    
    images = soup.find_all('img')
    for img in images:
        img_url = img.get('src')
        if not img_url:
            continue
        
        if NEW_DOMAIN in img_url and not check_image(img_url):
            old_img_url = img_url.replace(NEW_DOMAIN, OLD_DOMAIN)
            if check_image(old_img_url):
                parsed_url = urlparse(img_url)
                save_path = os.path.join(BASE_DOWNLOAD_DIR, parsed_url.path.lstrip('/'))
                download_image(old_img_url, save_path)
            else:
                print(f"Image not found on old domain: {old_img_url}")
        else:
            print(f"Image found: {img_url} or Image is not broken")

def get_post_urls(sitemap_url):
    response = requests.get(sitemap_url)
    root = ET.fromstring(response.content)
    namespaces = {'ns': 'http://www.sitemaps.org/schemas/sitemap/0.9'}
    urls = [elem.text for elem in root.findall('.//ns:loc', namespaces)]
    return urls

def main():
    post_urls = get_post_urls(SITEMAP_URL)
    for post_url in post_urls:
        print(f"Checking blog post: {post_url}")
        find_and_fix_images(post_url)

if __name__ == '__main__':
    main()
/* Instead of using 100vh, use the following */
height: calc(var(--vh, 1vh) * 100);
<script>
document.addEventListener("DOMContentLoaded", () => {
    // Get the initial viewport height
    const initialVh = window.innerHeight * 0.01;
    // Set the value in the --vh custom property to the root of the document
    document.documentElement.style.setProperty('--vh', `${initialVh}px`);
});
</script>
@media(max-width: 500px){
	//Select the map parent element
	.map-parent{
		position: relative;
	}
	//For the map
  #OSM-map{
      height: 100%;
      width: 100%;
      position: absolute;
      top: 0;
      left: 0;
  }
}
// Calculate bounds

var bounds = new L.LatLngBounds();
locations.forEach(function(location) {
    bounds.extend([location.lat, location.lng]);
});

// Set center to the midpoint of the bounds

var centerLatLng = bounds.getCenter();

var map = L.map('OSM-map', mapOptions).setView(centerLatLng, 1);

// Adjust the map to fit all markers within the bounds

map.fitBounds(bounds);

// Zoom out a bit more by decreasing the zoom level

map.setZoom(map.getZoom() - 1); // Decrease zoom level by 1
const deepClone = (obj: any) => {
	if (obj === null) return null;
  let clone = { ...obj };

  Object.keys(clone).forEach(
	  (key) =>
      (clone[key] = typeof obj[key] === "object" ? deepClone(obj[key]) : obj[key])
   );
	 return Array.isArray(obj) && obj.length
	   ? (clone.length = obj.length) && Array.from(clone)
	   : Array.isArray(obj)
     ? Array.from(obj)
     : clone;
};
function calculateDaysBetweenDates(begin, end) {
// Author : Khadiza Sultana
#include<stdio.h>
#include<stdbool.h>
int main(){
    bool digit_seen[10] = {false};
    int digit;
    long n;
    printf("Enter a number : ");
    scanf("%ld", &n);
    while(n > 0){
        digit = n % 10;
        if(digit_seen[digit])
           break;
        digit_seen[digit] = true;
        n /= 10;
    }
    if(n > 0){
        printf("Repeated digit \n");
    }
    else{
        printf("No repeated digit \n");
    }
    return 0;
}
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>
<html>
<head>
    <title>Student Details</title>
</head>
<body>
    <h2>Welcome to the Student Portal</h2>
    
    <%
        // Get the request parameters
        String name = request.getParameter("name");
        String age = request.getParameter("age");
        
        // Check if the parameters are available
        if (name != null && age != null) {
            // Display the student details along with a welcome message
            out.println("<p>Hello, " + name + "! Welcome to the portal.</p>");
            out.println("<p>Your Age: " + age + " years old.</p>");
        } else {
            // If no parameters are passed, display an error message
            out.println("<p>Error: Missing student details.</p>");
        }
    %>
</body>
</html>


<!DOCTYPE html>
<html>
<head>
    <title>Student Details Form</title>
</head>
<body>
    <h2>Enter Your Details</h2>
    <form action="request.jsp" method="post">
        Name: <input type="text" name="name" required><br>
        Age: <input type="number" name="age" required><br>
        <input type="submit" value="Submit">
    </form>
</body>
</html>
/////////************** GRAPHS IN ADC++ **********////////////////
 
/// graphs are combination of nodes and edges 
// nodes = entity in which data is stored
// edges = connecting line which connect the nodes 
// degree = no of edges connected
 
 
 
////// types of graphs
 
// undirected graph = arrow will not be provided ... (v---u == u--v)
 
// directed graph = arrow will  be provided ... (v---u != u--v)
 
// they're two type of degree in directed 
// indegree = edges coming inside  my way  
// outdegree = edges coming out of  way  
 
// wieghted graph = theyre are wieghted writeen on edges(like numbers) default wieght is 1 
 
/// path = squence of nodes reaching (nodes written will not repeat)
 
// cyclic graph = when we create a path in which we reach the node which we written in previous order also. (like a-b-c-d and we d-a this cyclic graph)
 
/// TYPES OF REPRESENATATION 
 
/// i) adjacency matrix 
///  in this 2d matrix is made....
/// space complexity = O(n^2)
 
/// ii) adjacency list 
// in this we write the node connected with one and another in the form of list.
 
 
 
#include <iostream>
#include <unordered_map>
#include <list>
template <typename T>
using namespace std;
 
class graph {
public:
    unordered_map<T, list<T>> adj; // here we mapping a number with another number 
 
    void addEdge(T u, T v, bool direction) { // u and v are edges and bool for undirected and directed graph 
        // direction = 0 -> undirected graph
        // direction = 1 -> directed graph
 
        // creating an edge from u to v 
        adj[u].push_back(v); // created 
        if (direction == 0) { // checking directed or undirected 
            adj[v].push_back(u); // corrected from push.back to push_back
        }
    }
 
    void printAdjList() { // Removed the duplicate declaration
        for (auto i : adj) {
            cout << i.first << " -> ";
            for (auto j : i.second) {
                cout << j << ", ";
            }
            cout << endl; // Move to the next line after printing the list for a node
        }
    }
};
 
int main() {
    int n;
    cout << "Enter the number of nodes: " << endl;
    cin >> n;
 
    int m;
    cout << "Enter the number of edges: " << endl;
    cin >> m;
 
    graph g;
 
    for (int i = 0; i < m; i++) {
        int u, v;
        cout << "Enter edge (u v): "; // Prompt for edge input
        cin >> u >> v;
 
        // Ask the user for the type of graph
        int direction;
        cout << "Is the graph directed (1) or undirected (0)? ";
        cin >> direction;
 
        // creation of graph based on user input
        g.addEdge(u, v, direction);
    }
 
    // printing graph 
    g.printAdjList();
 
    return 0;
}
 
 
 
 
 
 
import tensorflow as tf
 
# 定义模型输入
images = tf.keras.Input(shape=(224, 224, 3))
 
# 使用卷积神经网络提取图像特征
x = tf.keras.layers.Conv2D(32, (3, 3), activation='relu')(images)
x = tf.keras.layers.MaxPooling2D((2, 2))(x)
x = tf.keras.layers.Conv2D(64, (3, 3), activation='relu')(x)
x = tf.keras.layers.MaxPooling2D((2, 2))(x)
x = tf.keras.layers.Flatten()(x)
 
# 使用循环神经网络分析驾驶员的行为序列
x = tf.keras.layers.LSTM(128)(x)
 
# 输出驾驶员的行为类别
outputs = tf.keras.layers.Dense(5, activation='softmax')(x)
 
# 创建模型
model = tf.keras.Model(inputs=images, outputs=outputs)
 
# 编译模型
model.compile(loss='categorical_crossentropy', optimizer='adam', metrics=['accuracy'])
 
# 训练模型
model.fit(train_data, train_labels, epochs=10)
 
# 测试模型
model.evaluate(test_data, test_labels)
 <%@ page language="java" contentType="text/html; charset=UTF-8" 
pageEncoding="UTF-8"%>
<%@ page import="java.sql.Connection, java.sql.DriverManager, 
java.sql.PreparedStatement, java.sql.ResultSet" %>
<!DOCTYPE html>
<html>
<head>
 <title>Database Connectivity Example</title>
</head>
<body>
 <h2>User List</h2>
 <%
 // Database credentials
 String jdbcUrl = "jdbc:mysql://localhost:3306/mydb";
 String jdbcUsername = "root"; // replace with your database username
 String jdbcPassword = "password"; // replace with your database password
 
 // Database connection and query execution
 Connection conn = null;
 PreparedStatement stmt = null;
 ResultSet rs = null;
 
 try {
 
 Class.forName("com.mysql.cj.jdbc.Driver");
 
 conn = DriverManager.getConnection(jdbcUrl, jdbcUsername, jdbcPassword);
   // Prepare SQL query
 String sql = "SELECT * FROM users";
 stmt = conn.prepareStatement(sql);
 
 // Execute query
 rs = stmt.executeQuery();
 
 // Display results
 %>
 <table border="1">
 <tr>
 <th>ID</th>
 <th>Name</th>
 <th>Email</th>
 </tr>
 <%
 while (rs.next()) {
 %>
 <tr>
 <td><%= rs.getInt("id") %></td>
 <td><%= rs.getString("name") %></td>
 <td><%= rs.getString("email") %></td>
 </tr>
 <%
 }
 %>
 </table>
 <%
   } catch (Exception e) {
 out.println("Database connection error: " + e.getMessage());
 }
finally { 
 if (rs != null) 
try { 
rs.close();
} 
catch (Exception e) { }
 if (stmt != null) 
try { stmt.close();
} 
catch (Exception e) { /* ignored */ }
 if (conn != null)
try {
conn.close();
} 
catch (Exception e) { /* ignored */ }
 }
 %>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.sql., javax.sql." %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		Connection conn =null;
		PreparedStatement stmt = null;
		try{
			int id = Integer.parseInt(request.getParameter("id"));
			String name  = request.getParameter("name");
			String position = request.getParameter("position");
			float salary  = Float.parseFloat(request.getParameter("salary"));
			 Class.forName("com.mysql.cj.jdbc.Driver");
			 conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/Vijaya","root","Saimanish@2004");
			 String sql = "INSERT INTO employees (id,name,position,salary) VALUES (?, ?, ?, ?)";
			 stmt = conn.prepareStatement(sql);
			 stmt.setInt(1,id);
			 stmt.setString(2, name);
			 stmt.setString(3, position);
			 stmt.setFloat(4, salary);
			int rows = stmt.executeUpdate();
			if (rows > 0) {
                out.println("<p>Employee row inserted successfully!</p>");
            } else {
                out.println("<p>Error: Employee row cannot be inserted.</p>");
            }
		} catch (Exception e) {
         out.println("Error: " + e.getMessage());
		}
	%>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="update.jsp" method="post"><br>
	Id:<input type="text" name="id" required><br>
	Name:<input type="text" name="name" required><br>
	Position:<input type="text" name="position" required><br>
	Salary:<input type="text" name="salary" required><br>
	Submit:<input type="submit"><br>
	</form>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<form action="insert.jsp" method="post">
	Id:<input type="text" name="id" required><br>
	Salary:<input type="text" name="salary" required><br>
	Submit:<input type="submit"><br>
	</form>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="java.sql., javax.sql." %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%
		Connection conn =null;
		PreparedStatement stmt = null;
		try{
			int id = Integer.parseInt(request.getParameter("id"));
			float salary  = Float.parseFloat(request.getParameter("salary"));
			 Class.forName("com.mysql.cj.jdbc.Driver");
			 conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/Vijaya","root","Saimanish@2004");
			 String sql = "update employees set salary=? where id=?";
			 stmt = conn.prepareStatement(sql);
			 stmt.setFloat(1, salary);
			 stmt.setInt(2,id);
			int rows = stmt.executeUpdate();
			if (rows > 0) {
                out.println("<p>Employee row updated successfully!</p>");
            } else {
                out.println("<p>Error: Employee row cannot be updated.</p>");
            }
		} catch (Exception e) {
         out.println("Error: " + e.getMessage());
		}
	%>
</body>
</html>
function loadAllTransactions() {
    return new Promise((resolve, reject) => {
        let lastHeight = 0;
        const maxAttempts = 20;
        let attempts = 0;

        const scrollInterval = setInterval(() => {
            // Scroll to bottom of the page
            window.scrollTo(0, document.body.scrollHeight);
            
            // Wait a moment for new content to load
            setTimeout(() => {
                const currentHeight = document.body.scrollHeight;
                
                // If no new content loaded
                if (currentHeight === lastHeight) {
                    attempts++;
                    
                    // Stop if we've made max attempts or no new content
                    if (attempts >= maxAttempts) {
                        clearInterval(scrollInterval);
                        resolve();
                    }
                } else {
                    // Reset attempts if new content found
                    attempts = 0;
                }
                
                lastHeight = currentHeight;
            }, 1000);
        }, 1500);
    });
}

// Execute and log
loadAllTransactions().then(() => {
    console.log('All transactions loaded');
});
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery Smooth Hover Effect</title>
<style>
    .box{
        width: 500px;
        height: 300px;
        border: 5px solid #000;
    }
</style>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
    $(".box").hover(function(){
        $(this).find("img").stop(true, true).fadeOut();
    }, function(){
        $(this).find("img").stop(true, true).fadeIn();
    });
});
</script>
</head>
<body>
    <div class="box">
    	<img src="../jquery/images/galaxy_image.jpg" alt="Cloudy Sky" height="300px" width="500px">
    </div>
    <p><strong>Note:</strong> Place and remove the mouse pointer over the image to see the effect.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery Select Element by Class</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
    // Highlight elements with class mark
    $(".mark").css("background", "yellow");
    $(".markfont").css("color","blue");
});
</script>
</head>
<body>
    <p class="mark">This is a paragraph.</p>
    <p class="mark">This is another paragraph.</p>
    <p class="markfont">This is one more paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Executing a Function on Click Event in jQuery</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<style>
    p{
        padding: 20px;
        font: 20px sans-serif;
        background: khaki;
    }
</style>
<script>
$(document).ready(function(){
    $("p").click(function(){
        $(this).slideUp();
    });
});
</script>
</head>
<body>
    <p>Click on me and I'll disappear.</p>
    <p>Click on me and I'll disappear.</p>
    <p>Click on me and I'll disappear.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Example of jQuery Fade-In and Fade-Out Effects with Different Speeds</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<style>
    p{
        padding: 15px;
        background: #DDA0DD;
    }
</style>
<script>
$(document).ready(function(){
    // Fading out displayed paragraphs with different speeds
    $(".out-btn").click(function(){
        $("p.normal").fadeOut();
        $("p.fast").fadeOut("fast");
        $("p.slow").fadeOut("slow");
        $("p.very-fast").fadeOut(50);
        $("p.very-slow").fadeOut(2000);
    });
    
    // Fading in hidden paragraphs with different speeds
    $(".in-btn").click(function(){
        $("p.normal").fadeIn();
        $("p.fast").fadeIn("fast");
        $("p.slow").fadeIn("slow");
        $("p.very-fast").fadeIn(50);
        $("p.very-slow").fadeIn(2000);
    });
});
</script>
</head>
<body>
    <button type="button" class="out-btn">Fade Out Paragraphs</button>
    <button type="button" class="in-btn">Fade In Paragraphs</button>
    <p class="very-fast">This paragraph will fade in/out with very fast speed.</p>
    <p class="normal">This paragraph will fade in/out with default speed.</p>
    <p class="fast">This paragraph will fade in/out with fast speed.</p>
    <p class="slow">This paragraph will fade in/out with slow speed.</p>
    <p class="very-slow">This paragraph will fade in/out with very slow speed.</p>
</body>
</html>                                		
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>jQuery Select Element by Compound Selector</title>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script>
$(document).ready(function(){
    // Highlight only paragraph elements with class mark
    $("p.mark").css("background", "yellow");
  
    // Highlight only span elements inside the element with ID mark
    $("#mark span").css("background", "yellow");
  
    // Highlight li elements inside the ul elements
    $("ul li").css("background", "yellow");
  
    // Highlight li elements only inside the ul element with id mark
    $("ul#mark li").css("background", "red");
  
    // Highlight li elements inside all the ul element with class mark
    $("ul.mark li").css("background", "green");
  
    // Highlight all anchor elements with target blank
    $('a[target="_blank"]').css("background", "yellow");
});
</script>
</head>
<body>
    <p>This is a paragraph.</p>
    <p class="mark">This is another paragraph.</p>
    <p>This is one more paragraph.</p>
    <ul>
        <li>List item one</li>
        <li>List item two</li>
        <li>List item three</li>
    </ul>
    <ul id="mark">
        <li>List item one</li>
        <li>List <span>item two</span></li>
        <li>List item three</li>
    </ul>
    <ul class="mark">
        <li>List item one</li>
        <li>List item two</li>
        <li>List item three</li>
    </ul>
    <p>Go to <a href="https://www.tutorialrepublic.com/" target="_blank">Home page</a></p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Simple Navbar</title>
    <style>
        /* Basic styling for the navbar */
        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            background-color:black;
            padding: 10px;
            color:white;
        }

        .navbar a {
            color: green;
          
            padding: 0px 15px;
        }

        .navbar a:hover {
            background-color:red;
        }

        /* Styling for the logo */

    </style>
</head>
<body>

    <!-- Navbar -->
    <div class="navbar">
        <p>cvr</p>
        <div >
            <a href="#home">Home</a>
            <a href="#about">About</a>
            <a href="#contact">Contact</a>
        </div>
    </div>

</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Mobile-First Webpage</title>
    <style>
        /* Basic mobile styles */
        body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f4f4;
        }

        header {
            background-color: #333;
            color: #fff;
            padding: 10px;
            text-align: center;
        }

        nav {
            background-color: #555;
            color: #fff;
            text-align: center;
            padding: 10px;
        }

        nav a {
            color: #fff;
            text-decoration: none;
            margin: 0 10px;
        }

        section {
            padding: 20px;
            text-align: center;
        }

        footer {
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 10px;
        }

        /* Larger screens: tablet and above */
        @media (min-width: 768px) {
            header {
                padding: 20px;
            }

            nav {
                text-align: left;
                padding: 20px;
            }

            section {
                max-width: 750px;
                margin: 0 auto;
            }
        }

        /* Larger screens: desktop and above */
        @media (min-width: 1024px) {
            nav {
                padding: 30px;
            }

            section {
                max-width: 1000px;
            }
        }
    </style>
</head>
<body>
    <header>
        <h1>Welcome to My Mobile-First Webpage</h1>
    </header>

    <nav>
        <a href="#">Home</a>
        <a href="#">About</a>
        <a href="#">Services</a>
        <a href="#">Contact</a>
    </nav>

    <section>
        <h2>About Us</h2>
        <p>We are a mobile-first company focused on providing great content and services!</p>
    </section>

    <footer>
        <p>&copy; 2024 Mobile-First Webpage</p>
    </footer>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Product Card</title>
    <style>
        .card { 
            width: 250px;
             padding: 15px; 
             border: 1px solid #ccc; 
             border-radius: 10px; 
             text-align: center; }
        img {
             width: 100%;
             height: 150px; 
             object-fit: cover; 
            }
    </style>
</head>
<body>

    <div class="card">
        <img src="food.png" alt="Product">
        <h3>Product Name</h3>
        <p>$25.00</p>
        <button>Add to Cart</button>
    </div>

</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Simple Product Cards</title>
  <style>
    /* Styling for the container */
    .container {
      max-width: 800px;
      margin: 20px auto;
      padding: 10px;
      text-align: center;
    }

    /* Grid layout */
    .product-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

    /* Card styling */
    .card {
      border: 1px solid #ccc;
      border-radius: 8px;
      width: 200px;
      padding: 10px;
      text-align: center;
      background: #fff;
    }

    .card img {
      max-width: 100%;
      border-radius: 8px;
    }

    .card-title {
      font-size: 1.2rem;
      margin: 10px 0;
    }

    .card-price {
      color: green;
      font-weight: bold;
    }
  </style>
</head>
<body>
  <div class="container">
    <h1>Product Cards</h1>
    <div class="product-grid" id="product-container"></div>
  </div>

  <script>
    // Array of products
    const products = [
      { name: "Laptop", price: "$999", image: "https://via.placeholder.com/150" },
      { name: "Phone", price: "$699", image: "https://via.placeholder.com/150" },
      { name: "Headphones", price: "$199", image: "https://via.placeholder.com/150" }
    ];

    // Display products
    const container = document.getElementById('product-container');

    products.forEach(product => {
      // Create card
      const card = document.createElement('div');
      card.className = 'card';

      // Add content to card
      card.innerHTML = `
        <img src="${product.image}" alt="${product.name}">
        <h2 class="card-title">${product.name}</h2>
        <p class="card-price">${product.price}</p>
      `;

      // Append card to container
      container.appendChild(card);
    });
  </script>
</body>
</html>
package HelloServlet;

import jakarta.servlet.ServletConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.io.PrintWriter;

/**
 * Servlet implementation class hitcount
 */
@WebServlet("/hitcount")
public class hitcount extends HttpServlet {
	private static final long serialVersionUID = 1L;
    private int requestcount;
    /**
     * @see HttpServlet#HttpServlet()
     */
    public hitcount() {
        super();
        // TODO Auto-generated constructor stub
    }

	/**
	 * @see Servlet#init(ServletConfig)
	 */
	public void init(ServletConfig config) throws ServletException {
		// TODO Auto-generated method stub
		requestcount =0;
		System.out.println("servlet is initialised");	}

	/**
	 * @see Servlet#destroy()
	 */
	public void destroy() {
		// TODO Auto-generated method stub
	}

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		response.getWriter().append("Served at: ").append(request.getContextPath());
		requestcount++;
		response.setContentType("text/html");
        // Write the response
        PrintWriter out = response.getWriter();
        out.println("<html>");
        out.println("<head><title>Hit Counter</title></head>");
        out.println("<body>");
        out.println("<h1>Hit Counter Servlet</h1>");
        out.println("<p>This page has been accessed " + requestcount + " times.</p>");
        out.println("</body>");
        out.println("</html>");
	}

	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		doGet(request, response);
	}

}
import java.io.IOException;
import java.io.PrintWriter;

import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

@WebServlet("/StartingURL")
public class StartingURLServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    
    public StartingURLServlet() {
        super();
        // TODO Auto-generated constructor stub
    }

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		response.getWriter().append("Served at: ").append(request.getContextPath());
	
	  PrintWriter out=response.getWriter();
        response.setContentType("text/html;charset=UTF-8");
        
        String name = request.getParameter("username");
        String pass = request.getParameter("password");
        String email=request.getParameter("email");
        String sessionid=response.encodeURL(email);
        if(pass.equals("rajanakash@123"))
        {
            
        	out.print("<br><a href='Ending?name="+name+"&email="+sessionid+"'>visit</a>");

        	}

	}

	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		doGet(request, response);
	}

}



import java.io.IOException;
import java.io.PrintWriter;

import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;


@WebServlet("/Ending")
public class EndingUrlServlet extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    /**
     * @see HttpServlet#HttpServlet()
     */
    public EndingUrlServlet() {
        super();
        // TODO Auto-generated constructor stub
    }

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		response.getWriter().append("Served at: ").append(request.getContextPath());
	
	String u1=request.getParameter("user_name");
	String e1=request.getParameter("email");
	response.setContentType("text/html");
	PrintWriter out=response.getWriter();
	out.println("<h1> Hi !!! Welcome  <br>"+u1+" your email id is "+e1+"</h1>");
	
	}

	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		doGet(request, response);
	}

}


<!DOCTYPE html>


<html>


<head>


<meta charset="ISO-8859-1">


<title>LoginPage</title>


<style >


div{ 


display:block;


background-color:lightgreen;


color:white;


}


</style>


</head>


<body>


<div>


<form action="HiddenForm1" method="post" >


<h1> Session Management Using Hidden Forms </h1>


<label>Username:</label><input type="text" name="username" ><br>


<label>Password:</label><input type="password" name="password"><br>


<label>email: </label><input type="text" name="email"><br>






<button type="submit" value="submit" >Submit</button>


</form>


</div>


</body>


</html>
import java.io.IOException;
import java.io.PrintWriter;

import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class HiddenFormServlet1
 */
@WebServlet("/HiddenForm1")
public class HiddenFormServlet1 extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    /**
     * @see HttpServlet#HttpServlet()
     */
    public HiddenFormServlet1() {
        super();
        // TODO Auto-generated constructor stub
    }

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		response.getWriter().append("Served at: ").append(request.getContextPath());
		response.setContentType("text/html;charset=UTF-8");
		PrintWriter out=response.getWriter();
		String name = request.getParameter("username");
        String pass = request.getParameter("password");
        String email=request.getParameter("email");
        if(pass.equals("rajanakash@123"))
        	
        {
             out.println("<form action='HiddenForm2' >");
             out.println("<input type='hidden' name='user' value=' "+name+" '>");
             out.println("<input type='hidden' name='email' value=' "+email+" '>");    
             out.println("<input type='submit' value='submit' >");
             out.println("</form>");
             return;
        }
        else
	out.println("<h1> Invalid User</h1>");
	}

	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		doGet(request, response);
	}

}





import java.io.IOException;
import java.io.PrintWriter;

import jakarta.servlet.ServletException;
import jakarta.servlet.annotation.WebServlet;
import jakarta.servlet.http.HttpServlet;
import jakarta.servlet.http.HttpServletRequest;
import jakarta.servlet.http.HttpServletResponse;

/**
 * Servlet implementation class HiddenFormServlet2
 */
@WebServlet("/HiddenForm2")
public class HiddenFormServlet2 extends HttpServlet {
	private static final long serialVersionUID = 1L;
       
    /**
     * @see HttpServlet#HttpServlet()
     */
    public HiddenFormServlet2() {
        super();
        // TODO Auto-generated constructor stub
    }

	/**
	 * @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
	
		response.getWriter().append("Served at: ").append(request.getContextPath());
		
		String u1=request.getParameter("user");
		String e1=request.getParameter("email");
		response.setContentType("text/html");
		PrintWriter out=response.getWriter();
		out.println("<h1> Hi !!! Welcome <br>"+u1+" your email id is "+e1+"</h1>");

	}
	
	

	/**
	 * @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
	 */
	protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		doGet(request, response);
	}

}




<!DOCTYPE html>


<html>


<head>


<meta charset="ISO-8859-1">


<title>LoginPage</title>


<style >


div{ 


display:block;


background-color:lightgreen;


color:white;


}


</style>


</head>


<body>


<div>


<form action="Starting" method="post" >


<h1> Session Management Using URL rewriting </h1>


<label>Username:</label><input type="text" name="username" ><br>


<label>Password:</label><input type="password" name="password"><br>


<label>email: </label><input type="text" name="email"><br>






<button type="submit" value="submit" >Submit</button>


</form>


</div>


</body>


</html>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Simple Bootstrap Page</title>
  <!-- Bootstrap CSS -->
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

  <!-- Navbar -->
  <nav class="navbar navbar-expand-lg navbar-light bg-light">
    <a class="navbar-brand" href="#">SimpleSite</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
      <ul class="navbar-nav ml-auto">
        <li class="nav-item"><a class="nav-link" href="#">Home</a></li>
        <li class="nav-item"><a class="nav-link" href="#">About</a></li>
        <li class="nav-item"><a class="nav-link" href="#">Services</a></li>
        <li class="nav-item"><a class="nav-link" href="#">Contact</a></li>
      </ul>
    </div>
  </nav>

  <!-- Hero Section -->
  <section class="jumbotron text-center">
    <div class="container">
      <h1 class="display-4">Welcome to SimpleSite</h1>
      <p class="lead">Your go-to place for simple and effective web solutions.</p>
      <a href="#" class="btn btn-primary">Get Started</a>
    </div>
  </section>

  <!-- Footer -->
  <footer class="bg-light text-center py-3">
    <p>&copy; 2024 SimpleSite. All Rights Reserved.</p>
  </footer>

  <!-- Bootstrap JS and jQuery -->
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>
<!ELEMENT message (sender, receiver, subject, body)>
<!ELEMENT sender (#PCDATA)>
<!ELEMENT receiver (#PCDATA)>
<!ELEMENT subject (#PCDATA)>
<!ELEMENT body (#PCDATA)>


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE message SYSTEM "Message.dtd">
<message>
    <sender>Admin</sender>
    <receiver>All Users</receiver>
    <subject>System Update</subject>
    <body>The system will be updated at midnight. Please save your work to avoid data loss.</body>
</message>
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Simple Bootstrap Page</title>
  <!-- Bootstrap CSS -->
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>

  <!-- Navbar -->
  <nav class="navbar navbar-expand-lg navbar-light bg-light">
    <a class="navbar-brand" href="#">SimpleSite</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
      <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="navbarNav">
      <ul class="navbar-nav ml-auto">
        <li class="nav-item"><a class="nav-link" href="#">Home</a></li>
        <li class="nav-item"><a class="nav-link" href="#">About</a></li>
        <li class="nav-item"><a class="nav-link" href="#">Services</a></li>
        <li class="nav-item"><a class="nav-link" href="#">Contact</a></li>
      </ul>
    </div>
  </nav>

  <!-- Hero Section -->
  <section class="jumbotron text-center">
    <div class="container">
      <h1 class="display-4">Welcome to SimpleSite</h1>
      <p class="lead">Your go-to place for simple and effective web solutions.</p>
      <a href="#" class="btn btn-primary">Get Started</a>
    </div>
  </section>

  <!-- Footer -->
  <footer class="bg-light text-center py-3">
    <p>&copy; 2024 SimpleSite. All Rights Reserved.</p>
  </footer>

  <!-- Bootstrap JS and jQuery -->
  <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.3/dist/umd/popper.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>
star

Sun Nov 17 2024 21:59:58 GMT+0000 (Coordinated Universal Time) https://www.usb-over-network.com/usb-over-network-linux-packages.html

@Dewaldt

star

Sun Nov 17 2024 21:08:15 GMT+0000 (Coordinated Universal Time) https://forums.powershell.org/t/getting-installed-applications-with-powershell/23726

@baamn #powershell

star

Sun Nov 17 2024 18:28:17 GMT+0000 (Coordinated Universal Time) https://forums.powershell.org/t/how-to-find-metadata-is-available-from-file-properties/23751

@baamn #powershell #metadata #comobject #shell.application

star

Sun Nov 17 2024 18:27:01 GMT+0000 (Coordinated Universal Time) https://forums.powershell.org/t/how-to-find-metadata-is-available-from-file-properties/23751

@baamn #metadata #powershell #comobject #shell.application

star

Sun Nov 17 2024 17:52:37 GMT+0000 (Coordinated Universal Time)

@signup1

star

Sun Nov 17 2024 17:52:01 GMT+0000 (Coordinated Universal Time)

@signup1

star

Sun Nov 17 2024 16:31:39 GMT+0000 (Coordinated Universal Time) https://www.thewindowsclub.com/how-to-turn-on-or-off-windows-powershell-script-execution

@Curable1600 #powershell

star

Sun Nov 17 2024 14:48:47 GMT+0000 (Coordinated Universal Time)

@MinaTimo

star

Sun Nov 17 2024 14:23:16 GMT+0000 (Coordinated Universal Time) https://www.sectoralarm.fr/q/home/pub/

@MattMill

star

Sun Nov 17 2024 14:21:31 GMT+0000 (Coordinated Universal Time) https://www.sectoralarm.fr/q/home/pub/

@MattMill

star

Sun Nov 17 2024 13:55:28 GMT+0000 (Coordinated Universal Time)

@sem

star

Sun Nov 17 2024 04:13:49 GMT+0000 (Coordinated Universal Time) https://docs.google.com/document/d/1nLRFbw1hoW-NNkprDDRZK8DXs7rEhpj_aHc_KRQOLlI/edit?tab

@sweetmagic

star

Sun Nov 17 2024 02:09:56 GMT+0000 (Coordinated Universal Time)

@khadizasultana #loop #c #array

star

Sat Nov 16 2024 15:45:06 GMT+0000 (Coordinated Universal Time) https://www.skool.com/ai-automation-society/classroom/832a1e6e?md

@sweetmagic

star

Sat Nov 16 2024 15:03:31 GMT+0000 (Coordinated Universal Time)

@khadizasultana #loop #c #array

star

Sat Nov 16 2024 14:30:42 GMT+0000 (Coordinated Universal Time) https://docs.val.town/sdk/

@sweetmagic

star

Sat Nov 16 2024 14:28:26 GMT+0000 (Coordinated Universal Time) https://docs.val.town/reference/import/

@sweetmagic

star

Sat Nov 16 2024 12:00:02 GMT+0000 (Coordinated Universal Time)

@edcloudnineweb

star

Sat Nov 16 2024 11:56:02 GMT+0000 (Coordinated Universal Time)

@edcloudnineweb

star

Sat Nov 16 2024 11:54:41 GMT+0000 (Coordinated Universal Time)

@edcloudnineweb

star

Sat Nov 16 2024 11:50:21 GMT+0000 (Coordinated Universal Time)

@edcloudnineweb

star

Sat Nov 16 2024 11:49:02 GMT+0000 (Coordinated Universal Time)

@edcloudnineweb

star

Sat Nov 16 2024 11:45:18 GMT+0000 (Coordinated Universal Time)

@edcloudnineweb

star

Sat Nov 16 2024 11:43:47 GMT+0000 (Coordinated Universal Time)

@edcloudnineweb

star

Sat Nov 16 2024 10:43:09 GMT+0000 (Coordinated Universal Time) https://code.pieces.app/onboarding/chrome/welcome

@asadiftekhar10

star

Sat Nov 16 2024 10:40:50 GMT+0000 (Coordinated Universal Time) https://docs.github.com/en/copilot/quickstart

@redflashcode

star

Sat Nov 16 2024 09:35:35 GMT+0000 (Coordinated Universal Time)

@khadizasultana #loop #c #array

star

Sat Nov 16 2024 08:42:06 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 07:20:35 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151

star

Sat Nov 16 2024 07:13:37 GMT+0000 (Coordinated Universal Time) https://blog.csdn.net/feng1790291543/article/details/137729551

@Tez

star

Sat Nov 16 2024 06:50:54 GMT+0000 (Coordinated Universal Time) https://studyprofy.com/law-essay-writing-service/

@dollypartonn ##lawessaywriter

star

Sat Nov 16 2024 04:12:46 GMT+0000 (Coordinated Universal Time)

@wtlab

star

Sat Nov 16 2024 04:08:20 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 04:07:55 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 03:33:34 GMT+0000 (Coordinated Universal Time)

@ghostbusted #sql #dune.xyz

star

Sat Nov 16 2024 03:04:17 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 03:02:58 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 03:01:58 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 03:00:46 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 02:59:22 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 02:38:34 GMT+0000 (Coordinated Universal Time)

@wtlab

star

Sat Nov 16 2024 02:38:06 GMT+0000 (Coordinated Universal Time)

@wtlab

star

Sat Nov 16 2024 02:37:41 GMT+0000 (Coordinated Universal Time)

@wtlab

star

Sat Nov 16 2024 02:17:34 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 02:16:28 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 02:15:52 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 02:12:26 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 02:12:21 GMT+0000 (Coordinated Universal Time)

@wtlab

star

Sat Nov 16 2024 02:11:46 GMT+0000 (Coordinated Universal Time)

@login123

star

Sat Nov 16 2024 02:10:01 GMT+0000 (Coordinated Universal Time)

@login123

Save snippets that work with our extensions

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