Skip to content

Instantly share code, notes, and snippets.

View Inom-Turdikulov's full-sized avatar
🎯
Focusing

Inom Turdikulov Inom-Turdikulov

🎯
Focusing
View GitHub Profile
@Inom-Turdikulov
Inom-Turdikulov / 24-bit-color.sh
Created February 25, 2024 06:27 — forked from lifepillar/24-bit-color.sh
Test 24 bit colors in terminals
#!/bin/bash
#
# This file echoes a bunch of 24-bit color codes
# to the terminal to demonstrate its functionality.
# The foreground escape sequence is ^[38;2;<r>;<g>;<b>m
# The background escape sequence is ^[48;2;<r>;<g>;<b>m
# <r> <g> <b> range from 0 to 255 inclusive.
# The escape sequence ^[0m returns output to default
setBackgroundColor()
@Inom-Turdikulov
Inom-Turdikulov / multiple-ssh-keys-git.adoc
Created August 2, 2023 01:38 — forked from alejandro-martin/multiple-ssh-keys-git.adoc
Configure multiple SSH Keys for Git

Use Multiple SSH Keys for Git host websites (Github, Gitlab)

This is guide about how to configure multiple SSH keys for some Git host websites such as Github, Gitlab, among others.

Creating SSH keys

  1. Create SSH directory:

@Inom-Turdikulov
Inom-Turdikulov / disable_windows_defender.bat
Created May 21, 2023 06:42 — forked from pe3zx/disable_windows_defender.bat
Disable Windows Defender on Windows 10 1903
rem USE AT OWN RISK AS IS WITHOUT WARRANTY OF ANY KIND !!!!!
rem https://technet.microsoft.com/en-us/itpro/powershell/windows/defender/set-mppreference
rem To also disable Windows Defender Security Center include this
rem reg add "HKLM\System\CurrentControlSet\Services\SecurityHealthService" /v "Start" /t REG_DWORD /d "4" /f
rem 1 - Disable Real-time protection
reg delete "HKLM\Software\Policies\Microsoft\Windows Defender" /f
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiSpyware" /t REG_DWORD /d "1" /f
reg add "HKLM\Software\Policies\Microsoft\Windows Defender" /v "DisableAntiVirus" /t REG_DWORD /d "1" /f
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\MpEngine" /v "MpEnablePus" /t REG_DWORD /d "0" /f
reg add "HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection" /v "DisableBehaviorMonitoring" /t REG_DWORD /d "1" /f
@Inom-Turdikulov
Inom-Turdikulov / win10-ltsc-setup.ps1
Last active May 20, 2023 08:20 — forked from ob1-sc/win11-setup.ps1
Windows 11 Setup Script
# Install WinGet
# Based on this gist: https://gist.github.com/crutkas/6c2096eae387e544bd05cde246f23901
# To run gist from powershell:
# iex ((New-Object System.Net.WebClient).DownloadString('https://gist.githubusercontent.com/Inom-Turdikulov/6c0b3b2e40f54fe8ad5cee8d1dd83317/raw'))
#
# ISO file
#
# FILE: en-us_windows_10_enterprise_ltsc_2021_x64_dvd_d289cf96.iso
# MD5: b5a7be560dbd73619945129e52be1b5f
# SHA-1: 2fb2897373c4f71b06f4490943b3d564b0f0fd6d
@Inom-Turdikulov
Inom-Turdikulov / WikiCSS
Created March 17, 2023 19:46
Wikipedia.org monospace based style + Zoom
@-moz-document domain("mediawiki.org"), domain("wikipedia.org"), domain("wikimedia.org"), domain("wikinews.org"), domain("wikibooks.org"), domain("wikiquote.org"), domain("wikiversity.org"), domain("wikisource.org"), domain("wiktionary.org"), domain("wikimediafoundation.org"), domain("toolserver.org"), domain("wikia.com"), domain("wikihow.com"), domain("wikileaks.org"), domain("wikimapia.org") {
:root {
--font-size: 22;
--font-weight: normal;
--font: Monospace, tewi, Source Code Pro, sans;
--padding: 2px;
}
}
@Inom-Turdikulov
Inom-Turdikulov / vim-unreal.md
Created January 19, 2023 19:36 — forked from chillpert/vim-unreal.md
Debugging and autocompletion for Unreal Engine 4 and 5 projects in (Neo)vim

Debugging and autocompletion for Unreal Engine 4 and 5 projects in (Neo)Vim

+++ Updated for UE 5.1 (see bottom)

Autocompletion

For autocompletion there are two options:

  1. coc (Vim, Neovim)
  2. LSP (Neovim only)
@Inom-Turdikulov
Inom-Turdikulov / .atamanrc.config
Created January 18, 2023 17:39
Ataman intellj configuration, optimized for pycharm: https://github.com/Mishkun/ataman-intellij. L
# This file is written in HOCON (Human-Optimized Config Object Notation) format.
# For more information about HOCON see
# https://github.com/lightbend/config/blob/master/HOCON.md
bindings {
" " {actionId: GotoFile, description: Go To File},
b {
description: Buffer/Tabs Navigation...
bindings {
b {actionId: Switcher, description: Switcher}
@Inom-Turdikulov
Inom-Turdikulov / dmenu-active-programs.sh
Last active January 6, 2023 22:14
Dmenu program switcher - search through open programs and switch to selected (wmctrl required)
#!/bin/sh
# Search through open programs and switch to their tag
# wmctrl required
program=$(wmctrl -lx | cut -d ' ' -f4 | cut -d '.' -f2 | tr "[:upper:]" "[:lower:]" | dmenu -p "Switch to" -fn "monospace:size=15")
if [ ! -z "$program" -a "$program" != " " ]; then
wmctrl -x -a "$program"
fi
@Inom-Turdikulov
Inom-Turdikulov / bitblee-base-commands.md
Last active August 15, 2022 20:45
Bitlbee Base commands

Adding the account

If you understand all of this and still wish to use it, see HowtoPurple and add the account like this in &bitlbee:

account add irc nickname@irc.example.net

Joining channels

Do this in &bitlbee:

chat add irc #channel Then /join #channel