This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Get all script tags with type 'application/ld+json' | |
const jsonLdScripts = Array.from(document.querySelectorAll('script[type="application/ld+json"]')); | |
// Parse and log each JSON-LD script content | |
const jsonLdData = jsonLdScripts.map(script => { | |
try { | |
return JSON.parse(script.textContent); | |
} catch (e) { | |
console.error("Error parsing JSON-LD:", e); | |
return null; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="spinner"></div> | |
<style> | |
.spinner { | |
border: 4px solid rgba(0, 0, 0, 0.1); /* Light gray border */ | |
border-left-color: #000; /* Darker border on one side */ | |
border-radius: 50%; /* Make it a circle */ | |
width: 40px; /* Width of the spinner */ | |
height: 40px; /* Height of the spinner */ | |
animation: spin 1s linear infinite; /* Animation with continuous spinning */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch("/browsing_context_suggestions.json").then(s=>s.json()).then(s=> console.log(s.detected_values.country.handle)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Microsoft.Data.SqlClient; | |
using System.Data; | |
public class DatabaseComparision | |
{ | |
public void Main() | |
{ | |
// Connection string parameters for database 1 | |
string server1 = "LAPTOP\\SQLSERVER"; | |
string database1 = "TESTDB"; |