Snippets Collections
$UpperCase=@('A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z')
$LowerCase=@('a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z')
$Numbers=@('1','2','3','4','5','6','7','8','9','0')
$Symbols=@('!','@','$','?','<','>','*','&')
label {
      font-family: $Josef;
      font-size: 1.5rem;
      line-height: 5.2rem;
      position: absolute;
      left: 22px;
      color: $black;
      z-index: 1;
      transition: transform .15s ease-out, font-size .15s ease-out;
    }

    &.focused {
      label {
        top: 0px;
        transform: translateY(5%);
        line-height: 1.5rem;
        font-size: 1.2rem;
        color: $black;
      }
    }
@"C:\temp4\database\01_plano_execucao_GFF-261.sql";
In case anyone else has a similar issue, I got the same error message when using a personal Microsoft account, just like OP.

So, if you are using a personal account in a registered Azure Active Directory(AAD) app, that type isn't Personal Microsoft accounts only or Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g., Skype, Xbox) you will get this error. Also, you need to use the correct endpoint to avoid errors.

The main problem is our account type. As a personal account, there are some restrictions to access one drive files. These restrictions are:

You can only use Oauth2 Code Flow or Oauth2 Token Flow. Both are interactive approaches. [1][2]
Your application registered in AAD needs to be Personal Microsoft accounts only or Accounts in any organizational directory (Any Azure AD directory - Multitenant) and personal Microsoft accounts (e.g. Skype, Xbox) and each one have a different endpoint to acquire the access token (That you can see clicking on endpoint button, near the delete app button in app page). [3]
Enable these delegated permissions to your application registered in AAD: Files.Read, Files.Read.All, Files.ReadWrite, and Files.ReadWrite.All.
With these restrictions in mind, you can set up a workflow in Postman following these two steps(I'm using endpoints of Personal Microsoft accounts only app type and using Oauth2 Code Flow):

Important note: To use code flow, you need to enable Access tokens in Implicit grant and hybrid flows on Authentication ADD app sidebar menu.

Aquire access token:
https://login.microsoftonline.com/consumers/oauth2/v2.0/authorize?client_id=YOUR_CLIENT_ID&response_type=token&redirect_uri=ONE_OF_REGISTERED_REDIRECT_URI&scope=Files.Read Files.Read.All Files.ReadWrite Files.ReadWrite.All
 Save
After you fill in your information on Postman's request, I recommend using a browser and network inspection to log in with a Microsoft account and permit the app. You are getting the access token via network inspection.

List one drive root files:
https://graph.microsoft.com/v1.0/me/drive/root/children
Add a new header:
Authorization
With value:
Bearer ACCESS_TOKE_OF_STEP_1
 Save
In my angular application, due to this interactive way restriction to access one drive files, I changed my authentication method to use Microsoft Authentication Library(MSAL) to avoid every time that need to send an API request open a popup window to authenticate a valid Microsoft account.

import numpy as np
import pandas as pd
import statsmodels.api as sm
from statsmodels.formula.api import ols

A=[10,12,13,11,10,14,15,13]
B=[9,11,10,12,13]
C=[11,12,15,14,12,13]
All_scores=A+B+C
print(All_scores)

company_name=(['A']*len(A)+['B']*len(B)+['C']*len(C))
print(company_name)

df=pd.DataFrame({'company':company_name, 'output':All_scores})
print(df)

model=ols('output~company',data=df).fit()
anova_table1=sm.stats.anova_lm(model,typ=1)
print(anova_table1)

p_val= 0.212944

if p_val>0.05:
    print('Accept H0')
else:
    print('Reject H0')
import numpy as np
import pandas as pd
import statsmodels.api as sm
from statsmodels.formula.api import ols

y=(18,15,15,17,17,16,14,14,13,16,15,14)
print(y)

v=('A','A','A','A','B','B','B','B','C','C','C','C')
print(v)

c=('I','II','III','IV','I','II','III','IV','I','II','III','IV')
print(c)

dict = {'Yield':y,'Variety':v,'Chemist':c}
print(dict)

twd = pd.DataFrame(dict)
print(twd)

model=ols('Yield~Variety+Chemist',data=twd).fit()
anova_two_able=sm.stats.anova_lm(model,typ=2)
anova_two_able
import numpy as np
import pandas as pd
from scipy import stats

df=pd.read_excel("C:/Users/vishw/OneDrive/Desktop/Book.xlsx")
df

f,p = stats.f_oneway(df['A'],df['B'],df['C'])
f,p

if p>0.05:
    print('Accept H0')
else:
    print('Reject H0')
ID tokens
ID tokens are passed to websites and native clients. ID tokens contain profile information about a user. An ID token is bound to a specific combination of user and client. ID tokens are considered valid until their expiry. Usually, a web application matches a user's session lifetime in the application to the lifetime of the ID token issued for the user. You can adjust the lifetime of an ID token to control how often the web application expires the application session, and how often it requires the user to be re-authenticated with the Microsoft identity platform (either silently or interactively).
{
  "name": "com.[company-name].[package-name]",
  "version": "1.2.3",
  "displayName": "Package Example",
  "description": "This is an example package",
  "unity": "2019.1",
  "unityRelease": "0b5",
  "documentationUrl": "https://example.com/",
  "changelogUrl": "https://example.com/changelog.html",
  "licensesUrl": "https://example.com/licensing.html",
  "dependencies": {
    "com.[company-name].some-package": "1.0.0",
    "com.[company-name].other-package": "2.0.0"
 },
 "keywords": [
    "keyword1",
    "keyword2",
    "keyword3"
  ],
  "author": {
    "name": "Unity",
    "email": "unity@example.com",
    "url": "https://www.unity3d.com"
  }
}

result = None
result = app.acquire_token_silent(config["scope"], account=None)

if not result:
    logging.info("No suitable token exists in cache. Let's get a new one from AAD.")
    result = app.acquire_token_for_client(scopes=config["scope"])
Token lifetime
Refresh tokens have a longer lifetime than access tokens. The default lifetime for the refresh tokens is 24 hours for single page apps and 90 days for all other scenarios
#include <stdio.h>
#include <stdlib.h>

int mutex = 1, full = 0, empty = 3, x = 0;

void wait(int *s)
{
   (*s)--;
}

void signal(int *s)
{
   (*s)++;
}

void producer()
{
   wait(&mutex);
   if (full == empty)
   {
      printf("Buffer is full\n");
      signal(&mutex);
      return;
   }
   empty--;
   full++;
   x++;
   printf("Producer produces the item %d\n", x);
   signal(&mutex);
}

void consumer()
{
   wait(&mutex);
   if (full == 0)
   {
      printf("Buffer is empty\n");
      signal(&mutex);
      return;
   }
   full--;
   empty++;
   printf("Consumer consumes item %d\n", x);
   x--;
   signal(&mutex);
}

int main()
{
   int n;

   printf("\n 1.Producer  \n 2.Consumer \n 3.Exit");
   while (1)
   {
      printf("\n Enter your choice:");
      scanf("%d", &n);
      switch (n)
      {
      case 1:
         if ((mutex == 1) && (empty != 0))
            producer();
         else
            printf("Buffer is full\n");
         break;
      case 2:
         if ((mutex == 1) && (full != 0))
            consumer();
         else
            printf("Buffer is empty\n");
         break;
      case 3:
         exit(0);
         break;
      }
   }
   return 0;
}
    public JedisCluster jedisCluster() {
        Set<HostAndPort> hostAndPorts = configModel.getNodes().stream().map(hp -> new HostAndPort(hp.getHost(), hp.getPort())).collect(toSet());
        if (!StringUtils.isEmpty(configModel.getPassword())) {
            return new JedisCluster(hostAndPorts, configModel.getConnectionTimeout(), configModel.getSoTimeout(),
                    configModel.getMaxAttempts(), configModel.getPassword(), configModel.getPoolConfig());
        }
        JedisCluster jedisCluster = new JedisCluster(hostAndPorts, configModel.getPoolConfig());
        log.info("jedisCluster {}", jedisCluster);
        return jedisCluster;
    }
sudo systemctl stop <service.name>
$ docker run -d --name my-postgres-container -p 5555:5432 my-postgres-image
FROM postgres 
ENV POSTGRES_PASSWORD postgres 
ENV POSTGRES_DB testdb 
COPY init.sql /docker-entrypoint-initdb.d/
root@377ef2b9b13e:/# psql -U postgres
psql (11.4 (Debian 11.4-1.pgdg90+1))
Type "help" for help.
postgres=#
docker run --name postgres-docker -e POSTGRES_PASSWORD=postgres -p 5432:5432 -d postgres
import React, { useEffect, useState } from "react";
import { useSupabaseClient } from "@supabase/auth-helpers-react";
import { HeadingLink, MinimalPage, PageHeading, Spinner } from "ui";
import dayjs from "dayjs";
import { useRouter } from "next/router";

// Define types for users on and off shift
type UserOnShift = {
  shift_start: string | null;
  user: string; // Email from 'users_view'
};

type OfflineUser = {
  user: string; // Email from 'users_view'
};

const ShiftTable = () => {
  const [usersOnShift, setUsersOnShift] = useState<UserOnShift[]>([]);
  const [usersOffShift, setUsersOffShift] = useState<OfflineUser[]>([]);
  const [loading, setLoading] = useState(true);
  const [error, setError] = useState("");
  const [showModal, setShowModal] = useState(false);
  const [selectedUser, setSelectedUser] = useState<UserOnShift | null>(null);
  const supabaseClient = useSupabaseClient();
  const router = useRouter();
  const excludedUuid = "2b78abeb-133d-4248-8469-21620903cbb3";

  useEffect(() => {
    const fetchUsers = async () => {
      setLoading(true);
      setError("");

      try {
        const { data: usersOnShiftData, error: onShiftError } =
          await supabaseClient
            .from("UserLastWorkedOn")
            .select("shift_start, user, users_view (email)")
            .not("user", "eq", excludedUuid)
            .not("shift_start", "is", null);

        const { data: usersOffShiftData, error: offShiftError } =
          await supabaseClient
            .from("UserLastWorkedOn")
            .select("user, users_view (email)")
            .not("user", "eq", excludedUuid)
            .is("shift_start", null);

        if (onShiftError || offShiftError) {
          setError(
            onShiftError?.message ||
              offShiftError?.message ||
              "Failed to fetch user data."
          );
          return;
        }

        const sortedOnShift = usersOnShiftData
          .map((user) => ({
            shift_start: user.shift_start,
            user: user.users_view?.email ?? user.user,
          }))
          .sort((a, b) => a.user.localeCompare(b.user));

        const sortedOffShift = usersOffShiftData
          .map((user) => ({
            user: user.users_view?.email ?? user.user,
          }))
          .sort((a, b) => a.user.localeCompare(b.user));

        setUsersOnShift(sortedOnShift);
        setUsersOffShift(sortedOffShift);
      } catch (err) {
        setError("Failed to fetch user data: " + err.message);
      } finally {
        setLoading(false);
      }
    };

    fetchUsers();
  }, [supabaseClient]);

  const handleUserClick = (user: UserOnShift) => {
    setSelectedUser(user);
    setShowModal(true);
  };

  const closeModal = () => {
    setShowModal(false);
    setSelectedUser(null);
  };

  const navigateToUserHistory = () => {
    if (selectedUser) {
      router.push(`/user-history/${selectedUser.user}`); // Adjust the route as needed
      closeModal();
    }
  };

  return (
    <MinimalPage
      pageTitle="Shift Table | Email Interface"
      pageDescription="Spot Ship Email Interface | Shift Table"
      commandPrompt
    >
      <div className="w-full">
        <HeadingLink icon="back" text="Home" href="/secure/home" />
      </div>
      <PageHeading text="Spot Ship Shift Table" />
      <div className="mb-4 text-sm text-gray-400">
        {usersOnShift.length} user(s) currently on shift. Offline users:{" "}
        {usersOffShift.length}.
      </div>
      {loading ? (
        <Spinner />
      ) : error ? (
        <p className="text-red-500">{error}</p>
      ) : (
        <>
          <div className="mt-8 w-full px-4">
            {renderUsersGrid(
              "Users Currently On Shift",
              usersOnShift,
              true,
              handleUserClick
            )}
          </div>
          <div className="mt-8 w-full px-4">
            {renderUsersGrid(
              "Offline Users",
              usersOffShift,
              false,
              handleUserClick
            )}
          </div>
        </>
      )}
      {showModal && selectedUser && (
        <div className="absolute bottom-0 left-0 right-0 top-0 flex items-center justify-center bg-black bg-opacity-50">
          <div className="rounded-lg bg-white p-4 shadow-lg">
            <h3 className="text-lg font-bold">User Actions</h3>
            <p>{`Show ${selectedUser.user}'s history?`}</p>
            <button
              className="rounded bg-blue-500 px-4 py-2 font-bold text-white hover:bg-blue-700"
              onClick={navigateToUserHistory}
            >
              View History
            </button>
            <button
              className="ml-2 rounded bg-gray-300 px-4 py-2 text-black hover:bg-gray-400"
              onClick={closeModal}
            >
              Cancel
            </button>
          </div>
        </div>
      )}
    </MinimalPage>
  );

  function renderUsersGrid(
    title: string,
    users: any[],
    showShiftStart: boolean,
    onClick: (user: UserOnShift) => void
  ) {
    return (
      <div className="overflow-hidden overflow-x-auto rounded-3xl border-transparent shadow-lg">
        <h2 className="my-4 px-6 text-lg font-semibold text-white">{title}</h2>
        <div className="grid grid-cols-4 gap-4">
          {users.map((user, index) => (
            <div
              key={index}
              className="cursor-pointer rounded-xl bg-gray-800 p-4 text-center"
              onClick={() => onClick(user)}
            >
              <p className="text-sm text-gray-400">{user.user}</p>
              {showShiftStart && user.shift_start ? (
                <p className="text-sm text-gray-400">
                  {dayjs(user.shift_start).format("DD-MM-YYYY | HH:mm")}
                </p>
              ) : null}
            </div>
          ))}
        </div>
      </div>
    );
  }
};

export default ShiftTable;
import { useEffect, useState } from "react";
import { useSupabaseClient } from "@supabase/auth-helpers-react";
import { HeadingLink, MinimalPage, PageHeading, Spinner } from "ui";
import type { Database } from "../../../types";
import dayjs from "dayjs";

const ShiftTable = () => {
  const [usersOnShift, setUsersOnShift] = useState<
    Array<{ user: string; shift_start: string | null }>
  >([]);
  const [loading, setLoading] = useState(true);
  const [error, setError] = useState("");
  const supabaseClient = useSupabaseClient<Database>();

  useEffect(() => {
    const fetchUsersOnShift = async () => {
      setLoading(true);
      try {
        const { data: usersData, error: usersError } = await supabaseClient
          .from("UserLastWorkedOn")
          .select("shift_start, user, users_view (email, raw_user_meta_data)")
          .not("shift_start", "is", null);

        if (usersError) {
          setError(usersError.message ?? "Failed to fetch user shift data");
          console.error(usersError);
        }

        const mappedUsers = usersData?.map((user) => {
          const userMetaData = Array.isArray(user.users_view)
            ? user.users_view[0].raw_user_meta_data
            : user.users_view?.raw_user_meta_data;
          const mappedUser: {
            user: string;
            shift_start: string | null;
            image: string | null;
          } = {
            shift_start: user.shift_start,
            user: Array.isArray(user.users_view)
              ? user.users_view[0].email
              : user.users_view?.email ?? user.user,
            image: userMetaData ? userMetaData["avatar_url"] ?? null : null,
          };
          return mappedUser;
        });

        setUsersOnShift(mappedUsers ?? []);
      } catch (err) {
        setError("Failed to fetch user shift data");
        console.error(err);
      } finally {
        setLoading(false);
      }
    };

    fetchUsersOnShift();
  }, [supabaseClient]);

  return (
    <MinimalPage
      pageTitle="Shift Table | Email Interface"
      pageDescription="Spot Ship Email Interface | Shift Table"
      commandPrompt
    >
      <div className="w-full">
        <HeadingLink icon="back" text="Home" href="/secure/home" />
      </div>
      <PageHeading text="Spot Ship Shift Table" />
      <div className="flex w-full flex-col">
        {loading ? (
          <Spinner />
        ) : error ? (
          <p className="text-red-500">Error: {error}</p>
        ) : usersOnShift.length ? (
          <table className="mt-4 min-w-full">
            <thead>
              <tr>
                <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-500">
                  User Email
                </th>
                <th className="px-6 py-3 text-left text-xs font-medium uppercase tracking-wider text-gray-500">
                  Shift Started
                </th>
              </tr>
            </thead>
            <tbody className="divide-white-200 divide-x ">
              {usersOnShift.map((user, index) => (
                <tr key={index}>
                  <td className=" text-white-500 px-6 py-4 text-sm">
                    {user.user}
                  </td>
                  <td className=" text-white-500 px-6 py-4 text-sm">
                    {dayjs(user.shift_start).format("DD-MM-YYYY | HH:mm")}
                  </td>
                </tr>
              ))}
            </tbody>
          </table>
        ) : (
          <p>No users are currently on shift</p>
        )}
      </div>
    </MinimalPage>
  );
};

export default ShiftTable;
<style>

    body:not(.elementor-editor-active) .hide-listing {
        display: none;
        height: 0;
    }
    
</style>

<script>

	document.addEventListener( 'jet-smart-filters/inited', function( initEvent ) {
		
		function hideProvider( $provider, parentSelector ) {
			$provider.closest( parentSelector ).addClass( 'hide-listing' );
		}
		
		function showProvider( $provider, parentSelector ) {
			$provider.closest( parentSelector ).removeClass( 'hide-listing' );
		}
		
		jQuery( function( $ ) {
			
			for ( const groupName in window.JetSmartFilters.filterGroups ) {
				
				const filterGroup = window.JetSmartFilters.filterGroups[ groupName ],
				      $provider   = filterGroup?.$provider,
				      query       = filterGroup?.currentQuery || {};
					
				if ( ! $provider.closest('.hide-before-filter')?.length ) {
					return;
				}
				
				if ( ! Object.keys( query ).length ) {
					hideProvider( $provider, '.hide-before-filter' );
				} else {
					showProvider( $provider, '.hide-before-filter' );
				}
				
			}
			
			window.JetSmartFilters.events.subscribe( 'ajaxFilters/updated', function( provider, queryId ) {
				
				const filterGroup = window.JetSmartFilters.filterGroups[ provider + '/' + queryId ],
				      $provider   = filterGroup.$provider,
				      query       = filterGroup.currentQuery || {};
				
				if ( ! Object.keys( query ).length ) {
					hideProvider( $provider, '.hide-before-filter.hide-on-reset' );
				} else {
					showProvider( $provider, '.hide-before-filter' );
				}
				
			} );
		
		} );
	
	} );
	
</script>
#include <stdio.h>
#include <stdlib.h>
// function to calculate current age
void age(int present_date, int present_month, int present_year, int birth_date, int birth_month, int birth_year) {
   int month[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };
   if (birth_date > present_date) {
      present_date = present_date + month[birth_month - 1];
      present_month = present_month - 1;
   }
   if (birth_month > present_month) {
      present_year = present_year - 1;
      present_month = present_month + 12;
   }
   int final_date = present_date - birth_date;
   int final_month = present_month - birth_month;
   int final_year = present_year - birth_year;
   printf("\nYour Present Age Is : %d Years %d Months %d Days", final_year, final_month, final_date);
}
int main() {
   int present_date;
   printf("Present Date : ");
   scanf("%d",&present_date);
   
   int present_month;
    printf("Present Month : ");
   scanf("%d",&present_month);
   
   int present_year;
    printf("Present Year : ");
   scanf("%d",&present_year);
   
   int birth_date ;
    printf("\nBirth Date : ");
   scanf("%d",&birth_date);
   
   int birth_month;
    printf("Birth Month : ");
   scanf("%d",&birth_month);
   
   int birth_year ;
    printf("Birth Year : ");
   scanf("%d",&birth_year);
   
   age(present_date, present_month, present_year, birth_date, birth_month, birth_year);
   return 0;
}
<!DOCTYPE html>
<html>
<body>
​
<p>If your browser supports bi-directional override (bdo), the next line will be written from right to left (rtl):</p>
​
<bdo dir="rtl">This line will be written from right to left</bdo>
​
</body>
</html>
​
​
#include <stdio.h>

int main() {
   
   int a,b,c,d,e;
    printf("Enter 1st number : ");
    scanf("%d",&a);
    
    printf("Enter 2nd number : ");
    scanf("%d",&b);
    
    printf("Enter 3rd number : ");
    scanf("%d",&c);
    
    printf("Enter 4th number : ");
    scanf("%d",&d);
    
    printf("Enter 5th number : ");
    scanf("%d",&e);
    
    
    if (a>b && a>c && a>d && a>e)
    {
        printf("\n%d is Greatest Integer Number among all of those numbers .",a);
    }
    
    if (b>a && b>c && b>d && b>e)
    {
        printf("\n%d is Greatest Integer Number among all of those numbers .",b);
    }
    
    
    if (c>a && c>b && c>d && c>e)
    {
        printf("\n%d is Greatest Integer Number among all of those numbers .",c);
    }
    
    
    if (d>a && d>b && d>c && d>e)
    {
        printf("\n%d is Greatest Integer Number among all of those numbers .",d);
    }
    
    if (e>a && e>b && e>c && e>d)
    {
        printf("\n%d is Greatest Integer Number among all of those numbers .",e);
    }


    return 0;
}
echo "# Responsive-Web" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/zia101202303/Responsive-Web.git
git push -u origin main
inspector = pod_planner.Planner2externalApps.FetchPODPersonMapString(zoho.loginuserid);
insp = inspector.get("userId");
/* ************************************ Elementor вставка МАСКи в поле телефон ************************************* */
function biz2web_scripts() {
  $uploads = wp_upload_dir();
  $upload_path = $uploads['baseurl'];
    wp_enqueue_script('masked-input', $upload_path . '/mask/jquery.maskedinput.min.js', array('jquery'), '1.1', true);
}
add_action( 'wp_enqueue_scripts', 'biz2web_scripts' );
mapp = {"Ten Yearly":3650,"Five Yearly":1825,"Four Yearly":1460,"Three Yearly":1095,"Two Yearly":730,"Yearly":365,"Quarterly":90,"Six Monthly":183,"Two Monthly":60,"Monthly":30,"Fortnightly":14,"Weekly":7,"TBC":7,"Daily":1};
//
for each  rec in Testing_Requirements[Asset_s = input.Asset]
{
	freq = rec.Frequency_Required;
	mappe = mapp.get(freq);
}
    <Box
            height={"auto"}
            backgroundColor={"#F7F8FA"}
            width={"400px"}
            css={{
                '@media (max-width: 1280px)': {
                    width: "380px",
                },
            }}
        > </Box>
<div class="gallery_imgs">
            <?php
            if (have_rows('galleryitems')) :
                while (have_rows('galleryitems')) : the_row();

                    $radioCon = get_sub_field('image_or_video');
                    $thumImg = get_sub_field('thumbnail_img');
                    $video = get_sub_field('preview_video');

                    $result = '';

                    if ($radioCon == 'video') {
                        $result = $video;
                    } elseif ($radioCon == 'picture') {
                        $result = $thumImg;
                    }
            ?>
                    <div class="gallery_inner">
                        <a class="fancybox" data-fancybox="gallery" href="<?php echo $result ?>">
                            <p><?php echo $result ?></p>
                            <img src="<?php echo $thumImg; ?>" alt="<?php echo $thumImg; ?>" />
                        </a>
                    </div>
                <?php endwhile; ?>
            <?php else : ?>
                <!--no -->
            <?php endif; ?>
Kabari,Cement,Masdoor,find things which not availbe online and make app, create websites by data which people search,

Business adds websites bano.khata app,
ایک ویب سائٹ بناؤ جو لوگوں کو نارمل سروسس دے جیسے مزدور،الیکٹریشن ،پلمبرز ،کار واشنگ پرواڈرز، ہیئر کٹ،ایسی سروسس لوگو ں کو ایک ویب سائڈ کے تھرو دوں۔

how to create your own marketing agency
Book time for hair cutting,or ya jab customer free ho
record movies from netflix and sell
Regarding the deprecated APIs warning: that's unfortunately a result of our script's age, as it was developed several years ago. To tackle this, our product team is actively working on rebuilding the endpoint with a more modern approach, aligning with current web standards.

Regarding the reported slowdown in website performance: our analysis suggests that while Fareharbor contributes to some extent, it's not the primary factor. For instance, optimizing image sizes and especially formats, as well as minimizing code, could significantly improve page speed. In terms of integration and performance enhancement, we unfortunately can't do much. One approach for them would be to remove our API, thus the lightframe popup, and have all links open in new tabs. Then repeat the PageSpeed Insight again.  This would isolate the impact of the API on page speed.


https://pagespeed.web.dev/analysis/https-www-letzgocitytours-com/rvtq89dt91?form_factor=desktop this is the analysis I based my notes on
 declare 
	a number(4):=&a;
	b number(3):=0;
	c number(3):=0;
begin
for i in 2..a loop
if a mod i	=0 then
	b:=b+1;
end if;
end loop;
if b=1 then
dbms_output.put_line('number is prime:'||a);
else
dbms_output.put_line('number is not prime:'||a);
end if;
for i in 1..(a-1) loop
	if a mod i=0 then
		c:=c+i;
	end if;
end loop;
if c=a then
dbms_output.put_line('no is perfect'||a);
else
dbms_output.put_line('number is  not perfect:'||a);
end if;
end;
/

 
package core;

import tileengine.TERenderer;
import tileengine.TETile;



public class Main {
    public static final int WIDTH = 80;
    public static final int HEIGHT = 30;
    public static void main(String[] args) {
        TERenderer ter = new TERenderer();
        ter.initialize(WIDTH, HEIGHT);

        // Seed for reproducibility
        long seed = System.currentTimeMillis();
        World world = new World(seed);

        // Fill the world with rooms and hallways
        world.fillWorld();

        // Render the world to the screen
        ter.renderFrame(world.getWorldTiles());
    }
        // build your own world! ughhhh



}
package core;

import tileengine.TETile;
import tileengine.Tileset;

public class AutograderBuddy {

    /**
     * Simulates a game, but doesn't render anything or call any StdDraw
     * methods. Instead, returns the world that would result if the input string
     * had been typed on the keyboard.
     *
     * Recall that strings ending in ":q" should cause the game to quit and
     * save. To "quit" in this method, save the game to a file, then just return
     * the TETile[][]. Do not call System.exit(0) in this method.
     *
     * @param input the input string to feed to your program
     * @return the 2D TETile[][] representing the state of the world
     */
    public static TETile[][] getWorldFromInput(String input) {
        long seed = parseSeed(input);
        World world = new World(seed);
        world.fillWorld();
        return world.getWorldTiles();
    }
    private static long parseSeed(String input) {
        if (input.matches("N\\d+S")) {
            String seed = input.substring(1, input.length() - 1);
            try {
                return Long.parseLong(seed);
            } catch (NumberFormatException e) {
                return 26478;
            }
        }
        throw new IllegalArgumentException();
    }


    /**
     * Used to tell the autograder which tiles are the floor/ground (including
     * any lights/items resting on the ground). Change this
     * method if you add additional tiles.
     */
    public static boolean isGroundTile(TETile t) {
        return t.character() == Tileset.FLOOR.character()
                || t.character() == Tileset.AVATAR.character()
                || t.character() == Tileset.FLOWER.character();
    }

    /**
     * Used to tell the autograder while tiles are the walls/boundaries. Change
     * this method if you add additional tiles.
     */
    public static boolean isBoundaryTile(TETile t) {
        return t.character() == Tileset.WALL.character()
                || t.character() == Tileset.LOCKED_DOOR.character()
                || t.character() == Tileset.UNLOCKED_DOOR.character();
    }
}
using System;
using System.IO;
using Chilkat;

// Factory arayüzü
interface IFileDownloaderFactory
{
    IFileDownloader CreateFileDownloader();
}

// FTP için Factory sınıfı
class FTPFileDownloaderFactory : IFileDownloaderFactory
{
    public IFileDownloader CreateFileDownloader()
    {
        return new FTPFileDownloader();
    }
}

// FTPS için Factory sınıfı
class FTPSFileDownloaderFactory : IFileDownloaderFactory
{
    public IFileDownloader CreateFileDownloader()
    {
        return new FTPSFileDownloader();
    }
}

// Dosya indirme arayüzü
interface IFileDownloader
{
    void DownloadFile(string host, int port, string username, string password, string filePath, MemoryStream stream);
}

// FTP için dosya indirme sınıfı
class FTPFileDownloader : IFileDownloader
{
    public void DownloadFile(string host, int port, string username, string password, string filePath, MemoryStream stream)
    {
        Ftp2 ftp = new Ftp2();
        ftp.Connect(host, port);
        ftp.Login(username, password);
        ftp.GetFile(filePath, stream);
        ftp.Disconnect();
    }
}

// FTPS için dosya indirme sınıfı
class FTPSFileDownloader : IFileDownloader
{
    public void DownloadFile(string host, int port, string username, string password, string filePath, MemoryStream stream)
    {
        Ftp2 ftp = new Ftp2();
        ftp.Ssl = true;
        ftp.OnSslServerCert += new Ftp2.OnSslServerCertEventHandler(ValidateCertificate);
        ftp.Connect(host, port);
        ftp.AuthTls();
        ftp.Login(username, password);
        ftp.GetFile(filePath, stream);
        ftp.Disconnect();
    }

    // SSL sertifikası doğrulama olayı
    static void ValidateCertificate(object sender, FtpCertInfo cert)
    {
        // Sertifika doğrulama kodunu buraya ekleyin
        // Örneğin, sertifika doğrulama sürecini kontrol ederek e.Accept'e true veya false atayabilirsiniz
    }
}

class Program
{
    static void Main(string[] args)
    {
        // FTP sunucu bilgileri
        string ftpHost = "ftp.example.com";
        int ftpPort = 21;
        string ftpUsername = "your_ftp_username";
        string ftpPassword = "your_ftp_password";
        string ftpFilePath = "/path/to/your/excel/file.xlsx";

        // FTPS sunucu bilgileri
        string ftpsHost = "ftps.example.com";
        int ftpsPort = 990;
        string ftpsUsername = "your_ftps_username";
        string ftpsPassword = "your_ftps_password";
        string ftpsFilePath = "/path/to/your/excel/file.xlsx";

        // Factory sınıfları oluştur
        IFileDownloaderFactory ftpFactory = new FTPFileDownloaderFactory();
        IFileDownloaderFactory ftpsFactory = new FTPSFileDownloaderFactory();

        // FTP üzerinden dosya indirme işlemi
        IFileDownloader ftpDownloader = ftpFactory.CreateFileDownloader();
        MemoryStream ftpStream = new MemoryStream();
        ftpDownloader.DownloadFile(ftpHost, ftpPort, ftpUsername, ftpPassword, ftpFilePath, ftpStream);

        // FTPS üzerinden dosya indirme işlemi
        IFileDownloader ftpsDownloader = ftpsFactory.CreateFileDownloader();
        MemoryStream ftpsStream = new MemoryStream();
        ftpsDownloader.DownloadFile(ftpsHost, ftpsPort, ftpsUsername, ftpsPassword, ftpsFilePath, ftpsStream);

        // MemoryStream'deki veriyi kullanarak Excel dosyasını okuyabilirsiniz
    }
}
/* http://meyerweb.com/eric/tools/css/reset/
   v2.0-modified | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}

/* make sure to set some focus styles for accessibility */
:focus {
    outline: 0;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

/**
 * Correct `inline-block` display not defined in IE 6/7/8/9 and Firefox 3.
 */

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address styling not present in IE 7/8/9, Firefox 3, and Safari 4.
 * Known issue: no IE 6 support.
 */

[hidden] {
    display: none;
}

/**
 * 1. Correct text resizing oddly in IE 6/7 when body `font-size` is set using
 *    `em` units.
 * 2. Prevent iOS text size adjust after orientation change, without disabling
 *    user zoom.
 */

html {
    font-size: 100%; /* 1 */
    -webkit-text-size-adjust: 100%; /* 2 */
    -ms-text-size-adjust: 100%; /* 2 */
}

/**
 * Address `outline` inconsistency between Chrome and other browsers.
 */

a:focus {
    outline: thin dotted;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/**
 * 1. Remove border when inside `a` element in IE 6/7/8/9 and Firefox 3.
 * 2. Improve image quality when scaled in IE 7.
 */

img {
    border: 0; /* 1 */
    -ms-interpolation-mode: bicubic; /* 2 */
}

/**
 * Address margin not present in IE 6/7/8/9, Safari 5, and Opera 11.
 */

figure {
    margin: 0;
}

/**
 * Correct margin displayed oddly in IE 6/7.
 */

form {
    margin: 0;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct color not being inherited in IE 6/7/8/9.
 * 2. Correct text not wrapping in Firefox 3.
 * 3. Correct alignment displayed oddly in IE 6/7.
 */

legend {
    border: 0; /* 1 */
    padding: 0;
    white-space: normal; /* 2 */
    *margin-left: -7px; /* 3 */
}

/**
 * 1. Correct font size not being inherited in all browsers.
 * 2. Address margins set differently in IE 6/7, Firefox 3+, Safari 5,
 *    and Chrome.
 * 3. Improve appearance and consistency in all browsers.
 */

button,
input,
select,
textarea {
    font-size: 100%; /* 1 */
    margin: 0; /* 2 */
    vertical-align: baseline; /* 3 */
    *vertical-align: middle; /* 3 */
}

/**
 * Address Firefox 3+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

button,
input {
    line-height: normal;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Chrome, Safari 5+, and IE 6+.
 * Correct `select` style inheritance in Firefox 4+ and Opera.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 * 4. Remove inner spacing in IE 7 without affecting normal text inputs.
 *    Known issue: inner spacing remains in IE 6.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
    *overflow: visible;  /* 4 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * 1. Address box sizing set to content-box in IE 8/9.
 * 2. Remove excess padding in IE 8/9.
 * 3. Remove excess padding in IE 7.
 *    Known issue: excess padding remains in IE 6.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
    *height: 13px; /* 3 */
    *width: 13px; /* 3 */
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari 5 and Chrome
 * on OS X.
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Remove inner padding and border in Firefox 3+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * 1. Remove default vertical scrollbar in IE 6/7/8/9.
 * 2. Improve readability and alignment in all browsers.
 */

textarea {
    overflow: auto; /* 1 */
    vertical-align: top; /* 2 */
}

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
button,
input,
select,
textarea {
    color: #222;
}


::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
star

Tue Apr 16 2024 13:39:35 GMT+0000 (Coordinated Universal Time)

@ITProToday

star

Tue Apr 16 2024 12:14:06 GMT+0000 (Coordinated Universal Time)

@divyasoni23 #css

star

Tue Apr 16 2024 11:03:47 GMT+0000 (Coordinated Universal Time)

@hallancma #apex #oracleapex #plsql #javascript

star

Tue Apr 16 2024 10:52:55 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/46802055/tenant-does-not-have-a-spo-license

@fearless

star

Tue Apr 16 2024 10:26:29 GMT+0000 (Coordinated Universal Time)

@mrv

star

Tue Apr 16 2024 10:24:43 GMT+0000 (Coordinated Universal Time)

@mrv

star

Tue Apr 16 2024 10:21:49 GMT+0000 (Coordinated Universal Time)

@mrv

star

Tue Apr 16 2024 09:32:33 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/28360978/how-can-i-get-browser-scrollbar-width

@zaki

star

Tue Apr 16 2024 07:58:41 GMT+0000 (Coordinated Universal Time) https://learn.microsoft.com/en-us/entra/identity-platform/configurable-token-lifetimes

@fearless

star

Tue Apr 16 2024 06:21:46 GMT+0000 (Coordinated Universal Time) https://learn.microsoft.com/en-us/entra/identity-platform/scenario-daemon-app-configuration?tabs

@fearless

star

Tue Apr 16 2024 06:13:37 GMT+0000 (Coordinated Universal Time) https://docs.unity3d.com/Manual/upm-manifestPkg.html

@ZxDelt #json

star

Tue Apr 16 2024 05:27:00 GMT+0000 (Coordinated Universal Time) https://learn.microsoft.com/en-us/entra/identity-platform/quickstart-daemon-app-python-acquire-token

@fearless

star

Tue Apr 16 2024 05:21:12 GMT+0000 (Coordinated Universal Time)

@jayzalavadiya #typescriptreact

star

Tue Apr 16 2024 05:10:56 GMT+0000 (Coordinated Universal Time) https://learn.microsoft.com/en-us/entra/identity-platform/refresh-tokens

@fearless

star

Tue Apr 16 2024 04:15:54 GMT+0000 (Coordinated Universal Time)

@prabhas

star

Tue Apr 16 2024 03:19:15 GMT+0000 (Coordinated Universal Time)

@manhmd

star

Tue Apr 16 2024 02:05:07 GMT+0000 (Coordinated Universal Time)

@juanpinheirx_

star

Tue Apr 16 2024 02:05:07 GMT+0000 (Coordinated Universal Time)

@juanpinheirx_

star

Tue Apr 16 2024 02:03:33 GMT+0000 (Coordinated Universal Time) https://www.onlinegdb.com/online_bash_shell

@juanpinheirx_

star

Tue Apr 16 2024 01:10:14 GMT+0000 (Coordinated Universal Time) https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50

@juanpinheirx_

star

Tue Apr 16 2024 01:09:36 GMT+0000 (Coordinated Universal Time) https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50

@juanpinheirx_

star

Tue Apr 16 2024 01:08:14 GMT+0000 (Coordinated Universal Time) https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50

@juanpinheirx_

star

Tue Apr 16 2024 01:07:27 GMT+0000 (Coordinated Universal Time) https://hub.docker.com/_/postgres

@juanpinheirx_

star

Tue Apr 16 2024 01:07:06 GMT+0000 (Coordinated Universal Time) https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50

@juanpinheirx_

star

Tue Apr 16 2024 01:06:25 GMT+0000 (Coordinated Universal Time) https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50

@juanpinheirx_

star

Tue Apr 16 2024 01:04:06 GMT+0000 (Coordinated Universal Time) https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50

@juanpinheirx_

star

Tue Apr 16 2024 01:03:00 GMT+0000 (Coordinated Universal Time) https://wkrzywiec.medium.com/database-in-a-docker-container-how-to-start-and-whats-it-about-5e3ceea77e50

@juanpinheirx_

star

Mon Apr 15 2024 22:46:59 GMT+0000 (Coordinated Universal Time)

@rafal_rydz

star

Mon Apr 15 2024 21:44:59 GMT+0000 (Coordinated Universal Time)

@rafal_rydz

star

Mon Apr 15 2024 19:02:38 GMT+0000 (Coordinated Universal Time)

@Y@sir #jetsmartfilters #filter

star

Mon Apr 15 2024 18:47:28 GMT+0000 (Coordinated Universal Time)

@Amlan #c

star

Mon Apr 15 2024 18:21:57 GMT+0000 (Coordinated Universal Time) https://www.w3schools.com/html/tryit.asp?filename

@Elizabeth__ #undefined

star

Mon Apr 15 2024 17:48:52 GMT+0000 (Coordinated Universal Time)

@Amlan #c

star

Mon Apr 15 2024 17:05:02 GMT+0000 (Coordinated Universal Time) https://github.com/zia101202303/Responsive-Web

@ziaurrehman

star

Mon Apr 15 2024 15:23:46 GMT+0000 (Coordinated Universal Time)

@nishpod

star

Mon Apr 15 2024 15:10:02 GMT+0000 (Coordinated Universal Time)

@mastaklance

star

Mon Apr 15 2024 14:01:53 GMT+0000 (Coordinated Universal Time)

@nishpod

star

Mon Apr 15 2024 13:23:41 GMT+0000 (Coordinated Universal Time) https://reintech.io/blog/comprehensive-guide-sql-create-database-statement

@Hack3rmAn #sql

star

Mon Apr 15 2024 13:22:26 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/28405444/inline-css-styles-in-react-how-to-implement-media-queries

@ziaurrehman

star

Mon Apr 15 2024 08:57:43 GMT+0000 (Coordinated Universal Time)

@hamzahanif192

star

Mon Apr 15 2024 08:33:26 GMT+0000 (Coordinated Universal Time)

@ziaurrehman #javascriptreact

star

Mon Apr 15 2024 07:01:07 GMT+0000 (Coordinated Universal Time)

@Shira

star

Mon Apr 15 2024 06:17:43 GMT+0000 (Coordinated Universal Time)

@signup

star

Mon Apr 15 2024 05:10:24 GMT+0000 (Coordinated Universal Time)

@jayzalavadiya #typescript

star

Mon Apr 15 2024 01:59:42 GMT+0000 (Coordinated Universal Time)

@pineapple

star

Sun Apr 14 2024 22:44:53 GMT+0000 (Coordinated Universal Time)

@kursatoguz

star

Sun Apr 14 2024 16:20:32 GMT+0000 (Coordinated Universal Time)

@twelvetone

Save snippets that work with our extensions

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