Use cythonize --build cysleep.pyx
After building, run python main.py
| chunks = [ | |
| 'He', | |
| 'llo', | |
| ', W', | |
| 'orl', | |
| 'd!\nA', | |
| 'nd h', | |
| 'ap', | |
| 'py ', | |
| 'Pyth', |
| from kivy.app import App | |
| from kivy.lang import Builder | |
| from kivy.properties import ( | |
| BooleanProperty, | |
| ListProperty, | |
| StringProperty, | |
| ) | |
| from kivy.uix.boxlayout import BoxLayout | |
| import sys | |
| class UndefinedNameLogger: | |
| def __getattr__(self, name): | |
| print(f'{name} not found in module {__name__}') | |
| sys.modules[__name__] = UndefinedNameLogger() |
This is the human shader from https://humanshader.com/ implemented in GLSL using Kivy.
| import re | |
| import httpx | |
| from bs4 import BeautifulSoup | |
| EMAIL = '[email protected]' | |
| USER_AGENT = ( | |
| 'Mozilla/5.0 (X11; Linux x86_64; rv:99.0) ' | |
| 'Gecko/20100101 Firefox/99.0' | |
| ) |
| diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | |
| index 3e1be9894..eee410758 100644 | |
| --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | |
| +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | |
| @@ -2719,6 +2719,9 @@ static u32 *dw_hdmi_bridge_atomic_get_output_bus_fmts(struct drm_bridge *bridge, | |
| * if supported. In any case the default RGB888 format is added | |
| */ | |
| + /* Default 8bit RGB fallback */ | |
| + output_fmts[i++] = MEDIA_BUS_FMT_RGB888_1X24; |
| diff --git a/MAINTAINERS b/MAINTAINERS | |
| index 3b79fd441dde..c7f17525b340 100644 | |
| --- a/MAINTAINERS | |
| +++ b/MAINTAINERS | |
| @@ -13400,6 +13400,12 @@ S: Maintained | |
| F: drivers/video/fbdev/nvidia/ | |
| F: drivers/video/fbdev/riva/ | |
| +NVIDIA WMI EC BACKLIGHT DRIVER | |
| +M: Daniel Dadap <[email protected]> |
| import contextlib | |
| import functools | |
| from kivy.core.video import video_ffpyplayer | |
| from kivy.factory import Factory | |
| from kivy.properties import BooleanProperty | |
| from kivy.uix import video | |
| _orig_media_player = video_ffpyplayer.MediaPlayer |
| from sqlalchemy import Column, Float, ForeignKey, Integer, String | |
| from sqlalchemy.orm import relationship | |
| from . import Base | |
| class Dealership(Base): | |
| __tablename__ = 'dealerships' | |
| id = Column(Integer, primary_key=True) |