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
import requests | |
from time import sleep | |
import os | |
import asyncio | |
import aiohttp | |
async def submit_and_wait(): | |
print('Submitting request') | |
request_url = '<base url>/create_request' |
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
touch ~/Library/Caches/.metadata_never_index | |
touch ~/Library/Developer/.metadata_never_index | |
killall Finder |
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
# Create a new virtualenv using the last component of path name | |
# Activate immediately when created | |
function pyenv_easy_3() { | |
result=${PWD##*/} | |
printf 'Create virtualenv for named local path...' | |
printf '%s\n' $result | |
pyenv virtualenv 3.6.1 $result | |
printf 'Setting local to new virtualenv...\n' | |
pyenv local $result |
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 main import __hug_wsgi__ as application |
NewerOlder