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
9dbe5ae1b399214c
typescript
373
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { createContext, useCallback, useContext, useEffect, useMemo, useRef, useState, } from 'react'; import { getBoundingBox, type DOMElement } from 'ink'; import { useMouse, type Mou...
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" ...
da620937743bdb78
java
40
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.", ...
dcb98c520d77e942
cpp
58
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2011 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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...
c3bc98c48faa43ee
typescript
195
Solarized Light
import { Example, ExampleWrapper, } from "@/registry/bases/radix/components/example" import { Button } from "@/registry/bases/radix/ui/button" import { InputGroup, InputGroupAddon, InputGroupInput, } from "@/registry/bases/radix/ui/input-group" import { Kbd, KbdGroup } from "@/registry/bases/radix/ui/kbd" imp...
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" ...
c0583829d16e6fda
python
101
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import TYPE_CHECKING, ClassVar from opentelemetry import trace from pydantic import Field from semantic_kernel.agents.strategies.selection.selection_strategy import SelectionStrategy from semantic_kernel.connectors.ai.chat_completion_client_base import Chat...
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" ...
c7c0dcfb9e7eecdc
javascript
50
Default Light+
const path = require("path"); const { build } = require("esbuild"); // contains all dependencies bundled inside const getConfig = (outdir) => ({ outdir, bundle: true, format: "esm", entryPoints: ["src/index.ts"], entryNames: "[name]", assetNames: "[dir]/[name]", alias: { "@excalidraw/utils": path.re...
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" ...
88ae2e01a5f3a06c
python
406
Monokai
# Copyright (c) Microsoft. All rights reserved. import ast import asyncio import json import math from collections.abc import AsyncGenerator from html import escape from typing import Annotated, Any, Literal from huggingface_hub import AsyncInferenceClient from pydantic import HttpUrl from semantic_kernel import Ker...
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...
d206a86d294ef9cf
typescript
75
Monokai
export interface RTLAdapter { x(x: number): number; setWidth(w: number): void; textAlign(align: 'center' | 'left' | 'right'): 'center' | 'left' | 'right'; xPlus(x: number, value: number): number; leftForLtr(x: number, itemWidth: number): number; } const getRightToLeftAdapter = function(rectX: number, width: ...
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" ...
78954056726970e5
python
238
Monokai
"""Tests for ingest services.""" from pathlib import Path import pytest from sqlalchemy.orm import Session from app.assets.database.models import Asset, AssetReference, Tag from app.assets.database.queries import get_reference_tags from app.assets.services.ingest import _ingest_file_from_path, _register_existing_asse...
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...
69908cdce564e5e8
java
262
Default Dark+
package us.shandian.giga.postprocessing; import android.util.Log; import androidx.annotation.NonNull; import org.schabi.newpipe.extractor.stream.StreamInfo; import org.schabi.newpipe.streams.io.SharpStream; import java.io.File; import java.io.IOException; import java.io.Serializable; import us.shandian.giga.get.Do...
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...
ca4000666dc6d75c
python
326
Default Light+
import csv import dataclasses import json import html import os from contextlib import nullcontext import gradio as gr from modules import call_queue, shared, ui_tempdir, util from modules.infotext_utils import image_from_url_text import modules.images from modules.ui_components import ToolButton import modules.infot...
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...
2fae66e7ab063601
cpp
163
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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" ...
c13af305108c4988
javascript
148
Default Dark+
/* * Simple DNS Server * For testing DNS monitoring type, dev only */ const dns2 = require("dns2"); const { Packet } = dns2; const server = dns2.createServer({ udp: true, }); server.on("request", (request, send, rinfo) => { for (let question of request.questions) { console.log(question.name, type(...
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...
ddc3a951e5ff122c
java
97
GitHub Dark
package org.jeecg.modules.system.model; import java.io.Serializable; import java.util.List; /** * 树形下拉框 * @author: jeecg-boot */ public class TreeSelectModel implements Serializable { private static final long serialVersionUID = 9016390975325574747L; private String key; private String title; /** * 是否叶子...
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...
5ca2515cea8c0684
csharp
158
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 ...
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...
6ceaa22a8b30b6ff
java
124
Default Light+
package com.thealgorithms.graph; import java.util.ArrayList; import java.util.Arrays; import java.util.List; /** * This class implements a solution for the Constrained Shortest Path Problem (CSPP). * also known as Shortest Path Problem with Resource Constraints (SPPRC). * The goal is to find the shortest path betw...
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.", ...
7bb7d12c325f8fa8
java
55
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"...
b13c4cba91312182
typescript
196
GitHub Dark
import type { ExtractPropTypes } from 'vue'; import type { TreeDataItem } from 'ant-design-vue/es/tree/Tree'; import { buildProps } from '/@/utils/props'; export enum ToolbarEnum { SELECT_ALL, UN_SELECT_ALL, EXPAND_ALL, UN_EXPAND_ALL, CHECK_STRICTLY, CHECK_UN_STRICTLY, } export const treeEmits = [ 'upd...
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...
8f1953b3880ac5d7
python
91
Solarized Light
""" Given an array of integers and another integer target, we are required to find a triplet from the array such that it's sum is equal to the target. """ from __future__ import annotations from itertools import permutations from random import randint from timeit import repeat def make_dataset() -> tuple[list[int],...
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...
cc2bb8468cec490d
java
30
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.CmsPrefrenceAreaProductRelation; import com.macro.mall.model.CmsPrefrenceAreaProductRelationExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface CmsPrefrenceAreaProductRelationMapper { long countByExample(CmsPrefren...
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...
14ff4e5a4ab80ccc
javascript
54
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class SerwerSMS extends NotificationProvider { name = "serwersms"; /** * @inheritdoc */ async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Successfu...
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...
47fbddb9c700a84c
csharp
326
Default Light+
// Copyright (c) 2020 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...
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...
e9842a6049020f2b
csharp
32
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.IO; namespace Microsoft.SemanticKernel.Plugins.Document; /// <summary> /// Interface for document connections (e.g. Microsoft Word) /// </summary> public interface IDocumentConnector { /// <summary> /// Read all text from the document. /// </...
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...
b10cb6c365df84d3
cpp
64
Dracula
/** * Copyright 2014-2025, XBGoost Contributors * \file updater_sync.cc * \brief synchronize the tree in all distributed nodes */ #include <string> #include <vector> #include "../collective/broadcast.h" // for Broadcast #include "../collective/communicator-inl.h" // for GetRank, GetWorldSize #include "xgb...
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" ...
11d6adf13a6ec947
typescript
36
Solarized Light
import { Card, CardContent } from "@/examples/base/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, } from "@/examples/base/ui/carousel" export function CarouselMultiple() { return ( <Carousel className="mx-auto max-w-xs sm:max-w-sm" opts={{ ...
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...
50b1bef01b1df32e
python
135
Default Light+
from __future__ import annotations import functools import json import textwrap from .common import InfoExtractor from ..utils import ExtractorError, format_field, int_or_none, parse_iso8601 from ..utils.traversal import traverse_obj def _fmt_url(url): return format_field(template=url, default=None) class Tel...
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.", ...
697bb9da00a5266d
go
88
Default Light+
package launch import ( "fmt" "os" "os/exec" "path/filepath" "runtime" "strconv" "github.com/ollama/ollama/envconfig" ) // Claude implements Runner for Claude Code integration. type Claude struct{} func (c *Claude) String() string { return "Claude Code" } func (c *Claude) args(model string, extra []string) ...
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...
23de1b8a358b1481
typescript
377
Solarized Light
// @generated by protoc-gen-es v2.11.0 with parameter "target=ts" // @generated from file api/v1/idp_service.proto (package memos.api.v1, syntax proto3) /* eslint-disable */ import type { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { enumDesc, fileDesc, messageDesc, serviceDe...
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...
72ebb8cb009923c4
typescript
61
Default Light+
/// <reference types="vite/client" /> /// <reference types="vite-plugin-pwa/vanillajs" /> /// <reference types="vite-plugin-pwa/info" /> /// <reference types="vite-plugin-svgr/client" /> interface ImportMetaEnv { // The port to run the dev server VITE_APP_PORT: string; VITE_APP_BACKEND_V2_GET_URL: string; VITE...
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"...
662b83b4b2ae1aed
python
41
Solarized Light
from math import gcd def proper_fractions(denominator: int) -> list[str]: """ this algorithm returns a list of proper fractions, in the range between 0 and 1, which can be formed with the given denominator https://en.wikipedia.org/wiki/Fraction#Proper_and_improper_fractions >>> proper_fractions(1...
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" ...
e54b50d6f455d99b
typescript
144
Default Dark+
import { defineConfig, devices } from '@playwright/test'; import { exec } from 'node:child_process'; const utils = require('./global-utils'); utils.loadEnv(); /** * See https://playwright.dev/docs/test-configuration. */ export default defineConfig({ testDir: './.', /* Run tests in files in parallel */ ...
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...
d7915b8fba238031
csharp
88
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Orchestration; using Microsoft.SemanticKernel.Agents.Orchestration.Sequential; using Microsoft.SemanticKernel.Agents.Runtime.InProcess; namespace GettingStarte...
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...
f804ae328d244c58
python
419
Default Light+
import base64 import codecs import datetime as dt import hashlib import hmac import json import random import re import urllib.parse from .common import InfoExtractor from ..compat import compat_ord from ..utils import ( ExtractorError, OnDemandPagedList, determine_ext, float_or_none, int_or_none, ...
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...
de855e5bcd0e53e7
cpp
36
Solarized Light
#include <windows.h> #include "diacreate.h" typedef HRESULT(__stdcall* pDllGetClassObject)( _In_ REFCLSID rclsid, _In_ REFIID riid, _Out_ LPVOID* ppv ); HRESULT STDMETHODCALLTYPE NoRegCoCreate(const wchar_t* dllName, REFCLSID rclsid, ...
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"...
3f82c1fc89ec7bb8
cpp
196
One Dark Pro
/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version....
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...
11e2fd8164353128
csharp
26
Monokai
using ScreenToGif.Domain.Enums; namespace ScreenToGif.Domain.Interfaces { public interface IExportPreset : IPreset { string TitleKey { get; set; } string DescriptionKey { get; set; } ExportFormats Type { get; set; } bool PickLocation { get; set; } OverwriteModes Overwrit...
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"...
b9233123e0c540ec
csharp
160
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...
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...
25513339ecbbdac7
typescript
135
Solarized Light
"use client" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/bases/radix/ui/avatar" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/bases/radix/ui/dropdown-menu" 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" ...
8686f7552ccd87d6
typescript
299
Default Light+
import MessageList from "./MessageList"; import ChatForm from "./ChatForm"; import { FileUpload } from "./FileUpload"; import { DisplayUpgrade } from "./DisplayUpgrade"; import { DisplayStale } from "./DisplayStale"; import { DisplayLogin } from "./DisplayLogin"; import { useChat, useSendMessage, useIsStreaming, ...
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...
be995e700b8a0caa
python
25
Monokai
#!/usr/bin/env python3 import os import requests from pathlib import Path def download_regexes(): print("[+] Downloading regexes...") url = "https://raw.githubusercontent.com/JaimePolop/RExpository/main/regex.yaml" response = requests.get(url) if response.status_code == 200: # Save the conten...
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...
a33355a52a632a4e
java
76
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class PmsMemberPrice implements Serializable { private Long id; private Long productId; private Long memberLevelId; @ApiModelProperty(value = "会员价格") pr...
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...
fda552b57de1cf16
java
37
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...
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" ...
c566211a02f5d7ad
python
42
Monokai
# Copyright (c) Microsoft. All rights reserved. # See https://github.com/microsoft/BotBuilder-Samples/blob/main/samples/python/80.skills-simple-bot-to-bot/echo-skill-bot/authentication/allowed_callers_claims_validator.py from collections.abc import Awaitable, Callable from botframework.connector.auth import JwtTokenV...
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...
4241f9ad2a5dda54
typescript
251
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview Tool for visual identification via a single model call. * * The semantic browser agent uses this tool when it needs to identify * elements by visual attributes not present in the accessibility tree * (e.g.,...
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...
f7cef93ca383cde1
csharp
46
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...
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...
a9fbdaeb414ea4b6
python
53
Default Light+
from .common import InfoExtractor from ..utils import ( ExtractorError, traverse_obj, unified_strdate, ) class ProjectVeritasIE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://(?:www\.)?projectveritas\.com/(?P<type>news|video)/(?P<id>[^/?#]+)' _TESTS = [{ 'url': 'https://www.p...
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"...
3bc26bb43cb2e063
javascript
134
Default Light+
/** * Creating a sidebar enables you to: - create an ordered group of docs - render a sidebar for each doc of that group - provide next/previous navigation The sidebars can be generated from the filesystem, or explicitly defined here. Create as many sidebars as you want. */ // @ts-check /** @type {import('@d...
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"...
fc10155790795206
csharp
342
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text; using System.Text.RegularExpressions; using System.Threading; using System.Threading.Tasks; using System.Web; using Fluid; using Fluid.Ast; namespace Microsoft.SemanticKernel.PromptTemplates.Liquid; /...
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.", ...
70cc2fa8ded0c78f
csharp
65
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // 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, cop...
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" ...
4a82dfbfd0ebd931
typescript
114
Solarized Light
"use client" import * as React from "react" import { Avatar as AvatarPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function Avatar({ className, size = "default", ...props }: React.ComponentProps<typeof AvatarPrimitive.Root> & { size?: "default" | "sm" | "lg" }) { return ...
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.", ...
00a42c8850a593d1
python
25
Solarized Light
# /// script # requires-python = ">=3.13" # dependencies = [ # "httpx", # ] # /// from datetime import UTC, datetime import httpx def download_video(url: str) -> bytes: base_url = "https://downloadgram.net/wp-json/wppress/video-downloader/video?url=" video_url = httpx.get(base_url + url, timeout=10) ...
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" ...
be15ab391bff1839
typescript
140
Solarized Light
import { v7 as uuidv7 } from "uuid"; import { Request, Response } from "express"; import { ErrorResponse, extractOptions, RequestWithAuth } from "./types"; import { getDeepResearchQueue } from "../../services/queue-service"; import * as Sentry from "@sentry/node"; import { saveDeepResearch } from "../../lib/deep-resear...
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.", ...
a7eb6c3e4aedbed1
cpp
85
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <cstdio> #include <spdlog/details/console_globals.h> #include <spdlog/details/synchronous_factory.h> #include <spdlog/sinks/sink.h> #ifdef _WIN32 #include <...
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" ...
48cab6a450347aa2
cpp
145
One Dark Pro
#include <content/visualizer_helpers.hpp> #include <implot.h> #include <imgui.h> #include <miniaudio.h> #include <fonts/vscode_icons.hpp> #include <hex/api/task_manager.hpp> #include <hex/ui/imgui_imhex_extensions.h> #include <hex/helpers/scaling.hpp> #include <hex/helpers/utils.hpp> namespace hex::plugin::visualiz...
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...
61ca3344bc5819bd
csharp
108
Monokai
namespace winPEAS._3rdParty.BouncyCastle.asn1.ua { /** * Ukrainian object identifiers * <p> * {iso(1) member-body(2) Ukraine(804) root(2) security(1) cryptography(1) pki(1)} * <p> * { ... pki-alg(1) pki-alg-sym(3) Dstu4145WithGost34311(1) PB(1)} * <p> * DSTU4145 in polynomial basis has...
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...
a8c1f759c527245e
cpp
150
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: bitvector.h // Description: Class replacement for BITVECTOR. // Author: Ray Smith // // (C) Copyright 2011, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in 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.", ...
3adfc3f661a27aa6
typescript
56
Solarized Light
import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { ChevronDownIcon } from "lucide-react" type NativeSelectProps = Omit<React.ComponentProps<"select">, "size"> & { size?: "sm" | "default" } function NativeSelect({ className, size = "default", ...props }: NativeSelectProps) ...
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"...
2e9c7159b275f0fc
typescript
35
Solarized Light
"use client" import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox" import { cn } from "@/registry/bases/base/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) { return ( <CheckboxPri...
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...
37f3980e80fdae33
typescript
24
Solarized Light
import { useState } from "react"; export interface ImagePreviewState { open: boolean; urls: string[]; index: number; } export interface UseImagePreviewReturn { previewState: ImagePreviewState; openPreview: (url: string) => void; setPreviewOpen: (open: boolean) => void; } export const useImagePreview = ()...
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...
e34bcea30a915982
typescript
156
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type ColorsTheme, Theme } from '../../theme.js'; import { interpolateColor } from '../../color-utils.js'; const xcodeColors: ColorsTheme = { type: 'light', Background: '#fff', Foreground: '#444', LightBlue: '#0E0E...
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" ...
0b256573c6d37cd6
python
146
Monokai
import torch import comfy.model_management import comfy.utils import folder_paths import os import logging from enum import Enum from typing_extensions import override from comfy_api.latest import ComfyExtension, io from tqdm.auto import trange CLAMP_QUANTILE = 0.99 def extract_lora(diff, rank): conv2d = (len(dif...
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" ...
ca0804244581fb22
rust
329
Default Dark+
use std::cell::RefCell; use std::collections::BTreeMap; use bumpalo::Bump; use hashbrown::HashMap; use super::DelAddRoaringBitmap; use crate::constants::{RESERVED_GEOJSON_FIELD_NAME, RESERVED_GEO_FIELD_NAME}; use crate::update::new::channel::{DocumentsSender, ExtractorBbqueueSender}; use crate::update::new::document:...
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"...
5edbd84f1810cf39
cpp
222
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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...
5e3219c74c29dee0
cpp
75
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once // Fast asynchronous logger. // Uses pre allocated queue. // Creates a single back thread to pop messages from the queue and log them. // // Upon each log write the l...
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...
02fb565a7a81e887
csharp
50
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...
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" ...
71aef93f0ee849ec
csharp
90
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData; using Microsoft.SemanticKernel.Connectors.InMemory; namespace GettingStartedWithVectorStores; /// <summary> /// Example showing how to do vector searches with an in-memory vector store. /// </summa...
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.", ...
3adee535b72f4e93
csharp
297
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text; using System.Text.Json; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.UnitTests.Contents; /// <summary> /// Unit tests for <see cref="ImageContent"/> class. /// </summary> publ...
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...
d4501d89bbd5b7f2
typescript
93
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { render } from '../../test-utils/render.js'; import { QueuedMessageDisplay } from './QueuedMessageDisplay.js'; describe('QueuedMessageDisplay', () => { it('renders nothing w...
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...
3ac76c638bbc0242
go
51
Solarized Dark
// Copyright 2018 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...
755c4de460f87863
csharp
24
Monokai
// Copyright (c) Microsoft. All rights reserved. public class TurnManager : IDisposable { private int _currentTurnId = 0; private CancellationTokenSource _cts = new(); private readonly object _lock = new(); public int CurrentTurnId { get { lock (this._lock) { return this._currentTurnId; } } } publ...
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...
adbca84c2cdd53d2
java
47
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.", ...
3778a20944436945
python
253
Monokai
# Copyright (c) Microsoft. All rights reserved. import argparse import asyncio from collections.abc import Callable from dataclasses import dataclass, field from typing import Annotated from uuid import uuid4 from azure.identity import AzureCliCredential from samples.concepts.memory.utils import print_record from sa...
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...
302045f7a0f538c3
rust
68
GitHub Dark
/* A Rust implementation of the Dutch National Flag sorting algorithm. Reference implementation: https://github.com/TheAlgorithms/Python/blob/master/sorts/dutch_national_flag_sort.py More info: https://en.wikipedia.org/wiki/Dutch_national_flag_problem */ #[derive(PartialOrd, PartialEq, Eq)] pub enum Colors { Red,...
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.", ...
7d434e051748b142
python
257
Dracula
from collections.abc import Mapping, Sequence from typing import Annotated, Any, TypedDict from annotated_doc import Doc from pydantic import BaseModel, create_model from starlette.exceptions import HTTPException as StarletteHTTPException from starlette.exceptions import WebSocketException as StarletteWebSocketExcepti...
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" ...
2f5a77f0e0e792fd
java
33
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 ...
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...
5df2d32ad8bd4f47
java
213
Default Light+
package com.thealgorithms.datastructures.queues; import java.util.NoSuchElementException; /** * A [deque](https://en.wikipedia.org/wiki/Double-ended_queue) is short for a * double ended queue pronounced "deck" and sometimes referred to as a head-tail * linked list. A deque is a data structure based on a doubly lin...
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...
a021c0a423d4f18b
java
61
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...
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...
6725592cdcfb5559
cpp
62
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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.", ...
e55a425061e2f6a6
cpp
78
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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...
383545e17131f184
java
88
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 ...
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...
1df3130b21c63d7c
java
32
Default Light+
package com.thealgorithms.strings; /** * Removes characters affected by '*' in a string. * Each '*' deletes the closest non-star character to its left. * * Example: * Input: leet**cod*e * Output: lecoe */ public final class RemoveStars { private RemoveStars() { } public static String removeStars(...
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"...
01c6ff711ee3dfd5
csharp
67
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Text.Json; using Microsoft.SemanticKernel.Process.Runtime; namespace Microsoft.SemanticKernel.Process.Serialization; /// <summary> /// Serializer for <see cref="ProcessMessage"/> objects. /// </summary>...
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...
3b89216a7e38a454
typescript
81
Dracula
/** @deprecated use HotPayload */ export type HMRPayload = HotPayload export type HotPayload = | ConnectedPayload | PingPayload | UpdatePayload | FullReloadPayload | CustomPayload | ErrorPayload | PrunePayload export interface ConnectedPayload { type: 'connected' } export interface PingPayload { typ...
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" ...
68aa0ed72bc63c56
typescript
52
Solarized Light
import { SearchIcon } from "lucide-react"; import { useRef, useState } from "react"; import { useMemoFilterContext } from "@/contexts/MemoFilterContext"; import { cn } from "@/lib/utils"; import { useTranslate } from "@/utils/i18n"; import MemoDisplaySettingMenu from "./MemoDisplaySettingMenu"; const SearchBar = () =>...
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.", ...
14a3854f6208ea3f
go
198
Default Light+
package quqi type BaseReqQuery struct { ID string `json:"quqiid"` } type BaseReq struct { GroupID string `json:"quqi_id"` } type BaseRes struct { //Data interface{} `json:"data"` Code int `json:"err"` Message string `json:"msg"` } type GroupRes struct { BaseRes Data []*Group `json:"data"` } type Li...
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"...
348ea8ec655e72b7
cpp
68
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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...
8c2980ba2847b42f
typescript
335
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { useMemo, useState } from 'react'; import { Box, Text, useIsScreenReaderEnabled } from 'ink'; import { useUIState } from '../contexts/UIStateContext.js'; import { type ConversationRecord, ...
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" ...
757ec77711ae73dd
python
42
Dracula
import subprocess import time import httpx from playwright.sync_api import Playwright, sync_playwright # Run playwright codegen to generate the code below, copy paste the sections in run() def run(playwright: Playwright) -> None: browser = playwright.chromium.launch(headless=False) # Update the viewport manu...
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"...
25ce1c5ad53a1107
typescript
80
Default Light+
export type Mutable<T> = { -readonly [P in keyof T]: T[P]; }; export type ValueOf<T> = T[keyof T]; export type Merge<M, N> = Omit<M, keyof N> & N; /** utility type to assert that the second type is a subtype of the first type. * Returns the subtype. */ export type SubtypeOf<Supertype, Subtype extends Supertype> =...
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" ...
c20866b23ea1b1ae
cpp
127
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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"...
6642bdb3e444e2f5
csharp
208
Monokai
using Pgno = System.UInt32; namespace winPEAS._3rdParty.SQLite.src { public partial class CSSQLite { /* ** 2008 August 05 ** ** 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 yo...
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...
d662346177b094ef
csharp
58
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...
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"...
e739d9d191d9dca2
java
31
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 ...
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...
672d29aad1bacbf9
csharp
169
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" ...
01b799498ca54d98
cpp
227
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * 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 Free Software Foundation; either version 2 of the Lice...
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...
e157f295a154478d
typescript
64
Default Dark+
import assert from 'node:assert/strict' import test from 'node:test' import type { Adapter } from 'lowdb' import { DEFAULT_SCHEMA_PATH, NormalizedAdapter } from './adapters/normalized-adapter.ts' import type { RawData } from './adapters/normalized-adapter.ts' import type { Data } from './service.ts' class StubAdapte...
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...
d97e822a9899bf0b
java
60
Dracula
package com.macro.mall.service; import com.macro.mall.dto.PmsBrandParam; import com.macro.mall.model.PmsBrand; import org.springframework.transaction.annotation.Transactional; import java.util.List; /** * 商品品牌管理Service * Created by macro on 2018/4/26. */ public interface PmsBrandService { /** * 获取所有品牌 ...
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...
22542e1fde68cf0a
csharp
22
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Amazon.Core; internal sealed class EmbedRequest { /// <summary> /// The provided input text strings for text embedding response. /// </su...
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.", ...
d1eb49397a9b3cfb
typescript
106
Solarized Light
import { Button } from "@/examples/base/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/examples/base/ui/dropdown-menu" import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from "@/examples/base/ui/...
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.", ...
f82b0b71c21f120b
java
55
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...
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.", ...