This file contains 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/river/XdgPopup.zig b/river/XdgPopup.zig | |
index 0f5b97d..381897a 100644 | |
--- a/river/XdgPopup.zig | |
+++ b/river/XdgPopup.zig | |
@@ -91,6 +91,11 @@ fn handleDestroy(listener: *wl.Listener(*wlr.XdgSurface), wlr_xdg_surface: *wlr. | |
fn handleMap(listener: *wl.Listener(*wlr.XdgSurface), xdg_surface: *wlr.XdgSurface) void { | |
const self = @fieldParentPtr(Self, "map", listener); | |
+ var iterator = self.wlr_xdg_popup.base.surface.subsurfaces.iterator(.forward); | |
+ while (iterator.next()) |subsurface| { |
This file contains 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 kivy | |
kivy.require('1.10.1') | |
from kivy.lang import Builder | |
from kivy.app import App | |
from kivy.uix.screenmanager import ScreenManager, Screen | |
from kivy.core.window import Window | |
kv = """ |
This file contains 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.graphics import Ellipse, InstructionGroup, Color, Translate, Canvas, PushMatrix, PopMatrix | |
from kivy.uix.widget import Widget | |
from kivy.clock import Clock | |
import math | |
import itertools | |
import random |
This file contains 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.lang import Builder | |
from kivy.base import runTouchApp | |
from kivy.uix.image import Image | |
from kivy.uix.gridlayout import GridLayout | |
from kivy.clock import Clock | |
class SizeImage(Image): | |
pass | |
class ImagesGrid(GridLayout): |
This file contains 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.base import runTouchApp | |
from kivy.lang import Builder | |
from kivy.uix.widget import Widget | |
from kivy.properties import ListProperty | |
from kivy.core.window import Window | |
from colorsys import hls_to_rgb | |
class ColourApp(App): |
This file contains 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
This file contains any messages produced by compilers while | |
running configure, to aid debugging if configure makes a mistake. | |
It was created by HarfBuzz configure 0.9.40, which was | |
generated by GNU Autoconf 2.69. Invocation command line was | |
$ ./configure --without-icu --host=arm-linux-androideabi --prefix=/home/sandy/.local/share/python-for-android/build/other_builds/harfbuzz/armeabi-v7a__ndk_target_21/harfbuzz --with-freetype=yes --without-glib | |
## --------- ## | |
## Platform. ## |
This file contains 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
[INFO]: Building harfbuzz for armeabi-v7a | |
[INFO]: -> directory context /home/sandy/.local/share/python-for-android/build/other_builds/harfbuzz/armeabi-v7a__ndk_target_21/harfbuzz | |
[DEBUG]: -> running configure --without-icu --host=arm-linux-androideabi --prefix=/home/sandy/.local/share/python-for-android/build/other_builds/harfbuzz/armeabi-v7a__ndk_target_21/harfbuzz --with-freetype=yes --without-glib | |
[DEBUG]: checking for a BSD-compatible install... /usr/bin/install -c | |
[DEBUG]: checking whether build environment is sane... yes | |
[DEBUG]: checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip --strip-unneeded | |
[DEBUG]: checking for a thread-safe mkdir -p... /usr/bin/mkdir -p | |
[DEBUG]: checking for gawk... gawk | |
[DEBUG]: checking whether make -j5 sets $(MAKE)... yes | |
[DEBUG]: checking whether make -j5 supports nested variables... yes |
This file contains 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
url = "https://genius.com/Joyner-lucas-isis-lyrics" | |
def news(): | |
global lyrics | |
page = urlopen(Request(url, headers={'User-Agent': 'Mozilla'})) | |
soup = BeautifulSoup(page, "html.parser") | |
lyrics = soup.p.text.strip() | |
news() |
This file contains 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
url = "https://genius.com/Joyner-lucas-isis-lyrics" | |
def news(): | |
global lyrics | |
page = urlopen(Request(url, headers={'User-Agent': 'Mozilla'})) | |
soup = BeautifulSoup(page, "html.parser") | |
lyrics = soup.p.text.strip() | |
news() |
This file contains 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.uix.widget import Widget | |
from kivy.graphics import Rectangle, Color | |
from kivy.properties import (ListProperty, NumericProperty, ObjectProperty) | |
from kivy.lang import Builder | |
from matplotlib.pyplot import get_cmap # | |
class Heatmap(Widget): |
NewerOlder