This is the human shader from https://humanshader.com/ implemented in GLSL using Kivy.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chunks = [ | |
'He', | |
'llo', | |
', W', | |
'orl', | |
'd!\nA', | |
'nd h', | |
'ap', | |
'py ', | |
'Pyth', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from kivy.app import App | |
from kivy.lang import Builder | |
from kivy.properties import ( | |
BooleanProperty, | |
ListProperty, | |
StringProperty, | |
) | |
from kivy.uix.boxlayout import BoxLayout | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
class UndefinedNameLogger: | |
def __getattr__(self, name): | |
print(f'{name} not found in module {__name__}') | |
sys.modules[__name__] = UndefinedNameLogger() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' | |
) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@dataclass | |
class Event: | |
callback_name: str | |
def __call__(self, args_converter): | |
def register(cls, handler): | |
@functools.wraps(handler) | |
def wrapper(*args): | |
return handler(*args_converter(cls, *args)) |