This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {-# LANGUAGE AllowAmbiguousTypes #-} | |
| {-# LANGUAGE DefaultSignatures #-} | |
| {-# LANGUAGE TypeFamilies #-} | |
| {-# LANGUAGE UndecidableInstances #-} | |
| module Metanchi.Types.Servant.NamedQueryParam | |
| ( FromQuery (..) | |
| , Named (..) | |
| , RecordQueryParam | |
| , decodeQueryText |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "context" | |
| "fmt" | |
| ) | |
| type Event any | |
| type Handler[E Event] interface { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // E-DSL для параллельной обработки бизнес-транзакций. | |
| // | |
| // Один файл, без внешних зависимостей. Инфраструктура (Redis / PostgreSQL / | |
| // Kafka) вынесена за интерфейсы; здесь даны in-memory реализации, чтобы код | |
| // запускался как есть. Места под реальные адаптеры помечены комментариями | |
| // // [PG], // [Redis], // [Kafka]. | |
| // | |
| // Что внутри: | |
| // - AST транзакции как данные (Step: Op, Seq, Par, Await, Fee, Spawn, Emit) | |
| // - примитивы hold / capture / void / debit / credit / refund |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 39a0771134cf2ebc355f94d1a402c9f061b5ee66 Mon Sep 17 00:00:00 2001 | |
| From: Asliddin Abdivasiyev <asliddin.abdivasiyev@gmail.com> | |
| Date: Fri, 9 Jan 2026 17:04:59 +0500 | |
| Subject: [PATCH] feat: Add nilaway plugin | |
| --- | |
| cmd/golangci-lint/plugins.go | 2 +- | |
| go.mod | 2 ++ | |
| go.sum | 4 ++++ | |
| 3 files changed, 7 insertions(+), 1 deletion(-) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Heap where | |
| data Heap a = Empty | Node a (Heap a) (Heap a) deriving (Show, Eq) | |
| merge :: (Ord a) => Heap a -> Heap a -> Heap a | |
| merge Empty h = h | |
| merge h Empty = h | |
| merge h1@(Node x l1 r1) h2@(Node y l2 r2) | |
| | x >= y = Node x (merge r1 h2) l1 | |
| | otherwise = Node y (merge r2 h1) l2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| description = "Go compiler development environment"; | |
| nixConfig = { | |
| allow-import-from-derivation = true; | |
| }; | |
| inputs = { | |
| nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; | |
| flake-utils.url = "github:numtide/flake-utils"; | |
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Trash | |
| var sig File {} | |
| var sig Trash in File {} | |
| fact init { | |
| no Trash | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 127.0.0.1 3ad.doubleclick.net | |
| 127.0.0.1 ad-emea.doubleclick.net | |
| 127.0.0.1 ad-g.doubleclick.net | |
| 127.0.0.1 ad-yt-bfp.doubleclick.net | |
| 127.0.0.1 ad.3au.doubleclick.net | |
| 127.0.0.1 ad.ae.doubleclick.net | |
| 127.0.0.1 ad.au.doubleclick.net | |
| 127.0.0.1 ad.be.doubleclick.net | |
| 127.0.0.1 ad.br.doubleclick.net | |
| 127.0.0.1 ad.de.doubleclick.net |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // package resource provides bracket pattern for | |
| // resource management | |
| package resource | |
| import ( | |
| "fmt" | |
| "mime/multipart" | |
| "net/http" | |
| "os" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package errorsx | |
| import ( | |
| "errors" | |
| "fmt" | |
| "net/http" | |
| ) | |
| type AppError struct { | |
| message string |
NewerOlder