Category: Web Development

  1. Updated

    mitmproxy: proxy any network traffic through your local machine

    Category: DevOps, Python, Web Development

    mitmproxy is a free and open source interactive HTTPS proxy.

  2. Updated

    Integrate with Google Cloud API in Python

    Category: Python, Web Development

    google-cloud, Python idiomatic clients for Google Cloud Platform services. There is an older Python library also officially supported by Google, google-api-python-client, which is in maintenance mode.

  3. Updated

    Apex and Terraform: The easiest way to manage AWS Lambda functions

    Category: DevOps, Web Development

    Apex is a Go command-line tool to manage and deploy your serverless functions on AWS Lambda. Apex is also integrated with Terraform to provide cloud infrastructure management, for instance, configuring your AWS Lambda functions with Amazon API Gateway.

  4. Updated

    Remotely debug a Python app inside a Docker container in Visual Studio Code

    Category: Python, Web Development

    In this article, we are going to debug a Flask app inside a local Docker container through VS Code's fancy debugger, and simultaneously we are still able to leverage Flask's auto-reloading mechanism. It should apply to other Python apps.

  5. Updated

    Run a Celery task at a specific time

    Category: Python, Web Development

    You are able to run any Celery task at a specific time through eta (means "Estimated Time of Arrival") parameter.

  6. Updated

    Lazy evaluation in Django middlewares

    Category: Python, Web Development

    Attach a lazy evaluated function as a property of request in a middleware.

  7. Updated

    Django's get_or_create() may raise IntegrityError but subsequent get() raises DoesNotExist

    Category: Database, Python, Web Development

    get_or_create() 拋出 IntegrityError 但是接著 get() 一次卻會是 DoesNotExist,以上的錯誤常常會發生在 MySQL 的 isolation level 是 REPEATABLE READ 的情況下。MySQL 默認採用 REPEATABLE READ(而 PostgreSQL 預設是 READ COMMITTED)。

  8. Updated

    Configure i18n Translations in Django

    Category: Python, Web Development

    Internationalization and localization for your Django project.

  9. Updated

    Upload files to Amazon S3 when Travis CI builds pass

    Category: DevOps, Python, Web Development

    CAUTION! By default, only master branch's builds could trigger deployments in Travis CI.

  10. Updated

    Setup a static website on Amazon S3

    Category: DevOps, Web Development

    Say that you would like to host your static site on Amazon S3 with a custom domain and, of course, HTTPS.