Skip to content

Instantly share code, notes, and snippets.

@ongkiii
ongkiii / IPA-Sources.md
Last active December 24, 2025 22:02
REPOS/TELEGRAM CHANNELS LIST BY u/angkitbharadwaj
@Sagar0-0
Sagar0-0 / PDFViewer.kt
Created June 4, 2024 15:39
Complete gist of the Custom Compose PDFViewer
import android.graphics.Bitmap
import android.graphics.pdf.PdfRenderer
import android.os.ParcelFileDescriptor
import android.util.Log
import androidx.compose.foundation.Image
import androidx.compose.foundation.background
import androidx.compose.foundation.border
import androidx.compose.foundation.gestures.rememberTransformableState
import androidx.compose.foundation.gestures.transformable
import androidx.compose.foundation.layout.Arrangement
@asachs01
asachs01 / graylog_metrics.json
Created October 31, 2021 02:18
Graylog Grafana Dashboard
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"pluginId": "prometheus",
"pluginName": "Prometheus"
}
@kabili207
kabili207 / Rclone systemd service.md
Last active December 24, 2025 21:56
Rclone systemd user service

rclone systemd service

Preparation

This service will use the same remote name you specified when using rclone config create. If you haven't done that yet, do so now.

Next, create the mountpoint for your remote. The service uses the location ~/mnt/<remote> by default.

mkdir ~/mnt/dropbox
@LazarenkoA
LazarenkoA / Высоконагруженные приложения.md
Last active December 24, 2025 21:48
выжимка из книги "Высоконагруженные приложения. Программирование, масштабирование, поддержка"

ВЫЖИМКА ПО КНИГЕ "ВЫСОКОНАГРУЖЕННЫЕ ПРИЛОЖЕНИЯ. ПРОГРАММИРОВАНИЕ, МАСШТАБИРОВАНИЕ, ПОДДЕРЖКА"

Мартин Клеппман (Martin Kleppmann)

Эта книга представляет собой фундаментальное руководство по проектированию систем, интенсивно работающих с данными. Она охватывает ключевые принципы, алгоритмы и компромиссы, необходимые для создания надежных, масштабируемых и удобных в сопровождении систем.

ЧАСТЬ I: ОСНОВЫ ИНФОРМАЦИОННЫХ СИСТЕМ

Глава 1: Надежные, масштабируемые и удобные в сопровождении приложения

@sunmeat
sunmeat / Program.cs
Last active December 24, 2025 21:46
ExactSpelling, SetLastError, CallingConvention, MarshalAs
using System.Runtime.InteropServices;
using System.Text;
// CallingConvention — це перелік, який визначає угоду про виклик функції,
// тобто правила, що визначають, як параметри передаються у функцію, хто очищає стек
// і як передаються повернені значення. Важливість вибору правильної угоди полягає
// у коректній організації обміну даними між керованим і нативним кодом.
// CallingConvention.Cdecl — зазвичай використовується у програмах на C і C++.
// Параметри передаються справа наліво, і сторона, що викликає, очищає стек після виклику функції.
@devinschumacher
devinschumacher / post.md
Created December 24, 2025 21:45 — forked from serp-y/post.md
The Best Nicotine Pouches for Tobacco-Free Nicotine

Nicotine pouches are a discreet, smoke-free way to use nicotine without vaping hardware or combustible tobacco. They’re typically placed under the lip, come in multiple strengths and flavors, and are sold as cans/tins or multi-can bundles.

This roundup ranks nicotine pouch providers and retailers that stand out for product consistency, strength options, flavor variety, transparent product details, and straightforward ordering.


The Top Nicotine Pouch Pick: Lucy

lucy

@serp-y
serp-y / post.md
Last active December 24, 2025 21:45
The Best Nicotine Pouches for Tobacco-Free Nicotine

Nicotine pouches are a discreet, smoke-free way to use nicotine without vaping hardware or combustible tobacco. They’re typically placed under the lip, come in multiple strengths and flavors, and are sold as cans/tins or multi-can bundles.

This roundup ranks nicotine pouch providers and retailers that stand out for product consistency, strength options, flavor variety, transparent product details, and straightforward ordering.


The Top Nicotine Pouch Pick: Lucy

lucy

@Velrok
Velrok / kitty.conf
Created August 30, 2023 10:40
symbol_map config for kitty terminal using Symbols Nerd Font Mon as fallback font for icons
# https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points
symbol_map U+E5FA-U+E62B Symbols Nerd Font Mono
# Devicons
symbol_map U+e700-U+e7c5 Symbols Nerd Font Mono
# Font Awesome
symbol_map U+f000-U+f2e0 Symbols Nerd Font Mono
# Font Awesome Extension
symbol_map U+e200-U+e2a9 Symbols Nerd Font Mono
# Material Design Icons
symbol_map U+f0001-U+f1af0 Symbols Nerd Font Mono
@namazso
namazso / viewing_copy.md
Last active December 24, 2025 21:35
Your Archival Copy is Not Your Viewing Copy

Your Archival Copy is Not Your Viewing Copy

Technical explanation of display compatibility challenges when viewing analog-sourced video content on digital displays.

Introduction

Standard Definition video content is predominantly formatted for analog CRT display systems. This applies to analog storage formats (VHS, LaserDisc, etc.) as well as many digital media formats (DVD-Video). Individuals new to video archival often attempt to create a single copy that serves both as an authentic archival master and as a readily viewable file. This approach typically fails to achieve either objective effectively. This document explains the technical rationale for maintaining separate archival and viewing copies.

This document focuses primarily on 50/59.94 Hz native video content, including home video and other non-broadcast productions. If the steps are followed correctly, it is possible to create a "viewing copy" of the media that has viewing experience close to original, but consistent and compatible playback o