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
63a11736f8826f43
cpp
80
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...
00b8a012714ee073
typescript
31
One Dark Pro
import { defineVersion } from "verzod" import { z } from "zod" import { V1_SCHEMA } from "./1" export const HoppRESTRequestVariables = z.array( z.object({ key: z.string().catch(""), value: z.string().catch(""), active: z.boolean().catch(true), }) ) export type HoppRESTRequestVariables = z.infer<typeof...
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...
e11feadf5c1b5aba
java
169
Dracula
/* Copyright (c) 2014 by Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
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...
d59d5275423a7ce1
cpp
50
Default Light+
// // MIT license // Copyright (C) 2024 Intel Corporation // SPDX-License-Identifier: MIT // #pragma once #include "ggml.h" #include "ggml-backend.h" #define GGML_SYCL_NAME "SYCL" #define GGML_SYCL_MAX_DEVICES 48 #ifdef __cplusplus extern "C" { #endif // backend API GGML_BACKEND_API ggml_backend_t ggml_backend...
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...
123b04bec7551091
csharp
34
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
688b204a1c73acd1
csharp
59
Dracula
namespace ServiceLib.Handler.Fmt; public class TuicFmt : BaseFmt { public static ProfileItem? Resolve(string str, out string msg) { msg = ResUI.ConfigurationFormatIncorrect; ProfileItem item = new() { ConfigType = EConfigType.TUIC }; var url = Utils.TryUri(...
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...
fa6867f797ebbd41
rust
185
One Dark Pro
use std::sync::Arc; use super::{BundleError, Result, VerifiedBundle}; use crate::{ api::ApiClient, cache::CacheManager, storage::{StorageError, StorageManager}, verification::{BundleVerifier, KeyManager}, }; #[derive(Debug)] struct BundleInfo { name: String, content: Vec<u8>, } pub struct Bun...
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...
7b2a0c4633ae99a2
go
131
Solarized Dark
// Copyright 2024 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
7e56dbf0a49cc213
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel.Plugins.Web.Tavily; /// <summary> /// The depth of the search. advanced search is tailored to retrieve /// the most relevant sources and content snippets for your query, /// while basic search provides generic content snippets from e...
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"...
b6103bf7269f877a
typescript
47
One Dark Pro
import { Injectable } from '@nestjs/common'; import { PrismaService } from 'src/prisma/prisma.service'; import { MockServer as dbMockServer, MockServerAction, } from 'src/generated/prisma/client'; @Injectable() export class MockServerAnalyticsService { constructor(private readonly prisma: PrismaService) {} /*...
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.", ...
eaa761ca45a3d0d5
csharp
39
Dracula
namespace ServiceLib.Models; public record ProtocolExtraItem { // vmess public string? AlterId { get; init; } public string? VmessSecurity { get; init; } // vless public string? Flow { get; init; } public string? VlessEncryption { get; init; } //public string? VisionSeed { get; init; } ...
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" ...
00d492f674a35287
java
153
GitHub Dark
package org.jeecg.modules.system.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.Op...
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.", ...
9443da83bf981b13
java
120
GitHub Dark
package org.jeecg.modules.system.service.impl; import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import org.jeecg.common.api.vo.Result; import org.jeecg.common....
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"...
657261512da20147
csharp
127
Default Dark+
using RevokeMsgPatcher.Model; using RevokeMsgPatcher.Utils; using System.Collections.Generic; using System.IO; namespace RevokeMsgPatcher.Modifier { public class FileHexEditor { public string FileName { get; set; } public string FilePath { get; set; } public string FileBakPath { get;...
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"...
f4ed601d9fcdef53
python
197
Solarized Light
class Graph: """ Data structure to store graphs (based on adjacency lists) """ def __init__(self): self.num_vertices = 0 self.num_edges = 0 self.adjacency = {} def add_vertex(self, vertex): """ Adds a vertex to the graph """ if vertex not in...
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" ...
b3e2501dc75d6aed
csharp
138
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using Azure.AI.Agents.Persistent; using Microsoft.SemanticKernel.ChatCompletion; namespace Microsoft.SemanticKernel.Agents.AzureAI.Internal; /// <summary> /// Factory for creating <see cref="MessageContent"/> based ...
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...
273512b7dd21e7de
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...
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" ...
453719fd1c81866d
typescript
79
GitHub Dark
import { Request, Response } from "express" import * as path from "path" import { HttpCode, HttpError } from "../../common/http" import { ensureProxyEnabled, authenticated, ensureAuthenticated, ensureOrigin, redirect, self } from "../http" import { proxy as _proxy } from "../proxy" import type { WebsocketRequest } from...
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...
654c18c824f6a781
go
97
Solarized Light
package cron import ( "errors" "fmt" "runtime" "sync" "time" ) // JobWrapper decorates the given Job with some behavior. type JobWrapper func(Job) Job // Chain is a sequence of JobWrappers that decorates submitted jobs with // cross-cutting behaviors like logging or synchronization. type Chain struct { wrapper...
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"...
ab465ac2c8c5c642
python
96
Default Light+
from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, qualities, try_call, try_get, ) class WhoWatchIE(InfoExtractor): IE_NAME = 'whowatch' _VALID_URL = r'https?://whowatch\.tv/viewer/(?P<id>\d+)' _TESTS = [{ 'url': 'https://whowatch.tv/viewer/21...
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...
09bc987ec589b49f
java
63
Default Light+
package com.thealgorithms.ciphers; /** * A Java implementation of Polybius Cipher * Polybius is a substitution cipher method * It was invented by a greek philosopher that name is Polybius * Letters in alphabet takes place to two dimension table. * Encrypted text is created according to row and column in two dimen...
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...
003495740abe2ed9
typescript
81
Solarized Light
import { Plus } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, } from "@/registry/new-york-v4/ui/item"...
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...
d162f4d0686d9dae
typescript
47
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Box, Text } from 'ink'; import { theme } from '../../semantic-colors.js'; import type { ChatDetail } from '../../types.js'; interface ChatListProps { chats: readonly ChatDetail[]; } expo...
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...
e572307bd3fd9036
csharp
67
Monokai
using System; namespace winPEAS.Info.UserInfo.SAM { public enum DOMAIN_INFORMATION_CLASS { DomainPasswordInformation = 1, } [Flags] public enum PASSWORD_PROPERTIES { DOMAIN_PASSWORD_COMPLEX = 0x00000001, DOMAIN_PASSWORD_NO_ANON_CHANGE = 0x00000002, DOMAIN_PASSW...
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"...
265261801df2dbbd
python
39
Default Light+
import itertools import re from .common import SearchInfoExtractor class GoogleSearchIE(SearchInfoExtractor): IE_DESC = 'Google Video search' IE_NAME = 'video.google:search' _SEARCH_KEY = 'gvsearch' _TESTS = [{ 'url': 'gvsearch15:python language', 'info_dict': { 'id': 'pyt...
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...
8046e9a160d184b6
typescript
55
Default Dark+
import type { ResumeBadgeProps } from '../resume-badge'; export default function ResumeBadgeSuperheroIcon({ className, }: ResumeBadgeProps) { return ( <svg aria-hidden="true" className={className} height="36px" preserveAspectRatio="xMidYMid meet" role="img" viewBox="0 0 36 3...
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...
efb8cb09d5465404
typescript
60
Solarized Light
"use client" import * as React from "react" import { Field, FieldContent, FieldDescription, FieldGroup, FieldLabel, } from "@/examples/radix/ui/field" import { Select, SelectContent, SelectGroup, SelectItem, SelectTrigger, SelectValue, } from "@/examples/radix/ui/select" import { Switch } from "@...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
72e33d8185137d13
java
64
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
e8ad7442b024f5a3
java
29
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.", ...
c0aca4d618b4a9f0
typescript
86
Solarized Light
"use client" import * as React from "react" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/bases/base/ui/collapsible" import { SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarSeparator, } from "@/regist...
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...
1249a7359b390817
csharp
51
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Google.Core; internal sealed class VertexAIEmbeddingRequest { [JsonPropertyName("instances")] public IList<RequestContent>...
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" ...
12f662d3053d4a32
typescript
22
One Dark Pro
export default [ { name: "Environment: Set an environment variable", script: `\n\n// Set an environment variable pw.env.set("variable", "value");`, }, { name: "Environment: Set timestamp variable", script: `\n\n// Set timestamp variable const currentTime = Date.now(); pw.env.set("timestamp", curre...
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.", ...
08fba9fce63a07a8
cpp
439
One Dark Pro
#pragma once #include <stddef.h> #include <imgui.h> #ifdef IMNODES_USER_CONFIG #include IMNODES_USER_CONFIG #endif #ifndef IMNODES_NAMESPACE #define IMNODES_NAMESPACE ImNodes #endif typedef int ImNodesCol; // -> enum ImNodesCol_ typedef int ImNodesStyleVar; // -> enum ImNodesStyleVar_ typedef int...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
dffd2074659f2c1a
java
101
Monokai
package com.termux.shared.shell.command.environment; import android.content.Context; import androidx.annotation.NonNull; import com.termux.shared.shell.command.ExecutionCommand; import java.io.File; import java.util.HashMap; /** * Environment for Android. * * https://cs.android.com/android/platform/superproject...
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.", ...
4342516f63f0d340
python
61
Default Light+
from .common import InfoExtractor from ..utils import ( int_or_none, remove_end, ) class GameStarIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?game(?P<site>pro|star)\.de/videos/.*,(?P<id>[0-9]+)\.html' _TESTS = [{ 'url': 'http://www.gamestar.de/videos/trailer,3/hobbit-3-die-schlacht-der...
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.", ...
71e243db856d4f8d
typescript
82
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach } from 'vitest'; import { join } from 'node:path'; import { TestRig, GEMINI_DIR } from './test-helper.js'; import fs from 'node:fs'; describe('User Policy Regression Repro', () ...
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...
1b3992fbca81d080
python
66
Dracula
#!/usr/bin/python # this is the example script to use xgboost to train import time import numpy as np from sklearn.ensemble import GradientBoostingClassifier import xgboost as xgb test_size = 550000 # path to where the data lies dpath = 'data' # load in training data, directly use numpy dtrain = np.loadtxt( dpath+...
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.", ...
f97d6279e8260f7f
rust
465
Default Dark+
use std::collections::btree_map::Entry; use std::collections::BTreeMap; use std::fmt; use std::vec::Vec; use indexmap::IndexMap; use meilisearch_types::deserr::DeserrJsonError; use meilisearch_types::error::deserr_codes::{ InvalidMultiSearchFacetsByIndex, InvalidMultiSearchMaxValuesPerFacet, InvalidMultiSearch...
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"...
ec32cca9db3f2e7f
java
55
Default Light+
package com.thealgorithms.prefixsum; /** * A class that implements the Prefix Sum algorithm. * * <p>Prefix Sum is a technique used to preprocess an array such that * range sum queries can be answered in O(1) time. * The preprocessing step takes O(N) time. * * <p>This implementation uses a long array for the pre...
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...
e447a87018759e50
csharp
244
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Net.Http; using System.Text.Json; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.MistralAI; using Xunit;...
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...
6f52f87db62f626e
typescript
57
GitHub Dark
import type { ComputedRef } from 'vue'; import type { BasicTableProps, TableCustomRecord } from '../types/table'; import { unref } from 'vue'; import { isFunction } from '/@/utils/is'; import { ROW_KEY } from '/@/components/Table/src/const'; export function useTableStyle(propsRef: ComputedRef<BasicTableProps>, prefixC...
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...
8b6386ccfb63105b
go
131
Default Light+
//go:build windows || darwin package store import ( "encoding/json" "os" "path/filepath" "testing" ) func TestCloudDisabled(t *testing.T) { tests := []struct { name string envValue string configContent string wantDisabled bool wantSource string }{ { name: "default enabl...
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...
24d900d785e16e6f
typescript
290
Solarized Light
"use client" import * as React from "react" 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 { Inp...
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...
1ba93321e73fe69b
go
72
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...
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" ...
7eb4887b21116c90
csharp
113
Dracula
namespace ServiceLib.Handler.Fmt; public class SocksFmt : BaseFmt { public static ProfileItem? Resolve(string str, out string msg) { msg = ResUI.ConfigurationFormatIncorrect; var item = ResolveSocksNew(str) ?? ResolveSocks(str); if (item == null) { return null; ...
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.", ...
fc5d1e96f4a52248
typescript
42
One Dark Pro
import * as React from "react"; import styles from "./input-range.module.scss"; import clsx from "clsx"; interface InputRangeProps { onChange: React.ChangeEventHandler<HTMLInputElement>; title?: string; value: number | string; className?: string; min: string; max: string; step: string; aria: string; } ...
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...
2e61ff8f7bff7a31
rust
251
Default Dark+
use bigdecimal::{BigDecimal, ToPrimitive}; use derive_more::{AsRef, Deref, Display}; use diesel::prelude::*; use serde_json::Value; use std::time::Duration; use super::{CipherId, OrganizationId, UserId}; use crate::db::schema::{attachments, ciphers}; use crate::{config::PathType, CONFIG}; use macros::IdFromParam; #[d...
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.", ...
65c446f77e9ec2fc
java
118
GitHub Dark
package org.jeecg.modules.demo.online; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.vo.DictModel; import org.jeecg.common.util.oConvertUtils; import org.springframework.web.bind.ann...
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"...
db31ac1a55f8a1c0
cpp
122
One Dark Pro
#include "content/popups/hex_editor/popup_hex_editor_goto.hpp" #include "content/views/view_hex_editor.hpp" #include <hex/api/content_registry/settings.hpp> #include <hex/api/content_registry/user_interface.hpp> #include <content/differing_byte_searcher.hpp> #include <toasts/toast_notification.hpp> #include <fonts/...
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...
d94afb5ab89e41a8
javascript
149
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import fs from 'node:fs'; import path from 'node:path'; import os from 'node:os'; // Import os module // --- Configuration --- const cliPackageDir = path.resolve('packages', 'cli'); // Base directory for the CLI package const buil...
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...
e7f4117a6b407446
csharp
31
Monokai
using System.IO; namespace ScreenToGif.Util.Codification.Psd; internal class LayerAndMask : IPsdContent { internal LayerInfo LayerInfo = new(); public long Length => Content?.Length ?? 0; public byte[] Content { get { using (var stream = new MemoryStream()) { ...
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...
faad7acbda264c65
cpp
116
Solarized Light
#ifndef _STRINGUTILS_H #define _STRINGUTILS_H #include <string> #include <vector> #include <sstream> #include <iomanip> #ifndef _In_z_ #define _In_z_ #endif // _In_z_ #ifndef _Printf_format_string_ #define _Printf_format_string_ #endif // _Printf_format_string_ typedef std::string String; typedef std::wstring WStri...
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"...
71a30bf532ec4f1e
go
55
Default Light+
package streamtape import "encoding/json" type apiResponse struct { Status int `json:"status"` Msg string `json:"msg"` Result json.RawMessage `json:"result"` } type accountInfo struct { APIID string `json:"apiid"` Email string `json:"email"` SignupAt string `json:"signup_at"` } 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.", ...
2e48a3adf0a8c000
csharp
82
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Amazon.BedrockAgent.Model; namespace Microsoft.SemanticKernel.Agents.Bedrock; /// <summary> /// Provides extension methods for <see cref="AgentDefinition"/>. /// </summary> ...
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"...
e8561c6cd45bffff
python
381
Default Light+
import json import re import time import urllib.parse import uuid from .common import InfoExtractor from ..utils import ( ExtractorError, float_or_none, int_or_none, strip_or_none, traverse_obj, try_call, unified_timestamp, ) class RedBeeBaseIE(InfoExtractor): _DEVICE_ID = str(uuid.uu...
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.", ...
4316bba14220af83
typescript
34
One Dark Pro
import { parse, print } from "graphql" import { HoppGQLRequest, GQL_REQ_SCHEMA_VERSION } from "@hoppscotch/data" const DEFAULT_QUERY = print( parse( ` query Request { method url headers { key value } } `, { allowLegacyFragmentVariables: true...
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...
0f6a6f3cd0f5ce7b
typescript
143
Solarized Light
"use client" import * as React from "react" import { type RegistryItem } from "shadcn/schema" import useSWR from "swr" import { useDesignSystemSearchParams } from "@/app/(create)/lib/search-params" import { groupItemsByType } from "@/app/(create)/lib/utils" const ACTION_MENU_OPEN_KEY = "create:action-menu-open" typ...
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...
56d4ddc695f4582a
java
75
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...
c26f84f2f41fdc55
rust
442
Default Dark+
use std::collections::BTreeSet; use charabia::normalizer::NormalizedTokenIter; use charabia::{SeparatorKind, TokenKind}; use super::compute_derivations::partially_initialized_term_from_word; use super::{LocatedQueryTerm, ZeroTypoTerm}; use crate::search::new::query_term::{Lazy, Phrase, QueryTerm}; use crate::search::...
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...
b9bea29ad9d56931
csharp
197
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...
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...
10212882ac36b7b1
csharp
226
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Runtime.Serialization; using System.Text.Json; using System.Text.Json.Serialization; using System.Threading.Tasks; using YamlDotNet.Core; using Yam...
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...
f8e3600beec0b237
csharp
133
Default Light+
// Copyright (c) 2023 James May // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publish, di...
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...
134ca287e94db002
cpp
39
Solarized Light
#pragma once #include "TypeWidget.h" #include "ActionHelpers.h" class GotoDialog; class StructWidget : public TypeWidget, public ActionHelper<StructWidget> { Q_OBJECT public: explicit StructWidget(QWidget* parent = nullptr); private: MenuBuilder* mMenuBuilder = nullptr; GotoDialog* mGotoDialog = nu...
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.", ...
e8c3a4beb34b69c8
python
158
Solarized Dark
import sys from typing import BinaryIO, Any from ._html_converter import HtmlConverter from .._base_converter import DocumentConverter, DocumentConverterResult from .._exceptions import MissingDependencyException, MISSING_DEPENDENCY_MESSAGE from .._stream_info import StreamInfo # Try loading optional (but in this case...
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...
e1bd8ac6c3fb2472
javascript
68
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); const Slack = require("./slack"); const { getMonitorRelativeURL, DOWN } = require("../../src/util"); const { Settings } = require("../settings"); class RocketChat extends NotificationProvider { name = "rocket.chat"; ...
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...
c0985c909053b0f0
java
42
Solarized Dark
// Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) // You have the following 3 operations permitted on a word: // a) Insert a character // b) Delete a character // c) Replace a character public class EditDistance { publi...
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" ...
f9162ce3f060c3d9
python
241
Solarized Light
from typing import Optional, List, Dict, Any from ...types import ScrapeOptions, WebhookConfig, Document, BatchScrapeResponse, BatchScrapeJob, PaginationConfig from ...utils.http_client_async import AsyncHttpClient from ...utils.validation import prepare_scrape_options from ...utils.error_handler import handle_response...
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...
b1b9e3959fffecc9
python
53
Solarized Light
""" Program to check if a cycle is present in a given graph """ def check_cycle(graph: dict) -> bool: """ Returns True if graph is cyclic else False >>> check_cycle(graph={0:[], 1:[0, 3], 2:[0, 4], 3:[5], 4:[5], 5:[]}) False >>> check_cycle(graph={0:[1, 2], 1:[2], 2:[0, 3], 3:[3]}) True ""...
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.", ...
6e524b45b5f8f380
csharp
105
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 ...
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...
47e99e283d68ecf7
csharp
79
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...
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...
e3fef4f526cef389
typescript
37
One Dark Pro
import { resolve } from "path" import { defineConfig } from "vite" export default defineConfig({ build: { outDir: "./dist", emptyOutDir: true, lib: { entry: { 'hoppscotch-kernel': resolve(__dirname, 'src/index.ts'), }, formats: ['es', 'cjs'] }, rollupOptions: { ext...
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" ...
a4bd80d2325f300a
csharp
115
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
13b83b2fbef8d77c
go
96
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...
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...
aa3919ce1934d421
csharp
32
Monokai
using winPEAS._3rdParty.BouncyCastle.asn1; namespace winPEAS._3rdParty.BouncyCastle.oiw { public abstract class OiwObjectIdentifiers { public static readonly DerObjectIdentifier MD4WithRsa = new DerObjectIdentifier("1.3.14.3.2.2"); public static readonly DerObjectIdentifier MD5WithRsa = new DerObjectIdentifier(...
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...
78106141fa0b92e9
java
128
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"...
4cd6c3d2580aea97
csharp
48
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
41bde9ca02b741e4
typescript
83
Solarized Light
"use client" import { TrendingUp } from "lucide-react" import { PolarAngleAxis, PolarGrid, Radar, RadarChart } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipCo...
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"...
2fe6d6daab2fbf06
csharp
77
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
b2c12bac390f1470
cpp
20
Default Light+
#pragma once #include "ggml.h" #include "ggml-backend.h" #ifdef __cplusplus extern "C" { #endif // backend API GGML_BACKEND_API ggml_backend_t ggml_backend_hexagon_init(void); GGML_BACKEND_API bool ggml_backend_is_hexagon(ggml_backend_t backend); GGML_BACKEND_API ggml_backend_reg_t ggml_backend_hexagon_reg(void);...
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...
eb6c5491a7e46ab3
csharp
32
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Agents.Runtime; /// <summary> /// Exception thrown when an attempt is made to access an unavailable value, such as a remote resource. /// </summary> [ExcludeFromCodeCoverage] publ...
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" ...
e4b2b09156f57206
typescript
61
Solarized Light
"use client" import * as React from "react" import { Field, FieldLabel } from "@/examples/radix/ui-rtl/field" import { InputOTP, InputOTPGroup, InputOTPSlot, } from "@/examples/radix/ui-rtl/input-otp" import { useTranslation, type Translations, } from "@/components/language-selector" const translations: Tr...
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...
91f6a6991a4254b4
csharp
115
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Http; namespace Microsoft.SemanticKernel.Plugins.OpenApi; int...
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...
a6e86554a392a1fb
java
25
One Dark Pro
package io.github.ggerganov.whispercpp.callbacks; import com.sun.jna.Callback; import com.sun.jna.Pointer; import io.github.ggerganov.whispercpp.WhisperContext; import io.github.ggerganov.whispercpp.model.WhisperState; /** * Callback for the text segment. * Called on every newly generated text segment. * Use the w...
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"...
a90e106cb056eae4
rust
95
GitHub Dark
/** * @file * @brief Calculate the area of a polygon defined by a vector of points. * * @details * This program provides a function to calculate the area of a polygon defined by a vector of points. * The area is calculated using the formula: A = |Σ((xi - xi-1) * (yi + yi-1))| / 2 * where (xi, yi) are the coordin...
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" ...
6176f26d4964f290
cpp
132
Solarized Dark
#include <openpose/hand/handExtractorNet.hpp> #include <openpose/utilities/check.hpp> namespace op { HandExtractorNet::HandExtractorNet(const Point<int>& netInputSize, const Point<int>& netOutputSize, const int numberScales, const float rangeScales, ...
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"...
21194ed9fa98a1d1
typescript
51
Default Light+
import clsx from "clsx"; import "./ToolIcon.scss"; import { LockedIcon, UnlockedIcon } from "./icons"; import type { ToolButtonSize } from "./ToolButton"; type LockIconProps = { title?: string; name?: string; checked: boolean; onChange?(): void; isMobile?: boolean; }; const DEFAULT_SIZE: ToolButtonSize =...
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...
9bf1968a072ab400
csharp
67
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Runtime; using Microsoft.SemanticKernel.Agents.Runtime.Core; namespace Microsoft.SemanticKernel.Agents.Orchestration.GroupChat; /...
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" ...
d9536251ce80d13f
cpp
33
Solarized Dark
#ifndef OPENPOSE_CORE_OP_OUTPUT_TO_CV_MAT_HPP #define OPENPOSE_CORE_OP_OUTPUT_TO_CV_MAT_HPP #include <openpose/core/common.hpp> namespace op { class OP_API OpOutputToCvMat { public: OpOutputToCvMat(const bool gpuResize = false); virtual ~OpOutputToCvMat(); void setSharedParameter...
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...
ef00f0d8cfecb6a1
typescript
284
Solarized Light
"use client" import * as React from "react" import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, } from "@/exam...
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...
d2cf7b22a8c44472
cpp
166
Dracula
/** * Copyright 2024-2025, XGBoost Contributors */ #include "extmem_quantile_dmatrix.h" #include <memory> // for shared_ptr #include <string> // for string #include <vector> // for vector #include "../common/error_msg.h" // for CacheHostRatio, InconsistentMaxBin #include "../tree/param.h" // FIXME(ji...
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" ...
1efd1dfec72b81fb
cpp
38
Solarized Dark
#ifndef OPENPOSE_POSE_POSE_PARAMETERS_HPP #define OPENPOSE_POSE_POSE_PARAMETERS_HPP #include <map> #include <openpose/core/common.hpp> #include <openpose/pose/enumClasses.hpp> namespace op { // Constant Global Parameters // For OpenCL-NMS in Ubuntu, (POSE_MAX_PEOPLE+1)*3(x,y,score) must be divisible by 32. Ea...
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...
dab46c714596670b
csharp
128
Default Dark+
using Microsoft.Win32; using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; namespace RevokeMsgPatcher.Utils { public class PathUtil { public static void DisplayAllProgram() { RegistryKey uninstallKey, ...
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"...
f446b9df5feb2cb0
java
271
GitHub Dark
package org.jeecg.modules.airag; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import dev.langchain4j.agent.tool.ToolSpecificatio...
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...
383968735158782d
java
215
Default Dark+
package org.schabi.newpipe.settings; import android.content.DialogInterface; import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.ProgressBar; import android.widget.TextView; import androidx.annota...
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"...
a91bcb287ecca68b
csharp
41
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Microsoft.VisualStudio.TestTools.UnitTesting; using Microsoft.VisualStudio.TestTools.UnitTesting.Logging; using OpenQA.Selenium.Appium.Windows; using System.Diagnostics; using System.Threading; namespace Calculator...
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" ...
9935db27fd76675e
java
53
Solarized Dark
/** * A sequence of n > 0 integers is called a jolly jumper if the absolute values of the difference between * successive elements take on all the values 1 through n − 1. For instance, * 1 4 2 3 * is a jolly jumper, because the absolutes differences are 3, 2, and 1 respectively. The definition implies * that any...
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...
fc909cfbab690881
cpp
28
One Dark Pro
// // MIT license // Copyright (C) 2024 Intel Corporation // SPDX-License-Identifier: MIT // // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #ifndef GGML_SYCL_...
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...
ccef9d628a92834e
go
92
Default Light+
package db import ( "fmt" stdpath "path" "strings" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" "github.com/pkg/errors" "gorm.io/gorm" ) func whereInParent(parent string) *gorm.DB { if parent == "/" { return db.Where...
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.", ...
dd62c3e53eb3105b
typescript
74
Solarized Light
import { Document } from "../../../controllers/v1/types"; import { Meta } from ".."; import { logger } from "../../../lib/logger"; import { parseMarkdown } from "../../../lib/html-to-markdown"; import { smartScrape, SmartScrapeResult } from "../lib/smartScrape"; import { hasFormatOfType } from "../../../lib/format-util...
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...
060d31bdba262ccc
cpp
396
One Dark Pro
/****************************************************************************** ** Filename: adaptive.c ** Purpose: Adaptive matcher. ** Author: Dan Johnson ** ** (c) Copyright Hewlett-Packard Company, 1988. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you may not use this fi...
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"...