Skip to content
View Susensio's full-sized avatar

Highlights

  • Pro
Block or Report

Block or report Susensio

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

  1. magic-bang.nvim magic-bang.nvim Public

    Neovim plugin written in pure Lua that automagically inserts a shebang line when needed

    Lua 7 2

  2. Make function of numpy array cacheable Make function of numpy array cacheable
    1
    # How to cache slow functions with `numpy.array` as function parameter on Python
    2
    
    
    3
    ## TL;DR
    4
    
    
    5
    ```python
  3. Inherit property setter in python 3.7 Inherit property setter in python 3.7
    1
    # Python `@property` inheritance *the right way*
    2
    
    
    3
    Given a `Parent` class with `value` property, `Child` can inherit and overload the property while accessing `Parent` property getter and setter.
    4
    
    
    5
    Although we could just reimplement the `Child.value` property logic completely without using `Parent.value` whatsover, this would violate the DRY principle and, more important, it wouldn't allow for proper multiple inheritance (as show in the example `property_inheritance.py` bellow).
  4. fastbook fastbook Public

    Forked from fastai/fastbook

    The fastai book, published as Jupyter Notebooks

    Jupyter Notebook

  5. Python static variable decorator for... Python static variable decorator for functions
    1
    # Source: https://stackoverflow.com/questions/279561/what-is-the-python-equivalent-of-static-variables-inside-a-function/279586#279586
    2
    
    
    3
    def static_vars(**kwargs):
    4
        def decorate(func):
    5
            for k in kwargs: