RSS

Posts in 2020

  • Pass var in Azure pipeline

    February 11, 2020 in Azure

    Use variable to pass data in Azure devops pipelines

    I have an Azure devops pipeline and want to pass some data between different tasks. One way to do is use environment var. Variables give you a convenient way to get key bits of data into various parts of the pipeline. As the name suggests, the value …

    Read more

  • Azure WALinuxAgent Backdoor

    February 08, 2020 in Azure

    WALinuxAgent is Azure backdoor with root access. Remove it if you donot use it.

    WALinuxAgent is Azure backdoor with root access. It is pretty powerful to manage Linux on Azure. The source code is host at https://github.com/Azure/WALinuxAgent The Microsoft Azure Linux Agent (waagent) manages Linux provisioning and VM interaction …

    Read more

  • python-cas Flask Example

    February 03, 2020 in CAS

    An example project to demo how to integrate python-cas into a Flask app.

    python-cas is Python CAS (Central Authentication Server) client library support CAS 1.0/2.0/3.0. It was initially split from django-cas-ng to support any Python app to easily implement a CAS client. This post is an example project to demo how to …

    Read more

  • python-cas Release 1.5.0

    January 30, 2020 in django-cas-ng Releases

    python-cas 1.5.0 released on 2020-01-30

    python-cas 1.5.0 released on 2020-01-30. Release Notes PR-17: Test and document support for all modern Python versions PR-18: Distribute package as an universal Python Wheel PR-20: README: Link to python.org using HTTPS PR-21: Minor refactor: Prefer …

    Read more

  • django-cas-ng Example

    January 26, 2020 in CAS

    An example project to demo how easy to integrate with django-cas-ng

    django-cas-ng is Django CAS (Central Authentication Service) 1.0/2.0/3.0 client library to support SSO (Single Sign On) and SLO (Single Logout)! To demo how easy to integrate with django-cas-ng, here is an example project to show how to use …

    Read more

  • A Comparison of Django CAS clients

    January 20, 2020 in CAS

    A Compare of Django CAS clients: django-cas-ng, django-cas-client and django-cas

    Here is a comparison of some exist Django CAS clients: django-cas-ng, django-cas-client and django-cas. If you want to add new repo to the following table, please create an issue. Note: Data is fetched in real time and alway up to date. …

    Read more

  • django-cas-ng Release 4.0.0

    January 16, 2020 in django-cas-ng Releases

    django-cas-ng 4.0.0 released on 2020-01-16

    django-cas-ng 4.0.0 released on 2020-01-16. Release Notes Break change: Drop python 2.x support Break change: Drop django 1.x support PR-206: New behavior for CAS_USERNAME_ATTRIBUTE setting which will now fallback to setting the specified attribute …

    Read more

  • Sphinx-doc 101

    January 12, 2020 in Posts

    An introduction to sphinx-doc, a documentation tool that makes it easy to create intelligent and beautiful documentation.

    Sphinx is a documentation generator that makes it easy to create intelligent and beautiful documentation. Sphinx was originally created for the Python documentation, then it extend to support many other languages. It use reStructuredText format to …

    Read more

Posts in 2019

  • NGINX Reverse Proxy

    October 11, 2019 in Posts

    NGINX reverse proxy configuration troubleshooting notes.

    The difference between a proxy server and a reverse proxy server A common question is what’s the difference between a proxy server and a reverse proxy server? An ordinary forward proxy is an intermediate server that sits between the client and …

    Read more

  • core_name_format No such file or directory

    September 16, 2019 in Linux

    Troubleshooting setting kernel.core_name_format="core.%e.%p.%s.%t" in /etc/sysctl.conf caused error: sysctl: cannot stat /proc/sys/kernel/core_name_format: No such file or directory

    What is core dump The default action of certain signals is to cause a process to terminate and produce a core dump file, a disk file containing an image of the process’s memory at the time of termination. This image can be used in a debugger …

    Read more