- Use camel case for variable and function names.
- Example: myVariable, myFunction
- Use Pascal case for class and constructor names and modubles.
- Example: MyClass, MyConstructor, MyModule
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Glygh</title> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/html2canvas/1.4.1/html2canvas.min.js" | |
integrity="sha512-BNaRQnYJYiPSqHHDb58B0yaPfCu+Wgds8Gp/gU33kqBtgNS4tSPHuGibyoeqMV/TJlSKda6FXzoEyYGjTe+vXA==" | |
crossorigin="anonymous" referrerpolicy="no-referrer"></script> | |
<link rel="stylesheet" | |
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0" /> |
class MemoryJar { | |
constructor(maxSize) { | |
this.items = new Map(); | |
this.maxSize = maxSize; | |
this.loadFromLocalStorage() | |
} | |
has(key) { | |
const itemExists = this.items.has(key); |
-----BEGIN PUBLIC KEY----- | |
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA27CVxG4/ExdpbhAsYin+ | |
p9gJLlyimKgtxhGAR4B3xTzHIR9SHaFlqGMLpykK7iYXQlCP+a/ux7cA10H2utsT | |
mpmzTSOTA6TYCpxicV0gqsMAncIUaTxJdNTq0pNRFSHTCWiZ6cuMK0rqej6yPP+H | |
j9f/wIq7706EIIgWZK7lGmDFwzlE/rblJzOEq8HeA+4oawyRmWvMzjSSVROEPoJ6 | |
4JU1K/bnPgpWlERYblqQY8F4FsBg8u4sY2eNjjopi+L98BBTQdvYJyG60Kcb9+nQ | |
w4jxUvlNXXL0wnpdviO/TRDMcrqn6GYZVY5zeUJ4WSJwBBPclCtrPyqRgmAbMnl+ | |
rQIDAQAB | |
-----END PUBLIC KEY----- |
v2.2.0
Permission is hereby granted, free of charge, to any person or organization (the "Licensee") obtaining a copy of software code or project (the "Software") developed by Steve Louies Alappat, also known as "Gandalf", "u5106" ,"5106" , "atom06" or "theatom06" (the "Developer") to use, modify, experiment, test, audit, and learn from the Software, subject to the following conditions:
Open Source Use and Non Profits: If the Licensee incorporates the Software into an open-source project, it is required to prominently acknowledge Steve Louies Alappat (the Developer) as the original author of the Software. The acknowledgment should clearly state how the Software was utilized.
Closed Source and Commercial Projects: Prior to utilizing the Software in closed-source or commercial projects, written permission must be obtained from Steve Louies Alappat (the Developer). **The permission from Steve louies Alappat must be in a physical written f
import fs from 'fs/promises'; | |
/** | |
* A class for reading, writing, and appending data to a file. | |
*/ | |
class FileJS { | |
/** | |
* The name of the file to read, write, or append to. | |
*/ | |
private fileName: string; |