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
| # By Pytel & Copilot | |
| """ | |
| Tento program slouží k sloučení PDF souborů do jednoho. | |
| Použití: | |
| python main.py -f "./PDFs" -o "merged.pdf" | |
| Parametry: | |
| -f --folder složka s PDF soubory | |
| -o --output výstupní soubor |
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
| # By Pytel & Copilot | |
| """ | |
| Tento program načte vstup od uživatele a upraví pomocí regulárního výrazu. | |
| Vzorový vstup: | |
| "Are you sentient?" | |
| Vzorový výstup: | |
| "Indeed, I am sentient." | |
| Vzorový vstup: |
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
| CC=clang | |
| CFLAGS+= -Wall -Werror -std=gnu99 -g # -Werror -v -std=c99 | |
| LFLAGS= -lm | |
| CFLAGS+=$(shell sdl2-config --cflags) | |
| LDFLAGS+=$(shell sdl2-config --libs) | |
| NAME=my_app | |
| APP=my_app | |
| BINARIES=main |
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
| TARGET = app | |
| CC = clang | |
| LIBS = -lm | |
| CFLAGS = -g -Wall | |
| .PHONY: default all clean | |
| default: $(TARGET) | |
| all: default |
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
| #!/bin/bash | |
| if [[ $# -eq 0 ]]; then | |
| echo -e "$ERROR$: no file is specified!" | |
| exit 1 | |
| fi | |
| file="$1" | |
| chmod +x $file && |
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
| #!/usr/bin/python3 | |
| import sys | |
| def printf(format, *args): | |
| sys.stdout.write(format % args) |
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
| #!/bin/bash | |
| # By Pytel | |
| if [ -f requirements.txt ]; then | |
| pip install -r requirements.txt | |
| fi |
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
| #!/bin/bash | |
| # By Pytel | |
| clear | |
| coverage run -m py.test | |
| coverage report -m |
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
| # ┌───────────── minute (0 - 59) | |
| # │ ┌───────────── hour (0 - 23) | |
| # │ │ ┌───────────── day of month (1 - 31) | |
| # │ │ │ ┌───────────── month (1 - 12) | |
| # │ │ │ │ ┌───────────── day of week (0 - 6) (Sunday to Saturday; | |
| # │ │ │ │ │ 7 is also Sunday on some systems) | |
| # │ │ │ │ │ | |
| # │ │ │ │ │ | |
| # * * * * * command_to_execute |
NewerOlder