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
<?php | |
##################################################### | |
# USAGE # | |
# include(CreateAnonNickPass.php) # | |
# CreateAnonNickPass::getAnonNickPassword(); # | |
##################################################### | |
class SecureRandomException extends Exception { | |
} |
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 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; |
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
# 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 = "" |
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
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 |