Snippets Collections
#!/bin/bash

backup_dir="/home/akshatha/backup" #Define the backup directory

mkdir -p $backup_dir #Create the backup directory if does not exists

timestamp=$(date +'%Y%m%d_%H%M%S')

backup_filename="backup_${timestamp}.tar.gz"

tar czf "${backup_dir}/${backup_filename}" /home/akshatha/shell_script/

echo "Backup created: ${backup_dir}/${backup_filename}"

~/miniconda3/bin/conda init bash
~/miniconda3/bin/conda init zsh
mkdir -p ~/miniconda3
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda3/miniconda.sh
bash ~/miniconda3/miniconda.sh -b -u -p ~/miniconda3
rm -rf ~/miniconda3/miniconda.sh
person_info = {
    'Name': 'Ahmed',
    'Age': 25,
    'City': 'Cairo'
}
in the similar way i want to disable 'f12' to get the inspect menu
ChatGPT
ChatGPT
Disabling the ability to open browser developer tools (including using F12 to access the inspect menu) is generally not recommended, as it can be considered intrusive and goes against the user's expectations. Users have the right to inspect and interact with the content of a web page. Attempting to prevent it may lead to a poor user experience and potential accessibility issues.

However, if you still want to proceed, note that disabling F12 or other keyboard shortcuts is not foolproof, as users can still access developer tools through the browser menu or other methods.

Here's an example of how you might try to prevent F12 using a similar approach as before:

jsx
Copy code
import React from 'react';

const DisableF12 = (WrappedComponent) => {
  return class extends React.Component {
    handleKeyDown = (e) => {
      if (e.keyCode === 123) {
        // F12 key was pressed
        e.preventDefault();
      }
    };

    componentDidMount() {
      document.addEventListener('keydown', this.handleKeyDown);
    }

    componentWillUnmount() {
      document.removeEventListener('keydown', this.handleKeyDown);
    }

    render() {
      return <WrappedComponent {...this.props} />;
    }
  };
};

export default DisableF12;
Then, use this HOC to wrap your main application component:

jsx
Copy code
// App.js
import React from 'react';
import DisableF12 from './DisableF12';

const App = () => {
  return (
    <div>
      {/* Your React component content goes here */}
    </div>
  );
};

export default DisableF12(App);
Please be aware that users can still access the developer tools through other means, and attempting to prevent it may lead to negative reactions from users. It's generally better to focus on creating a positive user experience and trust users to use the browser tools responsibly.




give the full code to disable my mouse right click in the entire website

ChatGPT
Certainly! To disable the right-click context menu for the entire website in a React application, you can use a higher-order component (HOC) that wraps your entire application. Here's an example:

// DisableRightClick/js
import React from 'react';

const DisableRightClick = (WrappedComponent) => {
  return class extends React.Component {
    handleContextMenu = (e) => {
      e.preventDefault();
    };

    componentDidMount() {
      document.addEventListener('contextmenu', this.handleContextMenu);
    }

    componentWillUnmount() {
      document.removeEventListener('contextmenu', this.handleContextMenu);
    }

    render() {
      return <WrappedComponent {...this.props} />;
    }
  };
};

export default DisableRightClick;



// Then, you can use this HOC to wrap your main application component:
// App.js
import React from 'react';
import DisableRightClick from './DisableRightClick';

const App = () => {
  return (
    <div>
      {/* Your React component content goes here */}
    </div>
  );
};

export default DisableRightClick(App);


In this example:
The DisableRightClick HOC creates a class component that wraps your provided component.
It adds an event listener for the contextmenu event to disable the right-click context menu.
The event listener is added in the componentDidMount lifecycle method and removed in the componentWillUnmount method to avoid memory leaks.
By using this HOC, the right-click context menu will be disabled for the entire application. Adjust the paths and structure based on your project's setup. Keep in mind that disabling the right-click context menu is a user experience choice and doesn't provide complete security. Users can still access the context menu using browser developer tools or other methods.
FROM python:3.9-slim-bullseye

ENV VIRTUAL_ENV=/opt/venv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"

# Install dependencies:
COPY requirements.txt .
RUN pip install -r requirements.txt

# Run the application:
COPY myapp.py .
CMD ["python", "myapp.py"]
import React, { useEffect } from 'react';

const App = () => {
  useEffect(() => {
    const handleVisibilityChange = () => {
      if (document.hidden) {
        // The page is not visible (user switched tabs)
        document.title = 'User switched tabs';
      } else {
        // The page is visible again
        document.title = 'Your Website Title';
      }
    };

    // Add event listener when the component mounts
    document.addEventListener('visibilitychange', handleVisibilityChange);

    // Clean up the event listener when the component unmounts
    return () => {
      document.removeEventListener('visibilitychange', handleVisibilityChange);
    };
  }, []); // Empty dependency array ensures the effect runs only once on mount

  return (
    <div>
      {/* Your React component content goes here */}
    </div>
  );
};

export default App;
When to Use
In situations where the this keyword isn't being used inside the body of a function, do what you think is best! For instance, it's quite convenient to use arrow functions in callbacks because of their short syntax:
Copy code
JAVASCRIPT
const numbers = [2, 3, 5];
const doubledNumbers = numbers.map(number => number * 2);

console.log(doubledNumbers); // 4, 6, 10 
Page segmentation modes:
  0    Orientation and script detection (OSD) only.
  1    Automatic page segmentation with OSD.
  2    Automatic page segmentation, but no OSD, or OCR.
  3    Fully automatic page segmentation, but no OSD. (Default)
  4    Assume a single column of text of variable sizes.
  5    Assume a single uniform block of vertically aligned text.
  6    Assume a single uniform block of text.
  7    Treat the image as a single text line.
  8    Treat the image as a single word.
  9    Treat the image as a single word in a circle.
 10    Treat the image as a single character.
 11    Sparse text. Find as much text as possible in no particular order.
 12    Sparse text with OSD.
 13    Raw line. Treat the image as a single text line,
                        bypassing hacks that are Tesseract-specific.
The apply() Method
apply() and call() are actually pretty similar. Both methods explicitly define the value of this, but they have different ways of taking arguments. For both methods, the first parameter will be the object that we want to be the value of this. However, instead of accepting an endless number of arguments, the second parameter of apply() will be an array containing all the arguments we wish to pass to the function:
Copy code
JAVASCRIPT
const car = {
  registrationNumber: 'O287AE',
  brand: 'Tesla'
};

function displayDetails(greeting, ownerName) {
  console.log(`${greeting} ${ownerName}`);
  console.log(`Car info: ${this.registrationNumber} ${this.brand}`);
}

displayDetails.apply(car, ['Hello', 'Matt']);

/*

  Hello Matt
  Car info: O287AE Tesla

*/ 
The call() Method

/*The call() method invokes a function and explicitly defines its context. In other words, we can use call() to call a function and specify which object will be assigned to this. 
Consider the following example:*/

const user = {
  username: 'Peter',
  auth() {
    console.log(`${this.username} has logged in`);
  }
};

const adminAuth = user.auth;

adminAuth.call(user); // Peter has logged in 

/*We have already encountered some code very similar to the above example. Remember, if we were to call adminAuth() without using call() here, our context would be the global window object, and undefined would be returned. With call(), we can explicitly specify the context.

Let's discuss the possible parameters of the call() method:

-The first parameter is the context, i.e. the object to be written to this. In the above example, this is the user object.

-The following parameters (there can be as many as needed) are the actual parameters of the function that we're calling.

In the above example, we simply used call() to define our function's context. This time, we'll also pass an argument so we can welcome our user with a custom greeting message:*/

const user = {
  username: 'Peter',
  auth(greeting) { // now this function has the greeting parameter
    console.log(`${greeting} ${this.username}`);
  }
};

const adminAuth = user.auth;

adminAuth.call(user, 'Hello'); // Hello Peter 

/*Again, there's no limit to the number of arguments we can pass:*/

const user = {
  username: 'Peter',
  auth() {
    console.log(arguments); // outputting the arguments to the console
  }
};

const adminAuth = user.auth;

adminAuth.call(user, 1, 2, 3, 4, 5); // Arguments(5) { 0: 1, 1: 2, 2: 3, 3: 4, 4: 5 } 
  // useEffect(() => {
  //   setIsLoading(true);
  //   setTimeout(() => {
  //     if (fromWillPreview && isSpouseSelected) {
  //       // From WillPreview of Spouse
  //       setList(
  //         steps.filter((s: any) => s.bookedForProfileGuid === profileGuid),
  //       ); // List should contain incomplete steps of Main Testator
  //       // setIsLoading(false);
  //     }

  //     if (fromUploadDocs) {
  //       const guid = isSpouseSelected ? spouseGuid : profileGuid;
  //       setList(steps.filter((s: any) => s.bookedForProfileGuid === guid));
  //       // setIsLoading(false);
  //     }

  //     if (fromWillPreview && !isSpouseSelected) {
  //       // From WillPreview of Main Testator
  //       setList(
  //         steps.filter((s: any) => s.bookedForProfileGuid === spouseGuid),
  //       ); // List should contain incomplete steps of spouse
  //       // setIsLoading(false);
  //     }
  //     setIsLoading(false);
  //   }, 2000);
  // }, [steps, isSpouseSelected, fromWillPreview, fromUploadDocs]);

  // useEffect(() => {
  //   setIsLoading(true);
  //   setTimeout(() => {
  //     if (fromWillPreview && isSpouseSelected) {
  //       // From WillPreview of Spouse
  //       setList(
  //         steps.filter((s: any) => s.bookedForProfileGuid === profileGuid),
  //       ); // List should contain incomplete steps of Main Testator
  //     }
  //     setIsLoading(false);
  //   }, 2000);
  // }, [steps, fromWillPreview, isSpouseSelected]);

  // // Incomplete steps listing from submit button in Modify Appointment
  // useEffect(() => {
  //   setTimeout(() => {
  //     setList(
  //       steps.filter((s: any) => (s.bookedForProfileGuid === isSpouseSelected ? spouseGuid : profileGuid)),
  //     );
  //   }, 1000);
  // }, [steps, isSpouseSelected]);

  // ---------------------------->>>

  // useEffect(() => {
  //   if (fromWillPreview && !isSpouseSelected) { // From WillPreview of Main Testator
  //     setTimeout(() => {
  //       setList(steps?.filter((s: any) => s.bookedForProfileGuid === spouseGuid)); // List should contain incomplete steps of spouse
  //     }, 1000);
  //   }
  // }, [steps, fromWillPreview, isSpouseSelected]);

  // useEffect(() => {
  //   if (fromUploadDocs) {
  //     const guid = isSpouseSelected ? spouseGuid : profileGuid;
  //     setList(
  //       steps.filter((s: any) => (s.bookedForProfileGuid === guid)),
  //     );
  //   }
  // }, [steps, fromUploadDocs, isSpouseSelected]);
There are 4 ways the value of this is set inside functions, depending on the makeup:

1. A simple function call, like the kind you learned about in our earliest JavaScript chapters
2. When calling a function as an object method
3. Explicit binding by using the call(), apply(), and bind() methods
4. When the function is used as a constructor, using the new operator
// again, with hooks
function NeonCursor() {
  const [position, setPosition] = React.useState({ top: 0, left: 0 });

  React.useEffect(() => {
    function handleMouseMove(event) {
      setPosition({
        top: event.pageY,
        left: event.pageX,
      });
    }

    // list of actions inside one hook
    document.addEventListener('mousemove', handleMouseMove);
    document.body.classList.add('no-cursor');

    // we're returning a function that remove our effects
    return () => {
      document.body.classList.remove('no-cursor');
      document.removeEventListener('mousemove', handleMouseMove);
    };
  });

  return (
    <img
      src="./cursor.png"
      width={30}
      style={{
        position: 'absolute',
        top: position.top,
        left: position.left,
        pointerEvents: 'none',
      }}
    />
  );
} 
from flask import Flask, request, jsonify
from pyngrok import ngrok
from alpaca_trade_api.rest import REST, TimeFrame
import logging

# Flask app setup
app = Flask(__name__)

# Setup logging
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')

# Alpaca API credentials
ALPACA_API_KEY = "PKVIYT9NC2P2GHCB43CJ"  # Replace with your actual API Key
ALPACA_API_SECRET = "pcnilPA8Zj2gO4pPs2Xth2io063gSymfX35moeac"  # Replace with your actual Secret Key
ALPACA_BASE_URL = "https://paper-api.alpaca.markets"

# Initialize Alpaca API
alpaca = REST(ALPACA_API_KEY, ALPACA_API_SECRET, base_url=ALPACA_BASE_URL)

# Secret key for the webhook
WEBHOOK_SECRET_KEY = "Yuvi23780557"

def reformat_ticker(symbol):
    """Reformat the ticker symbol to remove any exchange prefix."""
    return symbol.split(':')[-1]

def get_current_price(symbol):
    """Retrieve the current price of the given symbol."""
    try:
        barset = alpaca.get_bars(symbol, TimeFrame.Minute, limit=1).df
        if not barset.empty:
            return barset['close'].iloc[-1]  # Return the close price of the last bar
        else:
            logging.warning(f"No recent trading data for {symbol}")
            return None  # or some default price
    except Exception as e:
        logging.error(f"Error retrieving price for {symbol}: {e}")
        return None  # or some default price

def get_user_position(symbol):
    """Retrieve the user's current position for the given symbol."""
    try:
        position = alpaca.get_position(symbol)
        return position.qty, position.avg_entry_price
    except Exception as e:
        logging.warning(f"Could not retrieve position for {symbol}: {e}")
        return 0, 0  # Defaults if no position is found

@app.route('/webhook', methods=['POST'])
def webhook():
    """Handle incoming webhook requests."""
    data = request.json

    # Validate data
    if not all(k in data for k in ["secret_key", "ticker", "quantity", "action"]):
        logging.warning("Missing data in request")
        return jsonify({"error": "Missing data"}), 400

    # Check if the secret key matches
    if data.get('secret_key') != WEBHOOK_SECRET_KEY:
        logging.warning("Invalid secret key received")
        return jsonify({"error": "Invalid secret key"}), 403

    try:
        # Reformat the ticker symbol
        symbol = reformat_ticker(data['ticker'])
        logging.info(f"Received quantity as a string: {data['quantity']}")
        quantity = float(data['quantity'])
        logging.info(f"Parsed quantity as a float: {quantity}")
        action = data['action'].lower()

        # Retrieve current price and user's position
        current_price = get_current_price(symbol)
        user_qty, avg_entry_price = get_user_position(symbol)

        # Log order attempt and additional info
        logging.info(f"Order Attempt - Symbol: {symbol}, Quantity: {quantity}, Action: {action}")
        logging.info(f"Current Price: {current_price}, User Position: {user_qty} at avg price {avg_entry_price}")

        # Process the order
        if action in ['buy', 'sell']:
            formatted_quantity = "{:.8f}".format(quantity)
            logging.info(f"Formatted quantity: {formatted_quantity}")
            # Ensure the quantity is greater than 0
            if quantity <= 0:
                raise ValueError("Quantity must be greater than 0")
            order = alpaca.submit_order(symbol=symbol, qty=formatted_quantity, side=action, type='market', time_in_force='gtc')
            logging.info(f"Order submitted successfully - Order ID: {order.id}")
            return jsonify({"message": "Order submitted", "order_id": order.id}), 200
        else:
            logging.warning("Invalid action received")
            return jsonify({"error": "Invalid action"}), 400
    except ValueError as e:
        # Handle the specific error when conversion fails or quantity is invalid
        logging.error(f"Error in processing order: {e}")
        return jsonify({"error": "Invalid quantity format"}), 400
    except Exception as e:
        # Handle any other exceptions
        logging.error(f"Error in processing order: {e}")
        return jsonify({"error": str(e)}), 500

if __name__ == '__main__':
    # Start ngrok when app is run
    ngrok_tunnel = ngrok.connect(5000, bind_tls=True, hostname='ysps.ngrok.io')
    logging.info(f'ngrok tunnel "webhook" -> {ngrok_tunnel.public_url}')

    # Run the Flask app
    app.run(port=5000)
import json

def export_to_csv():
    with open("data.json") as f:
        list1 = []
        data = json.loads(f.read())
        temp = data[0]
        header_items = []
        get_header_items(header_items, temp)
        list1.append(header_items)
      
        for obj in data:
            d = []
            add_items_to_data(d, obj)
            list1.append(d)
        
        with open('output.csv', 'w') as output_file:
            for a in list1:
                output_file.write(','.join(map(str, a)) + "\r")


def get_header_items(items, obj):
    for x in obj:
        if isinstance(obj[x], dict):
            items.append(x)
            get_header_items(items, obj[x])
        else:
            items.append(x)


def add_items_to_data(items, obj):
    for x in obj:
        if isinstance(obj[x], dict):
            items.append("")
            add_items_to_data(items, obj[x])
        else:
            items.append(obj[x])

export_to_csv()
#geçmişi görmek için
history
history numarası

rm ~/.bash_history && history -c   #sil

Check Link

https://learn.microsoft.com/en-us/sql/t-sql/language-elements/while-transact-sql?view=sql-server-ver16

https://learn.microsoft.com/en-us/sql/t-sql/language-elements/if-else-transact-sql?view=sql-server-ver16


Instead of reading the table twice, we only need to read it once and can return one set of results. This query also has the same 30046 logical reads.

PIVOT 

Learn how to use Pivot to do this
WITH cte1 AS(
 SELECT COUNT(*) cnt 
 FROM table1
 WHERE....
), cte2 AS(
 SELECT COUNT(*) cnt
 FROM table1
 WHERE....
), cte3 AS(
 SELECT COUNT(*) cnt
 FROM table 1
 WHERE....
)
SELECT cte1.cnt AS cte1, cte2.cnt AS cte2, cte3.cnt AS cte3
FROM cte1, cte2, cte3

SELECT
  (SELECT COUNT(*) FROM table1 WHERE....) as cte1,
  (SELECT COUNT(*) FROM table1 WHERE....) as cte2,
  (SELECT COUNT(*) FROM table1 WHERE....) as cte3
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <style>
        body {
            margin: 0;
            font-family: 'Arial', sans-serif;
        }

        .gallery {
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-top: 20px;
        }

        .image-container {
            overflow: hidden;
            width: 200px; /* Initial small width */
            transition: width 0.3s;
        }

        .image-container img {
            width: 100%;
            height: auto;
        }

        .image-container:hover {
            width: 300px; /* Expanded width on hover */
        }
    </style>
    <title>Expandable Image Gallery</title>
</head>
<body>

<div class="gallery">
    <div class="image-container" onmouseover="expandImage(this)" onmouseout="shrinkImage(this)">
        <img src="https://i.ibb.co/hVhHwwB/Untitled-design-30.png" alt="Image 1">
    </div>
    <div class="image-container" onmouseover="expandImage(this)" onmouseout="shrinkImage(this)">
        <img src="https://i.ibb.co/D9gvWV3/Untitled-design-29.png" alt="Image 2">
    </div>
<div class="image-container" onmouseover="expandImage(this)" onmouseout="shrinkImage(this)">
        <img src="https://i.ibb.co/hVhHwwB/Untitled-design-30.png" alt="Image 1">
    </div>
    <div class="image-container" onmouseover="expandImage(this)" onmouseout="shrinkImage(this)">
        <img src="https://i.ibb.co/D9gvWV3/Untitled-design-29.png" alt="Image 2">
    </div>
    <!-- Add more image containers as needed -->
</div>

<script>
    function expandImage(element) {
        element.style.width = "300px";
    }

    function shrinkImage(element) {
        element.style.width = "100px";
    }
</script>

</body>
</html>
export JAVA_HOME=[/usr/java/jdk1.6.0_45] <- 여기에 경로 설정
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.colorchooser.*;
public class ColorChooserDemo
{   private JFrame frame;
	private JColorChooser cc;
	private JButton b;
     
	public ColorChooserDemo()
	{
		frame = new JFrame("A Sample Frame");
		frame.setSize(700, 500);
		
		cc = new JColorChooser(); frame.add(cc);
		
		b = new JButton("Color Changer");
		b.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent ae)
			{ frame.getContentPane().setBackground(cc.getColor()); }
		});
		frame.add(b);		
				
		frame.setLayout(new FlowLayout());
           frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    frame.setVisible(true);
	}
	
	public static void main(String[] args)
	{  	new ColorChooserDemo(); 	}
}
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;

public class ButtonDemo  
{   private JFrame frame;
    private JLabel label;
	private JButton b1, b2; 
	
	public ButtonDemo()
	{
		frame = new JFrame("A Simple Swing App");

		Toolkit tk = frame.getToolkit();
		Dimension dim = tk.getScreenSize();
		int width = (int)dim.getWidth();
		int height = (int)dim.getHeight();
		frame.setSize(width, height);
		
		frame.setLayout(new FlowLayout());	
		
		label = new JLabel("I show the button text");
		label.setFont(new Font("Verdana", Font.BOLD, 18));	
		frame.add(label);
		
		b1 = new JButton("The First Button");
		b1.setFont(new Font("Verdana", Font.BOLD, 18));
		frame.add(b1);
		b1.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent ae)
			{   label.setText(b1.getText()+" is pressed!"); 	}
		});
		
		b2 = new JButton("The Second Button");
		b2.setFont(new Font("Verdana", Font.BOLD, 18));
		frame.add(b2);
		b2.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent ae)
			{   label.setText(b2.getText()+" is pressed!"); 	}
		});
				
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
	}
	
	public static void main(String[] args)
	{   new ButtonDemo();
	}
}
import java.awt.*;
import java.awt.event.*;
import javax .swing.*;
public class LabelDemo{
	private JFrame frame;
	private JLabel label;
	public LabelDemo(){
		frame=new JFrame("a simple swing app");
		Toolkit tk=frame.getToolkit();
		Dimension dim=tk.getScreenSize();
		int width=(int)dim.getWidth();
		int height=(int)dim.getHeight();
		frame.setSize(width,height);
		
		frame.setLayout(new FlowLayout());
		
		ImageIcon ic= new ImageIcon("giphy.gif"); 
		
		label=new JLabel("A Shining planet",ic,JLabel.CENTER);
		label.setFont(new Font("Verdana",Font.BOLD,18));
		label.setBackground(Color.blue);
		frame.add(label);
		
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.setVisible(true);
		
		
	}
	public static void main(String[] args){
		new LabelDemo();
	}
}
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.event.*;
import javax.swing.colorchooser.*;

public class ColorChooserDemo
{   private JFrame frame;
	private JColorChooser cc;
	private JButton b;
     
	public ColorChooserDemo()
	{
		frame = new JFrame("A Sample Frame");
		frame.setSize(700, 500);
		
		cc = new JColorChooser(); frame.add(cc);
		
		b = new JButton("Color Changer");
		b.addActionListener(new ActionListener(){
			public void actionPerformed(ActionEvent ae)
			{ frame.getContentPane().setBackground(cc.getColor()); }
		});
		frame.add(b);		
				
		frame.setLayout(new FlowLayout());
           frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
	    frame.setVisible(true);
	}
	
	public static void main(String[] args)
	{  	new ColorChooserDemo(); 	}
}
sync && echo 3 > /proc/sys/vm/drop_caches
jQuery(".homeSlider").slick({
customPaging: function (slick, index) {
        // Add leading zero for single-digit slide numbers
        var slideNumber = (index + 1 < 10) ? '0' + (index + 1) : (index + 1);

        // Remove the zero after count 9
        slideNumber = (index + 1 === 10) ? '' + (index + 1) : slideNumber;

        return "<a>" + slideNumber + "</a>";
    },
  });
const [array, setArray] = React.useState(['One', 'Two', 'Three']);

// this is not the correct way!
array.push('Four');
setArray(array); 

// this is the right way
setArray([...array, 'Four']);
const [rating, setRating] = React.useState(0); // -1, 0 or 1
const [isBlocked, setIsBlocked] = React.useState(false); // true or false
const [notes, setNotes] = React.useState(['no notes yet']); // an array of strings 
// the User functional component
function User(props) {
  // the hook that manages internal state
  const [rating, setRating] = React.useState(0);

  /*
   * event handlers to update internal state
   */
  function handleLike() {
    setRating(1);
  }

  function handleDislike() {
    setRating(-1);
  }

  return (
    <div className="user">
      <img src={`img/${props.id}.png`} width="75" />
      {props.name}
      <div className="rating">
        <button onClick={handleLike} disabled={rating > 0}>👍</button>
        {rating}
        <button onClick={handleDislike} disabled={rating < 0}>👎</button>
      </div>
    </div>
  );
} 
npm run dev - runs development project

npm run build -runs build project that is able to be streamed to the internet
I want to use React to Scroll to Specific Section of my Website, but the navbar, pages all are different .js files

ChatGPT
To implement scrolling to specific sections of your website using React, even when the components are in different files, you can use the react-scroll library. This library provides a smooth scrolling experience between different sections of your webpage.

Here are the steps to achieve this:

npm install react-scroll

// Navbar.js
import React from 'react';
import { Link, animateScroll as scroll } from 'react-scroll';

const Navbar = () => {
  return (
    <nav>
      <ul>
        <li>
          <Link
            activeClass="active"
            to="home"
            spy={true}
            offset={-70}
            duration={1500}
			smooth={'easeOutElastic'}
          >
            Home
          </Link>
        </li>
        <li>
          <Link
            activeClass="active"
            to="about"
            spy={true}
            offset={-70}
            duration={1500}
			smooth={'easeOutElastic'}
          >
            About
          </Link>
        </li>
        {/* Add more links for other sections */}
      </ul>
    </nav>
  );
};

export default Navbar;



// Home.js
import React from 'react';

const Home = () => {
  return (
    <div id="home">
      <h1>Home Section</h1>
      {/* Add content for the home section */}
    </div>
  );
};

export default Home;



// App.js
import React from 'react';
import Navbar from './Navbar';
import Home from './Home';
import About from './About';
// Import other section components

const App = () => {
  return (
    <div>
      <Navbar />
      <Home />
      <About />
      {/* Render other section components */}
    </div>
  );
};

export default App;


Now, when you click on the navigation links in the Navbar, the page will smoothly scroll to the corresponding sections. Make sure to customize the content of each section and adjust the Link components in the Navbar accordingly.
// InfoForm.js

this.state = {
  submitted: false,
  userEmail: '', // we'll start this off as an empty string
}; 

//We can attach the onChange listener to our <input> element. This will be triggered every time a change is made inside our input. For example, if the user enters the string, 'pillow' inside of our input, onChange() will fire 6 times, one for each character inside the string.

// InfoForm.js

<input onChange={this.handleChange} className="infoForm-input" type="email" placeholder="Enter your email here"/> 
  
//Finally, we'll need to create the handleChange() method itself:
  
// InfoForm.js

handleChange = (evt) => {
  this.setState({ userEmail: evt.target.value });
}; 
  
// Date with time
GETDATE()
// Just the year
YEAR(GETDATE())
// Date without the time
CAST( GETDATE() AS Date )
// InfoForm.js

import React from "react";
import "./InfoForm.css";

class InfoForm extends React.Component {
  constructor(props) {
    super(props);
    this.state = {
      submitted: false,
    };
  }

  handleSubmit = () => {
    this.setState({ submitted: true });
  };

  render() {
    if (this.state.submitted) {
      return (
        <p className="infoForm-text">
          Thanks. When the kingdom of comfort opens, we'll be in touch!
        </p>
      );
    } else {
      return (
        <div className="infoForm-container">
          <p className="infoForm-text">
            Sign up below and we'll let you know when we launch the next great
            mattress experience!
          </p>
          <form onSubmit={this.handleSubmit} className="infoForm-form">
            <input
              className="infoForm-input"
              type="email"
              placeholder={"Enter your email here"}
            />
            <button className="infoForm-button" type="submit">
              Amaze me!
            </button>
          </form>
        </div>
      );
    }
  }
}

export default InfoForm;
/* Header.css */

@font-face {
    font-family: 'Roboto Condensed';
    src: url('../../fonts/Robotocondensed.woff') format('woff');
}

.header-title {
    text-align: center;
    color: #fff;
    font-size: 40px;
    font-family: 'Roboto Condensed', sans-serif;
    max-width: 220px;
    margin: 0 auto 58px;
    text-transform: uppercase;
} 
select * from information_schema.columns 
where TABLE_SCHEMA ='SCE' and TABLE_NAME like'%Order%' and COLUMN_NAME like'%Order%'

select * from information_schema.columns 
WHERE TABLE_SCHEMA ='SCE' and TABLE_NAME like'vw_ORDERS_1' and COLUMN_NAME like'%Date%'
https://sydneyharbourboattours.com/wp-admin/plugin-install.php
<style>
body{
background:#f9f9fb;    
}
.view-account{
background:#FFFFFF; 
margin-top:20px;
}
.view-account .pro-label {
font-size: 13px;
padding: 4px 5px;
position: relative;
top: -5px;
margin-left: 10px;
display: inline-block
}

.view-account .side-bar {
padding-bottom: 30px
}

.view-account .side-bar .user-info {
text-align: center;
margin-bottom: 15px;
padding: 30px;
color: #616670;
border-bottom: 1px solid #f3f3f3
}

.view-account .side-bar .user-info .img-profile {
width: 120px;
height: 120px;
margin-bottom: 15px
}

.view-account .side-bar .user-info .meta li {
margin-bottom: 10px
}

.view-account .side-bar .user-info .meta li span {
display: inline-block;
width: 100px;
margin-right: 5px;
text-align: right
}

.view-account .side-bar .user-info .meta li a {
color: #616670
}

.view-account .side-bar .user-info .meta li.activity {
color: #a2a6af
}

.view-account .side-bar .side-menu {
text-align: center
}

.view-account .side-bar .side-menu .nav {
display: inline-block;
margin: 0 auto
}

.view-account .side-bar .side-menu .nav>li {
font-size: 14px;
margin-bottom: 0;
border-bottom: none;
display: inline-block;
float: left;
margin-right: 15px;
margin-bottom: 15px
}

.view-account .side-bar .side-menu .nav>li:last-child {
margin-right: 0
}

.view-account .side-bar .side-menu .nav>li>a {
display: inline-block;
color: #9499a3;
padding: 5px;
border-bottom: 2px solid transparent
}

.view-account .side-bar .side-menu .nav>li>a:hover {
color: #616670;
background: none
}

.view-account .side-bar .side-menu .nav>li.active a {
color: #40babd;
border-bottom: 2px solid #40babd;
background: none;
border-right: none
}

.theme-2 .view-account .side-bar .side-menu .nav>li.active a {
color: #6dbd63;
border-bottom-color: #6dbd63
}

.theme-3 .view-account .side-bar .side-menu .nav>li.active a {
color: #497cb1;
border-bottom-color: #497cb1
}

.theme-4 .view-account .side-bar .side-menu .nav>li.active a {
color: #ec6952;
border-bottom-color: #ec6952
}

.view-account .side-bar .side-menu .nav>li .icon {
display: block;
font-size: 24px;
margin-bottom: 5px
}

.view-account .content-panel {
padding: 30px
}

.view-account .content-panel .title {
margin-bottom: 15px;
margin-top: 0;
font-size: 18px
}

.view-account .content-panel .fieldset-title {
padding-bottom: 15px;
border-bottom: 1px solid #eaeaf1;
margin-bottom: 30px;
color: #616670;
font-size: 16px
}

.view-account .content-panel .avatar .figure img {
float: right;
width: 64px
}

.view-account .content-panel .content-header-wrapper {
position: relative;
margin-bottom: 30px
}

.view-account .content-panel .content-header-wrapper .actions {
position: absolute;
right: 0;
top: 0
}

.view-account .content-panel .content-utilities {
position: relative;
margin-bottom: 30px
}

.view-account .content-panel .content-utilities .btn-group {
margin-right: 5px;
margin-bottom: 15px
}

.view-account .content-panel .content-utilities .fa {
font-size: 16px;
margin-right: 0
}

.view-account .content-panel .content-utilities .page-nav {
position: absolute;
right: 0;
top: 0
}

.view-account .content-panel .content-utilities .page-nav .btn-group {
margin-bottom: 0
}

.view-account .content-panel .content-utilities .page-nav .indicator {
color: #a2a6af;
margin-right: 5px;
display: inline-block
}

.view-account .content-panel .mails-wrapper .mail-item {
position: relative;
padding: 10px;
border-bottom: 1px solid #f3f3f3;
color: #616670;
overflow: hidden
}

.view-account .content-panel .mails-wrapper .mail-item>div {
float: left
}

.view-account .content-panel .mails-wrapper .mail-item .icheck {
background-color: #fff
}

.view-account .content-panel .mails-wrapper .mail-item:hover {
background: #f9f9fb
}

.view-account .content-panel .mails-wrapper .mail-item:nth-child(even) {
background: #fcfcfd
}

.view-account .content-panel .mails-wrapper .mail-item:nth-child(even):hover {
background: #f9f9fb
}

.view-account .content-panel .mails-wrapper .mail-item a {
color: #616670
}

.view-account .content-panel .mails-wrapper .mail-item a:hover {
color: #494d55;
text-decoration: none
}

.view-account .content-panel .mails-wrapper .mail-item .checkbox-container,
.view-account .content-panel .mails-wrapper .mail-item .star-container {
display: inline-block;
margin-right: 5px
}

.view-account .content-panel .mails-wrapper .mail-item .star-container .fa {
color: #a2a6af;
font-size: 16px;
vertical-align: middle
}

.view-account .content-panel .mails-wrapper .mail-item .star-container .fa.fa-star {
color: #f2b542
}

.view-account .content-panel .mails-wrapper .mail-item .star-container .fa:hover {
color: #868c97
}

.view-account .content-panel .mails-wrapper .mail-item .mail-to {
display: inline-block;
margin-right: 5px;
min-width: 120px
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject {
display: inline-block;
margin-right: 5px
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label {
margin-right: 5px
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label:last-child {
margin-right: 10px
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label a,
.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label a:hover {
color: #fff
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label-color-1 {
background: #f77b6b
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label-color-2 {
background: #58bbee
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label-color-3 {
background: #f8a13f
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label-color-4 {
background: #ea5395
}

.view-account .content-panel .mails-wrapper .mail-item .mail-subject .label-color-5 {
background: #8a40a7
}

.view-account .content-panel .mails-wrapper .mail-item .time-container {
display: inline-block;
position: absolute;
right: 10px;
top: 10px;
color: #a2a6af;
text-align: left
}

.view-account .content-panel .mails-wrapper .mail-item .time-container .attachment-container {
display: inline-block;
color: #a2a6af;
margin-right: 5px
}

.view-account .content-panel .mails-wrapper .mail-item .time-container .time {
display: inline-block;
text-align: right
}

.view-account .content-panel .mails-wrapper .mail-item .time-container .time.today {
font-weight: 700;
color: #494d55
}

.drive-wrapper {
padding: 15px;
background: #f5f5f5;
overflow: hidden
}

.drive-wrapper .drive-item {
width: 130px;
margin-right: 15px;
display: inline-block;
float: left
}

.drive-wrapper .drive-item:hover {
box-shadow: 0 1px 5px rgba(0, 0, 0, .1);
z-index: 1
}

.drive-wrapper .drive-item-inner {
padding: 15px
}

.drive-wrapper .drive-item-title {
margin-bottom: 15px;
max-width: 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}

.drive-wrapper .drive-item-title a {
color: #494d55
}

.drive-wrapper .drive-item-title a:hover {
color: #40babd
}

.theme-2 .drive-wrapper .drive-item-title a:hover {
color: #6dbd63
}

.theme-3 .drive-wrapper .drive-item-title a:hover {
color: #497cb1
}

.theme-4 .drive-wrapper .drive-item-title a:hover {
color: #ec6952
}

.drive-wrapper .drive-item-thumb {
width: 100px;
height: 80px;
margin: 0 auto;
color: #616670
}

.drive-wrapper .drive-item-thumb a {
-webkit-opacity: .8;
-moz-opacity: .8;
opacity: .8
}

.drive-wrapper .drive-item-thumb a:hover {
-webkit-opacity: 1;
-moz-opacity: 1;
opacity: 1
}

.drive-wrapper .drive-item-thumb .fa {
display: inline-block;
font-size: 36px;
margin: 0 auto;
margin-top: 20px
}

.drive-wrapper .drive-item-footer .utilities {
margin-bottom: 0
}

.drive-wrapper .drive-item-footer .utilities li:last-child {
padding-right: 0
}

.drive-list-view .name {
width: 60%
}

.drive-list-view .name.truncate {
max-width: 100px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}

.drive-list-view .type {
width: 15px
}

.drive-list-view .date,
.drive-list-view .size {
max-width: 60px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis
}

.drive-list-view a {
color: #494d55
}

.drive-list-view a:hover {
color: #40babd
}

.theme-2 .drive-list-view a:hover {
color: #6dbd63
}

.theme-3 .drive-list-view a:hover {
color: #497cb1
}

.theme-4 .drive-list-view a:hover {
color: #ec6952
}

.drive-list-view td.date,
.drive-list-view td.size {
color: #a2a6af
}

@media (max-width:767px) {
.view-account .content-panel .title {
    text-align: center
}
.view-account .side-bar .user-info {
    padding: 0
}
.view-account .side-bar .user-info .img-profile {
    width: 60px;
    height: 60px
}
.view-account .side-bar .user-info .meta li {
    margin-bottom: 5px
}
.view-account .content-panel .content-header-wrapper .actions {
    position: static;
    margin-bottom: 30px
}
.view-account .content-panel {
    padding: 0
}
.view-account .content-panel .content-utilities .page-nav {
    position: static;
    margin-bottom: 15px
}
.drive-wrapper .drive-item {
    width: 100px;
    margin-right: 5px;
    float: none
}
.drive-wrapper .drive-item-thumb {
    width: auto;
    height: 54px
}
.drive-wrapper .drive-item-thumb .fa {
    font-size: 24px;
    padding-top: 0
}
.view-account .content-panel .avatar .figure img {
    float: none;
    margin-bottom: 15px
}
.view-account .file-uploader {
    margin-bottom: 15px
}
.view-account .mail-subject {
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}
.view-account .content-panel .mails-wrapper .mail-item .time-container {
    position: static
}
.view-account .content-panel .mails-wrapper .mail-item .time-container .time {
    width: auto;
    text-align: left
}
}

@media (min-width:768px) {
.view-account .side-bar .user-info {
    padding: 0;
    padding-bottom: 15px
}
.view-account .mail-subject .subject {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}
}

@media (min-width:992px) {
.view-account .content-panel {
    min-height: 800px;
    border-left: 1px solid #f3f3f7;
    margin-left: 200px
}
.view-account .mail-subject .subject {
    max-width: 280px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}
.view-account .side-bar {
    position: absolute;
    width: 200px;
    min-height: 600px
}
.view-account .side-bar .user-info {
    margin-bottom: 0;
    border-bottom: none;
    padding: 30px
}
.view-account .side-bar .user-info .img-profile {
    width: 120px;
    height: 120px
}
.view-account .side-bar .side-menu {
    text-align: left
}
.view-account .side-bar .side-menu .nav {
    display: block
}
.view-account .side-bar .side-menu .nav>li {
    display: block;
    float: none;
    font-size: 14px;
    border-bottom: 1px solid #f3f3f7;
    margin-right: 0;
    margin-bottom: 0
}
.view-account .side-bar .side-menu .nav>li>a {
    display: block;
    color: #9499a3;
    padding: 10px 15px;
    padding-left: 30px
}
.view-account .side-bar .side-menu .nav>li>a:hover {
    background: #f9f9fb
}
.view-account .side-bar .side-menu .nav>li.active a {
    background: #f9f9fb;
    border-right: 4px solid #40babd;
    border-bottom: none
}
.theme-2 .view-account .side-bar .side-menu .nav>li.active a {
    border-right-color: #6dbd63
}
.theme-3 .view-account .side-bar .side-menu .nav>li.active a {
    border-right-color: #497cb1
}
.theme-4 .view-account .side-bar .side-menu .nav>li.active a {
    border-right-color: #ec6952
}
.view-account .side-bar .side-menu .nav>li .icon {
    font-size: 24px;
    vertical-align: middle;
    text-align: center;
    width: 40px;
    display: inline-block
}
}
</style>

<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
<div class="container">
    <div class="view-account">
        <section class="module">
            <div class="module-inner">
                <div class="side-bar">
                    <div class="user-info">
                        <img class="img-profile img-circle img-responsive center-block" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                        <ul class="meta list list-unstyled">
                            <li class="name">Rebecca Sanders
                                <label class="label label-info">UX Designer</label>
                            </li>
                            <li class="email"><a href="#">Rebecca.S@website.com</a></li>
                            <li class="activity">Last logged in: Today at 2:18pm</li>
                        </ul>
                    </div>
            		<nav class="side-menu">
        				<ul class="nav">
        					<li class="active"><a href="#"><span class="fa fa-user"></span> Profile</a></li>
        					<li><a href="#"><span class="fa fa-cog"></span> Settings</a></li>
        					<li><a href="#"><span class="fa fa-credit-card"></span> Billing</a></li>
        					<li><a href="#"><span class="fa fa-envelope"></span> Messages</a></li>
        					
        					<li><a href="user-drive.html"><span class="fa fa-th"></span> Drive</a></li>
        					<li><a href="#"><span class="fa fa-clock-o"></span> Reminders</a></li>
        				</ul>
        			</nav>
                </div>
                <div class="content-panel">
                    <h2 class="title">Profile<span class="pro-label label label-warning">PRO</span></h2>
                    <form class="form-horizontal">
                        <fieldset class="fieldset">
                            <h3 class="fieldset-title">Personal Info</h3>
                            <div class="form-group avatar">
                                <figure class="figure col-md-2 col-sm-3 col-xs-12">
                                    <img class="img-rounded img-responsive" src="https://bootdey.com/img/Content/avatar/avatar1.png" alt="">
                                </figure>
                                <div class="form-inline col-md-10 col-sm-9 col-xs-12">
                                    <input type="file" class="file-uploader pull-left">
                                    <button type="submit" class="btn btn-sm btn-default-alt pull-left">Update Image</button>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-2 col-sm-3 col-xs-12 control-label">User Name</label>
                                <div class="col-md-10 col-sm-9 col-xs-12">
                                    <input type="text" class="form-control" value="Rebecca">
                                </div>
                            </div>
        
                            <div class="form-group">
                                <label class="col-md-2 col-sm-3 col-xs-12 control-label">First Name</label>
                                <div class="col-md-10 col-sm-9 col-xs-12">
                                    <input type="text" class="form-control" value="Rebecca">
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-2 col-sm-3 col-xs-12 control-label">Last Name</label>
                                <div class="col-md-10 col-sm-9 col-xs-12">
                                    <input type="text" class="form-control" value="Sanders">
                                </div>
                            </div>
                        </fieldset>
                        <fieldset class="fieldset">
                            <h3 class="fieldset-title">Contact Info</h3>
                            <div class="form-group">
                                <label class="col-md-2  col-sm-3 col-xs-12 control-label">Email</label>
                                <div class="col-md-10 col-sm-9 col-xs-12">
                                    <input type="email" class="form-control" value="Rebecca@website.com">
                                    <p class="help-block">This is the email </p>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-2  col-sm-3 col-xs-12 control-label">Twitter</label>
                                <div class="col-md-10 col-sm-9 col-xs-12">
                                    <input type="text" class="form-control" value="SpeedyBecky">
                                    <p class="help-block">Your twitter username</p>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-md-2  col-sm-3 col-xs-12 control-label">Linkedin</label>
                                <div class="col-md-10 col-sm-9 col-xs-12">
                                    <input type="url" class="form-control" value="https://www.linkedin.com/in/lorem">
                                    <p class="help-block">eg. https://www.linkedin.com/in/yourname</p>
                                </div>
                            </div>
                        </fieldset>
                        <hr>
                        <div class="form-group">
                            <div class="col-md-10 col-sm-9 col-xs-12 col-md-push-2 col-sm-push-3 col-xs-push-0">
                                <input class="btn btn-primary" type="submit" value="Update Profile">
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </section>
    </div>
</div>
"use client";
import Lenis from "@studio-freight/lenis";
import { useEffect } from "react";

export const LenisScroller = () => {
  useEffect(() => {
    const lenis = new Lenis();

    lenis.on("scroll", (e: any) => {
       console.log(e);
     });

    function raf(time: number) {
      lenis.raf(time);
      requestAnimationFrame(raf);
    }

    requestAnimationFrame(raf);

    return () => {
      lenis.destroy();
    };
  }, []);

  return <></>;
};
USE [AdventureWorks];
GO
SELECT name AS [Name], 
       SCHEMA_NAME(schema_id) AS schema_name, 
       type_desc, 
       create_date, 
       modify_date
FROM sys.objects
WHERE type ='u'
SELECT catalog_name AS DBName, 
    Schema_name, 
    schema_owner
FROM information_schema.SCHEMATA;
star

Thu Dec 28 2023 12:54:22 GMT+0000 (Coordinated Universal Time)

@achendel

star

Thu Dec 28 2023 11:57:20 GMT+0000 (Coordinated Universal Time) https://docs.conda.io/projects/miniconda/en/latest/

@Spsypg

star

Thu Dec 28 2023 11:57:15 GMT+0000 (Coordinated Universal Time) https://docs.conda.io/projects/miniconda/en/latest/

@Spsypg

star

Thu Dec 28 2023 11:41:37 GMT+0000 (Coordinated Universal Time)

@rmdnhsn #python

star

Thu Dec 28 2023 11:38:59 GMT+0000 (Coordinated Universal Time) https://chat.openai.com/c/73ae4f49-b759-447b-a24d-ded7b9e0e205

@eziokittu

star

Thu Dec 28 2023 11:26:57 GMT+0000 (Coordinated Universal Time) https://chat.openai.com/c/73ae4f49-b759-447b-a24d-ded7b9e0e205

@eziokittu

star

Thu Dec 28 2023 10:29:03 GMT+0000 (Coordinated Universal Time) https://pythonspeed.com/articles/activate-virtualenv-dockerfile/

@quaie #python #venv

star

Thu Dec 28 2023 08:35:52 GMT+0000 (Coordinated Universal Time) https://chat.openai.com/c/73ae4f49-b759-447b-a24d-ded7b9e0e205

@eziokittu

star

Thu Dec 28 2023 08:29:12 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/399bc4a1-0594-4a30-a0d1-06652b612602/task/4368d671-ee8f-4f84-b9a5-42963f804407/

@Marcelluki

star

Thu Dec 28 2023 07:47:05 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/44619077/pytesseract-ocr-multiple-config-options

@chook100 #python

star

Thu Dec 28 2023 07:07:13 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/f711442d-b2dd-4154-8776-ce7783ffba7a/task/e9c59c51-5e72-4036-ba17-7c41d7ef0a76/

@Marcelluki

star

Thu Dec 28 2023 06:35:27 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/f711442d-b2dd-4154-8776-ce7783ffba7a/task/e9c59c51-5e72-4036-ba17-7c41d7ef0a76/

@Marcelluki

star

Thu Dec 28 2023 05:00:26 GMT+0000 (Coordinated Universal Time)

@alfred555 #react.js

star

Thu Dec 28 2023 04:40:14 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/93c89dbd-3e69-429b-82bb-f3553357355f/

@Marcelluki

star

Thu Dec 28 2023 03:01:17 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/f154f989-a90e-45ae-9dac-676c391a2449/task/8935acfd-1131-4a8d-81d3-f8649d295f32/

@Marcelluki

star

Thu Dec 28 2023 00:17:47 GMT+0000 (Coordinated Universal Time)

@Tonyfingh

star

Wed Dec 27 2023 23:29:18 GMT+0000 (Coordinated Universal Time) https://github.com/bugandcode-io/PYTHON_JSON_TO_CSV/blob/main/main.py

@IndahDL #json

star

Wed Dec 27 2023 20:22:06 GMT+0000 (Coordinated Universal Time)

@Hilmi

star

Wed Dec 27 2023 18:17:38 GMT+0000 (Coordinated Universal Time) https://blog.devart.com/if-then-in-sql-server.html

@darshcode #sql

star

Wed Dec 27 2023 17:31:54 GMT+0000 (Coordinated Universal Time) https://callihandata.com/2022/05/02/multiple-counts-in-one-query/

@darshcode #sql

star

Wed Dec 27 2023 17:27:39 GMT+0000 (Coordinated Universal Time) https://www.simplilearn.com/tutorials/sql-tutorial/sql-union

@darshcode #sql

star

Wed Dec 27 2023 17:27:13 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/67688579/sql-get-counts-from-multiple-ctes-into-one-table

@darshcode #sql

star

Wed Dec 27 2023 17:11:09 GMT+0000 (Coordinated Universal Time) https://download-directory.github.io/

@abcabcabc

star

Wed Dec 27 2023 15:52:33 GMT+0000 (Coordinated Universal Time) https://blog.bitsrc.io/pitfalls-of-async-await-in-javascript-7c0678fbc282

@devbymohsin #javascript

star

Wed Dec 27 2023 15:16:13 GMT+0000 (Coordinated Universal Time) https://web.dev/articles/css-subgrid

@linabalciunaite #grid #subgrid

star

Wed Dec 27 2023 12:46:58 GMT+0000 (Coordinated Universal Time)

@im_haider

star

Wed Dec 27 2023 09:24:36 GMT+0000 (Coordinated Universal Time) https://gonghwachun.tistory.com/2

@wheedo

star

Wed Dec 27 2023 06:58:02 GMT+0000 (Coordinated Universal Time)

@dsce

star

Wed Dec 27 2023 06:11:55 GMT+0000 (Coordinated Universal Time)

@dsce

star

Wed Dec 27 2023 06:08:27 GMT+0000 (Coordinated Universal Time)

@dsce

star

Wed Dec 27 2023 05:13:25 GMT+0000 (Coordinated Universal Time)

@dsce

star

Wed Dec 27 2023 01:56:11 GMT+0000 (Coordinated Universal Time)

@wheedo #ubuntu

star

Wed Dec 27 2023 01:51:52 GMT+0000 (Coordinated Universal Time)

@wheedo #ubuntu

star

Wed Dec 27 2023 01:44:50 GMT+0000 (Coordinated Universal Time) https://askubuntu.com/questions/629995/apache-not-able-to-restart

@wheedo #apache2

star

Wed Dec 27 2023 00:15:27 GMT+0000 (Coordinated Universal Time)

@nofil

star

Tue Dec 26 2023 23:54:54 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/5adbf722-17fb-4637-89b0-6a8f144d3de9/task/9d9d6270-839b-42c9-9dce-dfe4eb4b808a/

@Marcelluki

star

Tue Dec 26 2023 22:31:29 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/46460f66-7574-4d1b-a269-8e5c08776b78/

@Marcelluki

star

Tue Dec 26 2023 22:23:19 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/46460f66-7574-4d1b-a269-8e5c08776b78/

@Marcelluki

star

Tue Dec 26 2023 21:49:30 GMT+0000 (Coordinated Universal Time)

@Marcelluki

star

Tue Dec 26 2023 21:28:32 GMT+0000 (Coordinated Universal Time) https://chat.openai.com/?__cf_chl_tk

@eziokittu

star

Tue Dec 26 2023 21:17:30 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/9670babf-c9e3-44c3-8784-d5bc9efc6c34/

@Marcelluki

star

Tue Dec 26 2023 21:03:38 GMT+0000 (Coordinated Universal Time)

@darshcode #sql

star

Tue Dec 26 2023 20:18:23 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/c1f7540a-c695-4912-b5f1-ec8b601257f5/task/57b0a0e5-2f34-4eb6-bc1d-3a747e58b05d/

@Marcelluki

star

Tue Dec 26 2023 19:54:04 GMT+0000 (Coordinated Universal Time) https://tripleten.com/trainer/web/lesson/a6036347-14d2-40cd-93f6-d08a9c2d2ecf/task/f6e5b7ab-9da4-4871-873a-36c4461f0c89/

@Marcelluki

star

Tue Dec 26 2023 19:15:41 GMT+0000 (Coordinated Universal Time)

@darshcode #sql

star

Tue Dec 26 2023 18:11:53 GMT+0000 (Coordinated Universal Time)

@Shira

star

Tue Dec 26 2023 18:10:45 GMT+0000 (Coordinated Universal Time) https://www.bootdey.com/snippets/view/Update-user-profile

@PhobiaCide #javascript

star

Tue Dec 26 2023 16:34:30 GMT+0000 (Coordinated Universal Time) https://github.com/studio-freight/lenis/issues/170

@vishalbhan

star

Tue Dec 26 2023 15:14:46 GMT+0000 (Coordinated Universal Time) https://www.sqlshack.com/different-ways-to-search-for-objects-in-sql-databases/

@darshcode #sql

star

Tue Dec 26 2023 14:43:15 GMT+0000 (Coordinated Universal Time) https://www.sqlshack.com/different-ways-to-search-for-objects-in-sql-databases/

@darshcode #sql

Save snippets that work with our extensions

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