I hereby claim:
- I am romanlevin on github.
- I am romanlevin (https://keybase.io/romanlevin) on keybase.
- I have a public key whose fingerprint is C7A7 6C90 6BB9 1C27 480D EA84 6B06 4B90 527C 01F5
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
from mock import MagicMock | |
def mock_open_with_files(files): | |
""" | |
`files` - a dictionary of the form | |
{ | |
'/file/path/': 'file body', | |
... | |
} | |
""" |
import requests | |
DEV_SERVER_HOST = 'localhost' | |
INSTANCE_PORT = 8080 | |
UPLOAD_PATH = 'admin/upload' | |
def upload_image(url): | |
def get_upload_url(): | |
cookies = {'dev_appserver_login': 'test@example.com:True'} | |
resp = requests.get( |
I hereby claim:
To claim this, I am signing this object:
$ starship print-config --default > ~/.config/starship.toml
[DEBUG] - (starship::config): STARSHIP_CONFIG is not set
[DEBUG] - (starship::config): Using default config path: /Users/romanlevin/.config/starship.toml
[TRACE] - (starship::config): Config file content: "
# Warning: This config does not include keys that have an unset value
format = ''
scan_timeout = 0
command_timeout = 0
add_newline = false
#!/bin/bash | |
# | |
# DESCRIPTION: | |
# | |
# Set the bash prompt according to: | |
# * the active virtualenv | |
# * the branch/status of the current git repository | |
# * the return value of the previous command | |
# * the fact you just came from Windows and are used to having newlines in | |
# your prompts. |