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
614213d07f2fb7c2
csharp
28
Monokai
using ScreenToGif.Model; using Xunit; namespace ScreenToGif.Test.Fact { public class ImageComparison { [Fact] public void CanCalculateDifference() { var f1 = new FrameInfo() { Path = "./Data/b1.bmp", Index = 0 }; ...
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...
49e89fb9d0c7bfa3
java
280
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...
74d6d9c2961d2958
cpp
117
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.", ...
4fc0c4b21fb43dff
go
29
Default Light+
package quqi import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { driver.RootID Phone string `json:"phone"` Password string `json:"password"` Cookie string `json:"cookie" help:"Cookie can be used on multiple clients at the same time"`...
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...
775231563b631f90
python
70
Default Light+
from .common import InfoExtractor from ..utils import ( int_or_none, try_get, urlencode_postdata, ) class BongaCamsIE(InfoExtractor): _VALID_URL = r'https?://(?P<host>(?:[^/]+\.)?bongacams\d*\.(?:com|net))/(?P<id>[^/?&#]+)' _TESTS = [{ 'url': 'https://de.bongacams.com/azumi-8', 'on...
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.", ...
629a5de7f1a6ac52
cpp
426
Solarized Light
#include "QZydis.h" #include "StringUtil.h" #include <Utils/EncodeMap.h> #include <Utils/CodeFolding.h> #include <Bridge.h> #ifndef _countof #define _countof(array) (sizeof(array) / sizeof(array[0])) #endif // _countof QZydis::QZydis(int maxModuleSize, Architecture* architecture) : mTokenizer(maxModuleSize, archi...
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"...
e4e7cc613f150419
typescript
27
Solarized Light
import { Field, FieldDescription, FieldLabel } from "@/examples/radix/ui/field" import { InputGroup, InputGroupAddon, InputGroupInput, } from "@/examples/radix/ui/input-group" import { EyeOffIcon } from "lucide-react" export function InputGroupInlineEnd() { return ( <Field className="max-w-sm"> <Fiel...
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" ...
eeebc1a488f0bfdb
javascript
132
GitHub Dark
import fs from 'fs'; import url from 'url'; import path from 'path'; import http from 'http'; let server; /** * Pipes a file to the HTTP response. * * @param {http.ServerResponse} res - The HTTP response object. * @param {string} file - The relative path to the file to be served. * @param {string} [type] - Optio...
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...
8ea00b34056aad78
javascript
65
Dracula
import QuickSort from '../QuickSort'; import { equalArr, notSortedArr, reverseArr, sortedArr, SortTester, } from '../../SortTester'; // Complexity constants. const SORTED_ARRAY_VISITING_COUNT = 190; const NOT_SORTED_ARRAY_VISITING_COUNT = 62; const REVERSE_SORTED_ARRAY_VISITING_COUNT = 190; const EQUAL_ARRAY...
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"...
277d98cde421ae75
go
71
Solarized Light
package v1 import ( "testing" "time" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) func TestSSEHub_SubscribeUnsubscribe(t *testing.T) { hub := NewSSEHub() client := hub.Subscribe() require.NotNil(t, client) require.NotNil(t, client.events) // Unsubscribe removes the client a...
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...
8a7c8fe4a611042e
typescript
182
Default Light+
import type { ExcalidrawTextElement, FontFamilyValues, } from "@excalidraw/element/types"; import { FONT_FAMILY, FONT_FAMILY_FALLBACKS } from "./constants"; /** * Encapsulates font metrics with additional font metadata. * */ export interface FontMetadata { /** for head & hhea metrics read the woff2 with https...
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" ...
ee15fefa300f8c1b
java
135
Dracula
/* Copyright (c) 2014-2023 by Contributors 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 to in writin...
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" ...
4e3c1308b5fe1416
cpp
149
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2013 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.", ...
c526a139eb83f875
csharp
31
Default Light+
using System; namespace ICSharpCode.Decompiler.Tests.TestCases.ILPretty { internal class Issue1918 { public static Guid[] NullVal; public unsafe void ProblemFunction(Guid[] A_0, int A_1) { fixed (Guid* ptr = A_0) { void* ptr2 = ptr; UIntPtr* ptr3 = (UIntPtr*)ptr2 - 1; UIntPtr uIntPtr = *ptr3...
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...
6e7297f1e81784ce
typescript
93
GitHub Dark
import { defineComponent, h, ref, watch } from 'vue'; import { randomString } from '/@/utils/common/compUtils'; import '../style/reload-effect.less'; // 修改数据特效 export default defineComponent({ props: { vNode: null, // 是否启用特效 effect: Boolean, }, emits: ['effectBegin', 'effectEnd'], setup(props, { em...
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" ...
cbe253942b2bc924
typescript
42
Solarized Light
import { Button } from "@/registry/new-york-v4/ui/button" import { ButtonGroup } from "@/registry/new-york-v4/ui/button-group" import { Kbd, KbdGroup } from "@/registry/new-york-v4/ui/kbd" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/registry/new-york-v4/ui/tooltip" export default function KbdTool...
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"...
c5cafff6c26bd8c6
csharp
35
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 ...
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"...
7c3b1b8112b0e167
cpp
251
One Dark Pro
// SPDX-License-Identifier: Apache-2.0 // File: resultiterator.h // Description: Iterator for tesseract results that is capable of // iterating in proper reading order over Bi Directional // (e.g. mixed Hebrew and English) text. // Author: David Eger // // (C) Copyright 2011, Googl...
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.", ...
284bd04cd44a91b7
rust
44
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //! Defines the structures needed for saving/restoring block devices. use serde::{Deserialize, Serialize}; use super::VhostUserBlockError; use super::device::VhostUserBlock; use crate::devices::virtio::b...
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" ...
6ff2b3f42521bc9c
cpp
469
Solarized Light
#include "PatternLanguage.h" #include <string> #include <vector> #include <fmt/format.h> #include <fmt/ranges.h> #include <wolv/utils/string.hpp> #include <pl/pattern_language.hpp> #include <pl/pattern_visitor.hpp> #include <pl/patterns/pattern.hpp> #include <pl/patterns/pattern_array_dynamic.hpp> #include <pl/patt...
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"...
9d0ee4382e012be4
typescript
20
Solarized Light
import { Button } from "@workspace/ui/components/button" export default function Page() { return ( <div className="flex min-h-svh p-6"> <div className="flex max-w-md min-w-0 flex-col gap-4 text-sm leading-loose"> <div> <h1 className="font-medium">Project ready!</h1> <p>You may n...
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" ...
823e987faa8f30c9
rust
220
Default Dark+
use data_encoding::BASE32; use rocket::serde::json::Json; use rocket::Route; use crate::{ api::{core::log_user_event, core::two_factor::_generate_recover_code, EmptyResult, JsonResult, PasswordOrOtpData}, auth::{ClientIp, Headers}, crypto, db::{ models::{EventType, TwoFactor, TwoFactorType, Use...
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.", ...
6d443f106f1e0f85
java
51
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" ...
71d81ac41d86149c
rust
316
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::haxe::HaxeConfig; use crate::formatter::StringFormatter; use crate::formatter::VersionFormatter; use serde_json as json; use regex::Regex; const HAXERC_VERSION_PATTERN: &str = "(?:[0-9a-zA-Z][-+0-9.a-zA-Z]+)"; /// Creates a module with the current Haxe ...
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...
793b65a58b3f15c1
csharp
98
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.OpenAI; using Microsoft.SemanticKernel.ChatCompletion; using OpenAI.Assistants; namespace Agents; /// <summary> /// Demonstrate <see cref="ChatCompletionAgent"...
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...
2b7754c66963da25
csharp
24
Default Light+
using NimblePros.Metronome; using NimblePros.SampleToDo.Core; using NimblePros.SampleToDo.Infrastructure; namespace NimblePros.SampleToDo.Web.Configurations; public static class ServiceConfig { public static IServiceCollection AddServiceConfigs(this IServiceCollection services, ...
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.", ...
dc7847e8ab82f675
cpp
73
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...
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.", ...
df73d16ccfa0e667
csharp
98
Monokai
using System.Diagnostics; using System.Management; using System.Net; using System.Net.NetworkInformation; using System.Net.Sockets; using Windows.Win32; using Netch.Models; namespace Netch.Utils; public static class NetworkInterfaceUtils { public static NetworkInterface GetBest(AddressFamily addressFamily = Addr...
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...
5d8f198f66912a17
csharp
114
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 generate embeddings and ingest data into an in-memory vector s...
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...
14adf97cfa5c15a1
typescript
25
One Dark Pro
import { combineLatest, Observable } from "rxjs" import { map } from "rxjs/operators" /** * Constructs a stream of a object from a collection of other observables * * @param streamObj The object containing key of observables to assemble from * * @returns The constructed object observable */ export function const...
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...
a6db9f610086f2e6
csharp
66
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel.Plugins.MsGraph.Diagnostics; namespace Microsoft.SemanticKernel.Plugins.MsGraph; /// <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.", ...
c47528ba277ae3cb
cpp
56
Dracula
/** * Copyright 2025, XGBoost Contributors */ #include "linalg_op.h" #include <cstddef> // for size_t #include "optional_weight.h" // for OptionalWeights #include "xgboost/context.h" // for Context #if !defined(XGBOOST_USE_CUDA) && !defined(XGBOOST_USE_SYCL) #include "common.h" // for AssertGPUSupport #endif ...
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...
343d2e9c42b167dd
java
47
GitHub Dark
package org.jeecg.modules.airag.app.vo; import lombok.Data; import java.io.Serializable; /** * @Description: 应用变量配置 * @Author: jeecg-boot * @Date: 2025-02-26 * @Version: V1.0 */ @Data public class AppVariableVo implements Serializable { private static final long serialVersionUID = 1L; /** * 变量名 ...
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...
739cc8ea32c7c47d
csharp
47
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Agents.OpenAI; /// <summary> /// Specifies thread creation options. /// </summary> [Experimental("SKEXP0110"...
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.", ...
94b4f249fc458dfb
cpp
73
One Dark Pro
// // Created by xiemenghui on 2018/7/20. // #ifndef DESIGNPATTERN_CONCRETE_PRODUCT_H #define DESIGNPATTERN_CONCRETE_PRODUCT_H #include "product.h" /********** Car **********/ // Benz class BenzCar : public ICar { public: string Name() { return "Benz Car"; } }; // BMW class BmwCar : public ICar ...
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.", ...
a6275b09f19a321e
java
76
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...
4f0600f5da44b1ef
csharp
331
Default Light+
// Copyright (c) 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, copy, mo...
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"...
40a81543a9ed72e3
csharp
155
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData; using Microsoft.SemanticKernel.Connectors.InMemory; using Microsoft.SemanticKernel.Data; using OpenAI; namespace Search; /// <summary> /// This example shows how to create and use a <see cref="Vect...
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...
9c3fc85edfe886bd
typescript
159
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Checkbox } from "@/examples/radix/ui/checkbox" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, } from "@/examples/radix/ui/field" import { Input } from "@/examples/radix/ui/input" import { Selec...
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...
2dc5efe7a1a40078
csharp
35
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 ...
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"...
ef536aba3eaa2bac
csharp
207
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using ChannelQueue = System.Collections.Generic.Queue<System.Collections.Generic.IReadOnlyList<Microsoft.SemanticKernel.ChatMessa...
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" ...
3faa189d74ae7b60
rust
57
One Dark Pro
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::net::Ipv4Addr; /// Checks if an IPv4 address is RFC 3927 compliant. pub fn is_link_local_valid(ipv4_addr: Ipv4Addr) -> bool { match ipv4_addr.octets() { [169, 254, 0, _] => false, ...
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...
32fccff776d88502
csharp
121
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" ...
cf1d4df5e910e703
typescript
92
Solarized Light
"use client" import * as React from "react" import { Button } from "@/registry/new-york-v4/ui/button" import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from "@/registry/new-york-v4/ui/command" import { Popover, PopoverContent, PopoverTrigger, } from "@/registry/...
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...
51732013b177da71
csharp
72
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading.Tasks; using Microsoft.SemanticKernel; namespace SemanticKernel.Process.IntegrationTests; #pragma warning disable CS1591 // Missing XML comment for publicly visible type or 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...
7815cb61745d4f30
csharp
68
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...
6e27ae31d6a9f651
java
253
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.", ...
a217570d750b581a
java
215
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.", ...
82afcb058205ee3a
typescript
30
GitHub Dark
/** * @description: Exception related enumeration */ export enum ExceptionEnum { // page not access PAGE_NOT_ACCESS = 403, // page not found PAGE_NOT_FOUND = 404, // error ERROR = 500, // net work error NET_WORK_ERROR = 10000, // No data on the page. In fact, it is not an exception page PAGE_N...
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.", ...
e48f37be5ac344bc
typescript
41
Solarized Light
import { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from "@/registry/new-york-v4/ui/pagination" export function PaginationDemo() { return ( <div className="flex flex-col gap-6"> <Pagination> <PaginationConte...
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"...
34fed4a685145ec0
go
75
Default Light+
package misskey import ( "context" "strings" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" ) type Misskey struct { model.Storage Addition } func (d *Misskey) Config() driver.Config { return config } func (d *Miss...
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" ...
cb79fecff61f2a77
csharp
329
Dracula
using CalculatorApp.ViewModel.Common; using GraphControl; using System.Collections.Generic; using Windows.UI; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Media; // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 namespace CalculatorApp...
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"...
98ca4fe5f6eab365
python
230
Solarized Light
import os import json import time import requests from dotenv import load_dotenv from serpapi.google_search import GoogleSearch # ANSI color codes class Colors: CYAN = '\033[96m' YELLOW = '\033[93m' GREEN = '\033[92m' RED = '\033[91m' MAGENTA = '\033[95m' BLUE = '\033[94m' RESET = '\033[0m'...
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...
2cf31bbda041fdf6
cpp
69
Default Light+
/* Copyright © 2023-2024 Apple Inc. */ /* */ /* This file is auto-generated. Do not edit manually. */ /* */ #ifndef MLX_TRANSFORMS_H #define MLX_TRANSFORMS_H #include <stdbool.h> #include <stdint.h>...
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...
ef98dc1e5721bf8f
cpp
407
Solarized Light
#include "MainWindow.h" #include "./ui_MainWindow.h" #include <QDebug> #include <QMessageBox> #include <QVBoxLayout> #include <QSplitter> #include <QHBoxLayout> #include <QFileDialog> #include <QCheckBox> #include <QSpacerItem> #include <cinttypes> MainWindow::MainWindow(QWidget* parent) : QMainWindow(parent) ...
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...
a5c7b3cda0634760
java
344
Default Dark+
package org.schabi.newpipe.fragments; import static android.widget.RelativeLayout.ABOVE; import static android.widget.RelativeLayout.ALIGN_PARENT_BOTTOM; import static android.widget.RelativeLayout.ALIGN_PARENT_TOP; import static android.widget.RelativeLayout.BELOW; import static com.google.android.material.tabs.TabLa...
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...
db957ce7c84fbd3c
cpp
106
One Dark Pro
#include "backend-dispatched.h" #include "backend-virgl-apir.h" #include "ggml-backend-impl.h" #include "ggml-backend.h" #include "ggml-impl.h" #include <cstdint> uint32_t backend_buffer_type_get_name(apir_encoder * enc, apir_decoder * dec, virgl_apir_context * ctx) { GGML_UNUSED(ctx); ggml_backend_buffer_typ...
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"...
24329c35f6113742
typescript
425
One Dark Pro
import { Anthropic, ApiPath } from "@/app/constant"; import { ChatOptions, getHeaders, LLMApi, SpeechOptions } from "../api"; import { useAccessStore, useAppConfig, useChatStore, usePluginStore, ChatMessageTool, } from "@/app/store"; import { getClientConfig } from "@/app/config/client"; import { ANTHROPIC_BA...
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...
e1982b9795b9c52b
cpp
22
Solarized Light
// Determine endian and pointer size based on known defines. // TS_BIG_ENDIAN and TS_PTR_SIZE can be set as -D compiler arguments // to override this. #if !defined(TS_BIG_ENDIAN) #if (defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__) \ || (defined( __APPLE_CC__) && (defined(__ppc__) || defined(__pp...
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...
31c4c69f71774ef0
typescript
44
One Dark Pro
import { TransportType } from '@nestjs-modules/mailer/dist/interfaces/mailer-options.interface'; import { MAILER_SMTP_PASSWORD_UNDEFINED, MAILER_SMTP_URL_UNDEFINED, MAILER_SMTP_USER_UNDEFINED, } from 'src/errors'; import { throwErr } from 'src/utils'; function isSMTPCustomConfigsEnabled(value) { return value =...
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"...
a12896f8e5d522c6
javascript
113
Default Dark+
const { MonitorType } = require("./monitor-type"); const { execFile } = require("child_process"); const process = require("process"); const { UP } = require("../../src/util"); class SystemServiceMonitorType extends MonitorType { name = "system-service"; description = "Checks if a system service is running (sys...
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...
b016eade0abcf944
typescript
45
Solarized Light
import { AppSidebar } from "@/registry/bases/base/blocks/sidebar-12/components/app-sidebar" import { Breadcrumb, BreadcrumbItem, BreadcrumbList, BreadcrumbPage, } from "@/registry/bases/base/ui/breadcrumb" import { Separator } from "@/registry/bases/base/ui/separator" import { SidebarInset, SidebarProvider,...
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...
109b5b96b8595561
java
39
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...
0162e9ce1361339e
python
105
Default Light+
from .common import InfoExtractor from ..utils import ( determine_ext, float_or_none, int_or_none, parse_age_limit, qualities, random_birthday, unified_timestamp, urljoin, ) class VideoPressIE(InfoExtractor): _ID_REGEX = r'[\da-zA-Z]{8}' _PATH_REGEX = r'video(?:\.word)?press\.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.", ...
2fc74e148cce29cb
python
40
Dracula
import time from collections.abc import Callable from fastapi import APIRouter, FastAPI, Request, Response from fastapi.routing import APIRoute class TimedRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler...
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...
cc13975af9b6c651
python
106
Solarized Light
""" Numerical integration or quadrature for a smooth function f with known values at x_i """ def trapezoidal_rule(boundary, steps): """ Implements the extended trapezoidal rule for numerical integration. The function f(x) is provided below. :param boundary: List containing the lower and upper bounds ...
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...
865d423b88fee2c5
csharp
25
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json.Serialization; namespace ContentSafety.Services.PromptShield; /// <summary> /// Flags potential vulnerabilities within user prompt and documents. /// More information here: https://learn.microsoft.com/en-us/azure/ai-services/content-safety/quic...
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...
62f2685b8293be1d
java
74
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...
9cbc707ee928454c
python
54
Solarized Light
""" Project Euler Problem 493: https://projecteuler.net/problem=493 70 coloured balls are placed in an urn, 10 for each of the seven rainbow colours. What is the expected number of distinct colours in 20 randomly picked balls? Give your answer with nine digits after the decimal point (a.bcdefghij). ----- This combin...
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...
39b3e28e2202e430
typescript
74
One Dark Pro
import { toast as sonner } from "@hoppscotch/ui" import { markRaw } from "vue" import WhatsNewDialog from "~/components/app/WhatsNewDialog.vue" import { getService } from "~/modules/dioc" import { PersistenceService } from "~/services/persistence" import { version as hoppscotchCommonPkgVersion } from "./../../package.j...
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.", ...
4074d47a0d44d16e
typescript
201
Solarized Light
import * as React from "react" import { cn } from "@/examples/base/lib/utils" import { Separator } from "@/examples/base/ui-rtl/separator" import { mergeProps } from "@base-ui/react/merge-props" import { useRender } from "@base-ui/react/use-render" import { cva, type VariantProps } from "class-variance-authority" func...
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...
dcdb6c6fa98959f6
typescript
186
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { SettingScope, isLoadableSettingScope, type LoadableSettingScope, type LoadedSettings, } from '../config/settings.js'; export interface ModifiedScope { scope: SettingScope; path: string; } export type FeatureA...
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...
8b052b6fbf629eca
java
73
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" ...
3575c5241f9fdc5d
go
202
Default Light+
// Package syncs provides synchronization primitives. package syncs import ( "cmp" "io" "sync" ) var closedChan = func() chan struct{} { ch := make(chan struct{}) close(ch) return ch }() // Ticket represents a ticket in a sequence of tickets. The zero value is // invalid. Use [Line.Take] to get a valid ticket....
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...
3f0b3ec7e0a2aa67
go
70
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...
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...
d06a1aa8e6deb9b0
python
104
Default Light+
from .common import InfoExtractor from ..utils import ( determine_ext, int_or_none, url_or_none, ) class RENTVIE(InfoExtractor): _WORKING = False _VALID_URL = r'(?:rentv:|https?://(?:www\.)?ren\.tv/(?:player|video/epizod)/)(?P<id>\d+)' _TESTS = [{ 'url': 'http://ren.tv/video/epizod/118...
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...
b2b2e001ea66c81e
python
86
Monokai
# Copyright (c) Microsoft. All rights reserved. from enum import Enum from pydantic import Field from samples.getting_started_with_processes.step03.models.food_ingredients import FoodIngredients from semantic_kernel.functions import kernel_function from semantic_kernel.kernel_pydantic import KernelBaseModel from sem...
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...
3b56959b3e96d5ed
typescript
134
Default Light+
const MERMAID_SYNTAX_ERROR_LINE = /(?:Parse|Lexical) error on line (\d+)[.:]/i; const MERMAID_INACTIVE_PARTICIPANT_ERROR = /Trying to inactivate an inactive participant \((.+)\)/i; const MERMAID_CARET_LINE = /^\s*-+\^\s*$/; export const isMermaidParseSyntaxError = (message: string) => MERMAID_SYNTAX_ERROR_LINE.tes...
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...
b7ed10d933050f92
cpp
116
Solarized Light
#pragma once #include <QDialog> #include "QHexEdit/QHexEdit.h" #include "Bridge.h" namespace Ui { class HexEditDialog; } class HexEditDialog : public QDialog { Q_OBJECT public: explicit HexEditDialog(QWidget* parent = nullptr); ~HexEditDialog(); void showKeepSize(bool show); void setupFindM...
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...
b9aa83976f932eaa
typescript
213
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { useState } from 'react'; import { Box, Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { editorSettingsManager, type EditorDisplay, } from '../editors/editorSett...
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...
ebee3f5a4f784c51
csharp
183
Monokai
using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Data; using System.Windows.Media; namespace Translator.Util; public static class DataGridHelper { public static Data...
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...
8636e908de889747
typescript
127
One Dark Pro
/** * HTTP Status Code Reason Phrases * * Standard HTTP status codes and their corresponding reason phrases * as defined in RFC 7231 and related specifications. * * @see https://tools.ietf.org/html/rfc7231#section-6 * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status */ export const HTTP_STATUS_REAS...
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...
0a3b47fa8b1d4796
go
146
Default Light+
package task import ( "github.com/alist-org/alist/v3/pkg/generic_sync" "github.com/alist-org/alist/v3/pkg/utils" "github.com/pkg/errors" log "github.com/sirupsen/logrus" ) type Manager[K comparable] struct { curID K workerC chan struct{} updateID func(*K) tasks generic_sync.MapOf[K, *Task[K]] } func (...
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.", ...
52d9f272e57de48c
typescript
385
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs/promises'; import * as fsSync from 'node:fs'; import * as dotenv from 'dotenv'; import * as path from 'node:path'; import { ExtensionStorage } from './storage.js'; import type { ExtensionConfig } from ...
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...
bd88f92e76d330f3
csharp
50
Default Light+
/* Copyright (c) 2019 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, publish, distr...
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...
224d066a54e9aca7
typescript
267
Default Light+
import { useRef } from "react"; import type { NonDeletedExcalidrawElement } from "@excalidraw/element/types"; import { useAtom, useAtomValue } from "../../editor-jotai"; import { useApp, useExcalidrawSetAppState } from "../App"; import { useChatAgent } from "./Chat"; import { convertMermaidToExcalidraw, insert...
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...
55d85af4ee688143
go
61
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...
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" ...
72643acdf9b132fb
csharp
75
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...
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...
9a56d95501c82fdc
cpp
175
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2013 Nils Maier * * 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 License, or ...
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" ...
3ddcdcf5e7047265
csharp
27
Monokai
using ScreenToGif.Domain.Enums; namespace ScreenToGif.ViewModel.ExportPresets.Video.Codecs; /// <summary> /// https://trac.ffmpeg.org/wiki/Encode/MPEG-4 /// </summary> public class Mpeg4 : VideoCodec { public Mpeg4() { Type = VideoCodecs.Mpeg4; Name = "MPEG-4"; Command = "mpeg4"; ...
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.", ...
09c08ca756c4c316
cpp
33
Solarized Light
#ifndef _SCRIPTAPI_MEMORY_H #define _SCRIPTAPI_MEMORY_H #include "_scriptapi.h" namespace Script { namespace Memory { SCRIPT_EXPORT bool Read(duint addr, void* data, duint size, duint* sizeRead); SCRIPT_EXPORT bool Write(duint addr, const void* data, duint size, duint* sizeWritten); SC...
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...
3504483ba5d2d769
java
51
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...
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...
616429aedb22224a
typescript
94
Default Dark+
import clsx from 'clsx'; import React, { Fragment } from 'react'; import { Menu, Transition } from '@headlessui/react'; import { ChevronDownIcon } from '@heroicons/react/24/solid'; import DropdownMenuItem from './DropdownMenuItem'; export type DropdownMenuAlignment = 'end' | 'start'; export type DropdownMenuSize = 'l...
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"...
2738c516aeacc8be
javascript
61
Default Dark+
const { UP, DOWN } = require("../../src/util"); const Crypto = require("crypto"); const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class NextcloudTalk extends NotificationProvider { name = "nextcloudtalk"; /** * @inheritdoc */ async send(notificat...
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"...
346ed28ee6e31aa4
csharp
144
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json.Nodes; using Microsoft.SemanticKernel.Plugins.OpenApi; using Xunit; namespace SemanticKernel.Functions.UnitTests.OpenApi.Serialization; public class ArrayParameterSerializerTests { [Fact] public void ItShouldCreateParamete...
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" ...
4d44d3e9a3330fba
java
344
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; import java.util.Date; public class OmsOrderReturnApply implements Serializable { private Long id; @ApiModelProperty(value = "订单id") private Long orderId; @ApiModel...
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...
8094f93de28648ad
typescript
58
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { describe, it, expect, vi, beforeEach, type Mock } from 'vitest'; import { act } from 'react'; import { CloudPaidPrivacyNotice } from './CloudPaidPrivacyNotice.js'; 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" ...
611fcb4e1f4062c8
csharp
77
Default Light+
// Copyright (c) 2020 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...
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...
ecc969055b0f47a9
java
49
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...
e81a16c2281b5611
cpp
67
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...
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" ...