|
|
(не показано 17 промежуточных версий этого же участника) |
Строка 1: |
Строка 1: |
| == 2020 == | | == 2020 == |
| + | === 2020-10 === |
| + | |
| + | * 2020-10-29, 00:10:17: [https://pypi.org/project/pygtail/ pygtail · PyPI] |
| + | *: <html><span class="kn">from</span> <span class="nn">pygtail</span> <span class="kn">import</span> <span class="n">Pygtail</span> <span class="k">for</span> <span class="n">line</span> <span class="ow">in</span> <span class="n">Pygtail</span><span class="p">(</span><span class="s2">"some.log"</span><span class="p">):</span> <span class="n">sys</span><span class="o">.</span><span class="n">stdout</span><span class="o">.</span><span class="n">write</span><span class="p">(</span><span class="n">line</span><span class="p">)</span></html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-10-29, 00:09:15: [https://stackoverflow.com/questions/36327265/python-parse-log-file-in-realtime-reload-when-the-log-rotates Python Parse log file in realtime, reload when the log rotates - Stack Overflow] |
| + | *: <html><span class="hljs-keyword">import</span> os file_path = <span class="hljs-string">'/var/log/app/access.log'</span> <span class="hljs-keyword">with</span> open(file_path) <span class="hljs-keyword">as</span> f: file_size = <span class="hljs-number">0</span> <span class="hljs-keyword">while</span> <span class="hljs-literal">True</span>: line = f.readline() <span class="hljs-keyword">if</span> line: <span class="hljs-keyword">print</span> line file_status_obj = os.stat(file_path) <span class="hljs-keyword">if</span> file_size < file_status_obj.st_size: f.seek(<span class="hljs-number">0</span>) file_size = file_status_obj.st_size </html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-10-28, 23:11:37: [https://github.com/Rune28/Uchi/blob/c955d157c1ad85db19cbbece9e61cb8924ad4e40/event_data_parser.py Uchi/event_data_parser.py at c955d157c1ad85db19cbbece9e61cb8924ad4e40 · Rune28/Uchi] |
| + | * 2020-10-28, 23:08:22: [https://github.com/search?l=Python&p=10&q=clickhouse_driver&type=Code Search · clickhouse_driver] |
| + | * 2020-10-28, 23:04:44: [https://github.com/ericmccarthy7/clickhouse-pool/blob/ac438b1f331a166be98faee2ab081e4afc7c59bc/clickhouse_pool/pool.py clickhouse-pool/pool.py at ac438b1f331a166be98faee2ab081e4afc7c59bc · ericmccarthy7/clickhouse-pool] |
| + | * 2020-10-28, 19:53:31: [https://github.com/recoilme/pudge recoilme/pudge: Fast and simple key/value store written using Go's standard library] |
| + | * 2020-10-28, 18:39:29: [https://habr.com/ru/company/vk/blog/430168/ Использование ClickHouse в VK, или Зачем мы написали KittenHouse / Блог компании ВКонтакте / Хабр] |
| + | * 2020-10-25, 16:00:41: [https://www.virtualbox.org/wiki/Testbuilds Testbuilds – Oracle VM VirtualBox] |
| + | * 2020-10-24, 23:01:03: [https://stackoverflow.com/questions/58984413/how-to-progammatically-pass-the-callable-to-gunicorn-instead-of-arguments python - How to progammatically pass the callable to gunicorn instead of arguments - Stack Overflow] |
| + | *: <html><button class="js-vote-up-btn grid--cell s-btn s-btn__unset c-pointer" data-controller="s-tooltip" data-s-tooltip-placement="right" aria-pressed="false" aria-label="Up vote" data-selected-classes="fc-theme-primary" aria-describedby="--stacks-s-tooltip-5nem8fah"></button><div id="--stacks-s-tooltip-5nem8fah" class="s-popover s-popover__tooltip pe-none" aria-hidden="true" role="tooltip">This answer is useful<div class="s-popover--arrow"></div></div> <div class="js-vote-count grid--cell fc-black-500 fs-title grid fd-column ai-center" itemprop="upvoteCount" data-value="0">0</div> <button class="js-vote-down-btn grid--cell s-btn s-btn__unset c-pointer" data-controller="s-tooltip" data-s-tooltip-placement="right" aria-pressed="false" aria-label="Down vote" data-selected-classes="fc-theme-primary" aria-describedby="--stacks-s-tooltip-o4ee66hq"><svg aria-hidden="true" class="m0 svg-icon iconArrowDownLg" width="36" height="36" viewBox="0 0 36 36"></svg></button></html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-10-21, 22:32:57: [https://forums.virtualbox.org/viewtopic.php?f=6&t=90853&start=300 virtualbox.org • View topic - VirtualBox 6.0 and Hyper-V] |
| + | *: <html>github . com/MicrosoftDocs/WSL/issues/798</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-10-21, 22:21:56: [https://github.com/MicrosoftDocs/WSL/issues/798 WSL2 breaks VirtualBox 6.1 · Issue #798 · MicrosoftDocs/WSL] |
| + | * 2020-10-21, 22:10:57: [https://forums.virtualbox.org/viewtopic.php?f=6&t=90853 virtualbox.org • View topic - VirtualBox 6.0 and Hyper-V] |
| + | * 2020-10-20, 18:33:19: [https://habr.com/ru/post/427217/ Анализ производительности WSGI-серверов: Часть вторая / Хабр] |
| + | * 2020-10-16, 12:00:06: [https://medium.com/dataseries/how-to-make-a-photo-editor-with-react-f81485a5ce08 How to Make a Photo Editor with React | by John Au-Yeung | DataSeries | Medium] |
| + | * 2020-10-13, 20:47:25: [https://coq.discourse.group/ Coq - The Coq proof assistant user and developer forum.] |
| + | |
| === 2020-09 === | | === 2020-09 === |
| | | |
| + | * 2020-09-28, 11:22:51: [https://github.com/malikwahab/pilxel/issues/15 Uploading to pilxel.herokuapp.com does not work · Issue #15 · malikwahab/pilxel] |
| + | *: <html>Uploading to pilxel.herokuapp.com does not work </html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-09-24, 11:38:34: [https://www.reddit.com/r/Fedora/comments/fx5z9e/communication_between_docker_containers_blocked/ Communication between Docker containers blocked by firewall in Fedora 32 : Fedora] |
| + | *: <html><p class="_1qeIAgB0cPwnLhDF9XSiJM">You may need to adjust firewallds backend from nftables to iptables.</p><p class="_1qeIAgB0cPwnLhDF9XSiJM">See FirewallBackend in /etc/firewalld/firewalld.conf</p></html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-09-18, 19:07:59: [http://robocraft.ru/blog/computervision/549.html OpenCV - голографическое кодирование картинки / Компьютерное зрение / RoboCraft. Роботы? Это просто!] |
| * 2020-09-08, 21:22:06: [https://habr.com/ru/post/454440/ Мелкая питонячая радость #2: Starlette / Хабр] | | * 2020-09-08, 21:22:06: [https://habr.com/ru/post/454440/ Мелкая питонячая радость #2: Starlette / Хабр] |
| *: <html>Starlette</html> | | *: <html>Starlette</html> |