|
|
(не показано 48 промежуточных версий этого же участника) |
Строка 1: |
Строка 1: |
| + | == 2021 == |
| + | === 2021-03 === |
| + | |
| + | * 2021-03-05, 15:24:18: [https://intuit.ru/studies/courses/3586/828/print_lecture/29007 Расширение и развертывание] |
| + | *: <html>from django.test import TestCase from django.test.client import Client</html> |
| + | *: <html> 'django.middleware.Cache.CacheMiddleware',</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2021-03-03, 04:15:08: [https://intuit.ru/studies/courses/3586/828/lecture/28995?page=3 НОУ ИНТУИТ | Лекция | Стиль кодирования в Django] |
| + | *: <html><li>DELAULT_APPS: Этот параметр содержит установленные по умолчанию приложения Django (такие как admin)</li> <li>THIRD_PARTY_APPS: Этот параметр содержит другие приложения, такие как SocialAuth, используемые для аутентификации в социальных сетях.</li> <li>LOCAL_APPS: Этот параметр содержит созданные вами приложения</li></html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2021-03-01, 11:49:07: [https://habr.com/ru/company/ods/blog/328372/ Метрики в задачах машинного обучения / Блог компании Open Data Science / Хабр] |
| + | * 2021-03-01, 03:34:27: [https://www.npmjs.com/package/react-d3-tree react-d3-tree - npm] |
| + | |
| + | === 2021-02 === |
| + | |
| + | * 2021-02-28, 02:24:06: [https://stackoverflow.com/questions/62664761/probability-of-hash-collision math - Probability of hash collision - Stack Overflow] |
| + | *: <html>The exact formula for the probability of getting a collision with an n-bit hash function and k strings hashed is</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2021-02-20, 00:53:26: [https://demo2.librephotos.com/person/3 LibrePhotos] |
| + | * 2021-02-13, 01:49:14: [https://stackoverflow.com/questions/42281946/whats-the-best-way-to-load-stored-procedures-into-the-django-unit-test-database postgresql - What's the best way to load stored procedures into the Django unit test database? - Stack Overflow] |
| + | * 2021-02-13, 01:38:01: [https://stackoverflow.com/questions/9984196/postgresql-gapless-sequences ruby on rails - PostgreSQL gapless sequences - Stack Overflow] |
| + | * 2021-02-05, 19:30:31: [https://forum.astralinux.ru/threads/1956/ Смоленск 1.6 - не могу установить корректно postgressql | Astra Linux Forum] |
| + | *: <html><article class="message message--post js-post js-inlineModContainer " data-author="Sergey_2020" data-content="post-8200" id="js-post-8200"><div class="message-inner"><div class="message-cell message-cell--main"><div class="message-main js-quickEditTarget"><div class="message-content js-messageContent"><div class="message-userContent lbContainer js-lbContainer " data-lb-id="post-8200" data-lb-caption-desc="Sergey_2020 · 09.07.2019 в 09:37"><article class="message-body js-selectToQuote"><div class="bbWrapper">Ставлю на чистую систему, подскажите как с этим можно бороться?<br> Насколько понимаю дело в данных метках :<br> pdp-ls -Md /var/run<br> lrwxrwxrwxm-- 1 root root Уровень_3:Высокий:Категория_1,Категория_2,0xfffffffffffffffc:CCNRA /var/run -> /run<br> Можно ли их поменять, не поломав систему?</div> <div class="js-selectToQuoteEnd"> </div> </article> </div> </div> <footer class="message-footer"> <div class="likesBar js-likeList "> </div> <div class="js-historyTarget message-historyTarget toggleTarget" data-href="https://forum.astralinux.ru/threads/1956/trigger-href"></div> </footer> </div> </div> </div> </article> <article class="message message--post js-post js-inlineModContainer " data-author="Sergey_2020" data-content="post-8266" id="js-post-8266"> <span class="u-anchorTarget" id="post-8266"></span> <div class="message-inner"> <div class="message-cell message-cell--user"> <section itemscope="" itemtype="https://schema.org/Person" class="message-user"> <div class="message-avatar "> <div class="message-avatar-wrapper"> </div></div></section></div></div></article></html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2021-02-04, 00:08:14: [https://habr.com/ru/company/lanit/blog/539040/?utm_campaign=539040&utm_source=habrahabr&utm_medium=rss Как защитить информацию на экране монитора от утечки / Блог компании ГК ЛАНИТ / Хабр] |
| + | *: <html>Кстати давным давно была такая идея: разобрать ЖК-монитор, выдернуть оттуда поляризационную пленку (кажется называется «линза Френеля») и приклеить на защитные очки. Без этой линзы изображение с монитора ни под каким углом не видно, он просто белый. А вот в очках все становится нормально видно. Возможно это все какая-то технобайка, лично не проверял — монитор жалко :-) Но в теории, если тема рабочая, то почему не выпускать мониторы и комплекты очков к ним? У каждого сотрудника свои очки подходящие только к его монитору.</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | |
| + | === 2021-01 === |
| + | |
| + | * 2021-01-20, 03:33:00: [https://s.itho.me/cloudsummit/2020/slides/7004.pdf PowerPoint 簡報 - 7004.pdf] |
| + | * 2021-01-20, 03:07:39: [https://www.ansible.com/getting-started-with-ansible-tower AnsibleFest Atlanta - Getting Started with Ansible Tower] |
| + | * 2021-01-20, 03:05:35: [https://speakerdeck.com/jpmens/ansible-awx?slide=18 Ansible AWX - Speaker Deck] |
| + | |
| == 2020 == | | == 2020 == |
| + | === 2020-12 === |
| + | |
| + | * 2020-12-17, 11:27:57: [https://pypi.org/project/pypsrp/ pypsrp · PyPI] |
| + | * 2020-12-14, 01:11:41: [https://kopy.io/IEfQ9 kopy - IEfQ9] |
| + | * 2020-12-09, 11:47:55: [https://webdevblog.ru/monkey-patching-v-python-obyasnenie-s-primerami/ Monkey Patching в Python: объяснение с примерами - Еще один блог веб-разработчика] |
| + | *: <html>kwargs</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | |
| + | === 2020-11 === |
| + | |
| + | * 2020-11-11, 12:03:41: [https://gitlab.ispras.ru/watermarking/dm_service_linux watermarking / dm_service_linux · GitLab] |
| + | * 2020-11-10, 09:51:47: [https://github.com/Zloool/manyfaced-honeypot/blob/master/manyfaced/db/migration.py manyfaced-honeypot/migration.py at master · Zloool/manyfaced-honeypot] |
| + | * 2020-11-10, 02:19:54: [https://www.slideserve.com/china/private-information-retrieval PPT - Private Information Retrieval PowerPoint Presentation, free download - ID:5595087] |
| + | * 2020-11-05, 04:03:07: [https://github.com/City-of-Helsinki/django-orghierarchy City-of-Helsinki/django-orghierarchy: Reusable Django application for hierarchical organizations] |
| + | *: <html><pre><code> "https://api.hel.fi/paatos/v1/organization/" </code></pre> <p>You may give the organization data source a specific id to correspond to your own data source model ids in your project:</p> <pre><code>python manage.py import_organizations "https://api.hel.fi/paatos/v1/organization/" -s original_id:imported_id </code></pre> <p>Otherwise, the data source id in the original API is used for the imported organizations (<code>helsinki</code> in the Helsinki API).</p> <h1><a id="user-content-development" class="anchor" aria-hidden="true" href="https://github.com/City-of-Helsinki/#development"><svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"></svg></a></h1></html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-11-05, 03:08:29: [https://habr.com/ru/post/524622/?utm_campaign=524622&utm_source=habrahabr&utm_medium=rss Храним секреты в Linux: JWT аутентификация в CLI приложении на Python / Хабр] |
| + | * 2020-11-05, 02:23:09: [https://djangopackages.org/grids/g/perms/ Django Packages : Permissions] |
| + | * 2020-11-04, 02:25:18: [http://ru.manpages.org/dl_iterate_phdr/3 man dl_iterate_phdr (3): обход списка общих объектов] |
| + | *: <html><span class="hljs-preprocessor">#<span class="hljs-keyword">define</span> _GNU_SOURCE</span> <span class="hljs-preprocessor">#<span class="hljs-keyword">include</span> <link.h></span> <span class="hljs-preprocessor">#<span class="hljs-keyword">include</span> <stdlib.h></span> <span class="hljs-preprocessor">#<span class="hljs-keyword">include</span> <stdio.h></span> <span class="hljs-keyword">static</span> <span class="hljs-keyword">int</span> callback(<span class="hljs-keyword">struct</span> dl_phdr_info *info, size_t size, <span class="hljs-keyword">void</span> *data) { <span class="hljs-keyword">int</span> j; <span class="hljs-built_in">printf</span>(<span class="hljs-string">"имя=%s (%d сегментов)\n"</span>, info->dlpi_name, info->dlpi_phnum); <span class="hljs-keyword">for</span> (j = <span class="hljs-number">0</span>; j < info->dlpi_phnum; j++) <span class="hljs-built_in">printf</span>(<span class="hljs-string">"\t\t заголовок %2d: адрес=%10p\n"</span>, j, (<span class="hljs-keyword">void</span> *) (info->dlpi_addr + info->dlpi_phdr[j].p_vaddr)); <span class="hljs-keyword">return</span> <span class="hljs-number">0</span>; } <span class="hljs-keyword">int</span> main(<span class="hljs-keyword">int</span> argc, <span class="hljs-keyword">char</span> *argv[]) { dl_iterate_phdr(callback, NULL); <span class="hljs-built_in">exit</span>(EXIT_SUCCESS); }</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-11-04, 02:04:04: [https://stackoverflow.com/questions/15779185/how-to-list-on-the-fly-all-the-functions-symbols-available-in-c-code-on-a-linux c++ - How to list on-the-fly all the functions/symbols available in C code on a Linux architecture? - Stack Overflow] |
| + | * 2020-11-03, 02:24:59: [https://github.com/Infinidat/infi.clickhouse_orm/blob/ffd9bab0ef58c5670f3a39c978525f5f32a00742/docs/schema_migrations.md infi.clickhouse_orm/schema_migrations.md at ffd9bab0ef58c5670f3a39c978525f5f32a00742 · Infinidat/infi.clickhouse_orm] |
| + | *: <html>Running Migrations</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-11-03, 02:22:42: [https://github.com/egor-sergeev/log-server-profiles egor-sergeev/log-server-profiles] |
| + | |
| + | === 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 / Хабр] |
| + | *: <html>Starlette</html> |
| + | <!-- NEXT BOOKMARK --> |
| + | * 2020-09-06, 13:22:25: [https://news.ycombinator.com/item?id=22432616 Hasura is a game-changer. I'm never writing CRUD backend apps again by hand. Co... | Hacker News] |
| + | * 2020-09-06, 12:58:00: [https://github.com/cpursley/react-admin-low-code cpursley/react-admin-low-code: react-admin (via ra-data-hasura-graphql provider) + hasura = :)] |
| + | * 2020-09-02, 21:56:11: [https://github.com/Nuitka/Nuitka/issues/618 Python3.5: Absolute "import from" of a module was not supported · Issue #618 · Nuitka/Nuitka] |
| + | *: <html><p>I can confirm that pydantic / fapi now compiles with Nuitka 0.6.8rc4.</p> <p>As you suggested, uvicorn ASGI server won't run, but that wasn't your target for the issue.<br> Maybe as a side effect of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="557115491" data-permission-text="Title is private" data-url="https://github.com/Nuitka/Nuitka/issues/613" data-hovercard-type="issue" data-hovercard-url="/Nuitka/Nuitka/issues/613/hovercard" href="https://github.com/Nuitka/Nuitka/issues/613">#613</a>, the error message stating that it cannot run ASGI app has some unicode signs in it:</p></html> |
| + | <!-- NEXT BOOKMARK --> |
| * 2020-09-01, 22:47:38: [https://habr.com/ru/company/lanit/blog/516330/?utm_campaign=516330&utm_source=habrahabr&utm_medium=rss Как устроена графика в Linux: обзор различных сред оформления рабочего стола / Блог компании ГК ЛАНИТ / Хабр] | | * 2020-09-01, 22:47:38: [https://habr.com/ru/company/lanit/blog/516330/?utm_campaign=516330&utm_source=habrahabr&utm_medium=rss Как устроена графика в Linux: обзор различных сред оформления рабочего стола / Блог компании ГК ЛАНИТ / Хабр] |
| * 2020-09-01, 21:06:44: [https://habr.com/ru/post/473620/?utm_campaign=473620&utm_source=habrahabr&utm_medium=rss Как мы воспринимаем цвет. Занимательные факты. Просто об очень сложном / Хабр] | | * 2020-09-01, 21:06:44: [https://habr.com/ru/post/473620/?utm_campaign=473620&utm_source=habrahabr&utm_medium=rss Как мы воспринимаем цвет. Занимательные факты. Просто об очень сложном / Хабр] |