We are committed to ensuring the security of our users and prioritize the confidentiality, integrity, and availability of our systems and services. This document provides guidelines on how to report security vulnerabilities and outlines our response process.
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
/** | |
* @file This script automatically refreshes a given webpage at specified intervals using Puppeteer. | |
* It is designed to monitor changes on a webpage over time. This version includes better error handling | |
* and resource management to ensure the script runs efficiently. | |
*/ | |
const puppeteer = require('puppeteer'); | |
let browser; | |
const refreshUrl = 'https://profile-counter.glitch.me/montasim/count.svg'; |
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
/** | |
* @fileoverview This script processes files by minifying JavaScript files using Terser and copying other file types. | |
* It reads configurations from a build.json, respects ignore patterns, and logs the process summary while tracking file sizes. | |
* This script is intended to be part of a build process, ensuring that only necessary files are included in the output directory | |
* and that JavaScript files are optimized for production. | |
*/ | |
import fs from 'fs/promises'; | |
import path from 'path'; | |
import { globSync } from 'glob'; |
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
{ | |
"version": 2, | |
"builds": [ | |
{ | |
"src": "./src/server.js", | |
"use": "@vercel/node" | |
} | |
], | |
"routes": [ | |
{ |
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
/** | |
* @fileoverview Defines common HTTP status codes for use in API responses. | |
* These status codes represent various states of HTTP responses and are | |
* commonly used to communicate the result of API requests. | |
* Adjust these codes as needed to align with the API's response requirements. | |
* | |
* @module constants/httpStatus | |
* @version 1.0.0 | |
* @license CC BY-NC-ND 4.0 | |
* |
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
/** | |
* @fileoverview Defines the various MIME types used in the application. | |
* This module exports an object that contains the different MIME types | |
* the application can handle. These MIME types are used to identify the format of data being processed or served. | |
* | |
* @module constants/mimeTypes | |
* @version 1.0.0 | |
* @license CC BY-NC-ND 4.0 | |
* | |
* @contact Mohammad Montasim-Al-Mamun Shuvo |
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
/** | |
* @fileoverview Defines common file extension types for use in API responses. | |
* These file extension types represent various types of files that can be served by the API. | |
* Adjust these file extension types as needed to align with the APIs content requirements. | |
* | |
* @author Mohammad Montasim -Al- Mamun Shuvo | |
* @date 2024-03-03 | |
*/ | |
/** |
See how a minor change to your commit message style can make a difference.
Tip
Have a look at git-conventional-commits , a CLI util to ensure these conventions and generate verion and changelogs
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
const show = ( | |
text = 'Please wait, the system is preparing necessary data.' | |
) => { | |
Swal.fire({ | |
width: '550px', | |
html: ` | |
<div class="bg-transparent flex flex-col items-center justify-center gap-4"> | |
<img class="w-20" src="../media/gifs/lightBlueLoadingSpinner.gif" alt="Loading gif"> | |
<strong>${text}</strong> |