Skip to content

Instantly share code, notes, and snippets.

View MikuX-Dev's full-sized avatar
🥶
Just Chilling

MíkúX MikuX-Dev

🥶
Just Chilling
View GitHub Profile
@Strykar
Strykar / traffick.sh
Last active March 3, 2026 12:25
Traffick - NFTables Traffic Monitor: A POSIX-compliant grokker for tagged nftables counters.
#!/bin/sh
set -fuC
# --- USER CONFIG STARTS ---
IN_KEYS="ingress|input|incoming|ollama"
OUT_KEYS="egress|output|outgoing"
SEC_KEYS="drop|deny|reject|block"
# --- USER CONFIG ENDS ---
show_help() {

Android Developer Verification Discourse

On August 25, 2025 Google published a blog that starting in 2026, Android will require all apps to be registered by verified developers in order to be installed by users on certified Android devices. This applies to all apps installed from outside the Google PlayStore from either third part app stores like F-Droid, or directly from sites via browsers/file manager apps. Publishing apps on Google PlayStore already has had these same requirements since July 12, 2023. The verification requirements for all apps will engage for Brazil, Indonesia, Singapore and Thailand in September 2026 and engage globally in 2027 and beyond.

There has been lot of noise and backlash regarding the new requirements since then. Malware being deployed both outside and from PlayStore is a big issue and is obviously a cause for concern and a legitimate reason for how developer verification can help reduce it,

@xxiphxx2k
xxiphxx2k / gist:2dd43cd15ee9a842813d09ce9bea1447
Created October 18, 2025 10:59
Intel QSV → CPU AV1 Fallback Tdarr Flow
{
"_id": "UnEyMn03T",
"name": "AV1 QSV→CPU Fallback (duplicate)",
"description": "AV1 QSV→CPU Fallback (duplicate)",
"tags": "",
"flowPlugins": [
{
"name": "Check Channel Count 8",
"sourceRepo": "Community",
"pluginName": "checkChannelCount",
@swamikevala
swamikevala / rhel9-sssd-samba-ad.md
Last active March 2, 2026 14:13
Configure RHEL9.5 with sssd, samba and AD (by OpenAI Deep Research)

RHEL 9.5 AD Integration with SSSD and Samba (Step-by-Step Guide)

Important Note: (18-Feb-2025) This gist has some issues. Please see the addendum. Thanks @hortimech for pointing this out

A step-by-step configuration guide for setting up RHEL 9.5 with SSSD and Samba for Active Directory integration. Covers all required configuration files, settings, and explanations for each option. Also sources for further documentation and troubleshooting recommendations:

  • Domain Joining with SSSD (configuring sssd.conf, realmd, Kerberos, and automatic authentication for SSH and Samba)
  • Samba Configuration with SSSD (using sss as the backend for identity mapping, Kerberos authentication, and ensuring smooth Windows/Mac access)
  • Kerberos-based Single Sign-On (SSO) (ensuring users can access SMB shares without re-entering credentials)
  • Offline Authentication (caching credentials for when AD is unreachable)
@itzzzme
itzzzme / index.js
Last active February 1, 2026 11:55
Setting up reversed proxy server
//install wrangle and init a project to initialize the worker
//add the code given below in index.js
import { Hono } from 'hono';
import { cors } from 'hono/cors';
const app = new Hono();
app.use(
@ashish-kus
ashish-kus / hyprlock.conf
Last active February 14, 2026 12:00
minimal Hyprlock
$hypr = ~/.config/hypr
source = $hypr/colors.conf # for custom color
# GENERAL
general {
no_fade_in = true
grace = 1
disable_loading_bar = false
hide_cursor = true
ignore_empty_input = true
@adrianhajdin
adrianhajdin / buildQuery.ts
Created September 18, 2023 13:34
How I Made My Website Load in 0.364 Seconds | Build and Deploy
export function buildQuery(params: BuildQueryParams) {
const { type, query, category, page = 1, perPage = 20 } = params;
const conditions = [`*[_type=="${type}"`];
if (query) conditions.push(`title match "*${query}*"`);
if (category && category !== "all") {
conditions.push(`category == "${category}"`);
}
@bitterteasweetorange
bitterteasweetorange / keybindings.json
Last active January 17, 2026 14:33
setup vscode like neovim
[
{
"command": "projectManager.listGitProjects#sideBarGit",
"key": "cmd+o"
},
{
"command": "expand_region",
"key": "ctrl+=",
"when": "editorTextFocus"
},
@Mivik
Mivik / benchmark.rs
Last active February 15, 2026 13:19
SQLx vs tokio-postgres benchmark
use criterion::{criterion_group, criterion_main, Criterion};
use sqlx::{
postgres::{PgConnectOptions, PgPoolOptions},
ConnectOptions,
};
use tokio::runtime::Runtime;
use tokio_postgres::NoTls;
pub fn rand_token() -> String {
use rand::{distributions::Alphanumeric, Rng};
@rain-1
rain-1 / LLM.md
Last active February 24, 2026 02:03
LLM Introduction: Learn Language Models

Purpose

Bootstrap knowledge of LLMs ASAP. With a bias/focus to GPT.

Avoid being a link dump. Try to provide only valuable well tuned information.

Prelude

Neural network links before starting with transformers.