Snippets Collections
import java.util.Scanner;
class HelloWorld {
    public static void main(String[] args) {
        int a;
        Scanner r=new Scanner(System.in);
        System.out.println("input a value");
        a=r.nextInt();
        
        for(int i=1;i<=a;i++)
        {
            if(a%i==0)
            {
                System.out.println(i+" "); 
                
            }
        }
        
    }
    
    
}
        
  WITH NUMBEROFTOTALORDER AS (
  
	SELECT DISTINCT Count(*) As NumberofTotalOrder
	From [SCE].[vw_ORDERS_1] 
	WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
	AND vw_ORDERS_1.STATUS NOT IN (95,98,99) 
	/* 95 = Shipped Complete, 98 = Cancelled Externally, 99 = Canceled Internally */ 
	
  ), PICKED AS (
  
    SELECT DISTINCT Count(*) As Picked
	From [SCE].[vw_ORDERS_1] 
	WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
	AND vw_ORDERS_1.STATUS IN (55) 
	
	/* 15 =  Part Allocated / Part Picked
	 * 25 = Part Released/Part Picked
	 * 51 = In Picking
	 * 52 = Part Picked
	 * 53 = Part Picked / Part Shipped
	 * 55 = Picked Complete
	 * 57 = Picked / Part Shipped
	 *  */ 
  
  ), PACKED AS (
  
	SELECT DISTINCT Count(*) As Packed
	From [SCE].[vw_ORDERS_1] 
	WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
	AND vw_ORDERS_1.STATUS IN (68) 
	
	/* 61 =  In Packing
	 * 68 = Pack Complete
	 *  */
	
	), PRIORITY AS (
	
	SELECT DISTINCT Count(*) As Priority
	From [SCE].[vw_ORDERS_1] 
	WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
	AND vw_ORDERS_1.STATUS NOT IN (95,98,99) 
	AND vw_ORDERS_1.PRIORITY IN (1,2,3)
	
	/* 95 = Shipped Complete, 98 = Cancelled Externally, 99 = Canceled Internally */ 
	/* 1 = Highest Priority, 3 = Normal Priority */
 
    ), ACTUALORDER AS (
    
    SELECT DISTINCT Count(*) As ActualOrder
	From [SCE].[vw_ORDERS_1] 
	WHERE vw_ORDERS_1.TYPE in ('ECOM','ECOMAPP')
	AND vw_ORDERS_1.ORDERDATE = DATEADD(dd, -1, CAST( GETDATE() AS Date)) 

	), ORDERSHIPPED24HOUROLD AS (
	
	SELECT OrderShipped24HourOld, 
	CASE 
		WHEN DATENAME(weekday, GETDATE()) = 'Monday' THEN 
		(
			SELECT DISTINCT COUNT(*) As OrderShipped24HourOld
			From [SCE].[vw_ORDERS_1] 
			WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
			AND vw_ORDERS_1.ACTUALSHIPDATE=  DATEADD(dd,-3,CAST( GETDATE() AS Date))
			AND vw_ORDERS_1.ORDERDATE = DATEADD(dd,-4,CAST( GETDATE() AS Date ))
		
		)
		
		
	
	
	
	), ORDERSHIPPEDGREATERTHAN24HOUROLD AS 
	
		IF (DATENAME(weekday, GETDATE()) IN ('Monday'))
			BEGIN
				SELECT DISTINCT Count(*) As OrdersShippedGreaterThan24HoursOldForMONDAY
				FROM [SCE].[vw_ORDERS_1] 
				WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
				AND vw_ORDERS_1.ACTUALSHIPDATE = DATEADD(dd,-3,CAST( GETDATE() AS Date ))
				AND vw_ORDERS_1.ORDERDATE < DATEADD(dd,-4,CAST( GETDATE() AS Date ))
			END
		ELSE IF (DATENAME(weekday, GETDATE()) IN ('Tuesday'))
			BEGIN
				SELECT DISTINCT Count(*) As OrdersShippedGreaterThan24HoursOldForTuesday
				FROM [SCE].[vw_ORDERS_1] 
				WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
				AND vw_ORDERS_1.ACTUALSHIPDATE = DATEADD(dd,-1,CAST( GETDATE() AS Date ))
				AND vw_ORDERS_1.ORDERDATE < DATEADD(dd,-4,CAST( GETDATE() AS Date ))
			END
		ELSE
			BEGIN
				SELECT DISTINCT Count(*) As OrderShippedGreaterThan24HourOld
				FROM [SCE].[vw_ORDERS_1] 
				WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
				AND vw_ORDERS_1.ACTUALSHIPDATE = DATEADD(dd,-1,CAST( GETDATE() AS Date ))
				AND vw_ORDERS_1.ORDERDATE < DATEADD(dd,-2,CAST( GETDATE() AS Date ))
			END
	)
  	SELECT NUMBEROFTOTALORDER.NumberofTotalOrder, PICKED.Picked, PACKED.Packed, PRIORITY.Priority, ACTUALORDER.ActualOrder, ORDERSHIPPED24HOUROLD.OrderShipped24HourOld,
  	ORDERSHIPPEDGREATERTHAN24HOUROLD.OrderShippedGreaterThan24HourOld
	FROM DAYSTART, PICKED, PACKED, PRIORITY, ACTUALORDER, ORDERSHIPPED24HOUROLD, ORDERSHIPPEDGREATERTHAN24HOUROLD
	

IF (DATENAME(weekday, GETDATE()) = 'Monday')
		BEGIN
			SELECT DISTINCT COUNT(*) As OrderShipped24HourOld
			From [SCE].[vw_ORDERS_1] 
			WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
			AND vw_ORDERS_1.ACTUALSHIPDATE=  DATEADD(dd,-3,CAST( GETDATE() AS Date))
			AND vw_ORDERS_1.ORDERDATE = DATEADD(dd,-4,CAST( GETDATE() AS Date ))	
		END
	ELSE IF (DATENAME(weekday, GETDATE()) = 'Tuesday')
		BEGIN
			SELECT DISTINCT Count(*) As OrderShipped24HourOld
			From [SCE].[vw_ORDERS_1] 
			WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
			AND vw_ORDERS_1.ACTUALSHIPDATE=  DATEADD(dd,-1,CAST( GETDATE() AS Date ))
			AND vw_ORDERS_1.ORDERDATE = DATEADD(dd,-4,CAST( GETDATE() AS Date ))
		END
	ELSE
		BEGIN
			SELECT DISTINCT Count(*) As OrderShipped24HourOld
			From [SCE].[vw_ORDERS_1] 
			WHERE vw_ORDERS_1.TYPE IN ('ECOM','ECOMAPP')
			AND vw_ORDERS_1.ACTUALSHIPDATE = DATEADD(dd,-1,CAST( GETDATE() AS Date ))
			AND vw_ORDERS_1.ORDERDATE = DATEADD(dd,-2,CAST( GETDATE() AS Date ))	
		END	 
	
	
	
	

// Go through the stack overflow code to determine the best solution
<html>
<body>
<h1> this is a webside</h1>
 <br>
user<input type="text">
<br>
password<input type="password">
<br>
name<input type="name">
<br>
father name<input type="name">
<br>
email<input type="email">
<br>
ph no<input type="number">
<br>
 <input type="radio" id="male" value="male">
 <input type="radio" id="female" value="female">
<br>
<input type="submit">

</body>
</html> 
{
    "ip": "2607:fea8:f18d:9e00:7d8d:bb30:ec27:e768",
    "country_code": "CA",
    "country_name": "Canada",
    "region_name": "Ontario",
    "city_name": "Toronto",
    "latitude": 43.653661,
    "longitude": -79.382924,
    "zip_code": "M5G 2C9",
    "time_zone": "-05:00",
    "asn": "812",
    "as": "Rogers Communications Canada Inc.",
    "isp": "Rogers Communications Canada Inc.",
    "domain": "rogers.com",
    "net_speed": "DSL",
    "idd_code": "1",
    "area_code": "416",
    "weather_station_code": "CAXX0504",
    "weather_station_name": "Toronto",
    "mcc": "302",
    "mnc": "370\/720",
    "mobile_brand": "Rogers Wireless",
    "elevation": 92,
    "usage_type": "ISP\/MOB",
    "address_type": "Unicast",
    "continent": {},
    "district": "Toronto",
    "country": {},
    "region": {},
    "city": {},
    "time_zone_info": {},
    "geotargeting": {},
    "ads_category": "IAB19-18",
    "ads_category_name": "Internet Technology",
    "is_proxy": false,
    "proxy": {}
}
<!DOCTYPE html>

<!DOCTYPE html>

<html lang="en" {IF CLASSES}class="classes"{/IF}>

​

<head>

​

  <meta charset="UTF-">
8
​

  {IF PRIVATE}

  <meta name="robots" content="noindex">

  {ELSE}

  <!-- MIT License -->

  {/IF}

​

  <title>{TITLE}</title>

​

  {STUFF FOR <HEAD>}

​

  <link rel="stylesheet" href="{CSS RESET CHOICE}">

  {EXTERNAL CSS}

  <style>

    {EDITOR CSS}

  </style>
Free Numerology Reading 2024
https://medium.com/@krohan2024/free-numerology-reading-2024-forecast-bd36fe9761f3
https://groups.google.com/a/chromium.org/g/chromium-reviews/c/FfL9TjSGDtg

Free Tarot Card Reading 2024
https://medium.com/@krohan2024/free-tarot-card-reading-2024-what-to-expect-in-the-coming-year-66f9d2bbade3
https://groups.google.com/a/chromium.org/g/chromium-reviews/c/-0BDDdsFEcE

Love Tarot Reading 
https://medium.com/@krohan2024/love-tarot-reading-understanding-your-relationship-future-5b3ab1e951fb
https://groups.google.com/a/chromium.org/g/chromium-reviews/c/QERhBxJOIOo

Free Numerology Report 2024
https://sites.google.com/view/numerologyreadingguide/numerology-reading

Happy New Year 2024 Wishes
https://groups.google.com/a/chromium.org/g/chromium-reviews/c/gmPUSAVtHVE
import 'package:flutter/material.dart';
import 'package:flutter_local_notifications/flutter_local_notifications.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Local Notifications Example',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final FlutterLocalNotificationsPlugin flutterLocalNotificationsPlugin =
      FlutterLocalNotificationsPlugin();

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Local Notifications Example'),
      ),
      body: Center(
        child: ElevatedButton(
          onPressed: () {
            _showNotification();
          },
          child: Text('Show Notification'),
        ),
      ),
    );
  }

  Future<void> _showNotification() async {
    const AndroidInitializationSettings initializationSettingsAndroid =
        AndroidInitializationSettings('@mipmap/ic_launcher');

    final InitializationSettings initializationSettings =
        InitializationSettings(android: initializationSettingsAndroid);

    await flutterLocalNotificationsPlugin.initialize(
      initializationSettings,
    );

    const AndroidNotificationDetails androidPlatformChannelSpecifics =
        AndroidNotificationDetails(
      'your channel id',
      'your channel name',
      importance: Importance.max,
      priority: Priority.high,
    );

    const NotificationDetails platformChannelSpecifics =
        NotificationDetails(android: androidPlatformChannelSpecifics);

    await flutterLocalNotificationsPlugin.show(
      0,
      'Notification Title',
      'Notification Body',
      platformChannelSpecifics,
      payload: 'Notification Payload',
    );
  }
}
body {

  font-family: system-ui;

  background: #f0d06;

  color: white;

  text-align: center;
6
}
// Delayed Component to delay the render show/hide
// DelayedComponent.js
import React, { useState, useEffect } from 'react';

const DelayedComponent = ({ delayToShow, delayToHide, isDelayStart, isDelayEnd, children }) => {
  const [isVisible, setIsVisible] = useState(false);

  useEffect(() => {
    let showTimeout;

    if (isDelayStart) {
      showTimeout = setTimeout(() => {
        setIsVisible(true);
      }, delayToShow || 1000);
    } else {
      setIsVisible(true);
    }

    if (isDelayEnd) {
      const hideTimeout = setTimeout(() => {
        setIsVisible(false);
      }, (delayToHide || 5000) + (isDelayStart ? (delayToShow || 1000) : 0));

      return () => {
        clearTimeout(hideTimeout);
      };
    }

    return () => {
      clearTimeout(showTimeout);
    };
  }, [delayToShow, delayToHide, isDelayStart, isDelayEnd]);

  return <>{isVisible && children}</>;
};

export default DelayedComponent;
let cols = [
  "white",
  "black",
  "lime",
  "red",
  "blue",
  "yellow",
  "magenta",
  "orange",
  "cyan",
];
ns3.wlfdle.rnc.net.cable.rogers.com >> 64.71.246.28
ns2.wlfdle.rnc.net.cable.rogers.com >> 24.153.22.14
ns3.ym.rnc.net.cable.rogers.com >> 64.71.246.156
ns2.ym.rnc.net.cable.rogers.com >> 24.153.22.142
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See https://apps.db.ripe.net/docs/HTML-Terms-And-Conditions

% Note: this output has been filtered.
%       To receive output for a database update, use the "-B" flag.

% Information related to '::/0'

% No abuse contact registered for ::/0

inet6num:       ::/0
netname:        IANA-BLK
descr:          The whole IPv6 address space
country:        EU # Country is really world wide
org:            ORG-IANA1-RIPE
admin-c:        IANA1-RIPE
tech-c:         CREW-RIPE
tech-c:         OPS4-RIPE
mnt-by:         RIPE-NCC-HM-MNT
mnt-lower:      RIPE-NCC-HM-MNT
status:         ALLOCATED-BY-RIR
remarks:        This network is not allocated.
                This object is here for Database
                consistency and to allow hierarchical
                authorisation checks.
created:        2002-08-05T10:21:17Z
last-modified:  2022-05-23T14:49:16Z
source:         RIPE

organisation:   ORG-IANA1-RIPE
org-name:       Internet Assigned Numbers Authority
org-type:       IANA
address:        see http://www.iana.org
remarks:        The IANA allocates IP addresses and AS number blocks to RIRs
remarks:        see http://www.iana.org/numbers
admin-c:        IANA1-RIPE
tech-c:         IANA1-RIPE
mnt-ref:        RIPE-NCC-HM-MNT
mnt-by:         RIPE-NCC-HM-MNT
created:        2004-04-17T09:57:29Z
last-modified:  2013-07-22T12:03:42Z
source:         RIPE # Filtered

role:           RIPE NCC Registration Services Department
address:        RIPE Network Coordination Centre
address:        P.O. Box 10096
address:        1001 EB Amsterdam
address:        the Netherlands
phone:          +31 20 535 4444
fax-no:         +31 20 535 4445
org:            ORG-NCC1-RIPE
admin-c:        MSCH2-RIPE
tech-c:         KL1200-RIPE
tech-c:         XAV
tech-c:         MPRA-RIPE
tech-c:         EM12679-RIPE
tech-c:         KOOP-RIPE
tech-c:         RS23393-RIPE
tech-c:         SPEN
tech-c:         LH47-RIPE
tech-c:         TORL
tech-c:         ME3132-RIPE
tech-c:         JW1966
tech-c:         AD11
tech-c:         HUW
tech-c:         CP11558-RIPE
tech-c:         PH7311-RIPE
tech-c:         KW2814-RIPE
tech-c:         SF9489-RIPE
tech-c:         MK23135-RIPE
tech-c:         OE1366-RIPE
tech-c:         CBT18-RIPE
tech-c:         CG12576-RIPE
tech-c:         RS26744-RIPE
nic-hdl:        CREW-RIPE
abuse-mailbox:  abuse@ripe.net
mnt-by:         RIPE-NCC-HM-MNT
created:        2002-09-23T10:13:06Z
last-modified:  2023-08-29T11:33:21Z
source:         RIPE # Filtered

role:           Internet Assigned Numbers Authority
address:        see http://www.iana.org.
admin-c:        IANA1-RIPE
tech-c:         IANA1-RIPE
nic-hdl:        IANA1-RIPE
remarks:        For more information on IANA services
remarks:        go to IANA web site at http://www.iana.org.
mnt-by:         RIPE-NCC-MNT
created:        1970-01-01T00:00:00Z
last-modified:  2001-09-22T09:31:27Z
source:         RIPE # Filtered

role:           RIPE NCC Operations
address:        Stationsplein 11
address:        1012 AB Amsterdam
address:        The Netherlands
phone:          +31 20 535 4444
fax-no:         +31 20 535 4445
abuse-mailbox:  abuse@ripe.net
admin-c:        BRD-RIPE
tech-c:         GL7321-RIPE
tech-c:         MENN1-RIPE
tech-c:         RCO-RIPE
tech-c:         CNAG-RIPE
tech-c:         SO2011-RIPE
tech-c:         TOL666-RIPE
tech-c:         ADM6699-RIPE
tech-c:         TIB-RIPE
tech-c:         SG16480-RIPE
tech-c:         RDM397-RIPE
nic-hdl:        OPS4-RIPE
mnt-by:         RIPE-NCC-MNT
created:        2002-09-16T10:35:19Z
last-modified:  2019-06-05T11:01:30Z
source:         RIPE # Filtered

% This query was served by the RIPE Database Query Service version 1.109.1 (ABERDEEN)

Sales-LWTD = 

CALCULATE(
    [Sales-WTD],
    FILTER( 
        ALL( 'Calendar'),
        'Calendar'[Week Rank] = MAX( 'Calendar'[Week Rank] )-1 
        )
)
   function enterTransfer(address to) public payable {
     
    emit EnteredTransfer(block.timestamp, msg.sender, to, msg.value);
    
   }
contract Transaction {
    event EnteredTransfer(
        uint256 indexed date,
        address from,
        address indexed to,
        uint256 value
    );
}
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See https://apps.db.ripe.net/docs/HTML-Terms-And-Conditions

% Note: this output has been filtered.
%       To receive output for a database update, use the "-B" flag.

% Information related to '::/0'

% No abuse contact registered for ::/0

inet6num:       ::/0
netname:        IANA-BLK
descr:          The whole IPv6 address space
country:        EU # Country is really world wide
org:            ORG-IANA1-RIPE
admin-c:        IANA1-RIPE
tech-c:         CREW-RIPE
tech-c:         OPS4-RIPE
mnt-by:         RIPE-NCC-HM-MNT
mnt-lower:      RIPE-NCC-HM-MNT
status:         ALLOCATED-BY-RIR
remarks:        This network is not allocated.
                This object is here for Database
                consistency and to allow hierarchical
                authorisation checks.
created:        2002-08-05T10:21:17Z
last-modified:  2022-05-23T14:49:16Z
source:         RIPE

organisation:   ORG-IANA1-RIPE
org-name:       Internet Assigned Numbers Authority
org-type:       IANA
address:        see http://www.iana.org
remarks:        The IANA allocates IP addresses and AS number blocks to RIRs
remarks:        see http://www.iana.org/numbers
admin-c:        IANA1-RIPE
tech-c:         IANA1-RIPE
mnt-ref:        RIPE-NCC-HM-MNT
mnt-by:         RIPE-NCC-HM-MNT
created:        2004-04-17T09:57:29Z
last-modified:  2013-07-22T12:03:42Z
source:         RIPE # Filtered

role:           RIPE NCC Registration Services Department
address:        RIPE Network Coordination Centre
address:        P.O. Box 10096
address:        1001 EB Amsterdam
address:        the Netherlands
phone:          +31 20 535 4444
fax-no:         +31 20 535 4445
org:            ORG-NCC1-RIPE
admin-c:        MSCH2-RIPE
tech-c:         KL1200-RIPE
tech-c:         XAV
tech-c:         MPRA-RIPE
tech-c:         EM12679-RIPE
tech-c:         KOOP-RIPE
tech-c:         RS23393-RIPE
tech-c:         SPEN
tech-c:         LH47-RIPE
tech-c:         TORL
tech-c:         ME3132-RIPE
tech-c:         JW1966
tech-c:         AD11
tech-c:         HUW
tech-c:         CP11558-RIPE
tech-c:         PH7311-RIPE
tech-c:         KW2814-RIPE
tech-c:         SF9489-RIPE
tech-c:         MK23135-RIPE
tech-c:         OE1366-RIPE
tech-c:         CBT18-RIPE
tech-c:         CG12576-RIPE
tech-c:         RS26744-RIPE
nic-hdl:        CREW-RIPE
abuse-mailbox:  abuse@ripe.net
mnt-by:         RIPE-NCC-HM-MNT
created:        2002-09-23T10:13:06Z
last-modified:  2023-08-29T11:33:21Z
source:         RIPE # Filtered

role:           Internet Assigned Numbers Authority
address:        see http://www.iana.org.
admin-c:        IANA1-RIPE
tech-c:         IANA1-RIPE
nic-hdl:        IANA1-RIPE
remarks:        For more information on IANA services
remarks:        go to IANA web site at http://www.iana.org.
mnt-by:         RIPE-NCC-MNT
created:        1970-01-01T00:00:00Z
last-modified:  2001-09-22T09:31:27Z
source:         RIPE # Filtered

role:           RIPE NCC Operations
address:        Stationsplein 11
address:        1012 AB Amsterdam
address:        The Netherlands
phone:          +31 20 535 4444
fax-no:         +31 20 535 4445
abuse-mailbox:  abuse@ripe.net
admin-c:        BRD-RIPE
tech-c:         GL7321-RIPE
tech-c:         MENN1-RIPE
tech-c:         RCO-RIPE
tech-c:         CNAG-RIPE
tech-c:         SO2011-RIPE
tech-c:         TOL666-RIPE
tech-c:         ADM6699-RIPE
tech-c:         TIB-RIPE
tech-c:         SG16480-RIPE
tech-c:         RDM397-RIPE
nic-hdl:        OPS4-RIPE
mnt-by:         RIPE-NCC-MNT
created:        2002-09-16T10:35:19Z
last-modified:  2019-06-05T11:01:30Z
source:         RIPE # Filtered

% This query was served by the RIPE Database Query Service version 1.109.1 (SHETLAND)

Sales-LWTD = 

CALCULATE( [Total Sales]), 
	FILTER( ALL( 'Calendar'),
	'Calendar'[Week Rank] = ( MAX ('Calendar'[Week Rank]) -1) && 
	'Calendar'[Weekday] <= < MAX( 'Calendar'[Weekday])
		)
	)
Sales-WTD = 

CALCULATE( [Total Sales], 
	FILTER( ALL('Calendar'),
		'Calendar'[Week Rank] = MAX( 'Calendar'[Week Rank] ) && 
		'Calendar'[Weekday] <= MAX( 'Date'[Weekday] ) 
		) 
	)
Sales-PW =

CALCULATE ( [Total Sales], 
	FILTER( ALL( 'Calendar' ),
	'Calendar'[Week Rank] = MAX ( 'Calendar'[Week Rank] ) -1 ) 
	)
Week End date = 

'Calendar'[Date] + 7-1 * WEEKDAY( 'Calendar'[Date], 2 )
Week Start date = 

'Calendar'[Date] + -1 * WEEKDAY( 'Calendar'[Date], 2 ) + 1
Sales-WTD = 

VAR CD =
    LASTDATE( 'Calendar'[Date] )

VAR CY =
    MAX( 'Calendar'[Year] )
    
VAR WeekDayNo =
    WEEKDAY( LASTDATE( 'Calendar'[Date] ), 3 )

RETURN
CALCULATE(
    [Total Sales],
    DATESBETWEEN(
        'Calendar'[Date],
        DATEADD(
            CD, 
            -1 * WeekDayNo, DAY ), 
            CD),
    'Calendar'[Year] = CY
)
Sales-WoW% = 

VAR WoW =
    [Sales-WoW]
    
VAR PW = 
    [Sales-PW]
    
RETURN
    IF (
        PW = BLANK (),
            BLANK (),
        DIVIDE ( WoW, PW )
        )
Sales-WoW = 

VAR WoW =
    IF ( [Sales-PW] = BLANK(),
        BLANK(),
    [Sales-CW] - [Sales-PW] )

RETURN
    WoW
Sales-PW = 

VAR CurrentWeek =
    SELECTEDVALUE( 'Calendar'[WeekNo] )

VAR CurrentYear =
    SELECTEDVALUE( 'Calendar'[Year] )

VAR MaxWeekNo =
    CALCULATE(
        MAX ( 'Calendar'[WeekNo] ), 
            ALL ( 'Calendar' )
            )

RETURN
SUMX(
    FILTER( ALL ( 'Calendar' ),
        IF ( CurrentWeek = 1,
            'Calendar'[WeekNo] = MaxWeekNo && 'Calendar'[Year] = CurrentYear -1,
            'Calendar'[WeekNo] = CurrentWeek -1 && 'Calendar'[Year] = CurrentYear )
        ),
    [Total Sales]
    )
Sales-CW = 

CALCULATE( [Total Sales], 
    FILTER(
        ALL('Calendar'),
        'Calendar'[Week Rank] = MAX( 'Calendar'[Week Rank])
            )
        )
import { plainToInstance } from 'class-transformer';
import { validate } from 'class-validator';
export * from 'class-validator';

export const validationPipe = async (schema: new () => {}, requestObject: object) => {
  const transformedClass: any = plainToInstance(schema, requestObject);
  const errors = await validate(transformedClass);
  if (errors.length > 0) {
    return errors;
  }
  return true;
};
Sales-DoD% = 

VAR DoD =
    [Sales-DoD]
    
VAR PD = 
    [Sales-PD]
    
RETURN
    IF (
        PD = BLANK (),
            BLANK (),
        DIVIDE ( DoD, PD )
        )
Sales-DoD = 

VAR DoD =
    IF ( [Sales-PD] = BLANK(),
        BLANK(),
    [Total Sales] - [Sales-PD] )

RETURN
    DoD
Sales-PD =

CALCULATE( 
    [Total Sales],
    DATEADD( 'Calendar'[Date], -1, DAY )
    )
const merlin = new Merlin({ apiKey:"<YOUR_OPENAI_KEY>", merlinConfig: {apiKey: "<YOUR_MERLIN_API_KEY>"} });`
import { Merlin } from "merlin-node";

const apiKey = "<YOUR_MERLIN_API_KEY>"; // Replace with your API key from Merlin
const merlin = new Merlin({ merlinConfig: { apiKey } });

async function createCompletion() {
  try {
    const completion = await merlin.chat.completions.create({
      messages: [
        { role: "system", content: "You are a helpful assistant." },
        {
          role: "user",
          content: [
            {
              type: "image_url",
              image_url:
                "https://upload.wikimedia.org/wikipedia/commons/thumb/d/dd/Gfp-wisconsin-madison-the-nature-boardwalk.jpg/2560px-Gfp-wisconsin-madison-the-nature-boardwalk.jpg",
            },
            {
              type: "text",
              text: "What’s in this image?",
            },
          ],
        },
      ],
      model: "gemini-pro-vision",
    });

    console.log(completion.choices[0].message.content);
  } catch (error) {
    console.error("Error creating completion:", error);
  }
}

createCompletion();
1. set these for the project (name accordingly)
for REACT, publish directory is "build"
Base directory = my-portfolio-frontend
Package directory = Not set
Build command = npm run build
Publish directory = my-portfolio-frontend/build


2.
To Fix babel... warning, write this command -
npm install --save-dev @babel/plugin-proposal-private-property-in-object

Next create a new file and paste this
// .babelrc
{
  "presets": [
    "react-app"
  ],
  "plugins": [
    "@babel/plugin-proposal-private-property-in-object"
    // Add any other plugins you may have here
  ]
}


3.
In the root folder add a new file and paste it
// netlify.toml
[[redirects]]
from = "/*"
to = "/index.html"
status = 200


4. Remove all the warnings from the project
# split()
# دالة تقوم بتقسيم السلسلة إلى قائمة من الكلمات باستخدام (المسافات أو أي نص آخر) كفاصل
# Syntax: string.split(sep=None, maxsplit=-1) -> list[LiteralString]
# sep => Separator    NOTE: By default any (whitespace) is a separator
# maxsplit => عايز التقسيم يكون في كام عنصر؟
# maxsplit => لو كتبت مثلا 2 ترجع 3عناصر وهكذا، يعني النتيجة بتكون +1 يعني التقسيم تم في 2 والباقي نزله في عنصر واحد الاخير

## أختها الوحيدة ##########################
# rsplit()  # Right Split
################################################################

txt1 = "welcome to the jungle"
txt2 = "welcome#to#the#jungle"

print("============(split)===================================")
x1 = txt1.split()           
x2 = txt1.split(" ",2)
x3 = txt2.split("#")
print(x1)                   # ['welcome', 'to', 'the', 'jungle']
print(x2)                   # ['welcome', 'to', 'the jungle']
print(x3)                   # ['welcome', 'to', 'the', 'jungle']

print("============(rsplit)===================================")
y1 = txt1.rsplit(None,2)
y2 = txt1.rsplit(" ",2)
print(y1)                    # ['welcome to', 'the', 'jungle']
print(y2)                    # ['welcome to', 'the', 'jungle']
% This is the RIPE Database query service.
% The objects are in RPSL format.
%
% The RIPE Database is subject to Terms and Conditions.
% See https://apps.db.ripe.net/docs/HTML-Terms-And-Conditions

% Note: this output has been filtered.
%       To receive output for a database update, use the "-B" flag.

% Information related to '::/0'

% No abuse contact registered for ::/0

inet6num:       ::/0
netname:        IANA-BLK
descr:          The whole IPv6 address space
country:        EU # Country is really world wide
org:            ORG-IANA1-RIPE
admin-c:        IANA1-RIPE
tech-c:         CREW-RIPE
tech-c:         OPS4-RIPE
mnt-by:         RIPE-NCC-HM-MNT
mnt-lower:      RIPE-NCC-HM-MNT
status:         ALLOCATED-BY-RIR
remarks:        This network is not allocated.
                This object is here for Database
                consistency and to allow hierarchical
                authorisation checks.
created:        2002-08-05T10:21:17Z
last-modified:  2022-05-23T14:49:16Z
source:         RIPE

organisation:   ORG-IANA1-RIPE
org-name:       Internet Assigned Numbers Authority
org-type:       IANA
address:        see http://www.iana.org
remarks:        The IANA allocates IP addresses and AS number blocks to RIRs
remarks:        see http://www.iana.org/numbers
admin-c:        IANA1-RIPE
tech-c:         IANA1-RIPE
mnt-ref:        RIPE-NCC-HM-MNT
mnt-by:         RIPE-NCC-HM-MNT
created:        2004-04-17T09:57:29Z
last-modified:  2013-07-22T12:03:42Z
source:         RIPE # Filtered

role:           RIPE NCC Registration Services Department
address:        RIPE Network Coordination Centre
address:        P.O. Box 10096
address:        1001 EB Amsterdam
address:        the Netherlands
phone:          +31 20 535 4444
fax-no:         +31 20 535 4445
org:            ORG-NCC1-RIPE
admin-c:        MSCH2-RIPE
tech-c:         KL1200-RIPE
tech-c:         XAV
tech-c:         MPRA-RIPE
tech-c:         EM12679-RIPE
tech-c:         KOOP-RIPE
tech-c:         RS23393-RIPE
tech-c:         SPEN
tech-c:         LH47-RIPE
tech-c:         TORL
tech-c:         ME3132-RIPE
tech-c:         JW1966
tech-c:         AD11
tech-c:         HUW
tech-c:         CP11558-RIPE
tech-c:         PH7311-RIPE
tech-c:         KW2814-RIPE
tech-c:         SF9489-RIPE
tech-c:         MK23135-RIPE
tech-c:         OE1366-RIPE
tech-c:         CBT18-RIPE
tech-c:         CG12576-RIPE
tech-c:         RS26744-RIPE
nic-hdl:        CREW-RIPE
abuse-mailbox:  abuse@ripe.net
mnt-by:         RIPE-NCC-HM-MNT
created:        2002-09-23T10:13:06Z
last-modified:  2023-08-29T11:33:21Z
source:         RIPE # Filtered

role:           Internet Assigned Numbers Authority
address:        see http://www.iana.org.
admin-c:        IANA1-RIPE
tech-c:         IANA1-RIPE
nic-hdl:        IANA1-RIPE
remarks:        For more information on IANA services
remarks:        go to IANA web site at http://www.iana.org.
mnt-by:         RIPE-NCC-MNT
created:        1970-01-01T00:00:00Z
last-modified:  2001-09-22T09:31:27Z
source:         RIPE # Filtered

role:           RIPE NCC Operations
address:        Stationsplein 11
address:        1012 AB Amsterdam
address:        The Netherlands
phone:          +31 20 535 4444
fax-no:         +31 20 535 4445
abuse-mailbox:  abuse@ripe.net
admin-c:        BRD-RIPE
tech-c:         GL7321-RIPE
tech-c:         MENN1-RIPE
tech-c:         RCO-RIPE
tech-c:         CNAG-RIPE
tech-c:         SO2011-RIPE
tech-c:         TOL666-RIPE
tech-c:         ADM6699-RIPE
tech-c:         TIB-RIPE
tech-c:         SG16480-RIPE
tech-c:         RDM397-RIPE
nic-hdl:        OPS4-RIPE
mnt-by:         RIPE-NCC-MNT
created:        2002-09-16T10:35:19Z
last-modified:  2019-06-05T11:01:30Z
source:         RIPE # Filtered

% This query was served by the RIPE Database Query Service version 1.109.1 (SHETLAND)

star

Sun Dec 31 2023 22:25:48 GMT+0000 (Coordinated Universal Time)

@E23CSEU1151 #java

star

Sun Dec 31 2023 17:28:58 GMT+0000 (Coordinated Universal Time)

@darshcode #sql

star

Sun Dec 31 2023 15:13:32 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/12789396/how-can-i-get-multiple-counts-with-one-sql-query

@darshcode #sql

star

Sun Dec 31 2023 14:46:00 GMT+0000 (Coordinated Universal Time)

@9258760001

star

Sun Dec 31 2023 13:05:15 GMT+0000 (Coordinated Universal Time) https://www.geolocation.com/en_us?ip

@etg1 #json

star

Sun Dec 31 2023 10:51:27 GMT+0000 (Coordinated Universal Time) https://codepen.io/IPilgu/pen/xxwJbrg

@Spsypg #undefined

star

Sun Dec 31 2023 09:54:18 GMT+0000 (Coordinated Universal Time) https://groups.google.com/a/chromium.org/g/chromium-reviews/c/FfL9TjSGDtg

@Ash101

star

Sun Dec 31 2023 09:11:10 GMT+0000 (Coordinated Universal Time)

@mebean #اشعارات

star

Sun Dec 31 2023 00:07:29 GMT+0000 (Coordinated Universal Time) https://codepen.io/IPilgu/pen/xxwJbrg

@Spsypg #undefined

star

Sun Dec 31 2023 00:07:20 GMT+0000 (Coordinated Universal Time) https://codepen.io/IPilgu/pen/xxwJbrg

@Spsypg #undefined

star

Sat Dec 30 2023 21:47:04 GMT+0000 (Coordinated Universal Time) https://chat.openai.com/?__cf_chl_tk

@eziokittu

star

Sat Dec 30 2023 15:20:58 GMT+0000 (Coordinated Universal Time)

@seb_prjcts_be

star

Sat Dec 30 2023 15:02:40 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:37 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:34 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:31 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:28 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:25 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:21 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:19 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 15:02:13 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup.php?ip

@etg1

star

Sat Dec 30 2023 14:59:03 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup/whois.php?query

@etg1

star

Sat Dec 30 2023 13:10:19 GMT+0000 (Coordinated Universal Time)

@temycodes #solidity #javascript

star

Sat Dec 30 2023 13:03:55 GMT+0000 (Coordinated Universal Time)

@temycodes #solidity #javascript

star

Sat Dec 30 2023 10:59:27 GMT+0000 (Coordinated Universal Time) https://www.find-ip-address.org/whois-lookup.php

@etg1

star

Sat Dec 30 2023 09:22:30 GMT+0000 (Coordinated Universal Time)

@Santhoshkumar

star

Sat Dec 30 2023 07:12:45 GMT+0000 (Coordinated Universal Time)

@nikahafiz #ms.pbi #dax #dax.weekday

star

Sat Dec 30 2023 07:11:01 GMT+0000 (Coordinated Universal Time)

@nikahafiz #ms.pbi #dax #dax.weeknum

star

Sat Dec 30 2023 07:07:22 GMT+0000 (Coordinated Universal Time)

@nikahafiz #ms.pbi #dax #dax.weekday

star

Sat Dec 30 2023 07:06:37 GMT+0000 (Coordinated Universal Time)

@nikahafiz #ms.pbi #dax #dax.weekday

star

Sat Dec 30 2023 04:52:15 GMT+0000 (Coordinated Universal Time) https://dev.to/thesameeric/validating-requests-using-validation-pipes-in-typescript-496f

@daavib

star

Sat Dec 30 2023 04:43:03 GMT+0000 (Coordinated Universal Time)

@nikahafiz #ms.pbi #dax #previous.day #dax.calculate #dax.dateadd

star

Fri Dec 29 2023 23:36:27 GMT+0000 (Coordinated Universal Time) https://iplocation.io/ip-extractor

@etg1

star

Fri Dec 29 2023 20:02:37 GMT+0000 (Coordinated Universal Time) https://api.getmerlin.in/docs/gemini-models

@Spsypg #typescript

star

Fri Dec 29 2023 20:02:28 GMT+0000 (Coordinated Universal Time) https://api.getmerlin.in/docs/gemini-models

@Spsypg #typescript

star

Fri Dec 29 2023 20:02:12 GMT+0000 (Coordinated Universal Time) https://api.getmerlin.in/docs/gemini-models

@Spsypg #bash

star

Fri Dec 29 2023 19:24:22 GMT+0000 (Coordinated Universal Time) https://chat.openai.com/?__cf_chl_tk

@eziokittu

star

Fri Dec 29 2023 17:02:46 GMT+0000 (Coordinated Universal Time)

@rmdnhsn #python

star

Fri Dec 29 2023 13:32:54 GMT+0000 (Coordinated Universal Time) https://www.ip-tracker.org/lookup/whois.php?query

@etg1

Save snippets that work with our extensions

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