When the proxied service is unavailable, Nginx will by default return HTTP code 502. We can change this response by the following config:
server {
location {
proxy_pass http://somehost/someuri
}
...
When the proxied service is unavailable, Nginx will by default return HTTP code 502. We can change this response by the following config:
server {
location {
proxy_pass http://somehost/someuri
}
...
""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" | |
" Maintainer: | |
" Amir Salihefendic | |
" http://amix.dk - [email protected] | |
" | |
" Version: | |
" 5.0 - 29/05/12 15:43:36 | |
" | |
" Blog_post: | |
" http://amix.dk/blog/post/19691#The-ultimate-Vim-configuration-on-Github |
Copy a partition
bq cp -f [PROJECT]:[DATASET].[SOURCE_TABLE]\$[SOURCE_PARTITION] [PROJECT]:[DATASET].[DESTINATION_TABLE]\$[DESTINATION_PARTITION]
Source: https://www.toptal.com/python/tips-and-practices
This resource contains a collection of Python best practices and Python tips provided by our Toptal network members. As such, this page will be updated on a regular basis to include additional information and cover emerging Python techniques. This is a community driven project, so you are encouraged to contribute as well, and we are counting on your feedback.
Python is a high level language used in many development areas, like web development (Django, Flask), data analysis (SciPy, scikit-learn), desktop UI (wxWidgets, PyQt) and system administration (Ansible, OpenStack). The main advantage of Python is development speed. Python comes with rich standard library, a lot of 3rd party libraries and clean syntax. All this allows a developer to focus on the problem they want to solve, and not on the language details or reinventing the wheel.
Check out the Toptal resource pages for additional information on Python. There is a Python hiring guide, Python job