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 () => { | |
| // 1. Initialize helpers and extract Discord internal modules | |
| const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms)); | |
| delete window.$; | |
| let wpRequire = webpackChunkdiscord_app.push([[Symbol()], {}, (r) => r]); | |
| webpackChunkdiscord_app.pop(); | |
| const modules = Object.values(wpRequire.c); | |
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
| function Tuition(time, status, money, note){ | |
| this.time = time | |
| this.moneyOrigin = money | |
| this.status = status | |
| this.money = money.toLocaleString('vi-VN', {style : 'currency', currency : 'VND'}) | |
| this.note = note | |
| } | |
| function TuitionStatistic(year, total){ |
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 VietQR = require("./vietQR"); | |
| const vietQR = new VietQR(); | |
| vietQR | |
| .setBeneficiaryOrganization("970423", "mynamebvh") | |
| .setTransactionAmount("50000") | |
| .setAdditionalDataFieldTemplate("test"); | |
| console.log(vietQR.build()); |
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
| (() => { | |
| let inputRd = document.querySelectorAll("td[title='5 điểm'] > input"); | |
| for (let index = 0; index < inputRd.length / 2; index++) { | |
| inputRd[index].checked = 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
| #!/bin/sh | |
| echo "==============INSTALL DOCKER==============" | |
| sleep 1s | |
| echo "1. Set up the repository" | |
| sleep 1s | |
| sudo apt-get update | |
| sudo apt-get install -y\ | |
| ca-certificates \ | |
| curl \ | |
| gnupg \ |
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 btn = document | |
| .getElementsByClassName('learndash_mark_complete_button')[1] | |
| .removeAttribute('disabled'); |
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
| (() => { | |
| let count = 0; | |
| let row = document.querySelectorAll(".kTableRow"); | |
| let rowAlt = document.querySelectorAll(".kTableAltRow"); | |
| let length = Math.max(row.length, rowAlt.length); | |
| for (let index = 0; index < length; index++) { | |
| count += parseInt(row[index]?.children[18]?.innerText) || 0; | |
| count += parseInt(rowAlt[index]?.children[18]?.innerText) || 0; |