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
| // NEED https://levanter.site/ | |
| const REPORT_OWNER = 'weskerty' | |
| const REPORT_REPO = 'UnifiedReporting' | |
| const REPORT_TAG = 'data' | |
| const fs = require('fs').promises | |
| const path = require('path') | |
| const crypto = require('crypto') | |
| const sqlite3 = require('sqlite3') | |
| const { bot, logger, setVar, getVars, sleep, isAdmin } = require('../lib/') |
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
| #!/system/bin/sh | |
| LIMIT=60 # deja de cargar al llegar aquí | |
| RESUME=30 # vuelve a cargar si baja a esto | |
| B=/sys/class/power_supply/battery | |
| ( | |
| while true; do | |
| cap=$(cat $B/capacity) | |
| if [ "$cap" -ge "$LIMIT" ]; then | |
| echo 0 > $B/charging_enabled |
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('fs').promises; | |
| const path = require('path'); | |
| const os = require('os'); | |
| const { promisify } = require('util'); | |
| const { exec: execCB } = require('child_process'); | |
| const { bot } = require('../lib'); | |
| const exec = promisify(execCB); | |
| const ENC = [ |
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 __getOwnPropNames = Object.getOwnPropertyNames; | |
| var __commonJS = (cb, mod) => function __require() { | |
| try { | |
| return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; | |
| } catch (e) { | |
| throw mod = 0, e; | |
| } | |
| }; | |
| // node_modules/qrcode-generator/dist/qrcode.js |
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
| #!/usr/bin/env bash | |
| cd "${1:-$(pwd)}" || exit 1 | |
| shift 1 2>/dev/null | |
| R='\033[31m';G='\033[32m';Y='\033[33m';B='\033[34m';C='\033[36m';BB='\033[1m';N='\033[0m' | |
| L1=950 | |
| L2=900 |
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('fs').promises; | |
| const path = require('path'); | |
| const { bot } = require('../lib'); | |
| class RSSManager { | |
| constructor() { | |
| this.client = null; | |
| this.dataDir = null; | |
| this.intervalMs = 60000; |
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('fs').promises; | |
| const path = require('path'); | |
| const { promisify } = require('util'); | |
| const { exec: execCallback } = require('child_process'); | |
| const { bot } = require('../lib'); | |
| const exec = promisify(execCallback); | |
| const fmtTime = (s) => { | |
| if (!s || isNaN(s)) return "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
| const fs = require('fs').promises; | |
| const {createReadStream, existsSync, statSync} = require('fs'); | |
| const path = require('path'); | |
| const {exec, spawn} = require('child_process'); | |
| const {promisify} = require('util'); | |
| const {execSync} = require('child_process'); | |
| const {bot, logger} = require('../lib'); | |
| const eP = promisify(exec); | |
| const LTO = 300000; |
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 axios = require('axios'); | |
| const cheerio = require('cheerio'); | |
| const { chromium } = require('playwright'); | |
| const fs = require('fs').promises; | |
| const path = require('path'); | |
| const os = require('os'); | |
| const { promisify } = require('util'); | |
| const { exec: execCallback } = require('child_process'); | |
| const { bot } = require('../lib'); | |
| require('dotenv').config(); |
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 __getOwnPropNames = Object.getOwnPropertyNames; | |
| var __commonJS = (cb, mod) => function __require() { | |
| try { | |
| return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; | |
| } catch (e) { | |
| throw mod = 0, e; | |
| } | |
| }; | |
| // node_modules/minisearch/dist/cjs/index.cjs |
NewerOlder