Этот Gist создан Some placeholder.
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
| (uiop:define-package #:app/hardware/ld19 | |
| (:use :cl) | |
| (:import-from :cserial-port | |
| :close-serial | |
| :with-serial | |
| :read-serial-byte-vector) | |
| (:export :make-frames-reader | |
| :update-lidar-points-from-frames)) | |
| (in-package #:app/hardware/ld19) |
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 | |
| # Original is here: | |
| # https://utils.bitdoze.com/scripts/docker-overlay2-view.sh | |
| # Define the overlay2 directory | |
| overlay_dir="/var/lib/docker/overlay2" | |
| # Create a temporary file to store the results | |
| temp_file=$(mktemp) |
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
| You are a powerful agentic AI coding assistant, powered by Claude 3.5 Sonnet. You operate exclusively in Cursor, the world's best IDE. | |
| You are pair programming with a USER to solve their coding task. | |
| The task may require creating a new codebase, modifying or debugging an existing codebase, or simply answering a question. | |
| Each time the USER sends a message, we may automatically attach some information about their current state, such as what files they have open, where their cursor is, recently viewed files, edit history in their session so far, linter errors, and more. | |
| This information may or may not be relevant to the coding task, it is up for you to decide. | |
| Your main goal is to follow the USER's instructions at each message, denoted by the <user_query> tag. | |
| <communication> | |
| 1. Be conversational but professional. |
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
| (uiop:define-package #:clack-sse-demo | |
| (:use #:cl) | |
| (:import-from #:lack) | |
| (:import-from #:clack) | |
| (:import-from #:log) | |
| (:import-from #:lack/util/writer-stream) | |
| (:nicknames #:clack-sse-demo/app)) | |
| (in-package #:clack-sse-demo) | |
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
| (uiop:define-package #:test-macro-optimization | |
| (:use #:cl) | |
| (:documentation "Checking if lambda function will be optimized away depending on optimization settings.")) | |
| (in-package #:test-macro-optimization) | |
| ;; (declaim (optimize (debug 0) (safety 0) (speed 3))) | |
| ;; (declaim (optimize (debug 3) (safety 1) (speed 1))) | |
| ;; (declaim (optimize (debug 3) (safety 3) (speed 1))) |
Для реализации автоматического колл-центра на базе искусственного интеллекта потребуется комплекс технических средств и инструментов. Вот ключевые компоненты:
- VoIP-платформа: Обработка голосовых вызовов (входящих/исходящих).
Примеры: Twilio, Amazon Connect, Asterisk, Plivo. - SIP-серверы: Для маршрутизации звонков (например, Kamailio, FreeSWITCH).
- Облачные сервисы: Масштабируемость и отказоустойчивость (AWS, Google Cloud, Azure).
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 gh-enable-all-inactivity-disabled-workflows-for-org () { | |
| org=$1 | |
| gh repo list --no-archived --limit 1000 $org | cut -f 1 | xargs -I REPO sh -c 'gh workflow list --all -R REPO | grep disabled_inactivity | cut -f 3 | xargs -I WORKFLOW sh -xc "gh workflow enable WORKFLOW -R REPO"' | |
| } | |
| function gh-enable-all-inactivity-disabled-workflows () { | |
| # for user | |
| gh-enable-all-inactivity-disabled-workflows-for-org | |
| # for his organizations |
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
| SENTO/BENCH> (run-all) | |
| Results for benchmark: (:DISPATCHER :PINNED :WITH-REPLY-P NIL :ASYNC-ASK-P NIL | |
| :NUM-SHARED-WORKERS 8 :QUEUE-SIZE NIL | |
| :WAIT-IF-QUEUE-LARGER-THAN 10000 :TIME-OUT NIL) | |
| ┌─────────────────────┬──────────────┬────────────┬─────────────┬─────────────┬─────────────┬────────────┐ | |
| │ - │ TOTAL │ MINIMUM │ MAXIMUM │ MEDIAN │ AVERAGE │ DEVIATION │ | |
| ├─────────────────────┼──────────────┼────────────┼─────────────┼─────────────┼─────────────┼────────────┤ | |
| │ MESSAGES-PER-SECOND │ 61679256.0 │ 880182.8 │ 1087739.3 │ 1036553.25 │ 1027987.6 │ 47512.734 │ | |
| ├─────────────────────┼──────────────┼────────────┼─────────────┼─────────────┼─────────────┼────────────┤ |
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
| (uiop:define-package #:reblocks-examples/simple-form | |
| (:use #:cl) | |
| (:import-from #:reblocks/app | |
| #:defapp) | |
| (:import-from #:reblocks/server) | |
| (:import-from #:reblocks/html | |
| #:with-html) | |
| (:import-from #:reblocks/widget | |
| #:update | |
| #:defwidget) |
NewerOlder