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.uix.boxlayout import BoxLayout | |
from kivy.properties import ObjectProperty, BooleanProperty | |
from kivy.logger import Logger | |
from kivy.clock import Clock | |
from kivy.utils import platform | |
from kivy.logger import Logger | |
# KivyMD stuff | |
from kivymd.theming import ThemeManager |
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.uix.screenmanager import Screen | |
from kivy.network.urlrequest import UrlRequest | |
from kivy.properties import ListProperty, StringProperty, ObjectProperty, BooleanProperty, DictProperty, NumericProperty | |
from kivy.lang import Builder | |
from kivy.clock import Clock, mainthread | |
from kivy.logger import Logger | |
from components.buttons import AvatarWidget, EventButton |
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
#!/usr/bin/env python | |
import glob | |
import os | |
import time | |
from kivy.app import App | |
from kivy.clock import Clock | |
from kivy.lang import Builder | |
from kivy.properties import StringProperty, ObjectProperty | |
from kivy.uix.image import AsyncImage |
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.uix.boxlayout import BoxLayout | |
from kivy.uix.floatlayout import FloatLayout | |
from kivy.properties import ObjectProperty | |
from kivy.uix.label import Label | |
from kivy.uix.recycleview import RecycleView | |
from kivy.clock import Clock | |
from kivy.uix.button import Button |
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
<Game_Screen>: | |
name: 'game_screen' | |
on_enter: root.launch_game() | |
<Game_Menu>: | |
FloatLayout: | |
pos_hint: {'center_x': 0.5, 'center_y': 0.5} | |
size_hint: None, None | |
canvas.before: | |
Color: |
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.uix.textinput import TextInput | |
from kivy.clock import Clock | |
class Test(App): | |
def build(self): | |
self.ti = TextInput() | |
self.ti.bind(text=self.format) | |
return self.ti |
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 __future__ import generators | |
""" | |
httplib2 | |
A caching http interface that supports ETags and gzip | |
to conserve bandwidth. | |
Requires Python 2.3 or later | |
Changelog: |
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
<JobListItem>: | |
border: dp(10) | |
swipe_threshold: .2 | |
ThreeLineListItem: | |
text: root.maintext | |
secondary_text: root.subtext | |
size_hint_y: 1 | |
size_hint_x: None | |
width: app.root.width | |
on_release: app.root.ids.schedule_screen_manager.get_screen("front_screen").view_job_details(root) |
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
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; | |
if (d.getElementById(id)) return; | |
js = d.createElement(s); js.id = id; | |
js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.9&appId=103577713149348"; | |
fjs.parentNode.insertBefore(js, fjs); | |
}(document, 'script', 'facebook-jssdk'));</script> | |
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 time | |
import pusherclient | |
import sys | |
import json | |
import plyer | |
from httprequests import * | |
#import the GPIO and time package | |
import RPi.GPIO as GPIO |