Skip to content

Instantly share code, notes, and snippets.

View sakku116's full-sized avatar
💭
studiying

Zakky sakku116

💭
studiying
View GitHub Profile
@tshirtman
tshirtman / responsive_example.py
Last active June 23, 2024 01:55
Making a simple responsive app layout.
from kivy.app import App
from kivy.lang import Builder
from kivy.properties import OptionProperty
from kivy.core.window import Window
from kivy.factory import Factory
KV = '''
#:import A kivy.animation.Animation
<RLabel@Label>:
@montanaflynn
montanaflynn / main.go
Last active May 28, 2024 04:32
Gin request timeout middleware and handler
package main
import (
"context"
"log"
"net/http"
"time"
"github.com/gin-gonic/gin"
)
@jeysonm82
jeysonm82 / test_material_shadow.py
Last active March 14, 2023 15:07
Material shadow for Kivy widgets using Gaussian Blur
"""
Material shadow rendering using gaussian blur and two textures like in
https://codepen.io/sdthornton/pen/wBZdXq
Basically, implementing CSS box-shadow and aplying it like in the example
(two shadows with different blur radius and offset).
Screenshot: http://i.imgur.com/7VzE8Al.png
"""
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.label import Label