$ 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
I hereby claim:
- I am romanlevin on github.
- I am romanlevin (https://keybase.io/romanlevin) on keybase.
- I have a public key ASD8j2l3dxn-VbzBNJik7iPueyAIYwC1uko7kVNShUeOeAo
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
#!/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. |
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
from mock import MagicMock | |
def mock_open_with_files(files): | |
""" | |
`files` - a dictionary of the form | |
{ | |
'/file/path/': 'file body', | |
... | |
} | |
""" |
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:
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 requests | |
DEV_SERVER_HOST = 'localhost' | |
INSTANCE_PORT = 8080 | |
UPLOAD_PATH = 'admin/upload' | |
def upload_image(url): | |
def get_upload_url(): | |
cookies = {'dev_appserver_login': '[email protected]:True'} | |
resp = requests.get( |