Skip to content
View angely-dev's full-sized avatar

Block or report angely-dev

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. freeradius-api freeradius-api Public

    A Python REST API on top of the FreeRADIUS database schema for automation and integration purposes

    Python 20 7

  2. diffplus diffplus Public

    Incremental and contextual diff between two indented configs

    Python 2

  3. FastAPI log every request and response FastAPI log every request and response
    1
    from fastapi import Request, Response, HTTPException
    2
    from fastapi.exceptions import RequestValidationError
    3
    from fastapi.routing import APIRoute
    4
    from http.client import responses
    5
    from json import JSONDecodeError
  4. Autocomplete SSH, SCP, ping, ..., ba... Autocomplete SSH, SCP, ping, ..., based on known hosts.
    1
    #!/usr/bin/env bash
    2
    
                  
    3
    get_ssh_known_hosts() {
    4
        known_hosts=$(cat ~/.ssh/known_hosts | cut -d' ' -f1)
    5
        starts_with=$2
  5. Indented text to tree in Python (n-a... Indented text to tree in Python (n-ary tree)
    1
    from json import JSONEncoder
    2
    
                  
    3
    #
    4
    # Node class: it just consists of a name and a list of children.
    5
    #
  6. .htaccess redirect http2https and no... .htaccess redirect http2https and nonwww2www (meeting HSTS requirements)
    1
    #
    2
    # As required by HSTS, two redirects:
    3
    #   1) http2https (MUST be first)
    4
    #   2) nonwww2www
    5
    #