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
### Keybase proof | |
I hereby claim: | |
* I am miguelcarranza on github. | |
* I am elwatto (https://keybase.io/elwatto) on keybase. | |
* I have a public key ASDFkVFu1-IrkjCQXd_9aPIc_QaT7D5LZriit7Tb4c12Fwo | |
To claim this, I am signing this object: |
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 subprocess | |
import time | |
from typing import Optional | |
import requests | |
TELEGRAM_BOT_API_KEY = '<telegram_api_key>' | |
TELEGRAM_CHAT_ID = '<telegram_chat_id>' |
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
/** | |
* Get all the objects stored in Parse. Hack for breaking the | |
* limit of 1000 results. | |
*/ | |
if (Parse.Query.prototype.findAll == null) | |
Parse.Query.prototype.findAll = function (a) { | |
var res = [], | |
countQuery, numRequests, requestsLeft, | |
parseResultLimit = 1000, | |
_this = this; |