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
8d55a8b24aaefccd
typescript
101
Solarized Light
"use client" import { TrendingUp } from "lucide-react" import { CartesianGrid, Line, LineChart, XAxis } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipContent, ...
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...
8a767219fe133ceb
java
95
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...
660a77371bd6351a
csharp
20
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Microsoft.SemanticKernel; /// <summary> /// Represents the type of a thread in a kernel process. /// </summary> public enum KernelProcessThreadType { /// <summary> /// A thread is a general chat completion type. /// </summary> ChatCompletion,...
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...
99e36974c95c7107
csharp
209
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Text; using System.Text.Json; using System.Text.Json.Serialization.Metadata; namespace Microsoft.SemanticKernel; /// <summary> /// A builder class f...
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...
d4fbd15dddfc6303
csharp
52
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Memory; using Moq; using Xunit; namespace SemanticKernel.Connectors.Google.UnitTests.Extensions; /// <summary> /// Unit tests for <see cref="VertexAIMemoryBuild...
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"...
011c8e2dd37d74bd
java
40
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...
0ab4bdfdac425c1b
cpp
137
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 // #include "im2col.h...
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...
1f5f474427f4797c
go
53
Default Light+
// Copyright (c) Tailscale Inc & AUTHORS // SPDX-License-Identifier: BSD-3-Clause // Package stringsx provides additional string manipulation functions // that aren't in the standard library's strings package or go4.org/mem. package stringsx import ( "unicode" "unicode/utf8" ) // CompareFold returns -1, 0, or 1 de...
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"...
dd960b6c14daccca
go
94
Solarized Light
package mysql import ( "context" "strings" "github.com/pkg/errors" storepb "github.com/usememos/memos/proto/gen/store" "github.com/usememos/memos/store" ) func (d *DB) UpsertUserSetting(ctx context.Context, upsert *store.UserSetting) (*store.UserSetting, error) { stmt := "INSERT INTO `user_setting` (`user_id`...
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...
8f29acce208e7b8e
go
91
Default Light+
package task import ( "context" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/model" "github.com/xhofe/tache" "sync" "time" ) type TaskExtension struct { tache.Base ctx context.Context ctxInitMutex sync.Mutex Creator *model.User startTime *time.Time ...
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.", ...
8ed8ded23f8ca301
cpp
51
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...
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...
02cf8e3961b6de2c
typescript
259
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { debugLogger, type Config } from '@google/gemini-cli-core'; import WebSocket from 'ws'; import { initActivityLogger, addNetworkTransport, ActivityLogger, } from './activityLogger.js'; interface IDevTools { start():...
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...
60bd15ea7744df42
typescript
34
GitHub Dark
import { defHttp } from '/@/utils/http/axios'; enum Api { list = '/sys/oss/file/list', deleteFile = '/sys/oss/file/delete', ossUpload = '/sys/oss/file/upload', minioUpload = '/sys/upload/uploadMinio', } /** * oss上传 * @param params */ export const getOssUrl = Api.ossUpload; /** * minio上传 * @param params ...
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" ...
a6e9aa57b56bb82e
python
144
Default Light+
import re from .common import InfoExtractor from ..utils import ExtractorError, extract_attributes class BFMTVBaseIE(InfoExtractor): _VALID_URL_BASE = r'https?://(?:www\.|rmc\.)?bfmtv\.com/' _VALID_URL_TMPL = _VALID_URL_BASE + r'(?:[^/]+/)*[^/?&#]+_%s[A-Z]-(?P<id>\d{12})\.html' _VIDEO_BLOCK_REGEX = r'(<d...
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...
bb7127b68110e298
csharp
46
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Text; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// Represents reasoning content. /// </summary> [Experimental("SKEXP0110")] public sealed class StreamingReasoningConten...
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...
ae47c6f1c74e0c05
java
156
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...
4da12ecff543091b
csharp
363
Monokai
using System.Globalization; using System.IO; using System.Windows; using ScreenToGif.Domain.Enums; using ScreenToGif.Util.Settings; namespace ScreenToGif.Util; /// <summary> /// Holds information about the current arguments of the running instance. /// </summary> public static class Arguments { #region Properties...
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...
24e4ed73a780a68b
python
41
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import ClassVar from typing_extensions import deprecated from semantic_kernel.kernel_pydantic import KernelBaseSettings @deprecated("VertexAISettings is deprecated and will be removed after 01/01/2026. Use google_ai connectors instead.") class VertexAISet...
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...
a367f98adf64cedb
typescript
92
Default Dark+
import type { QuestionsQuestionType } from '@prisma/client'; export type Question = { aggregatedQuestionEncounters: AggregatedQuestionEncounter; content: string; id: string; lastSeenAt: Date | null; numAnswers: number; numComments: number; numVotes: number; receivedCount: number; type: QuestionsQuest...
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...
4cebfeb5c20ddf3e
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 ...
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...
8ccd3d4c5463df2e
java
76
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" ...
6560a0378212b4e7
typescript
70
GitHub Dark
import { FormSchema } from '/@/components/Form'; import { BasicColumn } from '/@/components/Table'; import { getDepartName } from "@/utils/common/compUtils"; export const columns: BasicColumn[] = [ { title: '姓名', dataIndex: 'realname', width: 100, }, { title: '部门', dataIndex: 'departName', ...
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.", ...
bfe7b0a09eb84a4e
go
189
Solarized Light
package server import ( "context" "fmt" "log/slog" "net" "net/http" "runtime" "time" "github.com/google/uuid" "github.com/labstack/echo/v5" "github.com/labstack/echo/v5/middleware" "github.com/pkg/errors" "github.com/usememos/memos/internal/profile" storepb "github.com/usememos/memos/proto/gen/store" a...
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" ...
22e7fdd7a747a610
python
107
Solarized Light
""" Error handling utilities for v2 API. """ import requests from typing import Dict, Any, Optional class FirecrawlError(Exception): """Base exception for Firecrawl API errors.""" def __init__(self, message: str, status_code: Optional[int] = None, response: Optional[requests.Response] = None): s...
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.", ...
38f6c0d7d2796071
go
33
Solarized Dark
// Copyright 2021 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...
897270ce63c2834a
csharp
79
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using Microsoft.Extensions.VectorData; using Microsoft.Extensions.VectorData.ProviderServices; namespace Microsoft.SemanticKernel.Connectors.AzureAISearch; /// <summary> /// Contains mapping helpers to use when searching for documents...
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...
285de4c8d2c3992a
java
156
Default Dark+
package org.schabi.newpipe.info_list.holder; import android.view.View; import android.view.ViewGroup; import android.widget.ImageView; import android.widget.TextView; import androidx.core.content.ContextCompat; import org.schabi.newpipe.R; import org.schabi.newpipe.database.stream.model.StreamStateEntity; import org...
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...
7a1775bbca2700a0
typescript
109
Solarized Light
"use client" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { Field, FieldGroup, FieldLabel } from "@/registry/bases/base/ui/field" import { Input } from "@/registry/bases...
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...
07d5d1638b012b92
typescript
224
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { extractInjections } from './injectionParser.js'; describe('extractInjections', () => { const SHELL_TRIGGER = '!{'; const AT_FILE_TRIGGER = '@{'; describe('Basic Functi...
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...
aa4d71a235431786
cpp
147
Default Light+
#pragma once #include <musa_runtime.h> #include <musa.h> #include <mublas.h> #include <musa_bf16.h> #include <musa_fp16.h> #define CUBLAS_COMPUTE_16F CUDA_R_16F #define CUBLAS_COMPUTE_32F CUDA_R_32F #define CUBLAS_COMPUTE_32F_FAST_16F MUBLAS_COMPUTE_32F_FAST_16F #define CUBLAS_GEMM_DEFAULT MUBLAS_GEMM_DEFAULT #define ...
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"...
66468f6df5e0f330
rust
147
Default Dark+
use std::sync::atomic::Ordering; use std::sync::Arc; use bumpalo::Bump; use rayon::iter::IndexedParallelIterator; use rayon::slice::ParallelSlice; use super::document_changes::IndexingContext; use crate::documents::PrimaryKey; use crate::progress::AtomicDocumentStep; use crate::update::new::document::{DocumentContext...
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" ...
62e92b614b44843b
java
51
Default Light+
package com.thealgorithms.slidingwindow; /** * The Sliding Window algorithm is used to find the maximum sum of a subarray * of a fixed size k within a given array. * * <p> * Worst-case performance O(n) * Best-case performance O(n) * Average performance O(n) * Worst-case space complexity O(1) * * @author Your...
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...
ec771cbcb506734f
typescript
66
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { SettingScope } from '../config/settings.js'; import type { AgentActionResult } from './agentSettings.js'; /** * Shared logic for building the core agent action message while allowing the * caller to control how each sco...
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"...
c4b9d3203d1bd177
python
117
Monokai
# Copyright (c) Microsoft. All rights reserved. import sys from abc import abstractmethod from typing import TYPE_CHECKING, Any, TypeVar from semantic_kernel.kernel_pydantic import KernelBaseModel if TYPE_CHECKING: from semantic_kernel.memory.memory_query_result import MemoryQueryResult if sys.version_info >= (...
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.", ...
d59640bd10a8cdf1
csharp
380
Default Light+
#nullable enable // // UnicodeNewline.cs // // Author: // Mike Krüger <mkrueger@xamarin.com> // // Copyright (c) 2013 Xamarin Inc. (http://xamarin.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to dea...
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.", ...
1651f1482d315009
java
25
Solarized Dark
//Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. //You may assume that the array is non-empty and the majority element always exist in the array. class MajorityElement { public int majorityElement(int[] nums) { if(nums.length =...
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"...
9c5dec34b4223b7f
typescript
131
One Dark Pro
import { ObjectType, Field, ID } from '@nestjs/graphql'; import { ReqType } from 'src/types/RequestTypes'; import { UserRequest } from 'src/user-request/user-request.model'; @ObjectType() export class UserCollection { @Field(() => ID, { description: 'ID of the user collection', }) id: string; @Field({ ...
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.", ...
4e87d5d9f142594d
csharp
114
Monokai
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security.Principal; using winPEAS.Native; using winPEAS.Native.Classes; namespace winPEAS.Info.UserInfo.SAM { public sealed class SamServer : IDisposable { private IntPtr _handle; public SamServ...
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" ...
b0621fed856a993f
cpp
196
One Dark Pro
/* * Copyright (c) 2023-2026 The ggml authors * * 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, merg...
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" ...
ca4b7209de1e9d5f
csharp
112
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel; /// <summary> /// Provides read-only metadata for a <see cref="KernelFunction"/>. /// </summary> public se...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
4ba29e9b048e6190
typescript
30
One Dark Pro
import { resolve } from "path" import { defineConfig } from "vite" export default defineConfig({ build: { outDir: "./dist", emptyOutDir: true, lib: { entry: { web: "./src/web/index.ts", node: "./src/node/index.ts", }, name: "js-sandbox", formats: ["es", "cjs"], ...
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...
1b33822fb4c6ad3e
csharp
332
Default Light+
// Copyright (c) 2011-2016 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, //...
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...
81a05d0e8db187e5
typescript
115
One Dark Pro
import { ArgsType, Field, ID } from '@nestjs/graphql'; import { PaginationArgs } from 'src/types/input-types.args'; @ArgsType() export class GetRootTeamCollectionsArgs extends PaginationArgs { @Field(() => ID, { name: 'teamID', description: 'ID of the team' }) teamID: string; } @ArgsType() export class CreateRoot...
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...
5d1708e380e4144e
csharp
189
Dracula
using Avalonia.VisualTree; using v2rayN.Desktop.Base; namespace v2rayN.Desktop.Views; public partial class ProfilesSelectWindow : WindowBase<ProfilesSelectViewModel> { private static Config _config; public Task<ProfileItem?> ProfileItem => GetProfileItem(); public Task<List<ProfileItem>?> ProfileItems =>...
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...
12e1b14c35a0fa36
csharp
101
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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...
b4181ca94dafdbaf
csharp
25
Monokai
using System.Windows; namespace ScreenToGif.Domain.Models; public class DetectedRegion { public IntPtr Handle { get; private set; } public Rect Bounds { get; set; } public string Name { get; private set; } /// <summary> /// The Z-Index of the window, higher means that the window will be on top....
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"...
f64d17e127b78114
python
69
Solarized Light
""" Implements a disjoint set using Lists and some added heuristics for efficiency Union by Rank Heuristic and Path Compression """ class DisjointSet: def __init__(self, set_counts: list) -> None: """ Initialize with a list of the number of items in each set and with rank = 1 for each set ...
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" ...
970bb4af2b6b0ffb
java
63
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.", ...
bfb66c8e7be379b7
typescript
103
Dracula
import { createSignal } from 'solid-js' import solidLogo from './assets/solid.svg' import viteLogo from './assets/vite.svg' import heroImg from './assets/hero.png' import './App.css' function App() { const [count, setCount] = createSignal(0) return ( <> <section id="center"> <div class="hero"> ...
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"...
c23a6e0681599749
python
191
Default Light+
import logging from typing import Callable import numpy as np import torch import tqdm from PIL import Image from modules import devices, images, shared, torch_utils logger = logging.getLogger(__name__) def pil_image_to_torch_bgr(img: Image.Image) -> torch.Tensor: img = np.array(img.convert("RGB")) img = i...
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...
1046e71b69f90fea
rust
71
Default Dark+
mod clonable_mmap; mod grenad_helpers; mod merge_functions; use std::collections::HashSet; use std::convert::{TryFrom, TryInto}; pub use clonable_mmap::{ClonableMmap, CursorClonableMmap}; use fst::{IntoStreamer, Streamer}; pub use grenad_helpers::*; pub use merge_functions::*; use crate::MAX_LMDB_KEY_LENGTH; pub fn...
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...
9f67399c905dcdd6
csharp
347
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.AudioToText; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors...
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" ...
d98d487afb312254
javascript
35
Dracula
/** * Find power-set of a set using BITWISE approach. * * @param {*[]} originalSet * @return {*[][]} */ export default function bwPowerSet(originalSet) { const subSets = []; // We will have 2^n possible combinations (where n is a length of original set). // It is because for every element of original set we...
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" ...
a55b4acf83cabc16
go
236
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" ...
f8908024778098be
csharp
83
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...
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"...
89d100f38f35f539
csharp
78
Monokai
using System.Runtime.InteropServices; namespace Netch.Interops; public static class Redirector { public enum NameList { AIO_FILTERLOOPBACK, AIO_FILTERINTRANET, // LAN AIO_FILTERPARENT, AIO_FILTERICMP, AIO_FILTERTCP, AIO_FILTERUDP, AIO_FILTERDNS, ...
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" ...
1e3b94048a99b955
cpp
76
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
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...
ad694a8cfdfc34c6
java
157
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class CmsTopic implements Serializable { private Long id; private Long categoryId; private String name; private Date createTime; private Date startTime; ...
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...
6506e9675c1c2001
rust
76
Solarized Light
use proc_macro::TokenStream; use proc_macro2::TokenStream as TokenStream2; use quote::{format_ident, quote}; use syn::meta::ParseNestedMeta; use syn::{DataEnum, Generics, Ident}; use crate::serde_replace; pub fn derive_deserialize(ident: Ident, generics: Generics, data_enum: DataEnum) -> TokenStream { let visitor...
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.", ...
045f7798d7daed29
java
37
Default Light+
package com.thealgorithms.maths; /** * Utility class for checking if a number is a power of four. * A power of four is a number that can be expressed as 4^n where n is a non-negative integer. * This class provides a method to determine if a given integer is a power of four using bit manipulation. * * @author kris...
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...
e3e6c6ebe81e0a03
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.", ...
6fd17fa93c6c4b80
java
82
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 ...
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...
eea89ef16d697d1b
javascript
254
Solarized Light
#!/usr/bin/env node /** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import fs from 'node:fs'; import path from 'node:path'; import { execSync } from 'node:child_process'; import os from 'node:os'; const artifactsDir = process.argv[2] || '.'; const MAX_HISTORY = 10; // Find al...
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"...
a276f758b91657ff
python
54
Default Light+
from .common import InfoExtractor from .streamable import StreamableIE class FootyRoomIE(InfoExtractor): _VALID_URL = r'https?://footyroom\.com/matches/(?P<id>\d+)' _TESTS = [{ 'url': 'http://footyroom.com/matches/79922154/hull-city-vs-chelsea/review', 'info_dict': { 'id': '7992215...
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...
ebf299961491933b
csharp
144
Monokai
//------------------------------------------------------------------------------ // <auto-generated> // 此代码由工具生成。 // 运行时版本:4.0.30319.42000 // // 对此文件的更改可能会导致不正确的行为,并且如果 // 重新生成代码,这些更改将会丢失。 // </auto-generated> //------------------------------------------------------------------------------ namespace N...
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...
69964277cddd0d8b
cpp
144
Solarized Light
#include "commandline.h" #include "threading.h" #include "memory.h" #include "debugger.h" #include "console.h" #include "filehelper.h" char commandLine[MAX_SETTING_SIZE]; void showcommandlineerror(cmdline_error_t* cmdline_error) { bool unkown = false; switch(cmdline_error->type) { case CMDL_ERR_ALLOC...
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...
d28e60ad51b0ef4d
csharp
262
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
3af5d1cad7a496fa
java
74
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" ...
945791bd64a3437f
typescript
130
Solarized Light
import { Example, ExampleWrapper, } from "@/registry/bases/radix/components/example" import { Field, FieldDescription, FieldLabel, } from "@/registry/bases/radix/ui/field" import { NativeSelect, NativeSelectOptGroup, NativeSelectOption, } from "@/registry/bases/radix/ui/native-select" export default fu...
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...
124a7a2b374a1d20
csharp
87
Monokai
// Copyright (c) Microsoft. All rights reserved. #if !NET8_0_OR_GREATER namespace System.Diagnostics.CodeAnalysis; /// <summary> /// Polyfill for the UnconditionalSuppressMessageAttribute introduced in .NET 8.0 /// Suppresses reporting of a specific rule violation, allowing multiple suppressions on a /// single code...
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...
e60eb57760e3f288
typescript
179
Default Dark+
import assert from 'node:assert/strict' import { writeFileSync } from 'node:fs' import { join } from 'node:path' import test from 'node:test' import getPort from 'get-port' import { Low, Memory } from 'lowdb' import { temporaryDirectory } from 'tempy' import { createApp } from './app.ts' import type { Data } from ...
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"...
416ea1e1b3356c17
rust
199
Default Dark+
mod datasets_paths; mod utils; use criterion::{criterion_group, criterion_main}; use milli::update::Settings; use milli::FilterableAttributesRule; use utils::Conf; #[cfg(not(windows))] #[global_allocator] static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc; fn base_conf(builder: &mut Settings) { let displayed_...
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...
2e4a3968aa26686b
typescript
96
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { CommandModule } from 'yargs'; import { debugLogger, getErrorMessage } from '@google/gemini-cli-core'; import chalk from 'chalk'; import { exitCli } from '../utils.js'; import { requestConsentNonInteractive, skill...
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...
cf59cb9b21f020e3
typescript
37
Solarized Light
import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "@/examples/radix/ui/resizable" export default function ResizableDemo() { return ( <ResizablePanelGroup orientation="horizontal" className="max-w-sm rounded-lg border" > <ResizablePanel defaultSize="50%"> <d...
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"...
fc423345a8402830
python
39
Solarized Light
from __future__ import annotations from cmath import sqrt def quadratic_roots(a: int, b: int, c: int) -> tuple[complex, complex]: """ Given the numerical coefficients a, b and c, calculates the roots for any quadratic equation of the form ax^2 + bx + c >>> quadratic_roots(a=1, b=3, c=-4) (1.0, -...
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...
168d00e5b29d05e4
csharp
48
Default Light+
using System; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { internal class Issue3452 { private struct Data { public object Obj; } private class C1(object obj) { internal Data d = new Data { Obj = obj }; } private class C2(object obj) { public object Obj => obj; } pr...
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" ...
09bfd815da40f800
java
38
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.", ...
568ac63728cfd5aa
cpp
169
Solarized Light
#include "commandparser.h" Command::Command(const String & command) { ParseState state = Default; int len = (int)command.length(); for(int i = 0; i < len; i++) { char ch = command[i]; switch(state) { case Default: switch(ch) { case '\t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
b858ddc6bd999ba2
typescript
44
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { GeminiClient } from '../core/client.js'; import type { MessageBus } from '../confirmation-bus/message-bus.js'; import type { ToolRegistry } from '../tools/tool-registry.js'; import type { PromptRegistry } from '../pro...
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...
763c554de1c43a34
cpp
149
Dracula
/*! * Copyright (c) 2015-2019 by Contributors * \file logging.h * * \brief defines console logging options for xgboost. Use to enforce unified print * behavior. */ #ifndef XGBOOST_LOGGING_H_ #define XGBOOST_LOGGING_H_ #include <dmlc/logging.h> #include <dmlc/thread_local.h> #include <xgboost/base.h> #include ...
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" ...
060f58569871df93
cpp
68
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "CalcManager/CalculatorManager.h" #include "Common/Automation/NarratorAnnouncement.h" #include "Common/CalculatorDisplay.h" #include "Common/NavCategory.h" #include "HistoryItemViewModel.h" namespace...
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...
27d0731400e9a069
cpp
72
One Dark Pro
#pragma once #include <hex/ui/imgui_imhex_extensions.h> #include <hex/ui/toast.hpp> #include <fonts/vscode_icons.hpp> #include <hex/helpers/utils.hpp> #include <hex/helpers/logger.hpp> #include <popups/popup_notification.hpp> namespace hex::ui { namespace impl { template<typename T> struct Toa...
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...
d846196b06111319
csharp
41
Monokai
#nullable disable namespace Netch.Models.GitHubRelease; public class GitHubUser { public string login { get; set; } public int id { get; set; } public string node_id { get; set; } public string avatar_url { get; set; } public string gravatar_id { get; set; } public string url { get; set; ...
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...
bff51392bce8e48c
go
69
Solarized Light
package store import ( "context" storepb "github.com/usememos/memos/proto/gen/store" ) type ActivityType string const ( ActivityTypeMemoComment ActivityType = "MEMO_COMMENT" ) func (t ActivityType) String() string { return string(t) } type ActivityLevel string const ( ActivityLevelInfo ActivityLevel = "INFO...
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.", ...
12c933e638d0f91a
go
59
Default Light+
package aliyundrive_share import ( "time" "github.com/alist-org/alist/v3/internal/model" ) type ErrorResp struct { Code string `json:"code"` Message string `json:"message"` } type ShareTokenResp struct { ShareToken string `json:"share_token"` ExpireTime time.Time `json:"expire_time"` ExpiresIn int ...
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" ...
a69e6ed5a5dd2399
csharp
49
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
705e74937cf0be55
python
370
Default Light+
import hashlib import itertools import urllib.parse from .common import InfoExtractor, SearchInfoExtractor from .youtube import YoutubeIE from ..utils import ( ExtractorError, clean_html, int_or_none, join_nonempty, mimetype2ext, parse_iso8601, traverse_obj, try_get, update_url, ...
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.", ...
c728bd1e8ef4bc50
javascript
35
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class GtxMessaging extends NotificationProvider { name = "gtxmessaging"; /** * @inheritDoc */ async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Suc...
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...
be886fb547e73d1a
cpp
106
Default Light+
#include "models.h" llm_build_gpt2::llm_build_gpt2(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_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...
b4ad43e171b6d2ab
python
462
Dracula
# pylint: disable=too-many-arguments """Copyright 2019-2025, XGBoost contributors""" import logging from collections.abc import Sequence from typing import ( Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union, cast, overload, ) import dask import distributed import nump...
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" ...
8aa360ddf1026c7f
cpp
210
One Dark Pro
/********************************************************************** * File: pango_font_info.h * Description: Font-related objects and helper functions * Author: Ranjith Unnikrishnan * Created: Mon Nov 18 2013 * * (C) Copyright 2013, Google Inc. * Licensed under the Apache License, Version 2.0...
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.", ...
356026fa5d9e515b
go
128
Solarized Dark
// Copyright 2018 fatedier, fatedier@gmail.com // // 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...
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.", ...
1ab06834572310f2
python
178
Solarized Light
""" https://en.wikipedia.org/wiki/Burrows%E2%80%93Wheeler_transform The Burrows-Wheeler transform (BWT, also called block-sorting compression) rearranges a character string into runs of similar characters. This is useful for compression, since it tends to be easy to compress a string that has runs of repeated characte...
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...
6dad11592f2a256a
cpp
260
Dracula
/** * Copyright 2021-2023, XGBoost Contributors */ #ifndef XGBOOST_TREE_HIST_EXPAND_ENTRY_H_ #define XGBOOST_TREE_HIST_EXPAND_ENTRY_H_ #include <algorithm> // for all_of #include <ostream> // for ostream #include <string> // for string #include <type_traits> // for add_const_t #include <utility> ...
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...
ecfb63d0e4f3d2cb
typescript
98
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui-rtl/button" import { Calendar } from "@/examples/radix/ui-rtl/calendar" import { Popover, PopoverContent, PopoverTrigger, } from "@/examples/radix/ui-rtl/popover" import { format } from "date-fns" import { arSA, he } from "da...
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...
37403704b9d79375
csharp
334
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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"...
c6bf08c986322da8
java
37
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...
a258cda301d7982d
python
22
Default Light+
from .nbc import NBCIE class USANetworkIE(NBCIE): # XXX: Do not subclass from concrete IE _VALID_URL = r'https?(?P<permalink>://(?:www\.)?usanetwork\.com/(?:[^/]+/videos?|movies?)/(?:[^/]+/)?(?P<id>\d+))' _TESTS = [{ 'url': 'https://www.usanetwork.com/peacock-trailers/video/intelligence-trailer/41853...
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...
aca4c239872f1110
go
129
Default Light+
package ftp import ( "context" stdpath "path" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/jlaffaye/ftp" ) type FTP struct { model.Storage Addition conn *ftp.ServerConn } func (d *FTP) Config() drive...
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"...
36a9b079e7f26368
java
56
GitHub Dark
package org.jeecg.modules.system.entity; import java.io.Serializable; import java.util.Date; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableField; import io.swa...
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" ...