Skip to content

Instantly share code, notes, and snippets.

View jayc971's full-sized avatar
๐ŸŽฏ
Focusing

Jayanika Chandrapriya jayc971

๐ŸŽฏ
Focusing
View GitHub Profile
build system was silently hanging during compilation instead of failing fast when circular dependencies existed. The dependency resolver was getting stuck in infinite loops rather than detecting cycles.
### What Happened:
```javascript
// These dependencies created a cycle:
const moduleDeps = [
"UserService>OrderService",
"OrderService>PaymentService",
"PaymentService>UserService" // Creates cycle!
];
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
font-size: 16px;
scroll-behavior: smooth;
}
@jayc971
jayc971 / dashboard.markdown
Created September 6, 2024 14:25
Dashboard

Dashboard

This is a simple interactive dashboard designed to efficiently visualize key data. The dashboard uses HTML, CSS, and JavaScript to display charts and key performance indicators, providing a quick and easy-to-understand overview of important information.

A Pen by Jayanika Chandrapriya on CodePen.

License.

@jayc971
jayc971 / index.html
Created September 6, 2024 13:35
Serendip Login Portal
<div class="wrapper">
<div class="sign-panels">
<div class="login">
<div class="title">
<img width="50%" src="https://goserendip.com/wp-content/uploads/2024/05/Serendip-Information-Architecture-07.webp"/>
<span>Sign In</span>
<p>Login With:</p>
</div>
<div>
// Append script to head.
var _pophiccup_script = document.createElement("script")
_pophiccup_script.type = "text/javascript";
_pophiccup_script.src = "https://cdnjs.cloudflare.com/ajax/libs/ouibounce/0.0.12/ouibounce.min.js";
_pophiccup_script.crossOrigin="anonymous";
_pophiccup_script.integrity="sha512-3YT22Fw1AUW4I3ww7mROUxleX/WhHY1uh6ZbWL5bRyqDNc8UE8UQf4otTicqtpzXEeSa2Ct3aZ/8gpjVcsz9LQ==";
document.getElementsByTagName("head")[0].appendChild(_pophiccup_script);
[{
"k_id":"00000001",
"title": "Compartir y Exportar Propiedades Capsulas Formativas",
"content": "<p class=\"text-justify\">En este curso veremos cรณmo podemos utilizar Inmovilla para compartir nuestras propiedades con otras agencias, tanto si utilizan Inmovilla o no. Veremos tambiรฉn como podemos exportar los datos de nuestras propiedades a un documento de Excel o XML.</p>",
"keywords":"chatbot;chatform;ai;",
"link": "https://ap.inmovilla.com/new/app/faqs/index.php?video=99",
"category": "Video",
"subcategory": "Compartir y Exportar Propiedades",
"image": ""
},
<select name="thecountry" id="thecountry" required="required">
<option value="">Country...</option>
<option value="๐Ÿ‡ฆ๐Ÿ‡ซ Afghanistan (+93)">๐Ÿ‡ฆ๐Ÿ‡ซ Afghanistan (+93)</option>
<option value="๐Ÿ‡ฆ๐Ÿ‡ฑ Albania (+355)">๐Ÿ‡ฆ๐Ÿ‡ฑ Albania (+355)</option>
<option value="๐Ÿ‡ฉ๐Ÿ‡ฟ Algeria (+213)">๐Ÿ‡ฉ๐Ÿ‡ฟ Algeria (+213)</option>
<option value="๐Ÿ‡ฆ๐Ÿ‡ฉ Andorra (+376)">๐Ÿ‡ฆ๐Ÿ‡ฉ Andorra (+376)</option>
<option value="๐Ÿ‡ฆ๐Ÿ‡ด Angola (+244)">๐Ÿ‡ฆ๐Ÿ‡ด Angola (+244)</option>
<option value="๐Ÿ‡ฆ๐Ÿ‡ฎ Anguilla (+1264)">๐Ÿ‡ฆ๐Ÿ‡ฎ Anguilla (+1264)</option>
<option value="๐Ÿ‡ฆ๐Ÿ‡ฌ Antigua &amp; Barbuda (+1268)">๐Ÿ‡ฆ๐Ÿ‡ฌ Antigua &amp; Barbuda (+1268)</option>
<option value="๐Ÿ‡ฆ๐Ÿ‡ท Argentina (+54)">๐Ÿ‡ฆ๐Ÿ‡ท Argentina (+54)</option>