Skip to content

Instantly share code, notes, and snippets.

View TorinAsakura's full-sized avatar
:electron:
Change the World

Andrew Ghostuhin TorinAsakura

:electron:
Change the World
View GitHub Profile
@TorinAsakura
TorinAsakura / ptp-input-mask-smoke.svg
Created April 30, 2026 02:59
PTP TMA shared input mask smoke
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TorinAsakura
TorinAsakura / ptp-textarea-smoke.svg
Last active April 30, 2026 00:06
PTP shared textarea smoke proof
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TorinAsakura
TorinAsakura / ptp-input-smoke.svg
Created April 29, 2026 02:43
TMA shared Input smoke proof
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@TorinAsakura
TorinAsakura / payload.json
Created July 16, 2024 10:00
WBJob Transfer Example
{
"candidate_id": "12345",
"audio_file": "path/to/audio.wav",
"metadata": {
"timestamp": "2024-07-12T08:00:00Z",
"job_parameters": {
"role": "driver",
"questions": [
"Опишите ваш опыт водителем на прежних местах работы?",
"Расскажите о неожиданной проблеме на работе и как вы с ней справились"
# Секция кода
1. **Выбор стейт-менеджера:**
- Какой стейт-менеджер вы выбрали и почему?
- Какие проблемы вы столкнулись при использовании стейт-менеджера и как их решали?
- Как это повлияло на производительность и масштабируемость вашего приложения?
2. **SEO и SSR:**
- Были ли у вас проблемы с SEO-оптимизацией?
- Как вы решали проблемы с SEO-оптимизацией? Использовали ли вы сервер-сайд рендеринг (SSR)?
@TorinAsakura
TorinAsakura / recurse.md
Last active April 18, 2024 22:01
Ruby Recurse

Исходная задача

@noff

Нужна программистская помощь. У меня сложные JSON'ы. Ну точнее хеши в рубях. Вот пример: https://gist.github.com/noff/9c2bf4ad981ca84d89c161d78f9fb8d2 Мне нужно найти в них все записи такого типа:

{ 
@TorinAsakura
TorinAsakura / gist:af460476f5bd94be635a4ff4f2df3297
Created December 5, 2023 20:54
something about near numbers
fn can_add_ones(list: &[i32], n: usize) -> bool {
let mut available_spaces = 0;
// Проверяем крайние случаи
if list.is_empty() {
return n == 0;
}
// Подсчитываем доступные места для вставки единицы
if list[0] == 0 {
```typescript
2022/12/28 01:48:48 [warn] 60875#60875: *22468910 an upstream response is buffered to a temporary file /tmp/nginx_proxy_temp/0000509873 while reading upstream, client: 185.82.72.135, server: wbtech.ru, request: "GET /wp-admin/customize.php?url=https%3A%2F%2Fwbtech.ru%2Fprojects-support%2F HTTP/2.0", upstream: "http://127.0.0.1:8080/wp-admin/customize.php?url=https%3A%2F%2Fwbtech.ru%2Fprojects-support%2F", host: "wbtech.ru", referrer: "https://wbtech.ru/projects-support/"
2022/12/28 01:48:49 [warn] 60875#60875: *22468910 an upstream response is buffered to a temporary file /tmp/nginx_proxy_temp/0000509875 while reading upstream, client: 185.82.72.135, server: wbtech.ru, request: "GET /wp-admin/admin-ajax.php?action=kernel&id=uikit&p=theme%2Fstyle HTTP/2.0", upstream: "http://127.0.0.1:8080/wp-admin/admin-ajax.php?action=kernel&id=uikit&p=theme%2Fstyle", host: "wbtech.ru", referrer: "https://wbtech.ru/wp-admin/customize.php?url=https%3A%2F%2Fwbtech.ru%2Fprojects-support%2F"
2022/12/28 02:04:14 [wa
@TorinAsakura
TorinAsakura / OrganizationSpecialities.scala
Created September 17, 2015 11:57
Unit Test for Company Specs
class OrzanizationSpecialities extends ViewSpec {
val name: String = faker.letterify("?????????")
val comment: String = faker.letterify("?????????")
override def beforeAll() {
login
navigateToPage ("directory/organization_specialities")
}
feature("Organization specialities reference") {
@TorinAsakura
TorinAsakura / BanksForPayments.scala
Created September 17, 2015 11:55
Unit Test for Banks Payments List
class BanksForPayments extends ViewSpec {
val name: String = faker.letterify("???????????")
val isoCode: String = faker.letterify("???")
val isoNumber: String = faker.numerify("###")
override def beforeAll() {
login
navigateToPage ("directory/banks_for_payments")
}