Snippets Collections
$('.technology-all__img').each(function () {
	var randomColor = Math.random() < 0.5 ? '#f8f8f8' : 'transparent'; // Randomly choose between 	  two colors
	$(this).css('background', randomColor);
});
class Solution {
public:
    int climbStairs(int n) {
        if (n == 0 || n == 1) {
            return 1;
        }

        vector<int> dp(n+1);
        dp[0] = dp[1] = 1;
        
        for (int i = 2; i <= n; i++) {
            dp[i] = dp[i-1] + dp[i-2];
        }
        return dp[n];
    }
};
public function exportUserSummary($workflow_id, Request $request)
{
$isValid = self::handleValidateUrl($workflow_id);
if ($isValid !== true) {
return $isValid;
}
$search_start_date = $request->start_date;
$search_end_date = $request->end_date;
$search_limit = $request->limit ?: 100;
$search_page = $request->page ?: 1;

$search_offset = ($search_page - 1) * $search_limit;

// Fetch user list

$rawList = SasageHelper::$companyObj->fetch_users($search_limit, $search_offset);
$userList = collect($rawList)->map(function ($obj) {
return collect($obj)->except(SasageHelper::$userHiddenProps);
});

// Fetch tracking data for all users
$trackingObj = new \Sasage\Tracking(SasageHelper::$sasageAuthentication);

$types = ['shoot', 'measure', 'data_input', 'confirm', 'sasage'];
$trackingList = [];
$fetchFailed = false;

foreach ($types as $type) {
$tempTrackingList = [];
$results = $trackingObj->fetch_user_daily_tracking($workflow_id, $type, $search_start_date, $search_end_date, -1, -1);
if (isset($results['errors'])) {
$fetchFailed = true;
break;
}
$tempTrackingList = array_merge($tempTrackingList, $results);
$trackingList = array_merge($trackingList, $tempTrackingList);
}
if ($fetchFailed) {
// Fetch failed
return response()->json([
'message' => 'Failed to fetch tracking.',
], 500);
}

// Init user summary props
foreach ($userList as $userIndex => $user) {
foreach ($types as $type) {
$user[$type . '_duration'] = 0;
$user[$type . '_total'] = 0;
$userList[$userIndex] = $user;
}
}

// Mapping all data in tracking list to user by user.id and tracking.created_by
foreach ($trackingList as $tracking) {
foreach ($userList as $userIndex => $user) {
if ($user['id'] === $tracking['created_by']) {
$user[$tracking['type'] . '_duration'] = $tracking['duration'];
$user[$tracking['type'] . '_total'] = count($tracking['product_ids']);
$userList[$userIndex] = $user;
}
}
}

// Create CSV file
$filename = "user_summary_{$workflow_id}_" . date('Ymd_His') . ".csv";
$handle = fopen($filename, 'w');
$header = [
'username',
'averageDuration',
'averageShootDuration',
'averageMeasureDuration',
'averageDataInputDuration',
'averageConfirmDuration'
];
fputcsv($handle, $header);

foreach ($userList as $user) {
fputcsv($handle, [
$user['username'],
$user['sasage_duration'],
$user['shoot_duration'],
$user['measure_duration'],
$user['data_input_duration'],
$user['confirm_duration'],
]);
}

fclose($handle);

return response()->download($filename);
}
(function firstPaintRemote() {
  // form rawGit proxy url
  var ghUrl = 'bahmutov/code-snippets/master/first-paint.js';
  var rawUrl = 'https://rawgit.com/' + ghUrl;
  // download and run the script
  var head = document.getElementsByTagName('head')[0];
  var script = document.createElement('script');
  script.type = 'text/javascript';
  script.src = rawUrl;
  head.appendChild(script);
}());
import React from 'react';

class MessageWithEvent extends React.Component {
   constructor(props) {
      super(props);

      this.logEventToConsole = this.logEventToConsole.bind();
   }
   logEventToConsole(e) {
      console.log(e.target.innerHTML);
   }
   render() {
      return (
         <div onClick={this.logEventToConsole}>
            <p>Hello {this.props.name}!</p>
         </div>
      );
   }
}
export default MessageWithEvent;
2 conflicts:
* `filter`: [dplyr]
* `lag`   : [dplyr]
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM031dG965B0k/1d93L/pqTDiz7mRIDp19oz/WwFhpxB wendy.beaulac@finalsite.com
  UTC_DateTimeZone = DateTimeZone.UtcNow(),
  UTC_Date         = Date.From(UTC_DateTimeZone), 
  StartSummerTime  = Date.StartOfWeek(#date(Date.Year(UTC_Date), 3, 12), Day.Sunday),
  StartWinterTime  = Date.StartOfWeek(#date(Date.Year(UTC_Date), 11, 5), Day.Sunday),
                                      
  #"Added DTS OFFSET" = Table.AddColumn(#"Renamed columns 1", "DTS Offset", each if Date.From([createdon]) >= StartSummerTime and Date.From([createdon]) < StartWinterTime then 1 else 0),
  #"Added TIME ADJUST" = Table.AddColumn(#"Added DTS OFFSET", "Time Zone Adjustment", each if [Site_Name] = "CA" then 8 else if [Site_Name] = "TX" then 6 else if [Site_Name] = "TN" then 6 else 5, type any),
sudo -i
#pw
apt install curl ca-certificates -y
curl https://repo.waydro.id | sudo bash



#if that command fails run:
curl https://repo.waydro.id | sudo bash



#Now that the waydroid program is primed for installation, install it with:
apt install waydroid
apt update



#launch the Waydroid application. Install launch setting all default, except "Android type" which is set to gapps. 
#Click "Download", let android image download, click Done 



#To end waydroid session command is:
waydroid session stop



#To install apk file from host user's "Downloads" folder:
waydroid app install ~/Downloads/file_name_here.apk



#Verify app installation with:
waydroid app list



#Remove a app package
waydroid app remove packageName



##SHARE FILES BETWEEN HOST AND ANDROID IMAGE:
sudo mount --bind ~/Documents/vboxshare/ ~/.local/share/waydroid/data/media/0/Documents/share
##REPLACE ~/Documents/vboxshare - 'vboxshare' sub-folder in Ubuntu host
##REPLACE ~/.local/share/waydroid/data/media/0/Documents/share – ‘share’ sub-folder of Documents in Android. or Create directorys with matching names in each machine




###UNINSTALL WAYDROID###
waydroid session stop
sudo waydroid container stop
sudo apt remove --autoremove waydroid



#Remove leftover files and configurations and IF YOU DO NOT WISH TO REINSTALL WAYDROID RUN LAST COMMAND:
sudo rm -rf /var/lib/waydroid ~/aydroid ~/.share/waydroid ~/.local/share/applications/*waydroid* ~/.local/share/waydroid

sudo rm /etc/apt/sources.list.d/waydroid.list /usr/share/keyrings/waydroid.gpg
<script>
// Get all object elements
const objectElements = document.querySelectorAll('.relation-block object');

// Iterate over each object element
objectElements.forEach(objectElement => {
    // Listen for the load event on each object element
    objectElement.addEventListener('load', function() {
        // Get the SVG document inside the object element
        const svgDoc = objectElement.contentDocument;

        // Check if the SVG document is accessible
        if (svgDoc) {
            // Get all path elements inside the SVG document
            const pathElements = svgDoc.querySelectorAll('path');

            // Change the fill color of each path element to red
            pathElements.forEach(path => {
                path.style.fill = '#0c71c3';
            });
        } else {
            console.error('SVG document not accessible');
        }
    });
});

</script>
<a class="active [&.active]:bg-blue-400 bg-red-400">
Blue when active
</a>
function remove_pricing_post_type() {
    // Check if the custom post type exists before trying to unregister it
    if (post_type_exists('pricing')) {
        unregister_post_type('pricing');
    }
}
add_action('init', 'remove_pricing_post_type', 20); // The priority 20 ensures it runs after the custom post type is registered
function serve_404_for_specific_post_types($template) {
    if (is_singular(array('client', 'testimonial'))) { /* here is add posttype slug */ 
        global $wp_query;
        $wp_query->set_404();
        status_header(404);
        // You can either load your theme's 404 template or specify a custom 404 template
        return get_404_template();
    }
    return $template;
}
add_filter('template_include', 'serve_404_for_specific_post_types');
한글 포함시키는 범위
32-126,44032-55203,12593-12643,8200-9900
.swiper-slide:nth-child(even) figure {
    display: flex;
    flex-direction: column-reverse;
}
.elementor-9707 .elementor-element.elementor-element-4690301 .elementor-image-carousel-caption{
        border: 1px solid #000000;
        padding: 18px;
}
.slider-img img{
    margin-top: 20px;
}
- examples (root)
  - category
    - project
      - example
  - category
    - project
      - example
      - example
      - example
    - project
      - example
      - example
  - category
    - project
      - example
    - project
      - example
      - example
{
  "hosting": {
    "source": ".",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "frameworksBackend": {
      "region": "us-central1"
    }
  }
}
{
  "hosting": {
    "source": ".",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "frameworksBackend": {
      "region": "us-central1"
    }
  }
}
{
  "hosting": {
    "source": ".",
    "ignore": [
      "firebase.json",
      "**/.*",
      "**/node_modules/**"
    ],
    "frameworksBackend": {
      "region": "us-central1"
    }
  }
}
const taskForm = document.querySelector("#task-form");
const taskInput = document.querySelector("#task");
const collection = document.querySelector(".collection");
const clearTaskBtn = document.querySelector(".clear-tasks");

taskForm.addEventListener("submit", function (event) {
  event.preventDefault();

  const inputValue = taskInput.value;
  //agar ye input value mujood na ho

  if (!inputValue) {
    alert("please fill the input field");
    return;
  }

  /*
create this type of element in dom

<li class="collection-item">
                  List Item
                  <a href="#" class="delete-item secondary-content">
                    <i class="fa fa-remove"></i>
                  </a>
                </li>
  */

  const liElement = document.createElement("li");
  liElement.className = "collection-item";
  liElement.innerHTML = `${inputValue}
  <a href="#" class="delete-item secondary-content">
    <i class="fa fa-remove"></i>
  </a>`;

  collection.appendChild(liElement);

  taskInput.value = "";

  //   console.log(liElement);

  saveAllTasksOnLocalStorage();
});

/*

Flexibility
appendChild: Only a single DOM node.
append: Multiple DOM nodes and text strings.


Return Value:
appendChild returns the appended node.
append does not return anything.

*/

clearTaskBtn.addEventListener("click", function (event) {
  event.preventDefault();

  if (confirm("Are you sure ?")) {
    collection.innerHTML = "";
    localStorage.removeItem("tasks");
  }
});

collection.addEventListener("click", function (event) {
  event.preventDefault();
  const currentElement = event.target;

  if (currentElement.className === "fa fa-remove") {
    // if (currentElement.classList.includes("fa fa-remove")) {
    if (confirm("Are you sure ?")) {
      currentElement.parentElement.parentElement.remove();
      saveAllTasksOnLocalStorage();
    }
  }
});

//localstorage vs session storage

// session storage will expire on closing the chrome tab

// sessionStorage.setItem("something",true);
// sessionStorage.getItem("something");

//localstorage

// session storage will not expire on closing the chrome tab

// localStorage.setItem("something",true);
// localStorage.getItem("something");

//we cannot save object/array on localstorage

// so there is a way to save it

// JSON.stringify() (during the localStorage.setItem)
// JSON.parse() (during the localStorage.getItem)

// localStorage.setItem(
//   "tasks",
//   JSON.stringify(["taskOne", "TaskTwo", "TaskThree"])
// );

// const getTasks = JSON.parse(localStorage.getItem("tasks"));

// console.log(getTasks, "getTasks");

function saveAllTasksOnLocalStorage() {
  const selectAllCollectionItems =
    document.querySelectorAll(".collection-item");
  // console.log(selectAllCollectionItems, "selectAllCollectionItems");

  let tasks = [];
  selectAllCollectionItems.forEach(function (singleCollectionItem) {
    tasks.push(singleCollectionItem.innerText);
  });

  localStorage.setItem("tasks", JSON.stringify(tasks));
}

document.addEventListener("DOMContentLoaded", function (event) {
  //after reading the all html from dom
  //jab apki html load hojaegi ye event ka function chalega

  const getTasks = JSON.parse(localStorage.getItem("tasks"));

  // console.log(getTasks, "getTasks");

  getTasks.forEach(function (singleTask) {
    // console.log(singleTask, "singleTask");

    const liElement = document.createElement("li");
    liElement.className = "collection-item";
    liElement.innerHTML = `${singleTask}
  <a href="#" class="delete-item secondary-content">
    <i class="fa fa-remove"></i>
  </a>`;

    collection.appendChild(liElement);
  });
});
echo "# hello" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://github.com/shmulisarmy/hello.git
git push -u origin main
<!DOCTYPE+html>
<html+lang="en">
<head>
++++<meta+charset="UTF-8">
++++<meta+http-equiv="X-UA-Compatible"+content="IE=edge">
++++<meta+name="viewport"+content="width=device-width,+initial-scale=1.0">
++++<title>How+To+Create+a+Search+Bar+in+HTML</title>
++++<link+rel="preconnect"+href="https://fonts.googleapis.com">
++++<link+rel="preconnect"+href="https://fonts.gstatic.com"+crossorigin>
++++<link+href="https://fonts.googleapis.com/css2?family=Poppins:wght@200&display=swap"+rel="stylesheet">
++++<link+rel="stylesheet"+type="text/css"+href="style.css">
</head>
<body>
++++
</body>
</html>
Get-ChildItem -Path C:\ -Recurse -File -ErrorAction SilentlyContinue |
    Where-Object { $_.Length -gt 100MB } |
    Sort-Object Length -Descending |
    Select-Object @{Name='FullName'; Expression={$_.FullName}},
                  @{Name='Size'; Expression={
                      if ($_.Length -ge 1GB) {
                          [math]::Round($_.Length / 1GB, 2) + ' GB'
                      } elseif ($_.Length -ge 1MB) {
                          [math]::Round($_.Length / 1MB, 2) + ' MB'
                      } else {
                          [math]::Round($_.Length / 1KB, 2) + ' KB'
                      }
                  }} |
    Format-Table -AutoSize


FullName                                           Size 
--------                                           ----------
C:\some\path\to\largefile1.ext                      123.45 MB
C:\another\path\to\largefile2.ext                   110.98 MB
Get-ChildItem -Path C:\ -Recurse -File -ErrorAction SilentlyContinue |
    Where-Object { $_.Length -gt 100MB } |
    Sort-Object Length -Descending |
    Select-Object @{Name='FullName'; Expression={$_.FullName}},
                  @{Name='Size (MB)'; Expression={[math]::Round($_.Length / 1MB, 2)}} |
    Format-Table -AutoSize

FullName                                           Size (MB)
--------                                           ----------
C:\some\path\to\largefile1.ext                      123.45
C:\another\path\to\largefile2.ext                   110.98
const fs = require('fs');
const path = require('path');

function getFolderSize(folder) {
  let totalSize = 0;

  function calculateFolderSize(folderPath) {
    const files = fs.readdirSync(folderPath);
    files.forEach(file => {
      const filePath = path.join(folderPath, file);
      const stats = fs.statSync(filePath);
      if (stats.isDirectory()) {
        calculateFolderSize(filePath);
      } else {
        totalSize += stats.size;
      }
    });
  }

  calculateFolderSize(folder);
  return totalSize;
}

const folderPath = path.resolve(__dirname, 'node_modules');
const folderSize = getFolderSize(folderPath);
console.log(`Size of node_modules: ${(folderSize / 1024 / 1024).toFixed(2)} MB`);
Get-ChildItem -Path C:\ -Recurse -File -ErrorAction SilentlyContinue | Where-Object { $_.Length -gt 100MB } | Sort-Object Length -Descending | Select-Object FullName, Length | Format-Table -AutoSize
from vaderSentiment.vaderSentiment import SentimentIntensityAnalyzer
from sklearn.metrics import accuracy_score, precision_score, recall_score, f1_score
import csv

# File path to the CSV file
file_path = r'C:\Users\User\Desktop\DBL Data Challenge\archive\Tweets.csv'

# Initialize sentiment analyzer
analyzer = SentimentIntensityAnalyzer()

# Function to analyze sentiment
def analyze_sentiment(text):
    sentiment = analyzer.polarity_scores(text)
    compound_score = sentiment['compound']
    if compound_score >= 0.05:
        return 4  # Positive
    elif compound_score <= 0:
        return 0  # Negative
    else:
        return 2  # Neutral

# Mapping from sentiment text to numeric labels
sentiment_mapping = {
    'positive': 4,
    'negative': 0,
    'neutral': 2
}

# Lists to store labels and texts
labels = []
texts = []

# Open the CSV file and read its contents
encodings = ['utf-8', 'latin1', 'iso-8859-1']
for encoding in encodings:
    try:
        with open(file_path, 'r', encoding=encoding) as file:
            reader = csv.DictReader(file)
            # Read each line in the file
            for row in reader:
                # Extract label and text
                label_text = row['airline_sentiment'].strip().lower()
                text = row['text'].strip('"')
                # Convert label text to numeric value
                if label_text in sentiment_mapping:
                    labels.append(sentiment_mapping[label_text])
                    texts.append(text)
        break
    except UnicodeDecodeError:
        print(f"Failed to read with encoding {encoding}. Trying next encoding.")
    except Exception as e:
        print(f"An error occurred: {e}")
        break

# Apply sentiment analysis to each text in the list
predicted_sentiments = [analyze_sentiment(text) for text in texts]

# Evaluate performance
accuracy = accuracy_score(labels, predicted_sentiments)
precision = precision_score(labels, predicted_sentiments, average='weighted')
recall = recall_score(labels, predicted_sentiments, average='weighted')
f1 = f1_score(labels, predicted_sentiments, average='weighted')

print("Accuracy:", accuracy)
print("Precision:", precision)
print("Recall:", recall)
print("F1 Score:", f1)
Attracting attention in the crowded NFT space requires creativity and innovation. Our marketing services are designed to help you build buzz around your digital collectibles through compelling storytelling, interactive experiences, and strategic distribution channels. Let us help you captivate audiences and drive demand for your NFTs with our proven NFT Marketing Services.
import csv
import random
import math
 
def loadcsv(filename):
	lines = csv.reader(open(filename, "r"));
	dataset = list(lines)
	for i in range(len(dataset)):
       #converting strings into numbers for processing
		dataset[i] = [float(x) for x in dataset[i]]
        
	return dataset
 
def splitdataset(dataset, splitratio):
    #67% training size
	trainsize = int(len(dataset) * splitratio);
	trainset = []
	copy = list(dataset);    
	while len(trainset) < trainsize:
#generate indices for the dataset list randomly to pick ele for training data
		index = random.randrange(len(copy));       
		trainset.append(copy.pop(index))    
	return [trainset, copy]
 
def separatebyclass(dataset):
	separated = {} #dictionary of classes 1 and 0 
#creates a dictionary of classes 1 and 0 where the values are 
#the instances belonging to each class
	for i in range(len(dataset)):
		vector = dataset[i]
		if (vector[-1] not in separated):
			separated[vector[-1]] = []
		separated[vector[-1]].append(vector)
	return separated
 
def mean(numbers):
	return sum(numbers)/float(len(numbers))
 
def stdev(numbers):
	avg = mean(numbers)
	variance = sum([pow(x-avg,2) for x in numbers])/float(len(numbers)-1)
	return math.sqrt(variance)
 
def summarize(dataset): #creates a dictionary of classes
	summaries = [(mean(attribute), stdev(attribute)) for attribute in zip(*dataset)];
	del summaries[-1] #excluding labels +ve or -ve
	return summaries
 
def summarizebyclass(dataset):
	separated = separatebyclass(dataset); 
    #print(separated)
	summaries = {}
	for classvalue, instances in separated.items(): 
#for key,value in dic.items()
#summaries is a dic of tuples(mean,std) for each class value        
		summaries[classvalue] = summarize(instances) #summarize is used to cal to mean and std
	return summaries
 
def calculateprobability(x, mean, stdev):
	exponent = math.exp(-(math.pow(x-mean,2)/(2*math.pow(stdev,2))))
	return (1 / (math.sqrt(2*math.pi) * stdev)) * exponent
 
def calculateclassprobabilities(summaries, inputvector):
	probabilities = {} # probabilities contains the all prob of all class of test data
	for classvalue, classsummaries in summaries.items():#class and attribute information as mean and sd
		probabilities[classvalue] = 1
		for i in range(len(classsummaries)):
			mean, stdev = classsummaries[i] #take mean and sd of every attribute for class 0 and 1 seperaely
			x = inputvector[i] #testvector's first attribute
			probabilities[classvalue] *= calculateprobability(x, mean, stdev);#use normal dist
	return probabilities
			
def predict(summaries, inputvector): #training and test data is passed
	probabilities = calculateclassprobabilities(summaries, inputvector)
	bestLabel, bestProb = None, -1
	for classvalue, probability in probabilities.items():#assigns that class which has he highest prob
		if bestLabel is None or probability > bestProb:
			bestProb = probability
			bestLabel = classvalue
	return bestLabel
 
def getpredictions(summaries, testset):
	predictions = []
	for i in range(len(testset)):
		result = predict(summaries, testset[i])
		predictions.append(result)
	return predictions
 
def getaccuracy(testset, predictions):
	correct = 0
	for i in range(len(testset)):
		if testset[i][-1] == predictions[i]:
			correct += 1
	return (correct/float(len(testset))) * 100.0
 
def main():
	filename = 'naivedata.csv'
	splitratio = 0.67
	dataset = loadcsv(filename);
     
	trainingset, testset = splitdataset(dataset, splitratio)
	print('Split {0} rows into train={1} and test={2} rows'.format(len(dataset), len(trainingset), len(testset)))
	# prepare model
	summaries = summarizebyclass(trainingset);    
	#print(summaries)
    # test model
	predictions = getpredictions(summaries, testset) #find the predictions of test data with the training data
	accuracy = getaccuracy(testset, predictions)
	print('Accuracy of the classifier is : {0}%'.format(accuracy))
 
main()
data=pandas.read_csv('filename.tsv',sep='\t')
function search_field_placeholder_text_update(){
	return 'Custom Search Text';
}
add_filter( 'sptp_search_placeholder_text', 'search_field_placeholder_text_update' );
import { useRef } from 'react';
import { useQuery } from 'react-query';
import axios from 'axios';

const fetchData = async (param1, param2) => {
  const { data } = await axios.get(`/api/data?param1=${param1}&param2=${param2}`);
  return data;
};

export const useDataQuery = (initialParam1, initialParam2) => {
  const param1Ref = useRef(initialParam1);
  const param2Ref = useRef(initialParam2);

  const { data, error, isLoading, refetch } = useQuery(
    ['dataKey', param1Ref.current, param2Ref.current],
    () => fetchData(param1Ref.current, param2Ref.current),
    {
      enabled: false, // Başlangıçta otomatik olarak fetch etmesini engeller
    }
  );

  const updateParamsAndRefetch = (newParam1, newParam2) => {
    param1Ref.current = newParam1;
    param2Ref.current = newParam2;
    refetch();
  };

  return { data, error, isLoading, updateParamsAndRefetch };
};
#include <bits/stdc++.h>
using namespace std;
 int main()
 {
     int n;
     cout<<"Enter size of array: ";
     cin>>n;
     int arr[n];
     cout<<"Enter the elements in array: ";
     for(int i=0;i<n;i++)
     {
         cin>>arr[i];
     }
     cout<<"Selection sort"<<endl;
     for(int i=0;i<n-1;i++)
     {
         int min=i;
         for(int j=i+1;j<n;j++)
         {
          if(arr[j] < arr[min])
          {
              swap(arr[i],arr[j]);
          }
         }
     }
     cout<<"Sorted array: ";
     for(int i=0;i<n;i++)
     {
         cout<<arr[i]<<" ";
     }
     
 }
 
//Browser Right click disable 
  useEffect(() => {
    const handleContextMenu = (event) => {
      event.preventDefault();
    };

    const handleKeyDown = (event) => {
      // F12 key
      if (event.keyCode === 123) {
        event.preventDefault();
      }
      // Ctrl+Shift+I (Chrome DevTools)
      if (event.ctrlKey && event.shiftKey && event.keyCode === 73) {
        event.preventDefault();
      }
      // Ctrl+Shift+J (Chrome DevTools)
      if (event.ctrlKey && event.shiftKey && event.keyCode === 74) {
        event.preventDefault();
      }
      // Ctrl+U (View Source)
      if (event.ctrlKey && event.keyCode === 85) {
        event.preventDefault();
      }
    };

    document.addEventListener("contextmenu", handleContextMenu);
    document.addEventListener("keydown", handleKeyDown);

    return () => {
      document.removeEventListener("contextmenu", handleContextMenu);
      document.removeEventListener("keydown", handleKeyDown);
    };
  }, []);
//-------------------------------------------------------------
{
  "manifest_version": 3,
  "name": "Hello Extensions",
  "description": "Base Level Extension",
  "version": "1.0",
  "action": {
    "default_popup": "hello.html",
    "default_icon": "hello_extensions.png"
  }
}
KMeans(n_clusters=2)
OpenLogic
Get free technical support until June 30, 2024
Amanda Lewis
Brenna Washington
Claire Peters
Daniella Villalba, PhD
Dave Farley
Dave Stanke
Dustin Smith
Eric Maxwell
Frank Xu
Gene Kim
James Brookbank
Jeffrey P. Winer, PhD
Jessie Frazelle
Jez Humble
John Speed Mayers
Kevin Storer, PhD
Lolly Chessie
Nathen Harvey
Nicole Forsgren, PhD
Steve McGhee
Todd Kulesza
Ancoris is a leading Google Cloud Services Provider, headquartered in the UK, which helps customers innovate and transform through the use of Google Cloud. We have extensive experience in Google Cloud technologies helping enterprises integrate AI-native solutions into their business through expertise in Data & AI, Application and Infrastructure Modernisation, Workspace and Maps, and were recognised as a Rising Star for Data, Analytics, and Machine Learning in 2022 ISG Provider™ Lens for Google Cloud Partner Ecosystem.
star

Wed Jun 05 2024 09:35:00 GMT+0000 (Coordinated Universal Time)

@divyasoni23 #jquery

star

Wed Jun 05 2024 07:16:25 GMT+0000 (Coordinated Universal Time) https://leetcode.com/problems/climbing-stairs/

@devdutt

star

Wed Jun 05 2024 06:55:26 GMT+0000 (Coordinated Universal Time)

@Hoangtinh2024 #php

star

Wed Jun 05 2024 05:46:02 GMT+0000 (Coordinated Universal Time) https://www.antiersolutions.com/create-a-white-label-cryptocurrency-exchange-inspired-by-kucoin/

@whitelabel

star

Wed Jun 05 2024 05:02:24 GMT+0000 (Coordinated Universal Time) https://github.com/bahmutov/code-snippets

@danielbodnar

star

Wed Jun 05 2024 03:47:20 GMT+0000 (Coordinated Universal Time) https://www.tutorialspoint.com/reactjs/reactjs_create_event_aware_component.htm

@varuspro9 #javascript

star

Tue Jun 04 2024 17:30:09 GMT+0000 (Coordinated Universal Time) https://www.quantumjitter.com/project/footnote/

@andrewbruce

star

Tue Jun 04 2024 16:51:47 GMT+0000 (Coordinated Universal Time) https://fr.qrcodechimp.com/page/alex-henson?v=chk1713090567

@Hello17

star

Tue Jun 04 2024 16:45:30 GMT+0000 (Coordinated Universal Time) https://gitlab.com/-/user_settings/ssh_keys/14641753

@wdbeaulac

star

Tue Jun 04 2024 16:33:55 GMT+0000 (Coordinated Universal Time)

@bdusenberry

star

Tue Jun 04 2024 13:57:14 GMT+0000 (Coordinated Universal Time)

@jrray

star

Tue Jun 04 2024 12:03:25 GMT+0000 (Coordinated Universal Time) https://www.antiersolutions.com/cryptocurrency-wallet-app-development/

@johnjames

star

Tue Jun 04 2024 11:36:21 GMT+0000 (Coordinated Universal Time)

@riyadhbin

star

Tue Jun 04 2024 09:11:56 GMT+0000 (Coordinated Universal Time) https://stackoverflow.com/questions/73527500/tailwind-css-active-class-only-works-while-continuing-to-click-the-button

@froiden ##tailwindcss ##css

star

Tue Jun 04 2024 08:30:24 GMT+0000 (Coordinated Universal Time)

@hamzahanif192

star

Tue Jun 04 2024 08:08:20 GMT+0000 (Coordinated Universal Time) https://www.zomato.com/srinagar/holy-smoke-lal-chowk

@sahilkirmani98

star

Tue Jun 04 2024 07:33:35 GMT+0000 (Coordinated Universal Time) view-source:https://www.zomato.com/clients/menu-tool/menu-tool/?res_id

@sahilkirmani98

star

Tue Jun 04 2024 07:30:16 GMT+0000 (Coordinated Universal Time) view-source:https://www.zomato.com/clients/menu-tool/menu-tool/?res_id

@sahilkirmani98 #java

star

Tue Jun 04 2024 07:16:47 GMT+0000 (Coordinated Universal Time)

@hamzahanif192

star

Tue Jun 04 2024 06:01:10 GMT+0000 (Coordinated Universal Time) https://velog.io/@sinabro23/TIL202-Unity-TextMeshPro-한글-폰트-깨짐-해결-및-폰트-추가

@khyinto

star

Tue Jun 04 2024 05:36:49 GMT+0000 (Coordinated Universal Time)

@Peshani98

star

Tue Jun 04 2024 00:55:06 GMT+0000 (Coordinated Universal Time) https://github.com/nodejs/examples

@calazar23

star

Tue Jun 04 2024 00:30:09 GMT+0000 (Coordinated Universal Time) https://github.com/allyelvis/firebase-framework-tools/tree/patch-1

@calazar23

star

Tue Jun 04 2024 00:30:02 GMT+0000 (Coordinated Universal Time) https://github.com/allyelvis/firebase-framework-tools/tree/patch-1

@calazar23

star

Tue Jun 04 2024 00:05:47 GMT+0000 (Coordinated Universal Time) https://github.com/allyelvis/firebase-framework-tools/tree/patch-1

@calazar23

star

Tue Jun 04 2024 00:04:33 GMT+0000 (Coordinated Universal Time) https://github.com/allyelvis/firebase-framework-tools/tree/patch-1

@calazar23

star

Tue Jun 04 2024 00:04:20 GMT+0000 (Coordinated Universal Time) https://github.com/allyelvis/firebase-framework-tools/tree/patch-1

@calazar23

star

Mon Jun 03 2024 23:59:10 GMT+0000 (Coordinated Universal Time) https://docs.github.com/en/codespaces/reference/allowing-your-codespace-to-access-a-private-registry

@calazar23

star

Mon Jun 03 2024 23:16:18 GMT+0000 (Coordinated Universal Time)

@Muhammad_Waqar

star

Mon Jun 03 2024 23:06:47 GMT+0000 (Coordinated Universal Time) https://wiki.gdevelop.io/gdevelop5/interface/games-dashboard/leaderboard-administration/

@calazar23

star

Mon Jun 03 2024 17:32:58 GMT+0000 (Coordinated Universal Time) https://github.com/shmulisarmy/hello

@shmuli

star

Mon Jun 03 2024 15:02:55 GMT+0000 (Coordinated Universal Time) undefined

@ElyasAkbari

star

Mon Jun 03 2024 14:37:41 GMT+0000 (Coordinated Universal Time) https://chatgpt.com/

@RobertoSilvaZ

star

Mon Jun 03 2024 14:35:22 GMT+0000 (Coordinated Universal Time)

@madgakantara

star

Mon Jun 03 2024 13:40:13 GMT+0000 (Coordinated Universal Time) https://www.nike.com/ch/fr/?cp

@linouille

star

Mon Jun 03 2024 12:52:44 GMT+0000 (Coordinated Universal Time) https://www.blockchainappfactory.com/nft-marketing-services

@zarazyana #bitcoinlayer2 #bitcoinlayer2solutions #bitcoinlayer2blockhainsolutions #bitcoinlayer2development

star

Mon Jun 03 2024 10:39:17 GMT+0000 (Coordinated Universal Time) https://vtupulse.com/machine-learning/naive-bayesian-classifier-in-python/

@Divyansh

star

Mon Jun 03 2024 10:00:45 GMT+0000 (Coordinated Universal Time) https://www.geeksforgeeks.org/simple-ways-to-read-tsv-files-in-python/

@vladk

star

Mon Jun 03 2024 08:39:09 GMT+0000 (Coordinated Universal Time) https://secure.helpscout.net/mailbox/a66af2abc7090990/4174594/

@Pulak

star

Mon Jun 03 2024 07:30:16 GMT+0000 (Coordinated Universal Time) https://chatgpt.com/c/0024f688-63db-4a92-8f15-6217767bbc21

@rafnex

star

Mon Jun 03 2024 06:51:18 GMT+0000 (Coordinated Universal Time)

@anchal_llll

star

Mon Jun 03 2024 06:47:46 GMT+0000 (Coordinated Universal Time)

@StephenThevar

star

Mon Jun 03 2024 06:28:11 GMT+0000 (Coordinated Universal Time) https://developer.chrome.com/docs/extensions/get-started/tutorial/hello-world

@shmuli #json

star

Mon Jun 03 2024 03:20:20 GMT+0000 (Coordinated Universal Time) https://gyangangamoodle.in/pluginfile.php/79334/mod_resource/content/2/Experiment_No_10_Kmeans (1).ipynb

@Divyansh

star

Sun Jun 02 2024 21:00:15 GMT+0000 (Coordinated Universal Time) https://www.puppet.com/solutions/centos

@curtisbarry

star

Sun Jun 02 2024 20:53:37 GMT+0000 (Coordinated Universal Time) https://dora.dev/research/team/

@curtisbarry

star

Sun Jun 02 2024 20:24:26 GMT+0000 (Coordinated Universal Time) https://cloud.google.com/find-a-partner/

@curtisbarry

Save snippets that work with our extensions

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