RSS

Posts in 2020

  • django-cas-ng Example

    Last Update: 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

    Last Update: in CAS

    A Comparison 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. Note: Data is fetched in real time and alway up to date. django-cas-ng django-cas-client django-cas Homepage License Stars NA …

    Read more

  • Sphinx-doc 101

    Last Update: 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

    Last Update: 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

    Last Update: 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

  • tcp_tw_recycle No such file or directory

    Last Update: in Linux

    Troubleshooting setting net.ipv4.tcp_tw_recycle = 0 in /etc/sysctl.conf caused error: sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory

    What is net.ipv4.tcp_tw_recycle Per Linux kernel document networking/ip-sysctl.txt: tcp_tw_recycle - BOOLEAN Enable fast recycling TIME-WAIT sockets. Default value is 0. It should not be changed without advice/request of technical experts. This …

    Read more

  • Huge improve TCP performance by BBR

    Last Update: in Linux

    BBR improve Linux server response time. Huge improve Linux network performance by change TCP congestion control to BBR (Bottleneck Bandwidth and RTT).

    What is BBR BBR is Bottleneck Bandwidth and RTT. BBR congestion control computes the sending rate based on the delivery rate (throughput) estimated from ACKs. BBR was contributed to Linux kernel 4.9 since 2016 by Google. BBR has significantly …

    Read more

  • Upgrade Debian Jessie to Buster, Bullseye without re-image

    Last Update: in Raspberry Pi

    Upgrade existing Debian Jessie to Buster, Bullseye without re-image on Raspberry Pi, there is no data loss during upgrade with in-place upgrade.

    How to do in-place upgrade without data loss I have a old Raspberry Pi 3 running for many years, it still running on jessie and everything goes well, except I want to install some software which does not exist on jessie. Since jessie, there are two …

    Read more

  • Secure Squid Proxy Server

    Last Update: in Linux

    Install and quick configure squid to make it securely

    Squid is a caching proxy for the Web supporting HTTP, HTTPS, FTP, and more. It reduces bandwidth and improves response times by caching and reusing frequently-requested web pages. Installation Install on Mac with brew $ brew install squid ==> …

    Read more

  • OAuth2 101

    Last Update: in OAuth2

    Introduction to OAuth 2 and OAuth 2.1 Protocol Detailed Grant Flow Diagrams, Security Consideration and Best Practice.

    What is OAuth2 OAuth 2.0 focuses on client developer simplicity while providing specific authorization flows for web applications, desktop applications, mobile phones, and living room devices. This specification and its extensions are being developed …

    Read more