- RAG (Retrieval Augmented Generation) - поиск релевантной информации в документах для генерации точных ответов.
- MCP (Model Context Provider) - интерфейс подключения моделей к внешним данным и инструментам
- Agent Skills (это механизм расширения возможностей LLM-агентов без дообучения)
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 | |
| ### steps #### | |
| # verify the system has a cuda-capable gpu | |
| # download and install the nvidia cuda toolkit and cudnn | |
| # setup environmental variables | |
| # verify the installation | |
| ### | |
| ### to verify your gpu is cuda enable check |
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
| ! https://2ch.hk | |
| ||2ch.hk/banners/*.gif$image | |
| ! Drop any nocopy scripts | |
| ||*/nocopy*.js | |
| ! https://pikabu.ru | |
| ! Remove watermarks from images | |
| pikabu.ru##img[data-watermarked='1'] |
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 | |
| # Usage | |
| # gen_cacert.sh cert /usr/share/ca-certificates/mozilla/ > cacert.pem | |
| # gen_cacert.sh cert example.com > cacert.pem | |
| # gen_cacert.sh cert /usr/share/ca-certificates/mozilla/ example.com > cacert.pem | |
| set -e | |
| function fetch_cert() { | |
| DOMAIN=$1 |
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
| function etag_resize (r) { | |
| function done (r2) { | |
| // Extract etag header | |
| var source_etag = r2.headersOut.etag | |
| // Pass variables from location | |
| var width = r.variables.width | |
| var height = r.variables.height | |
| var image_path = r.variables.image_path | |
| var convert_path = r.variables.convert_path || '/_ei/' | |
| // construct resize with cache url |
https://egghead.io/
https://habr.com/post/359192/ алгоритмы на js все
https://www.youtube.com/watch?v=j4_9BZezSUA event loop
https://fseby.wordpress.com/2016/02/25/практическая-вводная-в-монады-в-javascript/
https://habrahabr.ru/company/mailru/blog/327522/ (Функциональное программирование в JavaScript с практическими примерами)
https://habrahabr.ru/post/298134/ (FizzBuzz, или почему программисты не умеют программировать)
http://dmitrysoshnikov.com/ecmascript/javascript-the-core-2nd-edition-rus/ (всякое общее)
https://medium.com/@frontman/приведение-типов-в-js-9d6f1845ea96 (приведение типов и др. инфа)
https://ru.wikipedia.org/wiki/Шаблон_проектирования
Fix py.test issues apply patch
curl -s https://gist.githubusercontent.com/Apkawa/7ed7ddfecb8b40efafcc354a9330a188/raw/run.sh | bash -s - <path to pycharm installation>
As example
curl -s https://gist.githubusercontent.com/Apkawa/7ed7ddfecb8b40efafcc354a9330a188/raw/run.sh | bash -s - ~/.local/share/JetBrains/Toolbox/apps/PyCharm-P/ch-0/171.3780.115
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/sh | |
| CONF=/etc/openvpn/home/client-config/DEFAULT | |
| IP_URL=http://api.antizapret.info/group.php | |
| trap cleanup EXIT | |
| cleanup() { | |
| rm $NEW_CONF 2>/dev/null | |
| } |
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
| # coding: utf-8 | |
| from __future__ import unicode_literals | |
| from django.conf import settings | |
| from django.contrib.staticfiles.storage import StaticFilesStorage | |
| class RevisionStaticFilesStorage(StaticFilesStorage): | |
| def url(self, name): |
NewerOlder
