Skip to content

Instantly share code, notes, and snippets.

@salloc
salloc / cv.html
Created September 24, 2025 14:42
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alina Karpenko - Junior Front-End Developer CV</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Патерни та Компоненти AI, орієнтовані на користувача</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>AI SEO Tracker: Платформа та Інструменти</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&display=swap" rel="stylesheet">
import { Bot } from "grammy";
import { ChatOpenAI } from "@langchain/openai";
import { HumanMessage } from "@langchain/core/messages";
import { z } from "zod";
// zod-схема результату
const FoodSchema = z.object({
name: z.string(),
calories: z.number(),
proteins: z.number(),
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Практичний посібник зі створення агентів</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Інтерактивний Сканворд</title>
<script src="https://cdn.tailwindcss.com"></script>
<!-- Chosen Palette: "Газетний Затишок" (Newspaper Comfort) -->
<!-- Application Structure Plan: The application is structured as a single-page interactive grid. The main components are: a dynamic grid representing the crossword, a dedicated area to display the current clue, and control buttons (Check, Clear). This structure was chosen because it's the most intuitive and direct digital translation of a paper-based crossword. It allows the user to focus on the core task of solving, with clues and controls readily available, thus maximizing usability and engagement. Navigation is handled by clicking on cells or using arrow keys, which is a standard convention for digital crosswords. -->
<!-- Visualization & Content Choices:
@salloc
salloc / index.html
Last active June 7, 2025 13:20
Глава I Повторне віднайдення душі
<!DOCTYPE html>
<html lang="uk">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Глава I Повторне віднайдення душі</title>
<!-- Підключення Tailwind CSS CDN -->
<script src="https://cdn.tailwindcss.com"></script>
<style>
/* Імпортуємо шрифти Playfair Display та Roboto */
@salloc
salloc / Awesome-Pentest.md
Created March 31, 2025 14:18 — forked from lakmalrupasinghe/Awesome-Pentest.md
Awesome-Pentesting

Awesome Penetration Testing Awesome

A collection of awesome penetration testing resources.

Penetration testing is the practice of launching authorized, simulated attacks against computer systems and their physical infrastructure to expose potential security weaknesses and vulnerabilities.

Your contributions and suggestions are heartily♥ welcome. (✿◕‿◕). Please check the Contributing Guidelines for more details. This work is licensed under a Creative Commons Attribution 4.0 International License.

This project is supported by Netsparker Web Application Security Scanner

@salloc
salloc / gist:9cfe0352239112d52e731d4be8f7eda0
Created March 2, 2025 12:26 — forked from MaTriXy/gist:c528a9a5abbbf907935a
Download zips from github for all branches you track
git branch -a | grep -v HEAD | perl -ne 'chomp($_); s|^\*?\s*||; if (m|(.+)/(.+)| && not $d{$2}) {print qq(curl -L -o $2.zip https://github.com/user/git-repo/archive/$2.zip \n)} else {}'| sh
@salloc
salloc / X-deno.md
Created February 28, 2025 01:55 — forked from ruvnet/X-deno.md
This implementation follows the official MCP specification, including proper message framing, transport layer implementation, and complete protocol lifecycle management. It provides a foundation for building federated MCP systems that can scale across multiple servers while maintaining security and standardization requirements.

Deno Nodejs version

complete implementation using both Deno and Node.js. Let's start with the project structure:

federated-mcp/
├── packages/
│   ├── core/               # Shared core functionality
│   ├── server/            # MCP Server implementation
│   ├── client/            # MCP Client implementation
│   └── proxy/             # Federation proxy