- Disable secureboot and legacy boot
- Enable EFI (UEFI) boot
- Boot
-
loadkeys cz-qwertz
-
ping archlinux.org
test internet connection - If no internet:
- connet ethernet cable
- If ethernet cable connected and still no internet
-
modprobe -r tg3
-
- If ethernet cable connected and still no internet
- connet ethernet cable
-
modprobe broadcom
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
import pygame as pg | |
import colorsys | |
from time import time | |
from copy import deepcopy | |
from pprint import pprint | |
# COLORS | |
BLACK = (0, 0, 0) | |
WHITE = (255, 255, 255) |
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
import requests | |
import datetime | |
from math import inf | |
import time | |
start = time.time() | |
data = requests.get("https://onemocneni-aktualne.mzcr.cz/api/v2/covid-19/orp.json").json()["data"] | |
print(time.time()-start) | |
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
import random | |
import pprint | |
grid = [] | |
for i in range(4): grid.append([0 for j in range(4)]) | |
def addNumber(): | |
x = random.randint(0, len(grid)-1) | |
y = random.randint(0, len(grid[x])-1) | |
#print(x,y) |