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
a48401a24ce866ca
cpp
365
One Dark Pro
void build(Solution &s) { auto &tess = s.addProject("google.tesseract", "main"); tess += Git("https://github.com/tesseract-ocr/tesseract", "", "{v}"); auto cppstd = cpp17; auto &libtesseract = tess.addTarget<LibraryTarget>("libtesseract"); { libtesseract.setChecks("libtesseract"); ...
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" ...
002cc9425f28cd51
typescript
249
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, expect, it, afterEach, beforeEach } from 'vitest'; import * as child_process from 'node:child_process'; import { isGitHubRepository, getGitRepoRoot, getLatestGitHubRelease, getGitHubRepoInfo, } from '...
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.", ...
74faa8f4a1151845
typescript
156
Default Light+
import { describe, expect, it } from "vitest"; import { formatMermaidParseErrorMessage, getMermaidErrorLineNumber, getMermaidInactiveParticipant, getMermaidSyntaxErrorGuidance, isMermaidAutoFixableError, isMermaidParseSyntaxError, isMermaidCaretLine, } from "./mermaidError"; describe("formatMermaidParse...
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" ...
5f32765879c5dd4f
csharp
336
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.MongoDB; using Microsoft.SemanticKernel.Http; using MongoDB.Driver; usin...
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...
8bad8213e18df586
csharp
140
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...
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.", ...
cb0bc99de3d17888
java
176
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.", ...
fa1ce3e58786617e
python
241
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity import AzureCliCredential from semantic_kernel.agents import Agent, ChatCompletionAgent, HandoffOrchestration, OrchestrationHandoffs from semantic_kernel.agents.runtime import InProcessRuntime from semantic_kernel.connectors.ai.open_a...
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...
73d7a7f3f3445496
java
44
Dracula
package com.macro.mall.dto; import com.macro.mall.validator.FlagValidator; import io.swagger.annotations.ApiModelProperty; import lombok.Data; import lombok.EqualsAndHashCode; import javax.validation.constraints.Min; import javax.validation.constraints.NotEmpty; import java.util.List; /** * 添加更新商品分类的参数 * Created b...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
281933ce3935deaf
python
95
Dracula
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import OAuth2PasswordBearer, OAuth2PasswordRequestForm from pydantic import BaseModel fake_users_db = { "johndoe": { "username": "johndoe", "full_name": "John Doe", "email": "john...
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" ...
f914b95aa7351a67
cpp
88
Solarized Dark
#ifndef OPENPOSE_HAND_W_HAND_RENDERER_HPP #define OPENPOSE_HAND_W_HAND_RENDERER_HPP #include <openpose/core/common.hpp> #include <openpose/hand/handRenderer.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums> class WHandRenderer : public Worker<TDatums> { public: ...
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.", ...
11d42d732137dbaa
go
41
Default Light+
package mopan import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { Phone string `json:"phone" required:"true"` Password string `json:"password" required:"true"` SMSCode string `json:"sms_code" help:"input 'send' send sms "` RootFolder...
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.", ...
2960b7bc8e848c3b
typescript
63
Solarized Light
import type { source } from "@/lib/source" export type PageTreeNode = (typeof source.pageTree)["children"][number] export type PageTreeFolder = Extract<PageTreeNode, { type: "folder" }> export type PageTreePage = Extract<PageTreeNode, { type: "page" }> // Recursively find all pages in a folder tree. export function g...
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" ...
8f09e47310aae44f
java
49
GitHub Dark
package com.xxl.job.admin.core.route.strategy; import com.xxl.job.admin.core.scheduler.XxlJobScheduler; import com.xxl.job.admin.core.route.ExecutorRouter; import com.xxl.job.admin.core.util.I18nUtil; import com.xxl.job.core.biz.ExecutorBiz; import com.xxl.job.core.biz.model.ReturnT; import com.xxl.job.core.biz.model....
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...
9a7bbb16548cf111
typescript
36
Solarized Light
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from "@/examples/base/ui/alert-dialog" import { Button } from "@/examples/base/ui/button" export function AlertDialogBa...
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...
479957b5565494e4
typescript
75
Solarized Light
import { type Metadata } from "next" import Link from "next/link" import { Announcement } from "@/components/announcement" import { ChartsNav } from "@/components/charts-nav" import { PageActions, PageHeader, PageHeaderDescription, PageHeaderHeading, } from "@/components/page-header" import { PageNav } from "@...
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...
788788c22a39ac0a
rust
28
One Dark Pro
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // automatically generated by tools/bindgen.sh #![allow( non_camel_case_types, non_upper_case_globals, dead_code, non_snake_case, clippy::ptr_as_ptr, clippy::undocumented_unsafe_bl...
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" ...
bc3b828a3cc42b45
typescript
37
Solarized Light
import Link from "next/link" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/examples/base/ui/breadcrumb" import { DotIcon } from "lucide-react" export function BreadcrumbSeparatorDemo() { return ( <Breadcrumb> <BreadcrumbList>...
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...
54a1d292666d6bbc
java
136
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...
5a7b17c51777a798
typescript
60
Default Light+
import { isImageElement } from "@excalidraw/element"; import { CaptureUpdateAction } from "@excalidraw/element"; import type { ExcalidrawImageElement } from "@excalidraw/element/types"; import { ToolButton } from "../components/ToolButton"; import { cropIcon } from "../components/icons"; import { t } from "../i18n";...
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...
8c2aa4666b09d7bb
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...
30651ea3f0500421
java
62
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
fd16e9cb993d8e77
csharp
117
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections; using System.Collections.Generic; namespace Microsoft.SemanticKernel.Memory; /// <summary> /// A collector for Top N matches. Keeps only the best N matches by Score. /// Automatically flushes out any not in the top N. /// By default, items a...
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...
311923efba3e14e8
java
44
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.", ...
7e3af2b077f60f81
rust
63
GitHub Dark
pub fn shell_sort<T: Ord + Copy>(values: &mut [T]) { // shell sort works by swiping the value at a given gap and decreasing the gap to 1 fn insertion<T: Ord + Copy>(values: &mut [T], start: usize, gap: usize) { for i in ((start + gap)..values.len()).step_by(gap) { let val_current = values[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...
b31c7917c823b785
java
36
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.PmsProductCategory; import com.macro.mall.model.PmsProductCategoryExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface PmsProductCategoryMapper { long countByExample(PmsProductCategoryExample example); int dele...
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"...
8bfab881f32a1525
typescript
161
Solarized Light
/* eslint-disable react/no-children-prop */ "use client" import { useForm } from "@tanstack/react-form" import { toast } from "sonner" import * as z from "zod" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "...
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" ...
4cdc8f1296c89f19
python
150
Monokai
from __future__ import annotations from enum import Enum from typing import Optional from pydantic import BaseModel, Field, confloat class StabilityFormat(str, Enum): png = 'png' jpeg = 'jpeg' webp = 'webp' class StabilityAspectRatio(str, Enum): ratio_1_1 = "1:1" ratio_16_9 = "16:9" ratio_...
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" ...
d288b61458fe1412
typescript
133
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { BaseDeclarativeTool, BaseToolInvocation, type ToolResult, Kind, type ToolInfoConfirmationDetails, ToolConfirmationOutcome, } from './tools.js'; import type { MessageBus } from '../confirmation-bus/message-bus.j...
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...
70ef61fd30144f9e
typescript
44
Solarized Light
"use client" import { useParams } from "next/navigation" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/new-york-v4/ui/breadcrumb" export function AppBreadcrumbs() { const params = useParams() const { name } = params if ...
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...
b5d4dff02d6e49db
typescript
156
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/base/lib/utils" import { Button } from "@/examples/base/ui-rtl/button" import { Dialog as DialogPrimitive } from "@base-ui/react/dialog" import { XIcon } from "lucide-react" function Dialog({ ...props }: DialogPrimitive.Root.Props) { return ...
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...
7cffeaeb32a6fba2
typescript
69
One Dark Pro
import { watch } from "vue" import { HoppModule } from "." import { getService } from "./dioc" import { platform } from "~/platform" import { applySetting } from "~/newstore/settings" import { useSettingStatic } from "~/composables/settings" import { KernelInterceptorService } from "~/services/kernel-interceptor.servic...
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...
0a36479a0faa0eb9
typescript
29
Solarized Light
import { Avatar, AvatarFallback, AvatarGroup, AvatarImage, } from "@/examples/radix/ui/avatar" export function AvatarGroupExample() { return ( <AvatarGroup className="grayscale"> <Avatar> <AvatarImage src="https://github.com/shadcn.png" alt="@shadcn" /> <AvatarFallback>CN</AvatarFal...
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...
cb6d441ddb43771d
typescript
46
Solarized Light
import * as React from "react" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" const badgeVariants = cva( "cn-badge group/badge inline-flex w-fit shrink-0 items-center justify-center overflow-hidden whitespace-no...
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...
c98cb8dcaa42e21d
cpp
124
Default Light+
#include "models.h" llm_build_dbrx::llm_build_dbrx(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v; const int64_t n_embd_gqa = hparams.n_embd_v_gqa(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k); GGML_A...
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...
ba39f7c3da2f9bda
csharp
26
Monokai
using ScreenToGif.Domain.Models.Project.Sequences.SubSequences; namespace ScreenToGif.Domain.Models.Project.Sequences; public class RasterSequence : SizeableSequence { /// <summary> /// Origin of the raster frames. /// It could be from capture (screen or webcam), media import (gif, apng, image or video) o...
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...
5d3c12b103eb0e5b
go
27
Default Light+
package yandex_disk import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { RefreshToken string `json:"refresh_token" required:"true"` OrderBy string `json:"order_by" type:"select" options:"name,path,created,modified,size" default:"nam...
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" ...
61e84daf6adb5022
rust
44
Solarized Dark
#![warn(clippy::disallowed_methods)] #[macro_use] extern crate shadow_rs; use std::thread::available_parallelism; shadow!(shadow); // Lib is present to allow for benchmarking pub mod bug_report; pub mod config; pub mod configs; pub mod configure; pub mod context; pub mod context_env; pub mod formatter; pub mod init...
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.", ...
b10928f3f18696ac
cpp
84
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #include "pch.h" #include <CppUnitTest.h> #include "CalcViewModel/Common/LocalizationService.h" using namespace CalculatorApp::ViewModel::Common; using namespace Platform; using namespace std; using namespace Microsoft:...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
f13aa99d0d954705
python
147
Solarized Light
from random import shuffle import tensorflow as tf from numpy import array def tf_k_means_cluster(vectors, noofclusters): """ K-Means Clustering using TensorFlow. 'vectors' should be a n*k 2-D NumPy array, where n is the number of vectors of dimensionality k. 'noofclusters' should be an integer. ...
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...
31dd5d0f440ec808
java
41
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.", ...
bc63958467aa0055
typescript
54
Solarized Light
"use client" import { GripVerticalIcon } from "lucide-react" import * as ResizablePrimitive from "react-resizable-panels" import { cn } from "@/lib/utils" function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps) { return ( <ResizablePrimitive.Group data-slot="resizable-pan...
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...
713b9cf76d4a8d13
java
79
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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" ...
5a69b2dd9e37287f
csharp
97
Monokai
using System; namespace ScreenToGif.Util; /// <summary> /// Machine to Human converter. Just kidding. ;) /// </summary> public class Humanizer { /// <summary> /// Converts a length value to a readable size. /// </summary> /// <param name="byteCount">The length of the file.</param> /// <param 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...
c26bd131571326ef
typescript
41
One Dark Pro
import { distinctUntilChanged, pluck } from "rxjs" import DispatchingStore, { defineDispatchers } from "./DispatchingStore" export type ExtensionStatus = "available" | "unknown-origin" | "waiting" type InitialState = { extensionStatus: ExtensionStatus } const initialState: InitialState = { extensionStatus: "wait...
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...
c56db4069828aff1
csharp
25
Default Light+
using Clean.Architecture.Core.ContributorAggregate.Events; namespace Clean.Architecture.Core.ContributorAggregate; public class Contributor(ContributorName name) : EntityBase<Contributor, ContributorId>, IAggregateRoot { public ContributorName Name { get; private set; } = name; public ContributorStatus Status { ...
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...
8fe5a6b06d520b53
csharp
125
Default Light+
using System.Collections.Generic; using System.Diagnostics; namespace ICSharpCode.Decompiler.TypeSystem.Implementation { /// <summary> /// A decorator that annotates the nullability status for a type. /// Note: ArrayType does not use a decorator, but has direct support for nullability. /// </summary> public class...
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...
52b3f3fd91a08c27
go
225
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
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" ...
3c5a38b1e5fd75c9
csharp
310
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.Google; using xRetry; namespace FunctionCalling; /// <summary> /// These examples demonstrate two ways functions call...
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...
7d9e49a80e864567
go
37
Solarized Dark
// Copyright 2022 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
20343a77eadd2cc7
java
40
Solarized Light
package com.firecrawl.models; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import java.util.List; /** * Status and results of a batch scrape job. */ @JsonIgnoreProperties(ignoreUnknown = true) public class BatchScrapeJob { private String id; private String status; private int completed...
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...
1b7a25d396da5e45
typescript
63
Solarized Light
import { Label } from "@/registry/new-york-v4/ui/label" import { RadioGroup, RadioGroupItem, } from "@/registry/new-york-v4/ui/radio-group" const plans = [ { id: "starter", name: "Starter Plan", description: "Perfect for small businesses getting started with our platform", price: "$10", }...
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...
8a4207e630bbee55
java
379
Dracula
package com.macro.mall.model; import java.util.ArrayList; import java.util.List; public class UmsRoleResourceRelationExample { protected String orderByClause; protected boolean distinct; protected List<Criteria> oredCriteria; public UmsRoleResourceRelationExample() { oredCriteria = new Arra...
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...
ffcb3b0968f075c1
cpp
46
One Dark Pro
#pragma once #include <hex/providers/undo_redo/operations/operation.hpp> #include <hex/helpers/fmt.hpp> namespace hex::plugin::builtin::undo { class OperationBookmark : public prv::undo::Operation { public: explicit OperationBookmark(ImHexApi::Bookmarks::Entry entry) : m_entry(std::move(...
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...
27d908a0a81fbe35
rust
116
GitHub Dark
/// Least Square Approximation <p> /// Function that returns a polynomial which very closely passes through the given points (in 2D) /// /// The result is made of coeficients, in descending order (from x^degree to free term) /// /// Parameters: /// /// points -> coordinates of given points /// /// degree -> degree of 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...
a61510f05f92d66c
typescript
177
One Dark Pro
import { clone, cloneDeep } from "lodash-es" import { Observable, Subscription } from "rxjs" import { customRef, onBeforeUnmount, readonly, Ref } from "vue" type CloneMode = "noclone" | "shallow" | "deep" /** * Returns a readonly (no writes) ref for an RxJS Observable * @param stream$ The RxJS Observable to listen ...
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.", ...
5c8d6b768520b6b9
csharp
55
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData; namespace MCPServer; /// <summary> /// Extensions for vector stores. /// </summary> public static class VectorStoreExtensions { /// <summary> /// Delegate to create a record from a string. ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
0f4bf9ba126b57f8
go
192
Solarized Light
package filter import ( "context" "fmt" "strings" "sync" "github.com/google/cel-go/cel" "github.com/pkg/errors" ) // Engine parses CEL filters into a dialect-agnostic condition tree. type Engine struct { schema Schema env *cel.Env } // NewEngine builds a new Engine for the provided schema. func NewEngine...
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...
dd651508f7ab08b7
cpp
70
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...
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...
a157fa67f8e70e1e
cpp
20
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "CalcManager/CalculatorResource.h" namespace CalculatorApp::ViewModel::Common { class EngineResourceProvider : public CalculationManager::IResourceProvider { public: EngineResourc...
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.", ...
c32eaf57123dd8ce
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 ...
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" ...
d21af15d1da389ae
csharp
67
Default Light+
using Clean.Architecture.Core.ContributorAggregate; using Clean.Architecture.UseCases.Contributors; using Clean.Architecture.UseCases.Contributors.Get; using Clean.Architecture.UseCases.Contributors.Update; using Clean.Architecture.Web.Extensions; using Microsoft.AspNetCore.Http.HttpResults; namespace Clean.Architect...
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...
9f731923df8b4639
rust
86
GitHub Dark
// Author : cyrixninja // Interquartile Range : An implementation of interquartile range (IQR) which is a measure of statistical // dispersion, which is the spread of the data. // Wikipedia Reference : https://en.wikipedia.org/wiki/Interquartile_range use std::cmp::Ordering; pub fn find_media...
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"...
b065f1e59c061010
java
27
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...
17802cef7e352c02
cpp
86
Solarized Dark
#ifndef OPENPOSE_HAND_W_HAND_DETECTOR_TRACKING_HPP #define OPENPOSE_HAND_W_HAND_DETECTOR_TRACKING_HPP #include <openpose/core/common.hpp> #include <openpose/hand/handRenderer.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums> class WHandDetectorTracking : public Worker<TDatum...
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"...
80d8adf36329a804
csharp
83
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Orchestration.Extensions; using Microsoft.SemanticKernel.Agents.Runtime; namespace Microsoft.SemanticKernel.Age...
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...
28b51b6f046a75e8
java
30
Dracula
package com.macro.mall.portal.component; import com.macro.mall.portal.service.OmsPortalOrderService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype....
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...
4097776e4d5c00ec
java
487
Default Dark+
package us.shandian.giga.io; import androidx.annotation.NonNull; import org.schabi.newpipe.streams.io.SharpStream; import java.io.File; import java.io.FileNotFoundException; import java.io.IOException; import java.util.Objects; public class CircularFileWriter extends SharpStream { private static final int QUEU...
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.", ...
170722a9257bc2a7
cpp
83
Solarized Light
#include "_scriptapi_symbol.h" #include "_scriptapi_label.h" #include "symbolinfo.h" struct cbSymbolEnumCtx { const SYMBOLMODULEINFO* module; std::vector<Script::Symbol::SymbolInfo>* symbols; }; static bool cbSymbolEnum(const SYMBOLPTR* ptr, void* user) { auto ctx = (cbSymbolEnumCtx*)user; SYMBOLINFO...
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"...
c40af3167c049b24
typescript
49
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { CommandModule } from 'yargs'; import { loadSettings } from '../../config/settings.js'; import { debugLogger } from '@google/gemini-cli-core'; import { exitCli } from '../utils.js'; import { enableSkill } from '../../u...
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...
28183e543b8efbfa
typescript
151
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi } from 'vitest'; vi.mock('../config/settings.js', () => ({ SettingScope: { User: 'User', Workspace: 'Workspace', System: 'System', SystemDefaults: 'SystemDefaults', }, })); im...
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...
99c58f46caaff6d1
cpp
49
One Dark Pro
#include <hex/mcp/client.hpp> #include <hex/mcp/server.hpp> #include <hex.hpp> #include <string> #include <cstdlib> #include <fmt/format.h> #include <hex/api/imhex_api/system.hpp> #include <hex/helpers/logger.hpp> #include <nlohmann/json.hpp> #include <wolv/literals.hpp> #include <wolv/net/socket_client.hpp> namesp...
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"...
b0ed54ce633f98fc
cpp
57
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
7a663cb52dc34c28
cpp
261
One Dark Pro
// Copyright 2010 Google Inc. All Rights Reserved. // Author: rays@google.com (Ray Smith) // // 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 // ...
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...
b164e31f45fbf779
java
50
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...
95f167066471ea6c
rust
200
GitHub Dark
use std::cmp::Reverse; use std::collections::{BTreeMap, BinaryHeap}; use std::ops::Add; type Graph<V, E> = BTreeMap<V, BTreeMap<V, E>>; fn add_edge<V: Ord + Copy, E: Ord + Add + Copy>(graph: &mut Graph<V, E>, v1: V, v2: V, c: E) { graph.entry(v1).or_default().insert(v2, c); graph.entry(v2).or_default().insert...
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...
0ac8ee594e2041a8
javascript
25
Dracula
// no node: protocol intentionally // eslint-disable-next-line n/prefer-node-protocol import { readFileSync } from 'fs' // eslint-disable-next-line n/prefer-node-protocol import path from 'path' // access from named import try { readFileSync() } catch (e) { console.log('dep-with-builtin-module-esm', e) } // acces...
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" ...
022d2586ff46e53d
java
36
GitHub Dark
package org.jeecg.modules.base.service; import org.jeecg.common.api.dto.LogDTO; import org.jeecg.common.system.vo.LoginUser; /** * common接口 * @author: jeecg-boot */ public interface BaseCommonService { /** * 保存日志 * @param logDTO */ void addLog(LogDTO logDTO); /** * 保存日志 * @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...
3f3ea4dda8e8a256
typescript
33
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Switch as SwitchPrimitive } from "radix-ui" function Switch({ className, size = "default", ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & { size?: "sm" | "default" }) { return ( <SwitchP...
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"...
d44e3a1d0c70f75a
typescript
245
Solarized Light
import dedent from "dedent" import { UI_COMPONENTS } from "@/lib/components" import { buildRegistryBase, fonts, type DesignSystemConfig, } from "@/registry/config" // Builds step-by-step markdown instructions for manually setting up a project. export function buildInstructions(config: DesignSystemConfig) { co...
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" ...
1e7e47d838d75d6e
csharp
151
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using Amazon.BedrockRuntime; using Amazon.Runtime; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.Amazon; using Microsoft.Semanti...
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...
d87109fc27830527
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...
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.", ...
47cf10b922ac032e
csharp
201
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...
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...
2b5e8d0e7610baf9
javascript
45
Dracula
import Comparator from '../../../utils/comparator/Comparator'; /** * Binary search implementation. * * @param {*[]} sortedArray * @param {*} seekElement * @param {function(a, b)} [comparatorCallback] * @return {number} */ export default function binarySearch(sortedArray, seekElement, comparatorCallback) { //...
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...
03f78afd7d8c9b2d
cpp
53
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
54d292323312f842
javascript
40
Dracula
import jumpSearch from '../jumpSearch'; describe('jumpSearch', () => { it('should search for an element in sorted array', () => { expect(jumpSearch([], 1)).toBe(-1); expect(jumpSearch([1], 2)).toBe(-1); expect(jumpSearch([1], 1)).toBe(0); expect(jumpSearch([1, 2], 1)).toBe(0); expect(jumpSearch([...
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...
7021af806d0d5d2b
go
22
Default Light+
package ftp import ( "fmt" ftpserver "github.com/KirCute/ftpserverlib-pasvportmap" "strconv" ) func HandleSIZE(param string, client ftpserver.ClientDriver) (int, string) { fs, ok := client.(*AferoAdapter) if !ok { return ftpserver.StatusNotLoggedIn, "Unexpected exception (driver is nil)" } size, err := strco...
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.", ...
a3273f89672e447f
typescript
36
GitHub Dark
/** * Appends an 's' to the provided string if count is greater than one; * otherwise the string is returned */ export const plural = (count: number, str: string): string => (count === 1 ? str : `${str}s`) export const generateUuid = (length = 24): string => { const possible = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXY...
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...
3d390c0d2c654d58
typescript
106
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { ToolResult } from '../tools/tools.js'; import type { Content } from '@google/genai'; import type { GeminiClient } from '../core/client.js'; import { getResponseText, partToString } from './partUtils.js'; import { debu...
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" ...
d289a06acd868a5f
java
102
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" ...
386a4d28d95ab4c7
csharp
47
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Net.Http; namespace Microsoft.SemanticKernel.Plugins.OpenApi; /// <summary> /// Represents the context for the <see cref="RestApiOperationResponseFactory"/>."/> /// </summary> public sealed class RestApiOperationResponseFactoryContext { /// <summary>...
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...
abc73618e41c327d
cpp
295
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
f80b4ccd2e58ac3a
typescript
355
GitHub Dark
import type { BasicTableProps, FetchParams, SorterResult } from '../types/table'; import type { PaginationProps } from '../types/pagination'; import { ref, unref, ComputedRef, computed, onMounted, watch, reactive, Ref, watchEffect } from 'vue'; import { useTimeoutFn } from '/@/hooks/core/useTimeout'; import { buildUUID...
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...
dba4818218eac8b1
typescript
49
Default Light+
import { VersionedSnapshotStore } from "@excalidraw/common"; import type { FileId } from "@excalidraw/element/types"; export type FileLoadingStatus = "loading" | "loaded" | "error"; export class FileStatusStore { private static store = new VersionedSnapshotStore< Map<FileId, FileLoadingStatus> >(new Map()); ...
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...
335fcf9dbdb60517
typescript
23
GitHub Dark
// /** // *微应用apps // * @name: 微应用名称 - 具有唯一性 // * @entry: 微应用入口.必选 - 通过该地址加载微应用, // * @container: 微应用挂载节点 - 微应用加载完成后将挂载在该节点上 // * @activeRule: 微应用触发的路由规则 - 触发路由规则后将加载该微应用 // */ // //子应用列表 // const _apps: object[] = []; // for (const key in import.meta.env) { // if (key.includes('VITE_APP_SUB_')) { // 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...
4de05f5986dbe870
typescript
72
Default Light+
import clsx from "clsx"; import React from "react"; import styles from "./styles.module.css"; type FeatureItem = { title: string; Svg: React.ComponentType<React.ComponentProps<"svg">>; description: JSX.Element; }; const FeatureList: FeatureItem[] = [ { title: "Easy to Use", Svg: require("@site/static...
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...
f1f2c976398ed9af
java
88
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
7c0d47bb4352fb68
cpp
63
One Dark Pro
#pragma once #include <hex.hpp> #include <imgui.h> #include <list> #include <memory> #include <mutex> #include <hex/api/task_manager.hpp> namespace hex { namespace impl { class ToastBase { public: ToastBase(ImColor color) : m_color(color) {} virtual ~ToastBase() = defaul...
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" ...
eaa1c4b7c22d66ff
java
64
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"...
f150f2db776f71ad
typescript
46
One Dark Pro
import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common'; import { TeamInvitationService } from './team-invitation.service'; import * as O from 'fp-ts/Option'; import { GqlExecutionContext } from '@nestjs/graphql'; import { BUG_AUTH_NO_USER_CTX, BUG_TEAM_INVITE_NO_INVITE_ID, TEAM_INVITE_EMAIL_DO...
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...
863ac652627e07ad
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...
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...