I hereby claim:
- I am twilight0 on github.
- I am thgiliwt (https://keybase.io/thgiliwt) on keybase.
- I have a public key ASC6hE84Vs3u3heXuecX0NeI219M6zloCi-Ywp5UeFZshAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# Encode inputfile.tar.gz as a series of video frames | |
# Frames are written to frames/frameNNNN.png | |
from PIL import Image | |
with open('inputfile.tar.gz', 'rb') as f: | |
data = f.read() | |
WIDTH = 120 | |
HEIGHT = 90 | |
CHUNK_SIZE = int((WIDTH * HEIGHT) / 8) |
import kivy | |
kivy.require('1.10.0') | |
from kivy.app import App | |
from kivy.uix.gridlayout import GridLayout | |
from kivy.uix.label import Label | |
from kivy.uix.textinput import TextInput | |
class LoginScreen(GridLayout): |
#!/usr/bin/python | |
from __future__ import print_function | |
import sys, os, time, threading, subprocess, fnmatch | |
class SourceChangeMonitor(threading.Thread): | |
# Remember the process ID of the subprocess for when | |
# we want to restart it | |
_process = None |