Skip to content

Instantly share code, notes, and snippets.

View yaki29's full-sized avatar

Yash Jain yaki29

View GitHub Profile
class Base(object):
def __init__(self):
print "Base created"
class ChildA(Base):
def __init__(self):
Base.__init__(self)
class ChildB(Base):
def __init__(self):
class Parent(object):
def printf(self):
print "This is a function of parent class\n"
class Child(Parent):
pass
dad = Parent()
son = Child()
@yaki29
yaki29 / error
Created December 11, 2016 07:49
[INFO ] [Logger ] Record log in /home/yash/.kivy/logs/kivy_16-12-11_55.txt
[INFO ] [Kivy ] v1.9.1
[INFO ] [Python ] v2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2]
[INFO ] [Factory ] 179 symbols loaded
[INFO ] [Image ] Providers: img_tex, img_dds, img_gif, img_sdl2, img_pil (img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
[INFO ] [OSC ] using <multiprocessing> for socket
[INFO ] [Window ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO ] [GL ] OpenGL version <3.0 Mesa 10.5.9>
from kivy.uix.button import Button
from kivy.uix.pagelayout import PageLayout
from kivy.uix.anchorlayout import AnchorLayout
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.stencilview import StencilView
from kivy.lang import Builder
from kivy.uix.scrollview import ScrollView
from kivy.app import App
from kivy.animation import Animation
from kivy.animation import AnimationTransition
import cv2
import numpy as np
from kivy.app import App
from kivy.lang import Builder
from kivy.uix.label import Label
from kivy.uix.screenmanager import Screen, ScreenManager, FadeTransition
Builder.load_string('''
<StartScreen>:
BoxLayout:
Button:
@yaki29
yaki29 / log
Last active March 29, 2017 02:31
yash@Yash-PC:~/f_check$ buildozer android_new debug deploy run
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.25 (amd64).
@yaki29
yaki29 / logs
Created January 25, 2017 17:59
yash@Yash-PC:~/f_check$ buildozer android_new debug deploy run
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.25 (amd64).
This is free software; see the GNU General Public License version 2 or
@yaki29
yaki29 / logs
Created January 25, 2017 18:00
yash@Yash-PC:~/f_check$ buildozer android_new debug deploy run
# Check configuration tokens
# Ensure build layout
# Check configuration tokens
# Preparing build
# Check requirements for android
# Run 'dpkg --version'
# Cwd None
Debian `dpkg' package management program version 1.17.25 (amd64).
This is free software; see the GNU General Public License version 2 or
from kivy.app import App
from kivy.uix.button import Button
from kivy.uix.textinput import TextInput
from kivy.uix.label import Label
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.gridlayout import GridLayout
from kivy.lang import Builder
from kivy.uix.popup import Popup
from kivy.uix.image import AsyncImage
[app]
# (str) Title of your application
title = Detail Teller
# (str) Package name
package.name = detapp
# (str) Package domain (needed for android/ios packaging)
package.domain = org.test