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
// In below example I am converting numbers from Hindi to Latin for a given string | |
val = LangNum2Num("जिनसे आप कुछ ९० सीख सकते ३४ हैं हम लाये हैं ७ आपके लिये कुछ", "०", 0) | |
console.log(val) | |
// Prints जिनसे आप कुछ 90 सीख सकते 34 हैं हम लाये हैं 7 आपके लिये कुछ | |
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
var Mustache = require('mustache'); | |
var source = `<!doctype html> | |
<html lang="en"> | |
<head> | |
<!-- Required meta tags --> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<!-- Bootstrap CSS --> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KyZXEAg3QhqLMpG8r+8fhAXLRk2vvoC2f3B09zVXn8CA5QIVfZOJ3BCsw2P0p/We" crossorigin="anonymous"> |
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
async function encryptblob(blob) { | |
let iv = crypto.getRandomValues(new Uint8Array(12)); | |
let algorithm = { | |
name: "AES-GCM", | |
iv: iv | |
} | |
let key = await crypto.subtle.generateKey( |
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
# Please Note, I am sharing this, hoping this will be used for good public use, such as data analysis, penetration testing etc | |
# These links are already available all over the internet | |
# Also Note, Trying to login into someone else's account without their permission is unethical and illegal | |
# Collection 1 | |
magnet:?xt=urn:btih:B39C603C7E18DB8262067C5926E7D5EA5D20E12E&dn=Collection%201&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce | |
# Collection 2-5 & Antipublic | |
magnet:?xt=urn:btih:D136B1ADDE531F38311FBF43FB96FC26DF1A34CD&dn=Collection%20%232-%235%20%26%20Antipublic&tr=udp%3a%2f%2ftracker.coppersurfer.tk%3a6969%2fannounce&tr=udp%3a%2f%2ftracker.leechers-paradise.org%3a6969%2fannounce&tr=http%3a%2f%2ft.nyaatracker.com%3a80%2fannounce&tr=http%3a%2f%2fopentracker.xyz%3a80%2fannounce |
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 { firefox } = require('playwright'); | |
const fs = require('fs') | |
const path = require('path') | |
async function begin(){ | |
let count = 0 | |
let browser = await firefox.launch({headless: false}); | |
let context = await browser.newContext({viewport:{width:400,height:700}}); | |
let page = await context.newPage(); | |
let values = ["/watch?v=VikfS15Ymmw","/watch?v=ndaEzlg5xcg","/watch?v=XexTm02fumM","/watch?v=sRIB9kVzjYM","/watch?v=TSNNi7qSpCc","/watch?v=rbdVDwMbqlE","/watch?v=rfrg-Oo13GI","/watch?v=U1s48KT2KME","/watch?v=KdA-9wK_wVw","/watch?v=KrjvEvYGFUI","/watch?v=LgDKD87Cwqk","/watch?v=ck7bzakwmnQ","/watch?v=lkJ_an81sbI","/watch?v=72N0pRsSIFQ","/watch?v=QzsfZU1q-SQ","/watch?v=c8y5UTwMuyY","/watch?v=pI46I7pSc4g","/watch?v=RzYlGaLGn2o","/watch?v=bTE2wZeiVz4","/watch?v=doIfZm2iGnA","/watch?v=N-9CWbNo9Fg","/watch?v=XJpmfW60OuE","/watch?v=rh3ohhR1iYI","/watch?v=3XMPLN3cyxs","/watch?v=p-VvH1KDvAM","/watch?v=TLnmBLqIMqs","/watch?v=WHvJuEA00V0","/watch?v=3j_9p1VOTPI","/watch?v=waXGqCwoBLY","/watch?v=zHRDtD8t1v0","/wat |
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 { chromium } = require('playwright'); | |
async function begin(){ | |
let links = ["https://www.scholarify.in/teaching-concept-objectives-characteristics-levels/","https://www.scholarify.in/learners-characteristics/","https://www.scholarify.in/factors-affecting-teaching/","https://www.scholarify.in/teaching-methods/","https://www.scholarify.in/teacher-centred-and-learner-centred-methods/","https://www.scholarify.in/offline-vs-online-methods/","https://www.scholarify.in/swayam/","https://www.scholarify.in/swayam-prabha/","https://www.scholarify.in/massive-open-online-courses-moocs/","https://www.scholarify.in/teaching-support-system/","https://www.scholarify.in/evaluation-systems/","https://www.scholarify.in/choice-based-credit-system-cbcs/","https://www.scholarify.in/computer-based-test-cbt/","https://www.scholarify.in/innovations-in-evaluation-systems/","https://www.scholarify.in/research-meaning-types-characteristics/","https://www.scholarify.in/research-methods/","https://www.scholarify.in/steps-resear |
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
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions/Unicode_Property_Escapes | |
// https://unicode.org/reports/tr18/#General_Category_Property | |
// https://unicode.org/reports/tr24/#Script | |
// https://tc39.es/ecma262/multipage/text-processing.html#table-nonbinary-unicode-properties | |
// \p{Symbol} also includes pipe symbol i.e | etc | |
let str = "ٱلَّذِينَ يُؤۡمِنُونَ بِٱلۡغَيۡبِ وَيُقِيمُونَ ٱلصَّلَوٰةَ وَمِمَّا رَزَقۡنَٰهُمۡ يُنفِقُونَ" | |
str = str.normalize("NFD").replace(/\p{Diacritic}|\p{Mark}|\p{Extender}|\p{Bidi_Control}/gu, "").replaceAll('ٱ','ا') | |
console.log(str) |
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 fs = require('node:fs/promises') | |
const path = require('path') | |
let pathToDir = path.join(__dirname, 'src') | |
let pathToDest = path.join(__dirname, 'dst') | |
async function begin(){ | |
await fs.mkdir(pathToDest, {recursive:true}) |
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 { firefox } = require('playwright'); | |
const path = require('path') | |
const fs = require('fs/promises') | |
async function begin(){ | |
let filename = 'myzip.7z' | |
const browser = await firefox.launch({headless:true}); | |
const page = await browser.newPage(); | |
await page.goto('https://gofile.io/d/bsgS8S'); |
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
{ | |
"af": { | |
"country_name": "afghanistan", | |
"country_iso3": "afg", | |
"country_iso_numeric": "4", | |
"currency_name": "afghani", | |
"currency_code": "afn", | |
"currency_number": "971" | |
}, | |
"sv": { |
OlderNewer