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
REST_FRAMEWORK = { | |
'DEFAULT_AUTHENTICATION_CLASSES': ( | |
'rest_framework.authentication.BasicAuthentication', | |
) | |
} |
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
# Reddit's API limits search results to 1000 for any query. If | |
# your query requires searching for more than 1000 results, | |
# you need a way to further limit the search space to find | |
# all of your posts. PRAW does not have an obvious solution, | |
# and I found few resources describing possible solutions. | |
# Some of the solutions on the internet are for old versions | |
# of praw and no longer work. | |
# The code below provides a solution by making a new query for each day. | |
# The interval can easily be shortened if there are possibly more than |
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
fd = new FormData(); | |
fd.append("meeting.wav", audioBlob); | |
$.ajax({ | |
method: 'POST', | |
url: _config.api.invokeUrl + '/meeting', | |
headers: { | |
Authorization: authToken | |
}, | |
data: fd, | |
processData: false, |