-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
- Loading branch information
There are no files selected for viewing
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
<rss version="2.0"> | ||
<channel> | ||
<title>🐍 PDS 2024 Python</title> | ||
<link>https://https://tarasa24.github.io/PDS-2024-Python/</link> | ||
<description>Last 10 notes on 🐍 PDS 2024 Python</description> | ||
<generator>Quartz -- quartz.jzhao.xyz</generator> | ||
<item> | ||
<title>client.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/client.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/client.py</guid> | ||
<description>import socket import struct import time import pickle # Import pickle pro serializaci dat SERVER_ADR = ('localhost', 12345) def start_client(message): # Vytvoření ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>server_http.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/server_http.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/server_http.py</guid> | ||
<description>from http.server import HTTPServer, BaseHTTPRequestHandler # Jednoduchá databáze database = {1: ["Karel", "Novy"], 2: ["Marek", "Modry"]} ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>server.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/server.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/server.py</guid> | ||
<description>import socket import threading import struct import time import pickle # Přidání knihovny pickle from typing import Tuple # Jednoduchá databáze database = {1: ["Karel", ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>RabbitMQ_reliability.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</guid> | ||
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) channel = connection.channel() ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>RabbitMQ_realtime.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</guid> | ||
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) channel = connection.channel() ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>RabbitMQ_fanout.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_fanout.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_fanout.py</guid> | ||
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) channel = connection.channel() ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>RabbitMQ_consumer.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_consumer.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_consumer.py</guid> | ||
<description>import pika def callback(ch, method, properties, body): print(f" [x] Přijatá zpráva: {body}") # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>RabbitMQ_producent.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</guid> | ||
<description>import pika # Navázání spojení s RabbitMQ serverem connection = pika.BlockingConnection(pika.ConnectionParameters('localhost')) channel = connection.channel() ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>threading_semaphore.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_semaphore.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_semaphore.py</guid> | ||
<description>import threading, time # Vytvoříme semafor, určíme max počet přístupů. sem = threading.Semaphore(3) # Vlákno pro práci se zdrojem, zkontrolujeme semafor.</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item><item> | ||
<title>threading_condition.py</title> | ||
<link>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_condition.py</link> | ||
<guid>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_condition.py</guid> | ||
<description>import threading, time cond = threading.Condition() # Konzumer bude čekat na splnění podmínky producenta def consumer(id): with cond: cond.wait() print("Konzumer {} obdržel ...</description> | ||
<pubDate>Wed, 20 Nov 2024 20:16:43 GMT</pubDate> | ||
</item> | ||
</channel> | ||
</rss> |
Large diffs are not rendered by default.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml"><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/client.py</loc> | ||
<lastmod>2024-11-20T20:16:43.676Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/server.py</loc> | ||
<lastmod>2024-11-20T20:16:43.664Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/http_socket/server_http.py</loc> | ||
<lastmod>2024-11-20T20:16:43.672Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_consumer.py</loc> | ||
<lastmod>2024-11-20T20:16:43.640Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_fanout.py</loc> | ||
<lastmod>2024-11-20T20:16:43.644Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_producent.py</loc> | ||
<lastmod>2024-11-20T20:16:43.632Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_realtime.py</loc> | ||
<lastmod>2024-11-20T20:16:43.652Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/rabbitmq_examples/RabbitMQ_reliability.py</loc> | ||
<lastmod>2024-11-20T20:16:43.660Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/asyncio.py</loc> | ||
<lastmod>2024-11-20T20:16:43.608Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_pool.py</loc> | ||
<lastmod>2024-11-20T20:16:43.576Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_process.py</loc> | ||
<lastmod>2024-11-20T20:16:43.560Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_qpipe.py</loc> | ||
<lastmod>2024-11-20T20:16:43.568Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/multiprocessing_valarray.py</loc> | ||
<lastmod>2024-11-20T20:16:43.600Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_barrier.py</loc> | ||
<lastmod>2024-11-20T20:16:43.596Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_condition.py</loc> | ||
<lastmod>2024-11-20T20:16:43.620Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_event.py</loc> | ||
<lastmod>2024-11-20T20:16:43.580Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_lock.py</loc> | ||
<lastmod>2024-11-20T20:16:43.588Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_semaphore.py</loc> | ||
<lastmod>2024-11-20T20:16:43.628Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/codes/synchronization_tools/threading_thread.py</loc> | ||
<lastmod>2024-11-20T20:16:43.612Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/</loc> | ||
<lastmod>2024-11-20T20:16:29.040Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/problemy_jazyka_python_a_externi_nastroje</loc> | ||
<lastmod>2024-11-20T20:16:29.040Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/rabbitmq</loc> | ||
<lastmod>2024-11-20T20:16:29.040Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/socket_http</loc> | ||
<lastmod>2024-11-20T20:16:29.040Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/synchronizacni_nastroje_std_knihovny</loc> | ||
<lastmod>2024-11-20T20:16:29.040Z</lastmod> | ||
</url><url> | ||
<loc>https://https:/tarasa24.github.io/PDS-2024-Python/uvod_do_paralelizace</loc> | ||
<lastmod>2024-11-20T20:16:29.040Z</lastmod> | ||
</url></urlset> |
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,99 @@ | ||
/*! MIT License | ||
* Copyright (c) 2018 GitHub Inc. | ||
* https://github.com/primer/primitives/blob/main/LICENSE | ||
*/ | ||
|
||
main { | ||
--color-prettylights-syntax-comment: #8b949e; | ||
--color-prettylights-syntax-constant: #79c0ff; | ||
--color-prettylights-syntax-entity: #d2a8ff; | ||
--color-prettylights-syntax-storage-modifier-import: #c9d1d9; | ||
--color-prettylights-syntax-entity-tag: #7ee787; | ||
--color-prettylights-syntax-keyword: #ff7b72; | ||
--color-prettylights-syntax-string: #a5d6ff; | ||
--color-prettylights-syntax-variable: #ffa657; | ||
--color-prettylights-syntax-brackethighlighter-unmatched: #f85149; | ||
--color-prettylights-syntax-invalid-illegal-text: #f0f6fc; | ||
--color-prettylights-syntax-invalid-illegal-bg: #8e1519; | ||
--color-prettylights-syntax-carriage-return-text: #f0f6fc; | ||
--color-prettylights-syntax-carriage-return-bg: #b62324; | ||
--color-prettylights-syntax-string-regexp: #7ee787; | ||
--color-prettylights-syntax-markup-list: #f2cc60; | ||
--color-prettylights-syntax-markup-heading: #1f6feb; | ||
--color-prettylights-syntax-markup-italic: #c9d1d9; | ||
--color-prettylights-syntax-markup-bold: #c9d1d9; | ||
--color-prettylights-syntax-markup-deleted-text: #ffdcd7; | ||
--color-prettylights-syntax-markup-deleted-bg: #67060c; | ||
--color-prettylights-syntax-markup-inserted-text: #aff5b4; | ||
--color-prettylights-syntax-markup-inserted-bg: #033a16; | ||
--color-prettylights-syntax-markup-changed-text: #ffdfb6; | ||
--color-prettylights-syntax-markup-changed-bg: #5a1e02; | ||
--color-prettylights-syntax-markup-ignored-text: #c9d1d9; | ||
--color-prettylights-syntax-markup-ignored-bg: #1158c7; | ||
--color-prettylights-syntax-meta-diff-range: #d2a8ff; | ||
--color-prettylights-syntax-brackethighlighter-angle: #8b949e; | ||
--color-prettylights-syntax-sublimelinter-gutter-mark: #484f58; | ||
--color-prettylights-syntax-constant-other-reference-link: #a5d6ff; | ||
--color-btn-text: #d4d4d4; /* --darkgray */ | ||
--color-btn-bg: #161618; /* --light */ | ||
--color-btn-border: rgb(240, 246, 252 / 10%); /* --dark */ | ||
--color-btn-shadow: 0 0 transparent; | ||
--color-btn-inset-shadow: 0 0 transparent; | ||
--color-btn-hover-bg: #30363d; | ||
--color-btn-hover-border: #8b949e; | ||
--color-btn-active-bg: hsl(212deg 12% 18% / 100%); | ||
--color-btn-active-border: #6e7681; | ||
--color-btn-selected-bg: #161b22; | ||
--color-btn-primary-text: #fff; | ||
--color-btn-primary-bg: #84a59d; /* --tertiary */ | ||
--color-btn-primary-border: rgb(240, 246, 252 / 10%); /* --dark */ | ||
--color-btn-primary-shadow: 0 0 transparent; | ||
--color-btn-primary-inset-shadow: 0 0 transparent; | ||
--color-btn-primary-hover-bg: #7b97aa; /* --secondary */ | ||
--color-btn-primary-hover-border: rgb(240, 246, 252 / 10%); /* --dark */ | ||
--color-btn-primary-selected-bg: #7b97aa; /* --secondary */ | ||
--color-btn-primary-selected-shadow: 0 0 transparent; | ||
--color-btn-primary-disabled-text: rgba(33, 32, 32, 0.5); | ||
--color-btn-primary-disabled-bg: rgb(35 134 54 / 60%); | ||
--color-btn-primary-disabled-border: rgb(240 246 252 / 10%); | ||
--color-action-list-item-default-hover-bg: rgb(177 186 196 / 12%); | ||
--color-segmented-control-bg: rgb(110 118 129 / 10%); | ||
--color-segmented-control-button-bg: #0d1117; | ||
--color-segmented-control-button-selected-border: #6e7681; | ||
--color-fg-default: #ebebec; /* --dark */ | ||
--color-fg-muted: #d4d4d4; /* --darkgray */ | ||
--color-fg-subtle: #d4d4d4; /* --darkgray */ | ||
--color-canvas-default: #0d1117; | ||
--color-canvas-overlay: #161b22; | ||
--color-canvas-inset: #010409; | ||
--color-canvas-subtle: #161b22; | ||
--color-border-default: #30363d; | ||
--color-border-muted: #21262d; | ||
--color-neutral-muted: rgb(110 118 129 / 40%); | ||
--color-accent-fg: #2f81f7; | ||
--color-accent-emphasis: #1f6feb; | ||
--color-accent-muted: rgb(56 139 253 / 40%); | ||
--color-accent-subtle: rgb(56 139 253 / 10%); | ||
--color-success-fg: #3fb950; | ||
--color-attention-fg: #d29922; | ||
--color-attention-muted: rgb(187 128 9 / 40%); | ||
--color-attention-subtle: rgb(187 128 9 / 15%); | ||
--color-danger-fg: #f85149; | ||
--color-danger-muted: rgb(248 81 73 / 40%); | ||
--color-danger-subtle: rgb(248 81 73 / 10%); | ||
--color-primer-shadow-inset: 0 0 transparent; | ||
--color-scale-gray-7: #21262d; | ||
--color-scale-blue-8: #0c2d6b; | ||
|
||
/*! Extensions from @primer/css/alerts/flash.scss */ | ||
--color-social-reaction-bg-hover: var(--color-scale-gray-7); | ||
--color-social-reaction-bg-reacted-hover: var(--color-scale-blue-8); | ||
} | ||
|
||
main .pagination-loader-container { | ||
background-image: url("https://github.com/images/modules/pulls/progressive-disclosure-line-dark.svg"); | ||
} | ||
|
||
main .gsc-loading-image { | ||
background-image: url("https://github.githubassets.com/images/mona-loading-dark.gif"); | ||
} |