Skip to content

Instantly share code, notes, and snippets.

@kimseler14
kimseler14 / CreateAnonNickPass.php
Created March 25, 2022 20:17 — forked from XianThi/CreateAnonNickPass.php
connected2 anon nick & password generator
<?php
#####################################################
# USAGE #
# include(CreateAnonNickPass.php) #
# CreateAnonNickPass::getAnonNickPassword(); #
#####################################################
class SecureRandomException extends Exception {
}
@trecno
trecno / bot.gs
Created May 3, 2021 17:18
botDeTelegram.gs
var token = 'TOKEN DE TELEGRAM';
var telegramUrl = 'https://api.telegram.org/bot' + token;
var spreadsheetId = 'ID DEL SPREADSHEET';
function doGet(e) {
return HtmlService.createHtmlOutput('Hola');
}
function sendText(id, answer) {
var url = telegramUrl + '/sendMessage?chat_id=' + id + '&text=' + answer;
@erickdsama
erickdsama / rwas.py
Last active March 4, 2024 19:21
Class to read and write messages to Whatsapp through of the ADB. You need a android Device with Sqlite3 installed and ADB service.
# coding=utf-8
import json
import time
from subprocess import check_output, CalledProcessError
class WHO:
FROM_ME = "key_from_me == 1"
OTHERS = "key_from_me != 1"
ALL = ""
@lrq3000
lrq3000 / pylistmodules-modulefinder.py
Last active October 17, 2021 22:10
A simple example to list modules imported in your Python script using ModuleFinder (standard Python module).
from modulefinder import ModuleFinder
finder = ModuleFinder()
finder.run_script('yourscript.py')
moduleslist = {}
for name, mod in finder.modules.iteritems():
filename = mod.__file__
if filename is None:
continue