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
| #:kivy 1.5.1 | |
| FloatLayout: | |
| size_hint: (1,1) | |
| bookcover: bookcover | |
| Carousel: | |
| pos_hint: {'center_x': 0.5, 'top': app.booky} | |
| size_hint: (1,1) | |
| id: bookcover |
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.lang import Builder | |
| from kivy.app import App | |
| from kivy.uix.button import Button | |
| from kivy.uix.boxlayout import BoxLayout | |
| from kivy.uix.gridlayout import GridLayout | |
| from kivy.uix.scrollview import ScrollView | |
| from kivy.uix.label import Label | |
| from kivy.clock import Clock | |
| class TestApp(App): |
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.lang import Builder | |
| from kivy.app import App | |
| from kivy.uix.button import Button | |
| from kivy.uix.boxlayout import BoxLayout | |
| from kivy.uix.gridlayout import GridLayout | |
| from kivy.uix.scrollview import ScrollView | |
| from kivy.uix.label import Label | |
| from kivy.clock import Clock | |
| class TestApp(App): |
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 random import random | |
| from kivy.app import App | |
| from kivy.uix.widget import Widget | |
| from kivy.uix.button import Button | |
| from kivy.graphics import Color, Ellipse, Line | |
| class MyPaintWidget(Widget): | |
| def on_touch_down(self, touch): |
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.metrics import Metrics | |
| class TestApp(App): | |
| def build(self): | |
| print Metrics.density() | |
| if __name__ == '__main__': |
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
| ''' | |
| Image auto_reload test | |
| ====================== | |
| Testing ground for auto_reload | |
| ''' | |
| import kivy | |
| kivy.require('1.8.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
| file 1 the commands I used for packaging | |
| file 2 adb logcat when starting app | |
| as far as I can tell, everything installed correctly | |
| note: everything done as non-root, a.k.a. normal user. |
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
| Meteor.http.post('https://api.mailgun.net/v2/movieatmyplace.com/messages', | |
| { | |
| auth:"api:" + process.env.MAILGUN_API_KEY, | |
| params: | |
| { | |
| "from":"Dev McCool <[email protected]>", | |
| "to":[e.currentTarget.value], | |
| "subject":"Behold: the power of Meteor and Mailgun", | |
| "html":"A <b>bold</b> greeting goes here", | |
| "h:X-Mailgun-Variables":JSON.stringify({tracking_id:my_tracking_var}), |
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
| body { | |
| background-image: url(film1.jpg); | |
| background-size: cover; | |
| background-position: center; | |
| color: white; | |
| margin: 0; | |
| font-family: Verdana, Arial; | |
| } | |
| .film-wrapper { |
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
| [ | |
| { | |
| "kg": 0.5, | |
| "m3": null, | |
| "estonia": { | |
| "zone1": 4.27, | |
| "zone2": 4.79, | |
| "zone3": 5.24, | |
| "zone4": 5.91, | |
| }, |
OlderNewer