Skip to content

Instantly share code, notes, and snippets.

View ijin82's full-sized avatar
📺
https://youtu.be/1IInu3GafkM

Ilya Rogojin ijin82

📺
https://youtu.be/1IInu3GafkM
View GitHub Profile
@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
@ijin82
ijin82 / ubuntu-vbox-add-drive-4mysql.md
Last active May 4, 2021 14:48
VirtualBox, additional disk for MySQL

VirtualBox, additional disk for MySQL

  • Open VirtualBox
  • File - Virtual Media Manager
  • Create - VDI - Dynamically Allocated - set path & size (60Gb good enough for us) - close
  • Stop your target VM
  • Go to VM settings (right click on VM)
  • Storage - Controller SATA - press plus icon "Add new storage attachment" - Hard disk
  • Choose your pre-created VDI disk - that have to appear as attached after addition
  • Start your target VM - Login to your VM (vagrant up - vagrant ssh)
@ijin82
ijin82 / grafana_telegram_bot.md
Created February 24, 2021 18:07 — forked from ilap/grafana_telegram_bot.md
Grafana Telegram Alert

Config Telegrambot for grafana's alerts.

1. Create bot

Open Telegram and search for @BotFather user and message them the following:

You
/newbot 

BotFather
@ijin82
ijin82 / choco_install.ps1
Last active June 30, 2024 14:33
Usual Win apps quick install (PowerShell)
## Administrator powershell console needed
##
## Install choco: https://chocolatey.org/install
## Packages: https://chocolatey.org/packages
## List all installed: choco list --local-only
## Upgrade all installed: choco upgrade all
##
##
extension=php_pdo_sqlsrv_73_nts.so
extension=php_sqlsrv_73_nts.so