Skip to content

Instantly share code, notes, and snippets.

View gusenov's full-sized avatar
⌨️
Программирую компьютеры 💻

Аббас Гусенов gusenov

⌨️
Программирую компьютеры 💻
View GitHub Profile
@gusenov
gusenov / wiktionary.md
Last active August 1, 2026 17:54
Викисловарь
  • контекст 🔗
    • Семантические свойства
      • Значение

        Общее прототипическое значение — совокупность обстоятельств, окружающих какой-либо объект.

        • относительно законченный в смысловом отношении отрезок письменной или устной речи, текста, содержащий данное слово, выражение и т. п.
        • совокупность фактов и обстоятельств, в окружении которых происходит какое-либо событие, существует какое-либо явление, какой-либо объект
        • совокупность значений регистров, состояний флагов и т. п. процессора в ходе выполнения программного процесса
  • Синонимы
@gusenov
gusenov / output.txt
Created April 22, 2026 17:20
Installing rustup on macOS.
% curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
info: downloading installer
warn: It looks like you have an existing rustup settings file at:
warn: ~/.rustup/settings.toml
warn: Rustup will install the default toolchain as specified in the settings file,
warn: instead of the one inferred from the default host triple.
Welcome to Rust!
@gusenov
gusenov / tar.xz.sh
Created April 22, 2026 09:12
Упаковка в tar.xz с максимальным сжатием на macOS.
# На macOS встроенный tar не поддерживает --use-compress-program с аргументами.
# Папка попадёт в архив
XZ_OPT="-9 --extreme --threads=0" tar --create --xz --file=archive.tar.xz ./folder_name
# Совет: всегда проверяй содержимое архива перед распаковкой:
tar --list --verbose --file=archive.tar.gz | head --lines=20
# tar на macOS автоматически определяет формат сжатия по содержимому файла.
# При распаковке воссоздастся папка folder_name/.
tar --extract --file=archive.tar.xz
@gusenov
gusenov / Select GitHub workflows to install
Last active April 12, 2026 09:47
Настройка интеграции с GitHub для Claude Code.
We'll create a workflow file in your repository for each one you select.
More workflow examples (issue triage, CI fixes, etc.) at:
https://github.com/anthropics/claude-code-action/blob/main/examples/
❯ [✔] @Claude Code - Tag @claude in issues and PR comments
[✔] Claude Code Review - Automated code review on new PRs
↑↓ to navigate · Space to toggle · Enter to confirm · Esc to cancel
@gusenov
gusenov / Install Homebrew
Last active September 9, 2026 08:30
Homebrew на macOS.
==> Checking for `sudo` access (which may request your password)...
Password:
==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew
==> The following existing directories will be made group writable:
@gusenov
gusenov / codex
Created August 29, 2025 12:50
npm install на Fedora.
added 11 packages in 58s
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: pip in /usr/lib/python3.12/site-packages (23.3.2)
Collecting pip
Downloading pip-25.2-py3-none-any.whl.metadata (4.7 kB)
Requirement already satisfied: setuptools in /usr/lib/python3.12/site-packages (69.0.3)
Collecting setuptools
Downloading setuptools-80.9.0-py3-none-any.whl.metadata (6.6 kB)
Collecting virtualenv
Downloading virtualenv-20.32.0-py3-none-any.whl.metadata (4.5 kB)
Collecting distlib<1,>=0.3.7 (from virtualenv)
@gusenov
gusenov / keyboard-led.md
Created July 30, 2025 15:09
Подсветка клавиатуры на Fedora Linux.

xset led named "Scroll Lock"

sudo sh -c 'echo 1 &gt; /sys/class/leds/input8::scrolllock/brightness'
@gusenov
gusenov / dart
Created May 29, 2025 07:26
A command-line utility for Dart development.
The Dart CLI developer tool uses Google Analytics to report usage and diagnostic
data along with package dependencies, and crash reporting to send basic crash
reports. This data is used to help improve the Dart platform, Flutter framework,
and related tools.
Telemetry is not sent on the very first run. To disable reporting of telemetry,
run this terminal command:
dart --disable-analytics
@gusenov
gusenov / sudo dnf update code
Created May 29, 2025 04:20
dnf update на Fedora.
Last metadata expiration check: 0:06:18 ago on Thu 29 May 2025 09:07:46 AM +05.
Dependencies resolved.
======================================================================================================================================
Package Architecture Version Repository Size
======================================================================================================================================
Upgrading:
code x86_64 1.100.2-1747260629.el8 code 144 M
Transaction Summary
======================================================================================================================================