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
fce7c66a41398974
cpp
24
Solarized Light
#pragma once #include <QObject> #include <Imports.h> class MemoryPage : public QObject { Q_OBJECT public: explicit MemoryPage(duint parBase, duint parSize, QObject* parent = nullptr); virtual bool read(void* parDest, dsint parRVA, duint parSize) const; virtual bool write(const void* parDest, dsint pa...
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...
249e583e81fd4a0a
python
102
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from typing import Annotated from azure.identity import AzureCliCredential from semantic_kernel.agents import AgentRegistry, AzureResponsesAgent from semantic_kernel.functions import kernel_function """ The following sample demonstrates how to...
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...
325571a38c08231a
typescript
65
One Dark Pro
import { defineVersion } from "verzod" import { z } from "zod" import { HoppGQLAuthBasic, HoppGQLAuthBearer, HoppGQLAuthInherit, HoppGQLAuthNone, } from "./2" import { HoppGQLAuthAPIKey } from "./4" import { HoppGQLAuthAWSSignature } from "./6" import { HoppRESTAuthOAuth2 } from "../../rest/v/11/auth" import {...
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...
9c8d055859ff3f87
java
91
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...
4ca254b143c89c5a
cpp
34
One Dark Pro
#if defined(OS_MACOS) #include <stdexcept> #include <hex/helpers/logger.hpp> #include <hex/helpers/utils_macos.hpp> #include "messaging.hpp" namespace hex::messaging { void sendToOtherInstance(const std::string &eventName, const std::vector<u8> &args) { log::debug("Sending event {} to another instance ...
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" ...
b42d94a5eaf23f4d
java
477
Monokai
package com.termux.shared.activities; import androidx.annotation.NonNull; import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.widget.Toolbar; import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.RecyclerView; 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" ...
19e9fb12c3bafcf6
java
71
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...
7aa84bfe4da101a2
rust
148
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::v::VConfig; use crate::formatter::{StringFormatter, VersionFormatter}; /// Creates a module with the current V version pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let mut module = context.new_module("vlang"); let config = VCon...
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...
6e90d098839c9207
typescript
23
Solarized Light
import { cn } from "@/examples/base/lib/utils" function AspectRatio({ ratio, className, ...props }: React.ComponentProps<"div"> & { ratio: number }) { return ( <div data-slot="aspect-ratio" style={ { "--ratio": ratio, } as React.CSSProperties } className={c...
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...
15004b4dbec2b67a
java
101
Default Light+
package com.thealgorithms.dynamicprogramming; /** * A DynamicProgramming based solution for Edit Distance problem In Java * Description of Edit Distance with an Example: * * <p> * Edit distance is a way of quantifying how dissimilar two strings (e.g., * words) are to one another, by counting the minimum number o...
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"...
67a6b583ed52f37b
csharp
53
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
afdc12db3a8a0873
cpp
58
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...
9c6f60c3e013d728
csharp
106
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...
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.", ...
f3f97df252bfa78a
csharp
79
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Agents.Runtime.InProcess; internal sealed class MessageEnvelope { public object Message { get; } public string MessageId { get; } public TopicId? Topic ...
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...
d13976e2bb7ccf5b
python
45
Dracula
"""Helpers for test code.""" from typing import Any, Literal, Sequence, TypeAlias import numpy as np from ..compat import _is_cupy_alike, import_cupy from ..core import DMatrix Device: TypeAlias = Literal["cpu", "cuda"] def assert_allclose( device: Device, a: Any, b: Any, *, rtol: float = 1e-7, atol: float = ...
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"...
550b2a54b47a10c1
csharp
73
Monokai
using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace System.Yaml { internal class AnchorDictionary { Dictionary<string, YamlNode> Items = new Dictionary<string, YamlNode>(); struct RewindInfo { public RewindInfo(string anchor_name...
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...
0bb3286a77270d6c
go
306
Default Light+
package cloudreve_v4 import ( "context" "errors" "net/http" "strconv" "strings" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/int...
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...
deb65da2b6931b9d
go
51
One Dark Pro
package config import ( "log" "os" "strconv" ) const ( DefaultPort = 3200 DefaultFrontendPath = "/site/selfhost-web" DevFrontendPath = "../dist" ) type Config struct { Port int FrontendPath string } // Load reads config from env vars with sensible defaults func Load() *Config { cfg := &...
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...
0443aa7d0479792d
java
149
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...
542768b4611f2ead
java
61
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...
00b2ad25bce9f216
cpp
72
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" ...
bf08cc0334f57d0b
csharp
148
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.ML.Tokenizers; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; namespace ChatCompletion; /// <summary> /// Extension methods for <see cref="ChatHistory"/>."/> /// </summary> internal static class ChatHistoryExtensions { ...
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"...
6abb8b2214c5a00f
python
27
Dracula
from collections.abc import AsyncIterable from fastapi import FastAPI from fastapi.sse import EventSourceResponse, ServerSentEvent from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str price: float items = [ Item(name="Plumbus", price=32.99), Item(name="Portal Gun", price...
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"...
b57e37f310aad82f
java
46
Dracula
package com.macro.mall.service.impl; import com.macro.mall.mapper.UmsResourceCategoryMapper; import com.macro.mall.model.UmsResourceCategory; import com.macro.mall.model.UmsResourceCategoryExample; import com.macro.mall.service.UmsResourceCategoryService; import org.springframework.beans.factory.annotation.Autowired; ...
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"...
d444f1b15a57785e
javascript
32
GitHub Dark
'use strict'; import AxiosError from './AxiosError.js'; /** * Resolve or reject a Promise based on response status. * * @param {Function} resolve A function that resolves the promise. * @param {Function} reject A function that rejects the promise. * @param {object} response The response. * * @returns {object} ...
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...
bc0041ead6764841
java
77
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" ...
5f744445f23d9729
cpp
88
One Dark Pro
#include "whisper.h" #include <emscripten.h> #include <emscripten/bind.h> #include <cmath> #include <string> #include <thread> #include <vector> constexpr int N_THREAD = 8; // TODO: get rid of this vector of contexts - bad idea in the first place std::vector<struct whisper_context *> g_contexts(4, nullptr); std::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" ...
4087f7887ab59230
csharp
121
Default Light+
// Copyright (c) 2016 Daniel Grunwald // // 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, // publi...
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...
e19f2a745c4d572a
java
107
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" ...
88a0a9ead44728df
csharp
49
Monokai
using Netch.Interfaces; using Netch.Models; namespace Netch.Servers; public class VLESSUtil : IServerUtil { public ushort Priority { get; } = 2; public string TypeName { get; } = "VLESS"; public string FullName { get; } = "VLESS"; public string ShortName { get; } = "VL"; public string[] UriSch...
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"...
1f40a08c2857ead9
cpp
44
Solarized Dark
#ifndef OPENPOSE_POSE_POSE_GPU_RENDERER_HPP #define OPENPOSE_POSE_POSE_GPU_RENDERER_HPP #include <openpose/core/common.hpp> #include <openpose/core/gpuRenderer.hpp> #include <openpose/pose/enumClasses.hpp> #include <openpose/pose/poseExtractorNet.hpp> #include <openpose/pose/poseParameters.hpp> #include <openpose/pose...
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.", ...
9b563e5deff09010
rust
20
Default Dark+
use serde::{Deserialize, Serialize}; #[derive(Debug, Serialize, Deserialize, Clone)] pub struct RealtimeAPIError { /// The type of error (e.g., "invalid_request_error", "server_error"). pub r#type: String, /// Error code, if any. pub code: Option<String>, /// A human-readable error message. p...
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" ...
f7a1eaae14252dd0
go
260
Solarized Dark
// Copyright 2016 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...
e93a5b633e6f8aa3
javascript
484
Dracula
'use strict'; const fs = require('fs'); const os = require('os'); const path = require('path'); const SESSION_SCHEMA_VERSION = 'ecc.session.v1'; const SESSION_RECORDING_SCHEMA_VERSION = 'ecc.session.recording.v1'; const DEFAULT_RECORDING_DIR = path.join(os.tmpdir(), 'ecc-session-recordings'); function isObject(value...
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...
a6544312478735a8
csharp
36
Dracula
using System; using System.IO; using System.IO.Compression; using System.Text; namespace CalculatorApp { internal static class DeflateUtils { public static byte[] Compress(string text) { var data = Encoding.UTF8.GetBytes(text); using (var compressed = new MemoryStream())...
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...
f3bffb2edc15d663
python
47
Solarized Light
""" Base32 encoding and decoding https://en.wikipedia.org/wiki/Base32 """ B32_CHARSET = "ABCDEFGHIJKLMNOPQRSTUVWXYZ234567" def base32_encode(data: bytes) -> bytes: """ >>> base32_encode(b"Hello World!") b'JBSWY3DPEBLW64TMMQQQ====' >>> base32_encode(b"123456") b'GEZDGNBVGY======' >>> base32_e...
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...
00b247b22a7bf322
python
66
Dracula
from collections.abc import AsyncIterable, Iterable from fastapi import FastAPI from fastapi.responses import StreamingResponse app = FastAPI() message = """ Rick: (stumbles in drunkenly, and turns on the lights) Morty! You gotta come on. You got--... you gotta come with me. Morty: (rubs his eyes) What, Rick? What'...
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...
19cedf66b9caa5a6
typescript
301
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs'; import { debugLogger, enableKittyKeyboardProtocol, disableKittyKeyboardProtocol, enableModifyOtherKeys, disableModifyOtherKeys, enableBracketedPasteMode, disableBracketedPasteMode, } fro...
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"...
a185dc9681836988
python
233
Solarized Light
""" Pure Python implementations of a Fixed Priority Queue and an Element Priority Queue using Python lists. """ class OverFlowError(Exception): pass class UnderFlowError(Exception): pass class FixedPriorityQueue: """ Tasks can be added to a Priority Queue at any time and in any order but when Task...
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...
c6c7adf3aae2f20f
javascript
61
Dracula
import ShellSort from '../ShellSort'; import { equalArr, notSortedArr, reverseArr, sortedArr, SortTester, } from '../../SortTester'; // Complexity constants. const SORTED_ARRAY_VISITING_COUNT = 320; const NOT_SORTED_ARRAY_VISITING_COUNT = 320; const REVERSE_SORTED_ARRAY_VISITING_COUNT = 320; const EQUAL_ARRA...
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...
0ea25bbcf30e5f39
rust
117
Solarized Dark
use super::CoreManager; use crate::{ config::{Config, ConfigType, runtime::IRuntime}, constants::timing, core::{handle, validate::CoreConfigValidator}, utils::{dirs, help}, }; use anyhow::{Result, anyhow}; use clash_verge_logging::{Type, logging}; use smartstring::alias::String; use std::{collections::H...
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"...
620f6b08e7bb7cf5
cpp
159
One Dark Pro
// SPDX-License-Identifier: Apache-2.0 /********************************************************************** * File: ocrclass.h * Description: Class definitions and constants for the OCR API. * Author: Hewlett-Packard Co * * (C) Copyright 1996, Hewlett-Packard Co. ** Licensed under the Apache Licens...
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...
67354891d0beb50c
rust
123
Solarized Dark
use super::{Context, Module, ModuleConfig}; use super::utils::directory::truncate; use crate::configs::conda::CondaConfig; use crate::formatter::StringFormatter; /// Creates a module with the current Conda environment /// /// Will display the Conda environment iff `$CONDA_DEFAULT_ENV` is set. pub fn module<'a>(contex...
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.", ...
5deb441018e34cda
javascript
189
Default Dark+
// @ts-check import { renderTopLanguages } from "../src/cards/top-languages.js"; import { guardAccess } from "../src/common/access.js"; import { CACHE_TTL, resolveCacheSeconds, setCacheHeaders, setErrorCacheHeaders, } from "../src/common/cache.js"; import { MissingParamError, retrieveSecondaryMessage, } fr...
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"...
a5fbd281c5ea226b
typescript
66
Dracula
import * as pathe from 'pathe' import { isWindows } from '../shared/utils' export const decodeBase64: typeof atob = typeof atob !== 'undefined' ? atob : (str: string) => Buffer.from(str, 'base64').toString('utf-8') const CHAR_FORWARD_SLASH = 47 const CHAR_BACKWARD_SLASH = 92 const percentRegEx = /%/g const...
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...
5259d96ae8d8d7b6
typescript
33
GitHub Dark
import { registerComponent, registerAsyncComponent, registerASyncComponentReal } from '/@/components/jeecg/JVxeTable'; import { JVxeTypes } from '/@/components/jeecg/JVxeTable/types'; import { DictSearchSpanCell, DictSearchInputCell } from './src/components/JVxeSelectDictSearchCell'; import { createAsyncComponent } fro...
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" ...
de40ca930b3a0b89
go
36
Solarized Dark
// Copyright 2016 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...
6020b5253c43a116
rust
421
Solarized Light
use crate::document::model::*; use crate::document::providers::DocumentProvider; use cfb::CompoundFile; use std::error::Error; use std::io::Cursor; use std::io::Read; pub struct DocProvider; impl DocProvider { pub fn new() -> Self { Self } } impl DocumentProvider for DocProvider { fn parse_buffer(&self, da...
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" ...
d6a3a43b034ac121
java
34
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...
6efd3592d8bf2f36
cpp
348
One Dark Pro
#include <hex.hpp> #include <hex/plugin.hpp> #include <hex/api/content_registry/pattern_language.hpp> #include <pl/core/evaluator.hpp> #include <pl/patterns/pattern.hpp> #include <wolv/utils/guards.hpp> #include <vector> #include <optional> #if IMHEX_FEATURE_ENABLED(ZLIB) #include <zlib.h> #endif #if IMHEX_FEAT...
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.", ...
9be60fc65a8c8ab8
go
245
Default Light+
package google_drive import ( "context" "crypto/x509" "encoding/pem" "fmt" "net/http" "os" "regexp" "strconv" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/http_range" ...
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...
57d192f316385b40
cpp
82
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" ...
79cc20d05ce4a19d
python
461
Monokai
# Copyright (c) Microsoft. All rights reserved. import re from typing import Any, Final from urllib.parse import ParseResult, ParseResultBytes, urlencode, urljoin, urlparse, urlunparse from semantic_kernel.connectors.openapi_plugin.models.rest_api_expected_response import ( RestApiExpectedResponse, ) from semanti...
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...
a707dd5bb621bec7
python
142
Default Light+
import uuid from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, int_or_none, join_nonempty, qualities, ) class LEGOIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?lego\.com/(?P<locale>[a-z]{2}-[a-z]{2})/(?:[^/]+/)*videos/(?:[^...
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...
c23225fa149871a7
java
41
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...
860333fd00bb22ae
java
131
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...
a4de839379f5ba84
cpp
176
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "Header Files/CalcEngine.h" using namespace CalcEngine; using namespace CalcEngine::RationalMath; // Routines to perform standard operations &|^~<<>>+-/*% and pwr. CalcEngine::Rational CCalcEngine::DoOperation(in...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
e3bc080e5ac4f043
csharp
51
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"...
01ab08fde6e76682
cpp
135
Solarized Light
#pragma once #include "HexDump.h" //forward declaration class CPUMultiDump; class CPUDisassembly; class GotoDialog; class CommonActions; class CPUDump : public HexDump { Q_OBJECT public: explicit CPUDump(CPUMultiDump* multiDump, CPUDisassembly* disasassembly, QWidget* parent = nullptr); void getColumnRic...
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"...
868f9df8edc0b9e9
typescript
83
Solarized Light
import "@github/relative-time-element"; import { QueryClientProvider } from "@tanstack/react-query"; import { ReactQueryDevtools } from "@tanstack/react-query-devtools"; import React, { useEffect, useRef } from "react"; import { createRoot } from "react-dom/client"; import { Toaster } from "react-hot-toast"; import { R...
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...
aa3e82a653283a5d
java
36
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...
18e8bccc4e004b2f
csharp
52
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...
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.", ...
0abdd8fedb5a1126
csharp
102
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Connectors.OpenAI; /// <summary> /// Defines the purpose associated with the uploaded file: /// https://platform.openai.com/docs/api-reference/files/object#files/object-purpose //...
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"...
964cea7969b9823c
python
130
Solarized Light
"""Conway's Game Of Life, Author Anurag Kumar(mailto:anuragkumarak95@gmail.com) Requirements: - numpy - random - time - matplotlib Python: - 3.5 Usage: - $python3 game_of_life <canvas_size:int> Game-Of-Life Rules: 1. Any live cell with fewer than two live neighbours dies, as if caused by under-popul...
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...
b61dc749f148cd31
csharp
126
Default Light+
using FastEndpoints; using FluentValidation; using MinimalClean.Architecture.Web.ProductFeatures; namespace MinimalClean.Architecture.Web.ProductFeatures.List; public sealed class ListProductsRequest { [BindFrom("page")] public int Page { get; init; } = 1; [BindFrom("per_page")] public int PerPage { get; ini...
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...
45272adcd33145dd
csharp
92
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...
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...
0fbc7c459d0f36cd
go
48
Default Light+
//go:build !tcell && !windows package tui const ( Bold = Attr(1) Dim = Attr(1 << 1) Italic = Attr(1 << 2) Underline = Attr(1 << 3) Blink = Attr(1 << 4) Blink2 = Attr(1 << 5) Reverse = Attr(1 << 6) StrikeThrough = Attr(1 << 7) ) func HasFullscreenRenderer() b...
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...
026168090aa0c039
java
93
Default Light+
package com.thealgorithms.strings; import java.util.HashSet; import java.util.Set; /** * An isogram (also called heterogram or nonpattern word) is a word in which no * letter of the word occurs more than once. Each character appears exactly * once. * * For example, the word "uncopyrightable" is the longest commo...
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...
1a0181daf8b4da66
rust
113
Solarized Dark
use super::{Context, Module, ModuleConfig}; use crate::configs::crystal::CrystalConfig; use crate::formatter::StringFormatter; use crate::formatter::VersionFormatter; /// Creates a module with the current Crystal version pub fn module<'a>(context: &'a Context) -> Option<Module<'a>> { let mut module = context.new_...
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"...
7cfa0b73d57409eb
java
108
GitHub Dark
package org.jeecg.modules.cas.util; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.security.cert.X509Certificate; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManager; import javax.net.ssl.X509TrustManager; import org.apache.http.HttpResponse; i...
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...
7b1f390e1b57826c
cpp
32
Dracula
/*! * Copyright by Contributors 2017-2025 */ #include <sycl/sycl.hpp> #include "../../../src/common/optional_weight.h" #include "../device_manager.h" namespace xgboost::common::sycl_impl { double SumOptionalWeights(Context const* ctx, OptionalWeights const& weights) { sycl::DeviceManager device_manager; auto* ...
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...
f1ab12a193aa47f7
csharp
70
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
970c3cbeefb8ed05
java
165
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...
a2fb152b7cf4b690
cpp
42
Dracula
/** * Copyright 2024, XGBoost Contributors * * @brief Macro for Windows. */ #pragma once #if !defined(xgboost_IS_WIN) #if defined(_MSC_VER) || defined(__MINGW32__) #define xgboost_IS_WIN 1 #endif // defined(_MSC_VER) || defined(__MINGW32__) #endif // !defined(xgboost_IS_WIN) #if defined(xgboost_IS_WIN) #if !...
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"...
592472d1fbdc90bb
java
185
Default Light+
package com.thealgorithms.divideandconquer; import java.util.ArrayList; import java.util.Comparator; /** * @author dimgrichr * <p> * Space complexity: O(n) Time complexity: O(nlogn), because it is a divide and * conquer algorithm */ public class SkylineAlgorithm { private ArrayList<Point> points; /** ...
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" ...
1083636ac3a542b9
typescript
109
Solarized Light
import { existsSync, promises as fs } from "fs" import path from "path" import { registryItemEnvVarsSchema } from "@/src/schema" import { findExistingEnvFile, getNewEnvKeys, mergeEnvContent, } from "@/src/utils/env-helpers" import { Config } from "@/src/utils/get-config" import { highlighter } from "@/src/utils/h...
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...
480f96ae77fddacd
go
418
Default Light+
// Package registry implements an http.Handler for handling local Ollama API // model management requests. See [Local] for details. package registry import ( "cmp" "context" "encoding/json" "errors" "fmt" "io" "log/slog" "net/http" "slices" "strings" "sync" "time" "github.com/ollama/ollama/server/interna...
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...
ec0aa9b9572a1e81
csharp
157
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Net.Http; using System.Runtime.CompilerServices; using System.Text; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel....
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...
9e681436f0f19773
go
143
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
d5310f202bf18fa3
java
103
GitHub Dark
package org.jeecg.modules.openapi.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.base.controller...
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...
4c76add558b6667e
typescript
87
Solarized Light
import { cn } from "@/examples/base/lib/utils" import { Separator } from "@/examples/base/ui/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" const buttonGroupVariants = cva( "fle...
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...
14a5d6a7c6280137
rust
363
Default Dark+
use derive_more::{AsRef, From}; use serde::Deserialize; use serde_json::Value; use crate::api::core::two_factor; use crate::api::EmptyResult; use crate::db::schema::{org_policies, users_organizations}; use crate::db::DbConn; use crate::error::MapResult; use crate::CONFIG; use diesel::prelude::*; use super::{Membershi...
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" ...
2aeeedc8e4f30973
javascript
65
Default Dark+
const { getMonitorRelativeURL } = require("../../src/util"); const { setting } = require("../util-server"); const { UP } = require("../../src/util"); const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class Pushover extends NotificationProvider { name = "pushover"; ...
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" ...
1be53fbddc1697ad
java
35
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...
71ad9fcc36ec7326
csharp
54
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.OpenAI; using OpenAI.Chat; namespace ChatCompletion; /// <summary> /// These examples demonstrate how to do web search with OpenAI Chat Completion /// </summary> /// <remarks> //...
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...
9dfc4939b3c598a6
python
68
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from re import compile from typing import TYPE_CHECKING, Any, ClassVar from pydantic import model_validator from semantic_kernel.exceptions import FunctionIdBlockSyntaxError from semantic_kernel.template_engine.blocks.block import Block from semantic_ker...
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"...
4357b91ff0472439
typescript
393
One Dark Pro
import { HttpStatus, Injectable } from '@nestjs/common'; import { MailerService } from 'src/mailer/mailer.service'; import { PrismaService } from 'src/prisma/prisma.service'; import { UserService } from 'src/user/user.service'; import { VerifyMagicDto } from './dto/verify-magic.dto'; import * as argon2 from 'argon2'; i...
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...
31a237bbfdfbcce4
java
482
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...
2f8f5e6a3e05b92b
typescript
122
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useCallback } from 'react'; import type { HistoryItemWithoutId } from '../types.js'; import * as fs from 'node:fs/promises'; import path from 'node:path'; import { coreEvents, convertSessionToClientHistory, ...
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.", ...
0f288bf22e6bd78b
python
21
Dracula
from typing import Annotated, Literal from fastapi import FastAPI, Query from pydantic import BaseModel, Field app = FastAPI() class FilterParams(BaseModel): model_config = {"extra": "forbid"} limit: int = Field(100, gt=0, le=100) offset: int = Field(0, ge=0) order_by: Literal["created_at", "update...
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...
341be401ccdf28a1
javascript
82
Dracula
#!/usr/bin/env node /** * Validate rule markdown files */ const fs = require('fs'); const path = require('path'); const RULES_DIR = path.join(__dirname, '../../rules'); /** * Recursively collect markdown rule files. * Uses explicit traversal for portability across Node versions. * @param {string} dir - Director...
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" ...
3025638d40305fdc
cpp
495
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: networkbuilder.cpp // Description: Class to parse the network description language and // build a corresponding network. // Author: Ray Smith // // (C) Copyright 2014, Google Inc. // Licensed under the Apache Licen...
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"...
371de83f0e2bc05c
java
43
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...
92422e93a1ac160d
java
100
GitHub Dark
package com.xxl.job.admin.core.complete; import com.xxl.job.admin.core.conf.XxlJobAdminConfig; import com.xxl.job.admin.core.model.XxlJobInfo; import com.xxl.job.admin.core.model.XxlJobLog; import com.xxl.job.admin.core.thread.JobTriggerPoolHelper; import com.xxl.job.admin.core.trigger.TriggerTypeEnum; import com.xxl....
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" ...
7425366083868f5a
java
93
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" ...
1c288c0cf755ae8b
typescript
30
Solarized Light
import { Code, ConnectError } from "@connectrpc/connect"; import { QueryClient } from "@tanstack/react-query"; // Don't retry requests that failed due to authentication errors. // The auth interceptor in connect.ts already handles token refresh and request retry. // If the interceptor still throws Unauthenticated, the...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
81938b4406b70a97
csharp
358
Monokai
using System; using System.Collections; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using ScreenToGif.Domain.Enums; using ScreenToGif.Util; using ScreenToGif.Util.Settings; using ScreenToGif.ViewModel.ExportPresets; using ScreenToGif.ViewModel.ExportPresets.Animat...
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...
2f57aa4a4a232956
go
407
Default Dark+
package tracing import ( "context" "encoding/json" "errors" "net/http" "net/http/httptest" "strings" "testing" "go.opentelemetry.io/otel/sdk/trace" "go.opentelemetry.io/otel/sdk/trace/tracetest" "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/caddyconfig/caddyfile" "github.com/caddyser...
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"...
7d3e062a778b8f5e
typescript
25
Dracula
import type * as Rolldown from 'rolldown' export * from 'rolldown' /** @deprecated use RolldownBuild instead */ export type RollupBuild = Rolldown.RolldownBuild /** @deprecated use RolldownOptions instead */ export type RollupOptions = Rolldown.RolldownOptions /** @deprecated use RolldownOutput instead */ export ty...
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...
3322dce8f63e6993
cpp
148
One Dark Pro
// __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ // | | |__ | | | | | | version 3.12.0 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me> // SPDX-License-Identifier: MIT #pragma once #include ...
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"...