Skip to content

Instantly share code, notes, and snippets.

View iturdikulov's full-sized avatar
🎯
Software Engineer and Art Enthusiast, site: https://iturdikulov.com

Inom Turdikulov iturdikulov

🎯
Software Engineer and Art Enthusiast, site: https://iturdikulov.com
View GitHub Profile
@jamiephan
jamiephan / README.md
Last active October 27, 2025 11:42
A script to automatically add ALL items to your account in quixel

Script to add all items from quixel

As quixel is being removed, all items are free to aquire. This script is to automate the process to add items to your account (As of writing, a total of 18874 items)

Note: This script only tested in the latest version of Chrome.

How to use

  1. Copy the script from below (run.js)
  2. Login into https://quixel.com
@Dylancyclone
Dylancyclone / lrcget.py
Last active November 3, 2025 15:10
MusicBrainz Picard LRCLIB Lyrics Plugin
from functools import partial
from urllib.parse import (
quote,
urlencode,
)
from PyQt5.QtNetwork import QNetworkRequest
from picard import config, log
from picard.metadata import register_track_metadata_processor
@shiningflash
shiningflash / advance_pydantic.md
Created March 23, 2024 17:25
Advanced Pydantic Usage Guide

Advanced Pydantic Usage Guide

Introduction

This guide explores advanced features of Pydantic, a powerful library for data validation and settings management in Python, leveraging type annotations. Aimed at enhancing backend development, it covers complex usage patterns, custom validation techniques, and integration strategies.

For basic user guide, follow the official documentation.

Custom Validators

from celery import Celery
from enum import Enum
from sqlmodel import SQLModel, Field, create_engine, Session
from datetime import datetime, timedelta
from sqlalchemy.exc import SQLAlchemyError
from contextlib import contextmanager
import threading
import time
from loguru import logger
from sqlalchemy import Enum as SQLEnum
@memchr
memchr / import_env
Created August 28, 2023 18:43
import_env
#!/usr/bin/env bash
set -e
[[ -n $HYPRLAND_DEBUG_CONF ]] && exit 0
USAGE="\
Import environment variables
Usgae: $0 <command>
Commands:
@jnv
jnv / devenv.nix
Created July 25, 2023 10:57
devenv with Python, Poetry and libstdc++.6 somewhat working (still `devenv update` crashes with version `GLIBC_2.36` not found (required by /nix/store/...-gcc-12.3.0-lib/lib/libstdc++.so.6)
{ pkgs, lib, ... }:
{
# https://devenv.sh/packages/
packages = [
pkgs.glib
pkgs.glibc
];
languages.python.enable = true;
@kha-dinh
kha-dinh / SioyekNeovim.md
Last active September 14, 2025 16:40
Lunarvim/Neovim+Sioyek+Synctex

This took me some time to figure out. Works like a charm, VimtexInverseSearch as well as texlab did not work for me. I use Lunarvim so I haven't try it on vanilla Neovim.

You first need to install the package neovim-remote on your platform.

Then, use the following configuration in your Packer declaration where vimtex is declared:

 {
        'lervag/vimtex',
        ft = { 'tex', 'bib' }, -- for lazy loading
const searchBox = document.getElementById('searchbox');
const dropdownMenu = document.getElementById('dropdown-menu');
const searchBoxContainer = document.getElementById('searchbox-container');
searchBox.addEventListener("keyup", function(event) {
const timer = setTimeout(function () {
var sr = event.target.value;
if(!sr) return; //Do nothing for empty value
searchBoxContainer.classList.add("control", "is-loading");
@iturdikulov
iturdikulov / 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 [email protected]

Joining channels

Do this in &bitlbee:

chat add irc #channel Then /join #channel