Skip to content

Instantly share code, notes, and snippets.

location: https://downloads.raspberrypi.org/raspbian_lite/images/raspbian_lite-2020-02-14/2020-02-13-raspbian-buster-lite.zip

Keybase proof

I hereby claim:

  • I am quapka on github.
  • I am quapka (https://keybase.io/quapka) on keybase.
  • I have a public key ASC1BrltY6JtD92WIVMGBWsa0CO-oWvveh8AYT_GnBcY3go

To claim this, I am signing this object:

\begin{center}
\begin{tikzpicture}[scale=1.6, every node/.style={scale=1.6}]
% krychle
\node[text=gray] at (1.9,1.8) {\LARGE{$3$}};
% horizontální čáry
\draw (0,0) -- (2,0);
\draw (0,1) -- (2,1);
\draw (0.4,1.3) -- (1,1.3);
\draw (2.4,1.3) -- (3.4,1.3);
\draw (1,2) -- (2,2);
@quapka
quapka / tenis.py
Last active August 29, 2015 14:08
#!/usr/bin/env python
import pygame, sys
#from lib_tenis import *
class Slider(object):
def __init__(self, screen, x):
self.screen = screen
self.x = x
self.y = 0
self.rect = pygame.Rect(self.x,self.y, 30,150)
#!/usr/bin/env python
from fractions import gcd
moduli = [8844679, 11316499, 13490941, 18761893, 21799573,
22862761, 48456493, 43831027, 58354333, 60785419]
GCDs = [['\\textbf{Moduli}'] + moduli]
for nA in moduli:
line = [nA]
for nB in moduli:
line.append(gcd(nA, nB))
#!/usr/bin/env python
import gmpy
# see http://stackoverflow.com/a/4801358/2377489
p = 43
q = 59
d = 937
plaintext = 134879475204
if __name__ == '__main__':
#!/usr/bin/env python
def game():
pass
def load_plan(filename):
""" loads a file called filename, from working
directory; expects data such as:
..#.
....
#!/usr/bin/env python
import pygame
import sys
class Matches(object):
def __init__(self):
self.current_screen = 'main_menu_screen'
@quapka
quapka / ball.py
Last active August 29, 2015 14:08
#!/usr/bin/env python
import pygame
import sys
import random
class Ball(object):
""" ball class, draws and moves the ball """
def __init__(self, screen, x, y):
self.screen = screen
self.x = x
[app]
# (str) Title of your application
title = My Application
# (str) Package name
package.name = myapp
# (str) Package domain (needed for android/ios packaging)
package.domain = org.test