This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Error Messages in Chrome vs FireFox</title> | |
</head> | |
<body> | |
<script type="text/javascript"> | |
const DEBUG = true; |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>Div Form using Global Apline Storage Variable</title> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous"> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/cdn.min.js" defer></script> | |
<script> | |
let content = [ | |
{ name: 'Test 1', description: 'Test Description 1' }, |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>RazorUI FAQ</title> | |
<style type="text/css"> | |
#razorui-faq | |
{ | |
border: 1px solid red; |
This file contains 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
import tfjs from "npm:@tensorflow/[email protected]"; | |
import * as toxicity from "npm:@tensorflow-models/[email protected]"; | |
const server = Deno.listen({ port: 8080 }); | |
console.log(`HTTP webserver running. Access it at: http://localhost:8080/`); | |
const threshold = 0.5; | |
let t0 = performance.now(); | |
let arrToxicity = {}; |
This file contains 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
<!DOCTYPE html> | |
<html lang="en" dir="ltr"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" > | |
<title>AutoSave TextArea Contents</title> | |
<script src="https://unpkg.com/[email protected]/dist/cdn.min.js" defer></script> | |
</head> | |
<body> |
This file contains 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
<!doctype html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<title>AlpineJS - Indian Number System for Amount in Rupees</title> | |
<script src="https://unpkg.com/[email protected]/dist/cdn.min.js" defer></script> | |
<script> | |
const INR_THOUSAND = 1000; |
This file contains 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
// https://www.rallycoding.com/problems/201 | |
const solve = (intArray) => | |
{ | |
let a = [], l; | |
let b = [], m = 0; | |
let i, j; | |
for (i = 0; i < intArray.length - 1; i++) | |
{ |
This file contains 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
const HUNDRED = 100; | |
const THOUSAND = HUNDRED * 10; | |
const LAKH = THOUSAND * 100; | |
const CRORE = LAKH * 100; | |
const TN = ['ten', 'eleven', 'twelve', 'thirteen', 'fourteen', 'fifteen', 'sixteen', 'seventeen', 'eighteen', 'nineteen']; | |
const TY = ['twenty', 'thirty', 'forty', 'fifty', 'sixty', 'seventy', 'sixteen', 'eighty', 'ninety']; | |
const O = ['one', 'two', 'three', 'four', 'five', 'six', 'seven', 'eight', 'nine']; | |
function number2words(num) |