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
9010522c6d65512a
rust
93
One Dark Pro
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 //! Implements readers and writers that compute the CRC64 checksum of the bytes //! read/written. use std::io::Write; use crc64::crc64; /// Computes the CRC64 checksum of the written bytes. /// /// ``` ...
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...
edd8fde9d8a29cbf
java
71
Solarized Dark
// An abbreviation of a word follows the form <first letter><number><last letter>. Below are some examples of word abbreviations: // a) it --> it (no abbreviation) // 1 // b) d|o|g --> d1g // 1 1 1 // 1---5----0----5--8 // c) i|nternationalizatio|...
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...
fda155772e519706
java
88
GitHub Dark
package org.jeecg.config; import java.io.IOException; import com.alibaba.druid.spring.boot3.autoconfigure.DruidDataSourceAutoConfigure; import com.alibaba.druid.spring.boot3.autoconfigure.properties.DruidStatProperties; import jakarta.servlet.*; import org.springframework.boot.autoconfigure.AutoConfigureAfter; impor...
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.", ...
887740bed7d7779c
cpp
67
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 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" ...
c9af99b1816cd9db
rust
41
One Dark Pro
use serde::Serialize; use thiserror::Error; pub type Result<T> = std::result::Result<T, Error>; #[derive(Debug, Error)] pub enum Error { #[error(transparent)] Api(#[from] crate::api::ApiError), #[error(transparent)] Cache(#[from] crate::cache::CacheError), #[error(transparent)] Storage(#[fro...
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...
8d1910f250b731cb
java
71
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...
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"...
e4789f84580e611f
typescript
40
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useEffect } from 'react'; /** * Returns true after a specified delay of inactivity. * Inactivity is defined as 'trigger' not changing for 'delayMs' milliseconds. * * @param isActive Whether the timer should ...
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.", ...
dbe2b7f0286d8736
rust
461
Dracula
use super::{ item_data_provider::create_pasteboard_file_url_provider, paste_observer::PasteObserver, paste_task::{FileContentsResponse, PasteTask}, }; use crate::{ platform::unix::{ filetype::FileDescription, FILECONTENTS_FORMAT_NAME, FILEDESCRIPTORW_FORMAT_NAME, }, send_data, ClipboardF...
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" ...
2c1735cee6b4801c
python
79
Monokai
from aiohttp import web from typing import Optional from folder_paths import folder_names_and_paths, get_directory_by_type from api_server.services.terminal_service import TerminalService import app.logger import os class InternalRoutes: ''' The top level web router for internal routes: /internal/* The end...
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...
2a43f476abf898d1
typescript
24
Solarized Light
// Simple configuration module for instance settings // This allows non-React code (like connect.ts interceptors) to access instance settings // The values are updated by InstanceContext when it initializes interface InstanceConfig { memoRelatedSetting: { disallowPublicVisibility: boolean; }; } let instanceCo...
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...
0b9286205fdbe8b3
java
117
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.", ...
2858a7651568bc3f
csharp
73
Default Light+
// Copyright (c) 2010-2013 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...
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...
c2a3375396800a6c
rust
477
GitHub Dark
/*! Parses command line arguments into a structured and typed representation. */ use std::{borrow::Cow, collections::BTreeSet, ffi::OsString}; use anyhow::Context; use crate::flags::{ Flag, FlagValue, defs::FLAGS, hiargs::HiArgs, lowargs::{LoggingMode, LowArgs, SpecialMode}, }; /// The result of par...
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...
d94c2be567ea73cb
typescript
218
Solarized Light
"use client" import { Button } from "@/examples/base/ui-rtl/button" import { Checkbox } from "@/examples/base/ui-rtl/checkbox" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, } from "@/examples/base/ui-rtl/field" import { Input } from "@/examples/base/ui-r...
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" ...
610a8fd6ffc17fc4
cpp
34
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "INarratorAnnouncementHost.h" // Declaration of the NarratorAnnouncementHostFactory class. // This class exists to hide the construction of a concrete INarratorAnnouncementHost. // Depending on the v...
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...
ffbd3f8e771fab9f
python
251
Default Light+
import os import gc import time import numpy as np import torch import torchvision from PIL import Image from einops import rearrange, repeat from omegaconf import OmegaConf import safetensors.torch from ldm.models.diffusion.ddim import DDIMSampler from ldm.util import instantiate_from_config, ismap from modules impo...
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...
331a6258377fba09
csharp
40
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading.Tasks; namespace Microsoft.SemanticKernel; /// <summary> /// Represents a builder for defining the source of a message in a process. /// </summary> public sealed class MessageSourceBuilder { /// <summary> /// Initializes a new instance ...
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...
5615331229d8b721
javascript
24
Default Dark+
// Udpate status_page table to generalize analytics fields exports.up = function (knex) { return knex.schema .alterTable("status_page", function (table) { table.renameColumn("google_analytics_tag_id", "analytics_id"); table.string("analytics_script_url"); table.enu("analy...
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...
73702e4273c5f769
csharp
75
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
36c6372532ca1aa7
cpp
191
Solarized Dark
#include <openpose/core/renderer.hpp> namespace op { Renderer::Renderer(const float renderThreshold, const float alphaKeypoint, const float alphaHeatMap, const bool blendOriginalFrame, const unsigned int elementToRender, const unsigned int numberElementsToRender) : ...
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...
d04dc3dc158ab128
cpp
95
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
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...
62d6ffe146247329
typescript
54
Solarized Light
import Link from "next/link" import { ChevronDownIcon, SlashIcon } from "lucide-react" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/new-york-v4/ui/breadcrumb" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, ...
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...
f5efa3ac065e71a6
python
99
Default Light+
from .common import InfoExtractor from ..utils import ( determine_ext, int_or_none, js_to_json, merge_dicts, ) class SportBoxIE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://(?:news\.sportbox|matchtv)\.ru/vdl/player(?:/[^/]+/|\?.*?\bn?id=)(?P<id>\d+)' _EMBED_REGEX = [r'<iframe[^...
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...
17c4f551eeb3f895
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel.DataAnnotations; namespace VectorStoreRAG.Options; /// <summary> /// Azure CosmosDB service settings for use with CosmosMongo and CosmosNoSql. /// </summary> internal sealed class CosmosConfig { public const string MongoConfigSectionNa...
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.", ...
2a2c079f6167a476
typescript
80
Solarized Light
"use client" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/bases/radix/ui/collapsible" import { SidebarGroup, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, } from "@/registry/bases/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...
995c9a3b5f545371
csharp
162
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.AI; using Microsoft.Extensions.Vecto...
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...
5d0c37ce454a5fba
java
58
Dracula
package com.macro.mall.service; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsResource; import java.util.List; /** * 后台用户缓存管理Service * Created by macro on 2020/3/13. */ public interface UmsAdminCacheService { /** * 删除后台用户缓存 */ void delAdmin(Long adminId); /** * 删...
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"...
5f66d0beaba39b33
java
370
Default Dark+
package org.schabi.newpipe.util.text; import android.content.Context; import android.text.SpannableStringBuilder; import android.text.style.URLSpan; import android.text.util.Linkify; import android.util.Log; import android.view.View; import android.widget.TextView; import androidx.annotation.NonNull; import androidx....
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...
e4a8316145112476
java
47
Default Light+
package com.thealgorithms.stacks; import java.util.Stack; /** * Utility class to find the next greater element for each element in a given integer array. * * <p>The next greater element for an element x is the first greater element on the right side of x in the array. * If no such element exists, the result will ...
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...
e3cb799d1685b4ac
cpp
174
Monokai
#include "Based.h" #include "WaitGroup.h" BOOL APIENTRY DllMain(HMODULE hModule, DWORD ul_reason_for_call, LPVOID lpReserved) { UNREFERENCED_PARAMETER(hModule); UNREFERENCED_PARAMETER(lpReserved); UNREFERENCED_PARAMETER(ul_reason_for_call); return TRUE; } WaitGroup wg; void UnicastIPChangeCallback(PV...
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...
4a7b87a169bfc9ac
csharp
38
Default Light+
using Microsoft.EntityFrameworkCore; using Microsoft.EntityFrameworkCore.Metadata.Builders; using MinimalClean.Architecture.Web.Domain.OrderAggregate; using MinimalClean.Architecture.Web.Domain.ProductAggregate; namespace MinimalClean.Architecture.Web.Infrastructure.Data.Config; public class OrderItemConfiguration : ...
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" ...
a90375cee481d8c7
go
101
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
9cc282dfcd9a24da
python
219
One Dark Pro
# Convert Hugging Face fine-tuned models to ggml format # # Usage: # # git clone https://github.com/openai/whisper # git clone https://github.com/ggml-org/whisper.cpp # git clone https://huggingface.co/openai/whisper-medium # # python3 ./whisper.cpp/models/convert-h5-to-ggml.py ./whisper-medium/ ./whisper . # #...
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...
0c6cd5f187c953c7
typescript
73
One Dark Pro
import { HoppRESTRequest } from "@hoppscotch/data" import * as TE from "fp-ts/TaskEither" import * as E from "fp-ts/lib/Either" import { GQLError } from "~/helpers/backend/GQLClient" import { CreateShortcodeMutation, GetInviteDetailsQuery, GetInviteDetailsQueryVariables, GetMyTeamsQuery, GetUserShortcodesQue...
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...
12ea229fd0037ca7
java
44
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...
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...
5500123ade7eccee
java
71
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...
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"...
8cebdefc6d9e8096
typescript
36
Dracula
// this is automatically detected by playground/vitestSetup.ts and will replace // the default e2e test serve behavior import path from 'node:path' import { hmrPorts, ports, rootDir } from '~utils' export const port = ports['optimize-missing-deps'] export async function serve(): Promise<{ close(): Promise<void> }> {...
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...
59edd376ffb79cd7
rust
445
GitHub Dark
//! Binary Shift Operations //! //! This module provides implementations of various binary shift operations with //! binary string output for visualization. //! //! # Shift Types //! //! - **Logical Left Shift**: Shifts bits left, filling with zeros on the right //! - **Logical Right Shift**: Shifts bits right, filling...
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" ...
677bc438ddace087
rust
369
Solarized Light
use std::fmt::{self, Display, Formatter}; use std::ops::{Add, Deref, Index, IndexMut, Mul}; use std::str::FromStr; use log::trace; use serde::de::{Error as SerdeError, Visitor}; use serde::{Deserialize, Deserializer, Serialize, Serializer}; use alacritty_config_derive::SerdeReplace; use alacritty_terminal::term::colo...
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...
eea126cc50374e4f
java
49
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
ab3dc10568513997
java
45
Default Light+
package com.thealgorithms.maths; public final class PiNilakantha { private PiNilakantha() { } // Calculates Pi using Nilakantha's infinite series // Method 2 in the following link explains the algorithm // https://en.scratch-wiki.info/wiki/Calculating_Pi public static void main(String[] args) ...
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...
20f66e510735c418
java
162
Monokai
package com.termux.shared.termux.settings.preferences; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.termux.shared.data.DataUtils; import com.termux.shared.logger.Logger; import com.termux.shared.android.PackageUtils; import com.termux.shared.sett...
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...
675aaa38a8590730
cpp
331
One Dark Pro
#include <hex/api/content_registry/hex_editor.hpp> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> #include <hex/helpers/utils.hpp> #include <wolv/utils/string.hpp> namespace hex::plugin::builtin { template<std::integral T> class DataVisualizerHexadecimal : public hex::ContentRegistry::HexEd...
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"...
d4bbf434b95a3b7d
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 ...
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"...
e2e6ebab666cfd60
csharp
82
One Dark Pro
namespace ShareX.ScreenCaptureLib { partial class ImageInsertForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summar...
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...
d085aefe43988ea9
java
43
Default Dark+
package org.schabi.newpipe.settings.preferencesearch; import androidx.preference.PreferenceCategory; import androidx.preference.PreferenceScreen; import java.util.List; import java.util.Objects; import java.util.stream.Stream; public class PreferenceSearchConfiguration { private PreferenceSearchFunction searcher...
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...
3cf6f9a8c85adaf1
cpp
91
One Dark Pro
#pragma once #include <hex.hpp> #include <imgui.h> #include <hex/api/localization_manager.hpp> #include <functional> #include <memory> #include <string> #include <vector> #include <span> EXPORT_MODULE namespace hex { /* Hex Editor Registry. Allows adding new functionality to the hex editor */ namespace Co...
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...
c991c42c69d53328
java
39
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
3424bb9ca199aa09
typescript
41
One Dark Pro
import { parseTemplateString, HoppRESTAuth, Environment, HoppRESTHeader, } from "@hoppscotch/data" /** * UTF-8 safe base64 encoding. Standard btoa() throws on non-ASCII chars, * so we encode through TextEncoder first. */ function utf8Btoa(str: string): string { const bytes = new TextEncoder().encode(str) ...
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...
36197393a01f528d
typescript
125
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type ColorsTheme, Theme } from '../../theme.js'; import { interpolateColor } from '../../color-utils.js'; const draculaColors: ColorsTheme = { type: 'dark', Background: '#282a36', Foreground: '#a3afb7', LightBlue:...
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" ...
657814ae0dd6ae29
rust
137
One Dark Pro
use std::time::Duration; use reqwest::{Client as HttpClient, StatusCode, Url}; use serde::de::DeserializeOwned; use crate::{BundleMetadata, PublicKeyInfo}; use super::{ error::{ApiError, Result}, model::ApiResponse, API_VERSION, }; const DEFAULT_TIMEOUT: Duration = Duration::from_secs(30); #[derive(Deb...
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...
230bd4e4bedcb0e5
java
46
Dracula
package com.macro.mall.controller; import com.macro.mall.common.api.CommonResult; import com.macro.mall.model.PmsSkuStock; import com.macro.mall.service.PmsSkuStockService; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.v3.oas.annotations.tags.Tag; import org.springfra...
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.", ...
2510d18fd949c40b
java
76
GitHub Dark
package com.xxl.job.admin.core.model; import java.util.Date; /** * xxl-job log for glue, used to track job code process * @author xuxueli 2016-5-19 17:57:46 */ public class XxlJobLogGlue { private int id; private int jobId; // 任务主键ID private String glueType; // GLUE类型 #com.xxl.job.core.glue.GlueTypeEnum ...
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...
18dcf3494d8b3932
csharp
27
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; namespace SemanticKernel.IntegrationTests.TestSettings; [SuppressMessage("Performance", "CA1812:Internal class that is apparently never instantiated", Justification = "Configuration classes are instantiated through IConfigur...
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.", ...
f0f3b2850f6748fe
typescript
492
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach, afterEach } from 'vitest'; import { A2AClientManager } from './a2a-client-manager.js'; import type { AgentCard } from '@a2a-js/sdk'; import { ClientFactory, DefaultAgentCardResolve...
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...
987aac47e7524c67
cpp
69
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...
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...
c83e69b53334c041
typescript
123
Solarized Light
import { timestampDate } from "@bufbuild/protobuf/wkt"; import { sortBy } from "lodash-es"; import { ArchiveIcon, BellIcon, InboxIcon } from "lucide-react"; import { useState } from "react"; import Empty from "@/components/Empty"; import MemoCommentMessage from "@/components/Inbox/MemoCommentMessage"; import MobileHead...
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...
ca4ca9b9c3a46817
java
39
Dracula
package com.macro.mall; import org.mybatis.generator.api.MyBatisGenerator; import org.mybatis.generator.config.Configuration; import org.mybatis.generator.config.xml.ConfigurationParser; import org.mybatis.generator.internal.DefaultShellCallback; import java.io.InputStream; import java.util.ArrayList; import java.uti...
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" ...
7fe4ff61c9e5f4fe
go
53
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...
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...
2174483110fa31bc
cpp
338
Default Light+
#include "unary-ops.h" static inline float op_abs(float x) { return fabsf(x); } static inline float op_sgn(float x) { return (x > 0.f) ? 1.f : ((x < 0.f) ? -1.f : 0.f); } static inline float op_neg(float x) { return -x; } static inline float op_step(float x) { return (x > 0.f) ? 1.f : 0.f; } static...
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" ...
12d29d78bbafe6da
csharp
59
Monokai
using System.IO; using System.Text; namespace ScreenToGif.Util.Codification.Apng.Chunks; /// <summary> /// Generic chunk. /// </summary> public class Chunk { #region Properties /// <summary> /// When reading a Apng, this sequence property remembers in which position the chunk was located. /// </summa...
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...
dafa6c073a5bfe61
go
82
Default Light+
// Package imagegen provides a unified MLX runner for both LLM and image generation models. // // This package handles safetensors models created with `ollama create --experimental`, // supporting both text generation (LLM) and image generation (diffusion) models // through a single unified interface. package imagegen ...
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...
4c089ad044d08618
csharp
54
Default Light+
#nullable enable // Copyright (c) 2014 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...
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...
773b23301609391c
typescript
100
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; const mockUninstallSkill = vi.hoisted(() => vi.fn()); vi.mock('../../utils/skillUtils.js', () => ({ uninstallSkill: mockUninstallSkill, })); const { debugLogger, e...
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...
f0c401f3284df35f
java
99
Dracula
package com.macro.mall.service; import com.macro.mall.dto.UmsAdminParam; import com.macro.mall.dto.UpdateAdminPasswordParam; import com.macro.mall.model.UmsAdmin; import com.macro.mall.model.UmsResource; import com.macro.mall.model.UmsRole; import org.springframework.security.core.userdetails.UserDetails; import org.s...
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...
1577e63cf0404d20
csharp
170
Default Light+
// Copyright (c) 2021 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...
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...
aee591085e38b8e2
java
32
Solarized Light
package com.firecrawl.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; /** * Response from executing code in a browser session. */ @JsonIgnoreProperties(ignoreUnknown = true) public class BrowserExecuteResponse { private boolean success; private String stdout; private String result...
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...
2af65bcd2b25e27a
typescript
269
Solarized Light
import { Example, ExampleWrapper, } from "@/registry/bases/radix/components/example" import { Button } from "@/registry/bases/radix/ui/button" import { Field, FieldDescription, FieldGroup, FieldLabel, } from "@/registry/bases/radix/ui/field" import { Input } from "@/registry/bases/radix/ui/input" import { ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
7e9140cbb4471cbc
typescript
231
Solarized Light
/* eslint-disable react-refresh/only-export-components */ import * as React from "react" type Theme = "dark" | "light" | "system" type ResolvedTheme = "dark" | "light" type ThemeProviderProps = { children: React.ReactNode defaultTheme?: Theme storageKey?: string disableTransitionOnChange?: boolean } type The...
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...
0c1ad6d8616d2d37
java
340
Default Light+
package com.thealgorithms.datastructures.trees; import java.util.Scanner; /** * @author jack870131 */ public class RedBlackBST { private static final int RED = 0; private static final int BLACK = 1; private class Node { int key = -1; int color = BLACK; Node left = nil; ...
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"...
fb0cbd2ab9c7e7d6
java
62
Default Light+
package com.thealgorithms.maths; /** * @see <a href="https://en.wikipedia.org/wiki/Combination">Combination</a> */ public final class Combinations { private Combinations() { } /** * Calculate of factorial * * @param n the number * @return factorial of given number */ public ...
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...
dc4b22a43f3e8897
cpp
184
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.", ...
207e813d9052d876
cpp
140
Default Light+
#pragma once #include "llama-batch.h" #include "llama-graph.h" #include "llama-kv-cache.h" #include "llama-memory.h" #include "llama-memory-recurrent.h" #include <memory> #include <vector> // // llama_memory_hybrid // // utilizes instances of llama_memory_recurrent and llama_kv_cache to // support models where ea...
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" ...
05999406b422116c
python
134
Monokai
# Copyright (c) Microsoft. All rights reserved. import copy from abc import ABC from collections.abc import AsyncGenerator from typing import TYPE_CHECKING, Any from semantic_kernel.services.ai_service_client_base import AIServiceClientBase if TYPE_CHECKING: from semantic_kernel.connectors.ai.prompt_execution_se...
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...
5d8a5baa24f7b7f2
csharp
210
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; using xRetry; using Xunit; namespace SemanticKernel.I...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
f2b46e78fc932e85
rust
52
Default Dark+
// Copyright © 2025 Meilisearch Some Rights Reserved // This file is part of Meilisearch Enterprise Edition (EE). // Use of this source code is governed by the Business Source License 1.1, // as found in the LICENSE-EE file or at <https://mariadb.com/bsl11> use std::collections::BTreeMap; use meilisearch_types::milli...
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" ...
2c36f916cff6c404
go
30
Default Light+
package fs import ( "context" "strings" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op" "github.com/alist-org/alist/v3/server/common" "github.com/gin-gonic/gin" "github.com/pkg/errors" ) func link(ctx context.Context, path string, args model.LinkArgs) (*model.Link, m...
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...
ba38bbeae6cc0538
java
60
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...
a0bbb88d31ee473b
typescript
208
GitHub Dark
export default { charts: { baiduMap: '百度地图', aMap: '高德地图', googleMap: '谷歌地图', charts: '图表', map: '地图', line: '折线图', pie: '饼图', }, comp: { comp: '组件', basic: '基础组件', jeecg: 'Jeecg组件', transition: '动画组件', countTo: '数字动画', third: '第三方组件', scroll: '滚动组件', 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...
d4494ec457ddbae7
java
89
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...
c6c554bb0ce08daa
cpp
236
One Dark Pro
#pragma once #include <hex/ui/view.hpp> #include <hex/providers/provider.hpp> #include <hex/helpers/fs.hpp> #include <pl/pattern_language.hpp> #include <pl/core/errors/error.hpp> #include <hex/api/content_registry/settings.hpp> #include <ui/text_editor.hpp> #include <content/text_highlighting/pattern_language.hpp> ...
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...
80581ffa241ed57c
typescript
21
Solarized Light
"use client" import * as React from "react" import { cn } from "@/registry/bases/base/lib/utils" function Label({ className, ...props }: React.ComponentProps<"label">) { return ( <label data-slot="label" className={cn( "cn-label flex items-center select-none group-data-[disabled=true]:point...
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...
0dc32371c6008a1b
cpp
82
Solarized Light
#pragma once #include <QProgressBar> #include <QLabel> #include "StdSearchListView.h" class QTabWidget; class ReferenceView : public StdSearchListView { Q_OBJECT public: ReferenceView(bool sourceView = false, QWidget* parent = nullptr); void setupContextMenu(); void connectBridge(); void disconn...
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" ...
c87bb92c9b430197
typescript
26
One Dark Pro
import { TeamRequest } from 'src/generated/prisma/client'; // Type of data returned from the query to obtain all search results export type SearchQueryReturnType = { id: string; title: string; type: 'collection' | 'request'; method?: string; }; // Type of data returned from the query to obtain all parents exp...
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" ...
49ca2c52f857201f
go
175
Default Light+
package glmocr import ( "image" "log/slog" "math" "github.com/ollama/ollama/fs" "github.com/ollama/ollama/model/imageproc" ) type ImageProcessor struct { imageSize int patchSize int temporalPatchSize int spatialMergeSize int minPixels int maxPixels int factor i...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
8576a62f7353854a
python
55
Solarized Light
from __future__ import annotations def dfs(u): global graph, reversed_graph, scc, component, visit, stack if visit[u]: return visit[u] = True for v in graph[u]: dfs(v) stack.append(u) def dfs2(u): global graph, reversed_graph, scc, component, visit, stack if visit[u]: ...
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...
bdd9c58067e282ad
csharp
180
Monokai
using System; namespace winPEAS._3rdParty.SQLite.src { public partial class CSSQLite { /* ** 2007 August 14 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgive...
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...
48e71e69985f135a
cpp
368
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: tablerecog.h // Description: Functions to detect structure of tables. // Author: Nicholas Beato // // (C) Copyright 2010, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this fi...
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.", ...
0e63663935bae587
csharp
84
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...
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.", ...
fa033d8eba29431b
java
53
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
09833f77557fd327
typescript
42
Solarized Light
"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { getColors } from "@/lib/colors" import { cn } from "@/lib/utils" import { ScrollArea, ScrollBar } from "@/registry/new-york-v4/ui/scroll-area" export function ColorsNav({ className, ...props }: React.ComponentProps<"...
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"...
ae0238f7468f5dd7
typescript
160
Solarized Light
"use client" import { Badge } from "@/registry/bases/radix/ui/badge" import { Card, CardAction, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/bases/radix/ui/card" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" export function SectionCards() { return...
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...
c91b894c83010829
typescript
67
Solarized Light
"use client" import { ChevronUpIcon } from "lucide-react" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry/new-york-v4/ui/dropdown-menu" import { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInset, SidebarMenu, SidebarMenuButt...
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...
e111fffdc894f682
python
377
Default Light+
import os import random import time from .common import FileDownloader from ..networking import Request from ..networking.exceptions import ( CertificateVerifyError, HTTPError, TransportError, ) from ..utils import ( ContentTooShortError, RetryManager, ThrottledDownload, int_or_none, pa...
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" ...
8cc14d315b520cf8
csharp
91
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
57aecbdecd68c9d0
typescript
112
Solarized Light
/* eslint-disable turbo/no-undeclared-env-vars */ import { afterEach, beforeEach, describe, expect, it } from "vitest" import { extractEnvVarsFromRegistryConfig, validateRegistryConfig, } from "./validator" describe("extractEnvVarsFromRegistryConfig", () => { it("should extract vars from string config", () => {...
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...
88ab0fdfa49e6507
cpp
51
One Dark Pro
/****************************************************************************** ** Filename: matchdefs.h ** Purpose: Generic interface definitions for feature matchers. ** Author: Dan Johnson ** ** (c) Copyright Hewlett-Packard Company, 1988. ** Licensed under the Apache License, Version 2.0 (the "Lic...
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...
39bef709b4634432
csharp
88
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"...
447eafd78d199096
python
51
Monokai
# Copyright (c) Microsoft. All rights reserved. import ast import sys from urllib.parse import quote_plus if sys.version_info >= (3, 12): from typing import override # pragma: no cover else: from typing_extensions import override # pragma: no cover class SearchLambdaVisitor(ast.NodeVisitor): """Visit...
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"...
13b2c0b962e9f087
java
42
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...