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
#!/usr/bin/python | |
from wsgiref.simple_server import make_server | |
def application(environ, start_response): | |
response_body = '{"id": 1}' | |
status = '200 OK' | |
response_headers = [('Content-Type', 'application/json'), | |
('Content-Length', str(len(response_body)))] |
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
#!/usr/bin/env bash | |
# Run this script from your '/.../intellij-location/bin' directory. | |
# Application name | |
APPLICATION=intellij-idea | |
# Application path | |
APPLICATION_PATH=$(cd -P -- "$(dirname -- "$0")" && pwd -P) |