I'm looking to make a bot that uses the VirusTotal API to scan URLs sent in discord messages and if any are detected, they will delete the message in question,
I have written this code for a word frequency calculator. It works but will count the word 'not,' differently than 'not'. I also am attempting to make the compu
I'm trying to POST a configuration file to vault and i'm getting {"errors":["failed to parse JSON input: invalid character 'a' in numeric literal"]} error. The
Facing the above error, have set git proxy and its up to date not sure what is the issue done reinstalling new github and deleted and cloned the project in new
Here's what I am trying to do. in .gitlab-ci: Check schedules pass: stage: check image: ${myimage} script: - MY_CI_VAR=aVeryLongVariable - echo "$
I have a Model as follows: class TankJournal(models.Model): user = models.ForeignKey(User) tank = models.ForeignKey(TankProfile) ts = models.Intege
I have upgraded my application and below are details for same. Previous Version- spring boot-1.5.6.RELEASE spring cloud version-Edgware.M1 Migrated Version- spr
I have a method that sends sms to your phone, how can I mock it? services.py def send_msg(phone_number): url = settings.SMS_API_URL params = {
If I have a reference to an object: var test = {}; that will potentially (but not immediately) have nested objects, something like: {level1: {level2: {level
I create a dataframe: df = spark.createDataFrame(pd.DataFrame({'a':range(12),'c':range(12)})).repartition(8) its contents are : df.show() +---+---+ | a| c| +