I hereby claim:
- I am zezic on github.
- I am zezic (https://keybase.io/zezic) on keybase.
- I have a public key whose fingerprint is 6E92 D872 6795 67D8 E6C2 FAA8 1201 543B BAE0 C769
To claim this, I am signing this object:
| import sublime | |
| import sublime_plugin | |
| import re | |
| class HighlightLastWordDiffCommand(sublime_plugin.TextCommand): | |
| def run(self, edit): | |
| # Get all lines in the document | |
| view = self.view | |
| lines = view.lines(sublime.Region(0, view.size())) |
I hereby claim:
To claim this, I am signing this object:
| import os | |
| from string import Template | |
| from PIL import Image | |
| from PIL.ImageStat import Stat | |
| from PIL.ImageFilter import GaussianBlur | |
| from PIL import ImageEnhance | |
| from time import sleep | |
| def flat( *nums ): | |
| 'Build a tuple of ints from float or integer arguments. Useful because PIL crop and resize require integer points.' |
$ python3 enctest.py
Input Certificate Serial Number:
> 03:4A:72:43:1B:35:86:E7:D1:F9:22:2B:03:F6:9E:15:3E:54
Base64: A0pyQxs1hufR+SIrA/aeFT5U
Base85: 14?p38#RXK(fJ}P1NNR3K2!| /* | |
| * author: <https://github.com/zezic> | |
| * author: <https://github.com/tepf> | |
| * | |
| * Check http://doc.qt.io/qt-5/stylesheet-syntax.html especially the subtopics: | |
| * The Style Sheet Syntax (http://doc.qt.io/qt-5/stylesheet-syntax.html) | |
| * Qt Style Sheets Reference (http://doc.qt.io/qt-5/stylesheet-reference.html) | |
| */ | |
Created for use with https://github.com/zvxryb/Linux-Virtual-Joystick
Add both files to ~/.config/vjoy/modules/
Edit mouse2joy.py and change paths accordingly to match your username (not "zezic").
Then run vjoy from its folder with ./vjoy mouse2joy
| from pymouse import PyMouseEvent | |
| from pykeyboard import PyKeyboard | |
| class Listener(PyMouseEvent): | |
| def __init__(self): | |
| PyMouseEvent.__init__(self) | |
| self.keyboard = PyKeyboard() | |
| def click(self, x, y, button, press): |
| <template lang='pug'> | |
| .svg-chart | |
| button(@click='randomize') Randomize | |
| transition-group(name='list', tag='div') | |
| svg.chart( | |
| v-for='item in list', | |
| :width='width', | |
| :height='height', | |
| :key='item.key' | |
| ) |