Skip to content

Instantly share code, notes, and snippets.

View ijin82's full-sized avatar
📺
https://youtu.be/BTWjS1qm9bM?si=YyRVVYLs6me4YB40

Ilya Rogojin ijin82

📺
https://youtu.be/BTWjS1qm9bM?si=YyRVVYLs6me4YB40
View GitHub Profile
@ijin82
ijin82 / a-clean-alt.sh
Created September 26, 2026 09:52
AltLinux - Очистка дискового пространства и кэшей системы (ALT Linux)
#!/usr/bin/env bash
# ==============================================================================
# Очистка дискового пространства и кэшей системы (ALT Linux)
#
# Назначение:
# Очистка старых журналов systemd, кэша пакетов apt-rpm, неиспользуемых
# объектов Docker и репозиториев Flatpak.
#
# Совместимость и тестирование:
# Скрипт разработан и протестирован на:
@ijin82
ijin82 / a-suspend.sh
Created September 26, 2026 09:46
AltLinux - Проверка готовности системы к спящему режиму (suspend / sleep)
#!/usr/bin/env bash
# ==============================================================================
# Проверка готовности системы к спящему режиму (suspend / sleep)
#
# Назначение:
# Диагностика и устранение причин, по которым компьютер не уходит в сон
# или не гасит экран (ингибиторы GNOME и systemd, аудиопотоки, зависшие оверлеи).
#
# Совместимость и тестирование:
# Скрипт разработан и протестирован на:
@ijin82
ijin82 / a-no-turbo.sh
Last active September 26, 2026 13:34
AltLinux - Управление Turbo Boost и профилями энергопотребления CPU (Intel pstate / HWP)
#!/usr/bin/env bash
# ==============================================================================
# Управление Turbo Boost и профилями энергопотребления CPU (Intel pstate / HWP)
#
# Совместимость и тестирование:
# Скрипт разработан и протестирован на:
# • ОС: ALT Workstation 11.2 (Prometheus, платформа p11)
# • Ядро: Linux 6.12+
# • Окружение: systemd + GNOME Shell (с учетом power-profiles-daemon)
# • CPU: Intel Core с драйвером intel_pstate (активный режим HWP)
@ijin82
ijin82 / README.md
Created June 1, 2025 23:26 — forked from dbanetto/README.md
GNOME 44 Auto-rotate desktop background

Automaticly rotating wallpapers in Gnome 44

This method uses a

  • shell script to update the relvant gsettings
  • Systemd service to run the script
  • Systemd timer to periodically run the script

Installation

1. Copy & update scipt

@ijin82
ijin82 / zsh_shortcuts.md
Created March 26, 2025 22:21 — forked from iz9/zsh_shortcuts.md
zsh shortcuts

Source

Shortcuts to improve your bash & zsh productivity

So, you hate using a terminal? That might be, because you use the arrow keys to navigate character by character through a long command just to change a paramater at the other end of the line, right? Here's a list of my most-used bash & zsh shortcuts, that will definitely boost your productivity and will help you to improve your command line experience.

Shortcut Action
CTRL + A Move to the beginning of the line
@ijin82
ijin82 / readme.md
Last active January 31, 2025 16:27
Color schemes for windows terminal
  1. Website with themes https://windowsterminalthemes.dev/
  2. Open file C:\Users\Personal Computer\AppData\Local\Packages\Microsoft.WindowsTerminal_8wekyb3d8bbwe\LocalState\settings.json
  3. Find section "schemes": []
  4. Extend section with this
        {
            "background": "#292520",
            "black": "#121418",
            "blue": "#1398B9",
            "brightBlack": "#675F54",
@ijin82
ijin82 / xbox-one-controller-bluetooth-ubuntu-fix.md
Created July 14, 2024 20:04 — forked from 2E0PGS/xbox-one-controller-bluetooth-ubuntu-fix.md
Fix to pair Xbox One S Bluetooth controller on Ubuntu

First things first you need to have a new ish bluetooth adapter I have found in my testing.

It may need to be bluetooth 4 compatible I am not sure but my laptop and phone worked whereas my desktop using a £1 dongle did not.

Once you get a successful pair you may notice the controller still has a blinking light. If this is the case see below.

Install sysfsutils

sudo apt-get install sysfsutils

@ijin82
ijin82 / settings.json
Created May 5, 2023 09:22
Ubuntu ColorScheme Windows Terminal
{
"profiles":
{
"defaults":
{
"colorScheme": "One Half Dark"
},
"list":
[
{
@ijin82
ijin82 / download_vagrant_box.sh
Created November 8, 2021 03:20 — forked from firmanelhakim/download_vagrant_box.sh
How to Download Vagrant Box Manually
/* this is the box (and the version) that we want to download from: https://app.vagrantup.com/debian/boxes/jessie64 */
wget https://app.vagrantup.com/debian/boxes/jessie64/versions/8.9.0/providers/virtualbox.box -O debian-jessie64-8.9.0.box
/* add the box to vagrant */
vagrant box add debian/jessie64 debian-jessie64-8.9.0.box
/* update box version */
cd ~/.vagrant.d/boxes/debian-VAGRANTSLASH-jessie64/
mv 0 8.9.0
@ijin82
ijin82 / fix-screen-broken-colors.md
Created August 27, 2021 23:43
FIX .screenrc broken colors in xterm-256color

Fix broken colors in screen (screen-256color $TERM)

Original solution

https://bbs.archlinux.org/viewtopic.php?id=67464

Fix

# use "term xterm-256color" in .screenrc
> infocmp -L xterm-256color > temp.terminfo
> vim temp.terminfo
# remove "back_color_erase," from second or third line