file_hash
stringlengths
16
16
language
stringclasses
8 values
line_count
int64
20
500
theme
stringclasses
8 values
source_code
stringlengths
236
8.19k
prompt_idx
int64
0
6
messages
listlengths
3
3
7d50231e1e6f4db3
csharp
33
Monokai
using ScreenToGif.Domain.Enums; namespace ScreenToGif.ViewModel.ExportPresets.Video.Codecs; public class HevcAmf : VideoCodec { public HevcAmf() { Type = VideoCodecs.HevcAmf; Name = "HEVC AMF"; Command = "hevc_amf"; IsHardwareAccelerated = true; CanSetCrf = true; ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
2883d6b853c297e9
typescript
179
Solarized Light
import { ArchiveIcon, CheckIcon, GlobeIcon, LogOutIcon, PaletteIcon, SettingsIcon, SquareUserIcon, User2Icon } from "lucide-react"; import { useAuth } from "@/contexts/AuthContext"; import useCurrentUser from "@/hooks/useCurrentUser"; import { useSSEConnectionStatus } from "@/hooks/useLiveMemoRefresh"; import useNaviga...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
6567327702d2b438
python
139
Solarized Light
from __future__ import annotations DIRECTIONS = [ [-1, 0], # left [0, -1], # down [1, 0], # right [0, 1], # up ] # function to search the path def search( grid: list[list[int]], init: list[int], goal: list[int], cost: int, heuristic: list[list[int]], ) -> tuple[list[list[int]]...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
330869ef4b6d9fa2
typescript
221
Dracula
import { transformSync } from 'rolldown/utils' import type { ResolvedConfig } from '../config' import type { Plugin } from '../plugin' import { escapeRegex, isCSSRequest } from '../utils' import type { Environment } from '../environment' import { isHTMLRequest } from './html' const nonJsRe = /\.json(?:$|\?)/ const isN...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
57b6790a25b194c5
typescript
38
One Dark Pro
import { z } from "zod" import { V10_SCHEMA } from "../10" import { defineVersion } from "verzod" import { HoppRESTAuth } from "./auth" export const V11_SCHEMA = V10_SCHEMA.extend({ v: z.literal("11"), auth: HoppRESTAuth, }) export default defineVersion({ schema: V11_SCHEMA, initial: false, up(old: z.infe...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
9e5bbbe20d3da1bc
typescript
78
Solarized Light
"use client" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { Field, FieldDescription, FieldGroup, FieldLabel, } from "@/registry/bases/base/ui/field" import { Inp...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
05fb18228f9f98c3
typescript
74
Solarized Light
import * as React from "react" import { Card, CardContent } from "@/registry/new-york-v4/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@/registry/new-york-v4/ui/carousel" export function CarouselDemo() { return ( <div className="hidden w-full flex-c...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
d56fe99deb7d35a1
typescript
22
GitHub Dark
/** * * 根据 tagName 获取父级节点 * * @param dom 一级dom节点 * @param tagName 标签名,不区分大小写 */ export function getParentNodeByTagName(dom: HTMLElement, tagName: string = 'body'): HTMLElement | null { if (tagName === 'body') { return document.body; } if (dom.parentElement) { if (dom.parentElement.tagName.toLowerCas...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
4466fc6d2b9d5ae6
python
123
Default Light+
import re from .common import InfoExtractor from ..utils import traverse_obj class WashingtonPostIE(InfoExtractor): IE_NAME = 'washingtonpost' _VALID_URL = r'(?:washingtonpost:|https?://(?:www\.)?washingtonpost\.com/(?:video|posttv)/(?:[^/]+/)*)(?P<id>[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12})'...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
0d12130b178ce468
csharp
65
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
824a65fe8c59abbc
typescript
211
Solarized Light
import { iconLibraries, type IconLibraryName } from "@/src/icons/libraries" import { Transformer } from "@/src/utils/transformers" import { SourceFile, SyntaxKind } from "ts-morph" export const transformIcons: Transformer = async ({ sourceFile, config }) => { const iconLibrary = config.iconLibrary // Fail silentl...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
4d370b587932c245
cpp
103
One Dark Pro
#include <iostream> #include <math.h> using namespace std; // 循环赛日程安排函数声明 void MatchTable(int k, int n, int **table); int main() { int n = 0, k = 0; // 用户界面 cout << "---------------- 循环赛日程安排问题 ----------------" << endl; cout << "请输入k(k>=0),构成 n=(2^k) 个选手的循环赛" << endl; // 输入k值 cin >> k; // 判断输入数据合法性,包括检查输入是...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
b42a1d13ce685a79
python
85
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity.aio import AzureCliCredential from semantic_kernel.agents import AzureAIAgent, AzureAIAgentThread from semantic_kernel.contents import ChatMessageContent, FunctionCallContent, FunctionResultContent """ The following sample demonstrat...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
89b3a4f04491c441
cpp
29
Solarized Light
#pragma once #include <QLineEdit> #include <QKeyEvent> class HistoryLineEdit : public QLineEdit { Q_OBJECT public: explicit HistoryLineEdit(QWidget* parent = nullptr); void keyPressEvent(QKeyEvent* event); void addLineToHistory(QString parLine); QString getLineFromHistory(); QString addHistory...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
8837bb687c5fa5b6
rust
71
Solarized Dark
// Can't rename internal Pest names #![allow(clippy::upper_case_acronyms)] use pest::{Parser, error::Error, iterators::Pair}; use pest_derive::*; use super::model::*; #[derive(Parser)] #[grammar = "formatter/spec.pest"] struct IdentParser; fn parse_value(value: Pair<Rule>) -> FormatElement { match value.as_rule...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
0d743b24e8fc2c30
typescript
29
Solarized Light
import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/examples/base/ui/breadcrumb" export function BreadcrumbBasic() { return ( <Breadcrumb> <BreadcrumbList> <BreadcrumbItem> <BreadcrumbLink href="#">Home</Breadcrum...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
79a3b68af07809fe
go
374
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
df7f9e77b40a04d3
cpp
78
Monokai
/* * Wslay - The WebSocket Library * * Copyright (c) 2011, 2012 Tatsuhiro Tsujikawa * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * without limitati...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
afb5cecef17f0eb8
rust
288
Default Dark+
use std::collections::hash_map::Entry; use std::collections::{BTreeSet, HashMap}; use charabia::normalizer::NormalizerOption; use charabia::{Language, Normalize, StrDetection, Token}; use grenad::Sorter; use heed::types::{Bytes, SerdeJson}; use heed::{BytesDecode, BytesEncode, RoTxn, RwTxn}; use super::fst_merger_bui...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
20e78eb0ac642426
csharp
365
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Configuration; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using SemanticKernel.IntegrationTests.TestSettings; using xRetry; using Xunit; using...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
823aea3f4777d1b4
python
23
Dracula
from typing import Annotated from fastapi import Depends, FastAPI app = FastAPI() async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} CommonsDep = Annotated[dict, Depends(common_parameters)] @app.get("/items/") async def read_item...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
73751bc42f7d04a0
go
288
Default Light+
package tokenizer import ( "runtime" "sort" "strings" "sync" "unicode" "unicode/utf8" ) const ( encodeParallelMinInputBytes = 4 * 1024 encodeParallelMinChunksPerWorker = 8 ) type tokenMatch struct { start int end int } type encodeChunk struct { text string isSpecial bool } // isNonNewlineWh...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
550d1b6b96d80a1c
java
28
Solarized Dark
// There is a fence with n posts, each post can be painted with one of the k colors. // You have to paint all the posts such that no more than two adjacent fence posts have the same color. // Return the total number of ways you can paint the fence. // Note: // n and k are non-negative integers. public class PaintFe...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
699c6525d3899cfd
csharp
70
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using CalculatorApp.ViewModel; using System.Collections.Generic; using Windows.UI.Xaml; using Windows.UI.Xaml.Automation; using Windows.UI.Xaml.Automation.Peers; using Windows.UI.Xaml.Controls; namespace CalculatorApp { ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
70431edf12d8c713
typescript
29
GitHub Dark
const hexList: string[] = []; for (let i = 0; i <= 15; i++) { hexList[i] = i.toString(16); } export function buildUUID(): string { let uuid = ''; for (let i = 1; i <= 36; i++) { if (i === 9 || i === 14 || i === 19 || i === 24) { uuid += '-'; } else if (i === 15) { uuid += 4; } else if (i ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
71ccf80c9e186e2b
csharp
51
Default Light+
using System; using System.Collections; using System.Collections.Generic; namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly { internal class NoForEachStatement { public static void SimpleNonGenericForeach(IEnumerable enumerable) { IEnumerator enumerator = enumerable.GetEnumerator(); try { while ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
78f675e0f9dfa728
csharp
34
Default Light+
// Copyright (c) 2025 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
d5dcd2baaafb85ca
go
37
Default Dark+
// Copyright 2022 Gin Core Team. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package render import ( "net/http" "github.com/pelletier/go-toml/v2" ) // TOML contains the given interface object. type TOML struct { Data any } var toml...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
8284523acd91c337
python
92
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from semantic_kernel import Kernel from semantic_kernel.connectors.ai.open_ai import OpenAIChatCompletion, OpenAIChatPromptExecutionSettings from semantic_kernel.contents import ChatHistory from semantic_kernel.functions import KernelArguments from semant...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
a66a3e219547cd30
javascript
50
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class OneBot extends NotificationProvider { name = "OneBot"; /** * @inheritdoc */ async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Successfully.";...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
75458808948dc8ea
csharp
109
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using System.Text.Json; using static Microsoft.SemanticKernel.KernelParameterMetadata; namespace Microsoft.SemanticKernel; /// <summary> /// Provides read-only metadata for a <see cref="KernelFunction"/>'s return p...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
d3974fd66b7ec382
cpp
89
Solarized Dark
#ifndef OPENPOSE_THREAD_PRIORITY_QUEUE_HPP #define OPENPOSE_THREAD_PRIORITY_QUEUE_HPP #include <queue> // std::priority_queue #include <openpose/core/common.hpp> #include <openpose/thread/queueBase.hpp> namespace op { template<typename TDatums, typename TQueue = std::priority_queue<TDatums, std::vector<TDatums>, ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
3c3934f5de71cfaa
java
98
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class PmsCommentReplay implements Serializable { private Long id; private Long commentId; private String memberNickName; private String memberIcon; private S...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
dc9ac0b2b7edf283
typescript
39
One Dark Pro
export type DragDropEvent = { draggedContext?: { futureIndex?: number } } /** * Validates if a drag-and-drop operation should be allowed. * * Prevents items from being dropped at the last position, which is reserved * for the "add new item" empty entry in lists like headers and parameters. * * @param dra...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
10383886f9b451bf
csharp
27
Monokai
using System.Collections.Generic; namespace winPEAS.Helpers.Search { static class Patterns { public static readonly HashSet<string> WhitelistExtensions = new HashSet<string>() { ".cer", ".csr", ".der", ".p12", }; public static re...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
6b146201f2b3ff65
java
174
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
78641113a32efc17
csharp
48
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
b160601896a7a58c
javascript
63
Dracula
import hanoiTower from '../hanoiTower'; import Stack from '../../../../data-structures/stack/Stack'; describe('hanoiTower', () => { it('should solve tower of hanoi puzzle with 2 discs', () => { const moveCallback = jest.fn(); const numberOfDiscs = 2; const fromPole = new Stack(); const withPole = ne...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
236d9d2acb0640be
typescript
82
Solarized Light
import { TrashIcon } from "lucide-react" import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogTitle, AlertDialogTrigger, } from "@/registry/new-york-v4/ui/alert-dialog" import { But...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
0677037bdc8bfa31
python
39
Solarized Light
# Created by: Ramy-Badr-Ahmed (https://github.com/Ramy-Badr-Ahmed) # in Pull Request: #11532 # https://github.com/TheAlgorithms/Python/pull/11532 # # Please mention me (@Ramy-Badr-Ahmed) in any issue or pull request # addressing bugs/corrections to this file. # Thank you! from __future__ import annotations cla...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
efa9fa396d2c4c0a
csharp
31
Default Light+
/* Copyright (c) 2015 Ki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublice...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
ec4c6677477b957b
typescript
111
Default Dark+
import Head from 'next/head'; import Container from '~/components/shared/Container'; const people = [ { bio: 'Dysfunctional human who cannot survive without 10 hours of sleep.', imageUrl: '/team/weilin.jpg', name: 'Ren Weilin', role: 'Front End Engineer', }, { bio: 'Software engineer focused...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
94d9e2aace46a6d8
csharp
75
Monokai
using WindowsFirewallHelper; using WindowsFirewallHelper.FirewallRules; namespace Netch.Utils; public static class Firewall { private const string Netch = "Netch"; /// <summary> /// Netch 自带程序添加防火墙 /// </summary> public static void AddNetchFwRules() { if (!FirewallWAS.IsLocallySu...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
cd11d807695f9820
csharp
142
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
588189e13ad6af11
csharp
20
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Connectors.CosmosNoSql; internal static class CosmosNoSqlConstants { internal const string VectorStoreSystemName = "azure.cosmosdbnosql"; /// <summary> /// Reserved key property name in Azure CosmosDB NoSQL. /// </su...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
aacda34a3fed89af
csharp
77
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Azure; using Azure.AI.Agents.Persistent; using Microsoft.SemanticKernel.Agents.AzureAI.Internal; using Microsoft.SemanticKernel.Agents.Extensions; using Microsoft...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
e7b0cf9c33720da8
csharp
95
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
ab42590185601385
csharp
425
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.ComponentModel; using System.Globalization; using System.Linq; using System.Net.Http; using System.Threading.Tasks; using Azure.Identity; using Microsoft.Extensions.AI; using Microsoft.Extensions.Configuratio...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
102ec44ac36120e2
java
29
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
06f1644ce55603cb
typescript
138
GitHub Dark
import { defHttp } from '/@/utils/http/axios'; import { Modal } from 'ant-design-vue'; enum Api { //知识库管理 list = '/airag/knowledge/list', save = '/airag/knowledge/add', delete = '/airag/knowledge/delete', queryById = '/airag/knowledge/queryById', edit = '/airag/knowledge/edit', rebuild = '/airag/knowledg...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
d55ec91072f4da79
java
148
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
5dae0f672f8f57ae
typescript
215
Default Light+
import { clamp, pointFrom, pointRotateRads, round } from "@excalidraw/math"; import { getFlipAdjustedCropPosition, getUncroppedWidthAndHeight, } from "@excalidraw/element"; import { isImageElement } from "@excalidraw/element"; import type { ElementsMap, ExcalidrawElement } from "@excalidraw/element/types"; impor...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
66fcb9f64f9d5646
python
112
Default Light+
import base64 import os.path import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, update_url, update_url_query, url_basename, urlencode_postdata, ) class DropboxIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?dropbox\.com/(?:(?:e/)?scl/f[i...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
183813fb441e3790
java
65
Default Light+
package com.thealgorithms.datastructures.trees; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.List; /** * Given tree is traversed in an 'inorder' way: LEFT -> ROOT -> RIGHT. * Below are given the recursive and iterative implementations. * * Complexities: * Recu...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
f4c7921322277948
csharp
34
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
f6a2b2323e758e88
typescript
84
Solarized Light
"use client" import { TrendingUp } from "lucide-react" import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipCo...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
79b2a8741578e148
java
350
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
66949a1b07514e4f
csharp
31
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel.Services; namespace Microsoft.SemanticKernel.ImageToText; /// <summary> /// Interface for image-to-text servi...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
afd458311624a89a
csharp
68
Default Light+
// Copyright (c) 2018 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
ba7cb924fd408ce2
csharp
150
Default Light+
// // PrimitiveExpression.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2009 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
e8f20dbda81f1b37
java
129
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
d179d583e62016b5
csharp
44
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
6d8c100f70c1310c
java
108
Default Light+
package com.thealgorithms.sorts; /** * QuickSort is a divide-and-conquer sorting algorithm. * * <p>The algorithm selects a pivot element and partitions the array into two * subarrays such that: * <ul> * <li>Elements smaller than the pivot are placed on the left</li> * <li>Elements greater than the pivot are...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
4397bed8301a4d11
csharp
34
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.AudioToText; /// <summary> /// Class with extension methods for <see cref="IAudioToTextService"/> interface. /// </summa...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
c2b71424934ace0d
go
130
Solarized Dark
// Copyright 2025 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
5e637af2e1a0d774
rust
28
Default Dark+
use serde::{Deserialize, Serialize}; /// Describes an OpenAI model offering that can be used with the API. #[derive(Debug, Deserialize, Serialize, Clone, PartialEq)] pub struct Model { /// The model identifier, which can be referenced in the API endpoints. pub id: String, /// The object type, which is alwa...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
3ab30cdcf6227c1f
cpp
32
Solarized Light
#ifndef _LOOP_H #define _LOOP_H #include "addrinfo.h" struct LOOPSINFO { duint modhash; duint start; duint end; duint parent; int depth; bool manual; duint instructioncount; std::string mod() const { return ModNameFromHash(modhash); } }; bool LoopAdd(duint Start, duin...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
05e3ff00ef87d31c
rust
488
Default Dark+
mod autobatcher; #[cfg(test)] mod autobatcher_test; #[cfg(not(feature = "enterprise"))] pub mod community_edition; mod create_batch; #[cfg(feature = "enterprise")] pub mod enterprise_edition; mod process_batch; mod process_dump_creation; mod process_export; mod process_index_operation; mod process_snapshot_creation; m...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
536079f00eb3f79c
java
24
Default Light+
package com.thealgorithms.maths; public final class SquareRootWithBabylonianMethod { private SquareRootWithBabylonianMethod() { } /** * get the value, return the square root * * @param num contains elements * @return the square root of num */ public static float squareRoot(flo...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
77c5b73eecaeb164
java
130
GitHub Dark
package org.jeecg.common.util.dynamic.db; import com.baomidou.mybatisplus.annotation.DbType; import org.jeecg.common.constant.DataBaseConstant; import java.util.HashMap; import java.util.Map; /** * 数据库类型判断 * 【有些数据库引擎是一样的,以达到复用目的】 * @author: jeecg-boot */ public class DbTypeUtils { public static Map<String, ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
7f754aa336a4fd0f
java
72
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
fd2868fcc3c846c0
cpp
123
One Dark Pro
#include "models.h" llm_build_llada_moe::llm_build_llada_moe(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); GGML_ASSERT(n_embd_head == n_rot); ggml_tens...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
30b1b0561d2ef555
go
54
Solarized Dark
// Copyright 2025 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
ae837a232c5ec3f7
rust
149
GitHub Dark
//! This module implements the Disjoint Set Union (DSU), also known as Union-Find, //! which is an efficient data structure for keeping track of a set of elements //! partitioned into disjoint (non-overlapping) subsets. /// Represents a node in the Disjoint Set Union (DSU) structure which /// keep track of the parent...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
9816c9cf05aa26a9
csharp
450
Default Light+
using System; #if CS100 using System.Runtime.InteropServices; #endif namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { internal class RecordClasses { public record Base(string A); public record CopyCtor(string A) { protected CopyCtor(CopyCtor _) { } } public record Derived(int B) : Base(...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
8ce2415e582a30ef
cpp
38
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "CalcManager/Header Files/ICalcDisplay.h" namespace CalculatorApp::ViewModel::Common { // Callback interface to be implemented by the CalculatorManager class CalculatorDisplay : public ICalcD...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
94fe94e024485c08
go
26
Default Light+
package cloud import ( "github.com/ollama/ollama/envconfig" ) const DisabledMessagePrefix = "ollama cloud is disabled" // Status returns whether cloud is disabled and the source of the decision. // Source is one of: "none", "env", "config", "both". func Status() (disabled bool, source string) { return envconfig.No...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
b78866bc50df5f56
java
79
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
8ff0d3f16dda55b7
java
34
Default Light+
package com.thealgorithms.physics; /** * Calculates refraction angle using Snell's Law: * n1 * sin(theta1) = n2 * sin(theta2) * @see <a href="https://en.wikipedia.org/wiki/Snell%27s_law">Snell's Law</a> */ public final class SnellLaw { private SnellLaw() { throw new AssertionError("No instances."); ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
0cbe0ba13f701c31
csharp
102
Default Light+
// Copyright (c) 2017 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
d26e6f7a4a6fc87a
rust
44
Solarized Dark
use serde::{Deserialize, Serialize}; #[derive(Debug, Clone, Serialize, Deserialize)] pub struct UnlockItem { pub name: String, pub status: String, pub region: Option<String>, pub check_time: Option<String>, } impl UnlockItem { pub fn pending(name: &str) -> Self { Self { name: n...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
269340c2aae5e9cd
csharp
219
Monokai
namespace winPEAS._3rdParty.SQLite.src { public partial class CSSQLite { /* ** 2001 September 15 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for you...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
a2421ea01e12ca31
go
73
Default Light+
package mediatrack import ( "errors" "fmt" "net/http" "strconv" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/pkg/utils" "github.com/go-resty/resty/v2" log "github.com/sirupsen/logrus" ) // do others that not defined in Driver interface func (d *MediaTrack) request(url string, ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
509c272087cea776
csharp
157
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Amazon.BedrockAgent; using Amazon.BedrockAgent.Model; using Amazon.BedrockAgentRuntime; using Amazon.BedrockAgentRuntime.Model; using Amazon.Runtime; using Azure; using Microsoft.Extensions.Configuration; using Microsof...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
317497a3db169cf0
typescript
73
Solarized Light
import { Response } from "express"; import { ErrorResponse, RequestWithAuth } from "./types"; import { supabase_rr_service } from "../../services/supabase"; interface CreditUsageHistoricalResponse { success: true; periods: { startDate: string | null; endDate: string | null; apiKey?: string; credits...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
285f940f9baa5272
csharp
42
Monokai
namespace Netch.Models; /// <summary> /// TUN/TAP 适配器配置类 /// </summary> public class TUNConfig { /// <summary> /// 地址 /// </summary> public string Address { get; set; } = "10.0.236.10"; /// <summary> /// DNS /// </summary> public string DNS { get; set; } = Constants.Defaul...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
d7315eddf2f75157
cpp
93
One Dark Pro
#include <hex/api/content_registry/settings.hpp> #include <hex/api/content_registry/user_interface.hpp> #include <hex/helpers/utils.hpp> #include <windows.h> #include <psapi.h> #include <imgui.h> #include <fonts/vscode_icons.hpp> #include <hex/ui/imgui_imhex_extensions.h> namespace hex::plugin::windows { void...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
780e131962891682
python
28
Dracula
from typing import Any from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float | None = None tags: list[str] = [] @app.post("/items/", response_model=Item) async def create_item(item: Ite...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
d5b662723527d532
go
262
Default Light+
package netease_music import ( "context" "net/http" "path" "regexp" "strconv" "strings" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/ali...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
075500bd6f7d34ad
java
59
Default Light+
package com.thealgorithms.greedyalgorithms; import java.util.Arrays; /** * Class to solve the Bandwidth Allocation Problem. * The goal is to maximize the value gained by allocating bandwidth to users. * Example: * Bandwidth = 10 * Users = [3, 5, 7] * Values = [10, 20, 30] * The maximum value achievable is 40 b...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
c39ea5843dc5ff88
go
222
Default Light+
package discover import ( "fmt" "log/slog" "syscall" "unsafe" "github.com/ollama/ollama/logutil" ) type MEMORYSTATUSEX struct { length uint32 MemoryLoad uint32 TotalPhys uint64 AvailPhys uint64 TotalPageFile uint64 AvailPageFile uint64 TotalVirt...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
78b604df09e1a69f
go
157
Default Light+
package kvcache import ( "fmt" "github.com/ollama/ollama/ml" "github.com/ollama/ollama/model/input" ) // Encoder cache stores K and V tensors that are position independent // // The tensors can be of any shape and will be returned as they were stored // The mask is currently always nil // // Not currently safe fo...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
5ef7a022ba58c9f1
typescript
74
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/examples/radix/ui/card" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/examples/radix/ui/collapsible" im...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
ab9227555e9461e0
cpp
278
Solarized Dark
#include <openpose/core/point.hpp> #include <ostream> #include <openpose/utilities/errorAndLog.hpp> namespace op { template<typename T> Point<T>::Point(const T x_, const T y_) : x{x_}, y{y_} { } template<typename T> Point<T>::Point(const Point<T>& point) { try ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
ec4d6748df20589e
python
485
Default Light+
import json import textwrap import urllib.parse import uuid from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, filter_dict, int_or_none, parse_iso8601, update_url, url_or_none, ) from ..utils.traversal import traverse_obj class LoomIE(InfoExtractor): ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
d0f3cb05b1745425
csharp
330
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel.Primitives; using System.Collections.Generic; using System.Linq; using Azure.AI.Agents.Persistent; using Azure.AI.Projects; using Azure.Core; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel.Http; nam...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
75024d2f5d77906f
java
81
Dracula
package com.macro.mall.controller; import com.macro.mall.common.api.CommonPage; import com.macro.mall.common.api.CommonResult; import com.macro.mall.dto.SmsFlashPromotionProduct; import com.macro.mall.model.SmsFlashPromotionProductRelation; import com.macro.mall.service.SmsFlashPromotionProductRelationService; import ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
0954fe6fe137d796
go
117
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
f97ca9af949de2ae
csharp
40
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; namespace ChatCompletion; // These examples show how to use a custom HttpClient with SK connectors. public class Connectors_CustomHttpClient(ITestOutputHelper output) : BaseTest(output) { /// <summary> /// Demonstrates the usag...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
d6230ad4429a9f6b
python
397
Monokai
import re from typing_extensions import override from comfy_api.latest import ComfyExtension, io class StringConcatenate(io.ComfyNode): @classmethod def define_schema(cls): return io.Schema( node_id="StringConcatenate", display_name="Concatenate", category="utils/s...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...