Skip to content

Instantly share code, notes, and snippets.

@barseghyanartur
barseghyanartur / useful_plugins_for_vscode.rst
Last active February 2, 2026 13:32
VS Code - Useful plugins for

Useful plugins for VSCode

@barseghyanartur
barseghyanartur / rst_to_md.sh
Created January 20, 2026 21:53 — forked from zaiste/rst_to_md.sh
Convert RST to Markdown using Pandoc
FILES=*.rst
for f in $FILES
do
filename="${f%.*}"
echo "Converting $f to $filename.md"
`pandoc $f -f rst -t markdown -o $filename.md`
done
import functools
import typing
# Use a conditional expression directly.
# This evaluates to the function 'cache' itself, which the @ operator then calls.
@ (functools.cache if not typing.TYPE_CHECKING else lambda f: f)
def a():
print("Aaaa")
a() # Prints "Aaaa"
"""
# /// script
# requires-python = ">=3.11"
# dependencies = [
# "clientele",
# "pydantic",
# "ipython",
# ]
# ///
@barseghyanartur
barseghyanartur / vs_code_tweaks.rst
Last active January 13, 2026 00:38
VS Code for Pycharm devs - look&feel tweaks
@barseghyanartur
barseghyanartur / links.rst
Last active January 11, 2026 21:34
CudaText installation and config for SublimeText users
@barseghyanartur
barseghyanartur / hide_py_cover_files.rst
Last active January 6, 2026 16:11
[Blog] Hide ``*.py,cover`` files from IDE

Hide *.py,cover files from IDE

VSCode

Settings -> Text Editor -> Files -> Add Pattern: Add **/*.py,cover

PyCharm

@barseghyanartur
barseghyanartur / install_chromium_on_macos.rst
Last active January 6, 2026 16:12
[Blog] Install Chromium on macOS

Install Chromium on macOS

Install

brew install chromium
@barseghyanartur
barseghyanartur / quantisation_reference_guide.rst
Last active October 23, 2025 22:06
Quantisation Reference Guide

Quantization Reference Guide (GGUF / llama.cpp)

Note

Comprehensive overview of quantization schemes for llama.cpp / GGUF models, used in tools such as Draw Things, Ollama, LM Studio, and