Skip to content

Instantly share code, notes, and snippets.

View bahrom04's full-sized avatar
🎯
Focusing

bahrom04 bahrom04

🎯
Focusing
View GitHub Profile
@bahrom04
bahrom04 / app.rs
Created December 27, 2025 19:03
Relm4 stack sidebar text with icons
use crate::RelmActionGroup;
use relm4::*;
use relm4::actions::RelmAction;
use adw::prelude::*;
use gtk::{gio, glib};
use crate::config::{APP_ID, PROFILE};
use crate::modals::{
@bahrom04
bahrom04 / main.py
Created December 27, 2025 14:24
Python ABC va Rust trait
from abc import ABC, abstractmethod
class Animal(ABC):
def __init__(self, name):
self.name = name
@abstractmethod
def speak(self):
print("hayvon buni gapirdi: ", self.name)
@bahrom04
bahrom04 / README.md
Last active December 27, 2025 20:29

Git hosting repo language stats helper

To use install Tampermonkey extension for Chrome-based or Firefox-based browsers.

Codeberg

Skrinshot: 2025-12-25 12-57-21

Gitlab

Skrinshot: 2025-12-25 12-57-36
@bahrom04
bahrom04 / Cargo.toml
Last active November 25, 2025 05:46
Vodozemac example in 2 accound chatting
[package]
name = "megolm"
version = "0.1.0"
edition = "2021"
license = "MIT OR Apache-2.0"
homepage = "#website#"
repository = "#repository#"
description = "#description#"
authors = ["bahrom04"]
// Common Latin alphabet layout
default partial
xkb_symbols "basic" {
key <AE01> { [ 1, exclam, onesuperior, exclamdown ] };
key <AE02> { [ 2, at, twosuperior, oneeighth ] };
key <AE03> { [ 3, numbersign, threesuperior, sterling ] };
key <AE04> { [ 4, dollar, onequarter, dollar ] };
key <AE05> { [ 5, percent, onehalf, threeeighths ] };
@bahrom04
bahrom04 / arch.md
Last active July 21, 2025 13:45 — forked from orzklv/arch.md
Arch Installation bible written by Sokhibjon. This installation process suits and follows taste of Sokhibjon, so feel free to modify and create your `own` way of installing Arch Linux.

Arch Linux installation if you were Sokhibjon

#arch #linux #archlinux

Please, keep in mind that everything after # is a comment and should not be executed. Also, { something | something } means that you have to make decision and choose one of them, and then write it without curly braces and pipe.

Connect to the network: