This file contains 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
import os | |
import subprocess | |
import sys | |
commands = ["echo", "exit", "quit", "type"] | |
command_path_cache = {} | |
def run_exit(input_values): | |
try: |
This file contains 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
// This needs to be run on the browser console with the corresponding chat selected | |
// on Whatsapp Web. It also needs to have the whole conversation loaded. | |
// It copies the conversation to the clipboard, change it as needed. | |
conversation = ''; | |
msgElements = document.querySelectorAll('div.copyable-text:not(._2_1wd)'); | |
for (let msgElement of msgElements) { | |
sender = msgElement.dataset.prePlainText; |
This file contains 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 firebaseAdmin = require('firebase-admin'); | |
const token = 'token_complete'; | |
console.log('Initializing app'); | |
firebaseAdmin.initializeApp({ | |
credential: firebaseAdmin.credential.applicationDefault(), | |
databaseURL: 'https://project-default-rtdb.firebaseio.com' | |
}); | |
console.log('To verify'); |