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
a671ec5063c77220
csharp
177
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 F...
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...
c23e9e65c89a8e51
csharp
60
Monokai
namespace winPEAS._3rdParty.BouncyCastle { /** * interface that a message digest conforms to. */ public interface IDigest { /** * return the algorithm name * * @return the algorithm name */ string AlgorithmName { get; } /** * ret...
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"...
4d3e923a9b69b77d
python
63
Default Light+
import json from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, float_or_none, parse_iso8601, strip_or_none, traverse_obj, try_get, urljoin, ) class CinetecaMilanoIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?cin...
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...
01012a1c1f5ba2df
java
23
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...
0a8016f27c54ac69
typescript
32
GitHub Dark
import type { Ref } from 'vue'; import { ref, unref, computed } from 'vue'; function pagination<T = any>(list: T[], pageNo: number, pageSize: number): T[] { const offset = (pageNo - 1) * Number(pageSize); const ret = offset + Number(pageSize) >= list.length ? list.slice(offset, list.length) : list.slice(offset, of...
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...
efe3ec744f1d0994
python
68
Solarized Light
""" The Collatz conjecture is a famous unsolved problem in mathematics. Given a starting positive integer, define the following sequence: - If the current term n is even, then the next term is n/2. - If the current term n is odd, then the next term is 3n + 1. The conjecture claims that this sequence will always reach 1...
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.", ...
6559c3e45ebad0a4
java
391
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...
d705973f1353e66c
csharp
82
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" ...
c41838f6c59588a4
csharp
108
Monokai
using System.Security.Cryptography; using System.Text; namespace Netch.Utils; public static class StringExtension { public static bool IsNullOrEmpty(this string? value) { return string.IsNullOrEmpty(value); } public static bool IsNullOrWhiteSpace(this string? value) { return stri...
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.", ...
9278337cd697cea7
python
112
Default Light+
from .common import InfoExtractor from ..utils import ( clean_html, get_element_by_class, parse_duration, strip_or_none, unified_strdate, ) class LibsynIE(InfoExtractor): _VALID_URL = r'(?P<mainurl>https?://html5-player\.libsyn\.com/embed/episode/id/(?P<id>[0-9]+))' _EMBED_REGEX = [r'<ifra...
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.", ...
ba49a30c04649979
go
72
Default Light+
/* Copyright © 2022 NAME HERE <EMAIL ADDRESS> */ package cmd import ( "os" "os/exec" "path/filepath" "strconv" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) // StartCmd represents the start command var StartCmd = &cobra.Command{ Use: "start", Short: "Silent start alist server with `--force-bi...
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...
157e4d8bbb746aad
java
35
Default Light+
package com.thealgorithms.bitmanipulation; /** * Lowest Set Bit * @author Prayas Kumar (https://github.com/prayas7102) */ public final class LowestSetBit { // Private constructor to hide the default public one private LowestSetBit() { } /** * Isolates the lowest set bit of the given number. Fo...
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"...
249cc15c8a6dfd0f
python
293
Default Light+
import base64 import hashlib import json import uuid from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, join_nonempty, parse_qs, update_url_query, urlencode_postdata, ) from ..utils.traversal import traverse_obj, unpack class PlaySuisseIE(InfoExtractor): ...
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...
00544b1d8a2e6119
typescript
46
Solarized Light
import { useEffect, useRef } from "react"; interface Props { children: React.ReactNode; baseSide?: "width" | "height"; className?: string; } const SquareDiv: React.FC<Props> = (props: Props) => { const { children, className } = props; const baseSide = props.baseSide || "width"; const squareDivRef = useRef...
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"...
0f298f9840669585
csharp
60
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; namespace Microsoft.SemanticKernel.Arguments.Extensions; /// <summary> /// Extensions for <see cref="KernelArguments"/> /// </summary> [ExcludeFromCodeCoverage] internal stati...
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...
57ce6e39d571f393
rust
256
GitHub Dark
// The public struct can hide the implementation detail pub struct Stack<T> { head: Link<T>, } type Link<T> = Option<Box<Node<T>>>; struct Node<T> { elem: T, next: Link<T>, } impl<T> Stack<T> { // Self is an alias for Stack // We implement associated function name new for single-linked-list p...
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...
a4924fdcde43c031
java
36
Default Light+
package com.thealgorithms.datastructures.trees; public class FenwickTree { private int n; private int[] fenTree; /* Constructor which takes the size of the array as a parameter */ public FenwickTree(int n) { this.n = n; this.fenTree = new int[n + 1]; } /* A function which wil...
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...
e71babb6a6cf32c6
java
51
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...
ffddaf5d48e535ee
python
55
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import ClassVar from pydantic import SecretStr from semantic_kernel.kernel_pydantic import KernelBaseSettings class OpenAISettings(KernelBaseSettings): """OpenAI model settings. The settings are first loaded from environment variables with the pr...
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.", ...
3b92dadec0aabd61
java
26
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
928eec6fc0b06f3d
python
79
Monokai
from comfy import sd1_clip from .spiece_tokenizer import SPieceTokenizer import comfy.text_encoders.llama from comfy.text_encoders.lt import Gemma3_Tokenizer import comfy.utils class Gemma2BTokenizer(sd1_clip.SDTokenizer): def __init__(self, embedding_directory=None, tokenizer_data={}): tokenizer = tokeniz...
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.", ...
6f67b9cda50444b2
java
56
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" ...
b274d9eb0249a0f4
go
216
Default Light+
package netease_music import ( "context" "crypto/md5" "encoding/hex" "github.com/alist-org/alist/v3/internal/driver" "io" "net/http" "strconv" "strings" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" "github.com/dhowden/tag" ) type token struct { resourceId strin...
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...
e3db152522b3b144
csharp
44
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...
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...
68da1b38043baec6
go
186
Default Light+
package mistral3 import ( "cmp" "math" "github.com/ollama/ollama/fs" "github.com/ollama/ollama/kvcache" "github.com/ollama/ollama/ml" "github.com/ollama/ollama/ml/nn" "github.com/ollama/ollama/ml/nn/rope" "github.com/ollama/ollama/model/input" ) type TextOptions struct { hiddenSize, numHeads, numKVHeads int...
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"...
d6f76c2cf2cbfb7c
typescript
181
One Dark Pro
import { mockDeep } from 'jest-mock-extended'; import { PubSubService } from 'src/pubsub/pubsub.service'; import { TeamCollectionService } from 'src/team-collection/team-collection.service'; import { TeamRequestService } from 'src/team-request/team-request.service'; import { UserRequestService } from 'src/user-request/...
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...
9040820aeda9ece0
python
70
Solarized Light
""" Project Euler Problem 36 https://projecteuler.net/problem=36 Problem Statement: Double-base palindromes Problem 36 The decimal number, 585 = 10010010012 (binary), is palindromic in both bases. Find the sum of all numbers, less than one million, which are palindromic in base 10 and base 2. (Please note that the ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
fdde80f68e06cdae
typescript
126
Solarized Light
import { transformDirection } from "@/src/utils/transformers/transform-rtl" import { describe, expect, it } from "vitest" describe("migrateRtl", () => { describe("transformDirection", () => { it("should transform className string literals", async () => { const input = ` import * as React from "react" expo...
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...
743b04fe3b855db0
typescript
33
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 { RenderInline } from '../../utils/InlineMarkdownRenderer.js'; interface WarningMessageProps { text: strin...
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...
56e7f78c12be5f1a
typescript
52
Solarized Light
import { AppSidebar } from "@/registry/bases/radix/blocks/sidebar-05/components/app-sidebar" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/bases/radix/ui/breadcrumb" import { Separator } from "@/registry/bases/radix/ui/separator"...
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...
adfd59d622988c9a
csharp
120
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Micro...
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...
bf549319caaef486
go
151
Solarized Light
package parser import ( "unicode" "unicode/utf8" gast "github.com/yuin/goldmark/ast" "github.com/yuin/goldmark/parser" "github.com/yuin/goldmark/text" mast "github.com/usememos/memos/plugin/markdown/ast" ) const ( // MaxTagLength defines the maximum number of runes allowed in a tag. MaxTagLength = 100 ) ty...
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...
014a45b3ffdf2dba
csharp
143
Monokai
// Copyright (c) Microsoft. All rights reserved. #if !NET5_0_OR_GREATER namespace System.Diagnostics.CodeAnalysis; /// <summary> /// Polyfill for the DynamicallyAccessedMembersAttribute not available in .NET Standard 2.0. /// Indicates that certain members on a specified <see cref="Type"/> are accessed dynamically, ...
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...
73e168ce6cf45bdd
typescript
82
GitHub Dark
import { defineComponent, h, nextTick, ref, useSlots } from 'vue'; import { vxeEmits, vxeProps } from './vxe.data'; import { useData, useRefs, useResolveComponent as rc } from './hooks/useData'; import { useColumns } from './hooks/useColumns'; import { useColumnsCache } from './hooks/useColumnsCache'; import { useMetho...
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.", ...
b48f30cfd3c8eb2b
go
126
Solarized Dark
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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.", ...
8bd9d986b2844c9a
typescript
59
Solarized Light
"use client" import * as React from "react" import { ScrollArea as ScrollAreaPrimitive } from "radix-ui" import { cn } from "@/lib/utils" function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>) { return ( <ScrollAreaPrimitive.Root data-slot="scr...
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...
8fc7f34c38de5d9b
python
234
Default Light+
import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, extract_attributes, int_or_none, parse_qs, smuggle_url, unescapeHTML, unsmuggle_url, ) class GlomexBaseIE(InfoExtractor): _DEFAULT_ORIGIN_URL = 'https://player.glom...
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...
7929c6cdba0e1710
csharp
375
Monokai
using System; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using System.Windows.Shapes; using Microsoft.Win32; using ScreenToGif.Domain.Enums; using ScreenToGif.Native.Helpers; using ScreenToGif.Util; using ScreenToGif.Util.Extensions; using ScreenToGif.Util.Settin...
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...
89d09994a60d092a
typescript
27
Default Dark+
import type { ComponentProps, ForwardedRef } from 'react'; import { forwardRef } from 'react'; import type { UseFormRegisterReturn } from 'react-hook-form'; import { TextInput } from '~/ui'; type TextInputProps = ComponentProps<typeof TextInput>; type FormTextInputProps = Omit<TextInputProps, 'onChange'> & Pick<Use...
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...
aa8947bed04a1d77
go
101
Solarized Light
package main import ( "context" "net/http" "os" "os/signal" "syscall" "time" "github.com/gorilla/mux" "github.com/rs/zerolog" "github.com/rs/zerolog/log" ) const ( defaultPort = "8080" defaultShutdownTimeout = 30 * time.Second defaultReadTimeout = 1 * time.Minute defaultWriteTimeout = ...
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...
f2c15cbaac4c5bbe
csharp
72
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
f04b1a1853133f9e
go
258
Default Dark+
package reverseproxy import ( "errors" "io" "net" "net/http" "net/http/httptest" "strings" "sync" "testing" "go.uber.org/zap" "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/modules/caddyhttp" ) // prepareTestRequest injects the context values that ServeHTTP and // proxyLoopIteration r...
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"...
5aadcd290e411dc9
java
51
Solarized Dark
// Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. // Note: The input string may contain letters other than the parentheses ( and ). // Examples: // "()())()" -> ["()()()", "(())()"] // "(a)())()" -> ["(a)()()", "(a())()"] // ")(" -> [""] public ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
07afa93b68951c85
go
81
Solarized Dark
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
16a372d1caaa941b
csharp
131
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
157c4c7a0b753ee5
javascript
142
GitHub Dark
import resolve from '@rollup/plugin-node-resolve'; import commonjs from '@rollup/plugin-commonjs'; import terser from '@rollup/plugin-terser'; import json from '@rollup/plugin-json'; import { babel } from '@rollup/plugin-babel'; import bundleSize from 'rollup-plugin-bundle-size'; import aliasPlugin from '@rollup/plugin...
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...
24f223cde37b0b68
csharp
77
Default Light+
/* Copyright (c) 2015 Ki 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, distribute, sublice...
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...
8cb20b3eb45ad902
typescript
54
Solarized Light
import * as React from "react" import Image from "next/image" import { ScrollArea, ScrollBar } from "@/registry/new-york-v4/ui/scroll-area" export interface Artwork { artist: string art: string } export const works: Artwork[] = [ { artist: "Ornella Binni", art: "https://images.unsplash.com/photo-146586...
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...
26d6599b2c3ec89f
go
42
Default Light+
package base import ( "crypto/tls" "net/http" "time" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/net" "github.com/go-resty/resty/v2" ) var ( NoRedirectClient *resty.Client RestyClient *resty.Client HttpClient *http.Client ) var UserAgent = "Mozilla/5.0 (W...
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...
258339e210894b29
python
203
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from enum import Enum from azure.identity import AzureCliCredential from pydantic import BaseModel from semantic_kernel.agents import Agent, ChatCompletionAgent, HandoffOrchestration, OrchestrationHandoffs from semantic_kernel.agents.runtime import InPro...
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.", ...
d7641f108acbc511
cpp
44
One Dark Pro
// // Created by xiemenghui on 2018/7/20. // #include <iostream> #include "SingletonPattern/SingletonMain.h" #include "AbstractFactoryPattern/FactoryMain.h" #include "AdapterPattern/AdapterMain.h" #include "BridgePattern/BridgeMain.h" #include "ObserverPattern/ObserverMain.h" int main() { std::cout << "**********...
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"...
4245be5b4d87a375
javascript
167
Default Dark+
"use strict"; /* eslint-env es2017, browser */ /* exported BASE_URL, _post _delete */ function getBaseUrl() { // If the base URL is `https://vaultwarden.example.com/base/path/admin/`, // `window.location.href` should have one of the following forms: // // - `https://vaultwarden.example.com/base/path/ad...
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...
acd84fb41925c743
go
82
Solarized Dark
// Copyright 2023 The frp 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 to...
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...
a7dfd1f3390ae8cc
csharp
206
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Mime; using System.Text; using System.Text.Json; using System.Text.Json.Nodes; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.Sem...
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...
78ee2695b20f85af
java
77
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
0ec1d9a2b4fca52d
typescript
101
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { checkInput, tryParseJSON } from './jsonoutput.js'; describe('check tools output', () => { it('accepts object-like JSON strings', () => { const testJSON = '{"a":1, "b": ...
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.", ...
def0b686b70980d2
java
119
GitHub Dark
package org.jeecg.config.firewall.interceptor; import com.alibaba.fastjson.JSON; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.SecurityUtils; import org.jeecg.common.api.CommonAPI; import org.jeecg.common.api.vo.Result; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.util.Jw...
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"...
83251cec88b99a78
python
97
Solarized Light
""" Chinese Remainder Theorem: GCD ( Greatest Common Divisor ) or HCF ( Highest Common Factor ) If GCD(a,b) = 1, then for any remainder ra modulo a and any remainder rb modulo b there exists integer n, such that n = ra (mod a) and n = ra(mod b). If n1 and n2 are two such integers, then n1=n2(mod ab) Algorithm : 1. ...
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"...
d0d0010e8cbf6927
java
54
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...
2778e7ab40613601
python
168
Default Light+
from __future__ import annotations import abc import enum import functools from yt_dlp.extractor.common import InfoExtractor from yt_dlp.utils import NO_DEFAULT, bug_reports_message, classproperty, traverse_obj from yt_dlp.version import __version__ # xxx: these could be generalized outside YoutubeIE eventually cl...
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" ...
92d9940b76640184
java
78
Default Light+
package com.thealgorithms.devutils.nodes; import java.util.Collection; /** * {@link TreeNode} extension that holds a {@link Collection} of references to * child Nodes. * * @param <E> The type of the data held in the Node. * * @author <a href="https://github.com/aitorfi">aitorfi</a> */ public class LargeTreeNod...
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...
1f79dc82fd049465
go
228
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...
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...
3ee0a59f19090c97
java
59
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...
99d68e6aa9bb25b3
python
154
Monokai
from typing_extensions import override import torch from comfy_api.latest import ComfyExtension, io class LatentRebatch(io.ComfyNode): @classmethod def define_schema(cls): return io.Schema( node_id="RebatchLatents", display_name="Rebatch Latents", category="latent/...
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...
ce39b03ac7153aee
go
292
Solarized Dark
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
9eab0397df9dedd1
python
36
Default Light+
import re from .common import InfoExtractor from ..utils import extract_attributes class BFIPlayerIE(InfoExtractor): _WORKING = False IE_NAME = 'bfi:player' _VALID_URL = r'https?://player\.bfi\.org\.uk/[^/]+/film/watch-(?P<id>[\w-]+)-online' _TEST = { 'url': 'https://player.bfi.org.uk/free/fi...
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...
a929abd14daf5180
typescript
76
Solarized Light
import { Avatar, AvatarFallback, AvatarImage } from "@/examples/base/ui/avatar" import { Button } from "@/examples/base/ui/button" import { Item, ItemActions, ItemContent, ItemDescription, ItemMedia, ItemTitle, } from "@/examples/base/ui/item" import { Plus } from "lucide-react" export function ItemAvatar(...
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...
728edd00f530c04a
java
22
Dracula
package com.macro.mall.service; import com.macro.mall.dto.OssCallbackResult; import com.macro.mall.dto.OssPolicyResult; import javax.servlet.http.HttpServletRequest; /** * Oss对象存储管理Service * Created by macro on 2018/5/17. */ public interface OssService { /** * Oss上传策略生成 */ OssPolicyResult policy...
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...
7b3548afcd3baeea
csharp
45
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.IO; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Planning; using StepwisePla...
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" ...
96b6563dce8f088a
go
74
One Dark Pro
package bundle import ( "archive/zip" "bytes" "crypto/ed25519" "encoding/base64" "fmt" "log" "sync" "time" ) // Manager holds the bundle in memory and handles signing. // Thread-safe for concurrent reads (writes only happen at startup). type Manager struct { mu sync.RWMutex bundle *Bundle m...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
8d53f86eab835c43
python
57
Solarized Light
""" The Fibonacci sequence is defined by the recurrence relation: Fn = Fn-1 + Fn-2, where F1 = 1 and F2 = 1. Hence the first 12 terms will be: F1 = 1 F2 = 1 F3 = 2 F4 = 3 F5 = 5 F6 = 8 F7 = 13 F8 = 21 F9 = 34 F10 = 55 F11 = 89 F12 = 144 The 12th term, F12, is 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"...
1eb13db5b17d6751
cpp
121
Solarized Dark
#include <openpose/hand/handGpuRenderer.hpp> #ifdef USE_CUDA #include <cuda.h> #include <cuda_runtime_api.h> #endif #include <openpose/gpu/cuda.hpp> #include <openpose/hand/renderHand.hpp> namespace op { HandGpuRenderer::HandGpuRenderer(const float renderThreshold, const float alphaKeypoint, ...
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...
adf1f0ebd474dc30
typescript
164
One Dark Pro
import { Stability, StoreKey, ACCESS_CODE_PREFIX, ApiPath, } from "@/app/constant"; import { getBearerToken } from "@/app/client/api"; import { createPersistStore } from "@/app/utils/store"; import { nanoid } from "nanoid"; import { uploadImage, base64Image2Blob } from "@/app/utils/chat"; import { models, getMo...
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...
753b190339aacd77
python
84
Default Light+
from .common import InfoExtractor from .fox import FOXIE from ..utils import ( smuggle_url, url_basename, ) class NationalGeographicVideoIE(InfoExtractor): IE_NAME = 'natgeo:video' _VALID_URL = r'https?://video\.nationalgeographic\.com/.*?' _TESTS = [ { 'url': 'http://video.na...
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...
2fd3a59e3ae0a9af
java
64
Default Light+
package com.thealgorithms.ciphers.a5; import java.util.BitSet; /** * The A5Cipher class implements the A5/1 stream cipher, which is a widely used * encryption algorithm, particularly in mobile communications. * * This implementation uses a key stream generator to produce a stream of bits * that are XORed with th...
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" ...
6f756997dd99aa73
csharp
28
Default Light+
using System.Collections.Generic; namespace ICSharpCode.Decompiler.Tests.TestCases.Ugly { internal class NoNewOfT<TOnType> where TOnType : new() { public static TOnType CreateTOnType() { return new TOnType(); } public static T CreateUnconstrainedT<T>() where T : new() { return new T(); } public...
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" ...
e935df164c5f4f13
cpp
77
Solarized Light
#pragma once #include <QTextBrowser> #include <cstdio> #include "LineEditDialog.h" class LogView : public QTextBrowser { Q_OBJECT public: explicit LogView(QWidget* parent = nullptr); ~LogView(); void setupContextMenu(); void contextMenuEvent(QContextMenuEvent* event) override; void showEvent(Q...
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...
46c1dcf26acee7f3
typescript
104
Solarized Light
"use client" import * as React from "react" import { Example, ExampleWrapper, } from "@/registry/bases/radix/components/example" import { Label } from "@/registry/bases/radix/ui/label" import { Slider } from "@/registry/bases/radix/ui/slider" export default function SliderExample() { return ( <ExampleWrapp...
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...
6aa5794f55685d42
java
43
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...
94b993e59437a4b5
typescript
60
Solarized Light
"use client" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/examples/base/ui/collapsible" import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, } from "@/examples/base/ui...
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...
b8d9fb8e735c0818
rust
134
One Dark Pro
use std::{ffi::c_void, mem::size_of, mem::transmute, ptr}; use hex_color::HexColor; use tauri::{Listener, Runtime, WebviewWindow}; use windows::Win32::{ Foundation::{BOOL, COLORREF, HWND}, Graphics::Dwm::{DwmSetWindowAttribute, DWMWA_CAPTION_COLOR, DWMWA_USE_IMMERSIVE_DARK_MODE}, UI::Controls::{ Se...
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.", ...
77a46b3a0418f54d
cpp
316
Solarized Light
#include "Bridge.h" #include "WatchView.h" #include "CPUMultiDump.h" #include "WordEditDialog.h" #include "MiscUtil.h" WatchView::WatchView(CPUMultiDump* parent) : StdTable(parent) { int charWidth = getCharWidth(); addColumnAt(8 + charWidth * 12, tr("Name"), true); addColumnAt(8 + charWidth * 20, tr("Expre...
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" ...
ce08ae04e2e382e9
csharp
149
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel.Memory; /// <summary> /// Structure for storing data which can be scored. /// </summary> /// <typeparam name="T">Data type.</typeparam> internal ...
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...
2af8d21839ce9215
python
300
Default Light+
from __future__ import annotations import configparser import dataclasses import os import threading import re from modules import shared, errors, cache, scripts from modules.gitpython_hack import Repo from modules.paths_internal import extensions_dir, extensions_builtin_dir, script_path # noqa: F401 extensions: li...
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.", ...
a846a201924bc4bd
cpp
26
One Dark Pro
// // Created by xiemenghui on 2018/7/20. // #ifndef DESIGNPATTERN_PRODUCT_H #define DESIGNPATTERN_PRODUCT_H #include <string> using std::string; // Car Interface class ICar { public: virtual string Name() = 0; }; // Bike Interface class IBike { public: virtual string Name() = 0; }; #endif //DESIGNPATTERN_...
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...
735c8027092a7749
go
89
Default Light+
package febbox import ( "context" "encoding/json" "errors" "net/http" "net/url" "strings" "time" "golang.org/x/oauth2" "golang.org/x/oauth2/clientcredentials" ) type customTokenSource struct { config *clientcredentials.Config ctx context.Context refreshToken string } func (c *customTokenS...
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...
23b3c5df98ae6141
java
105
Default Light+
package com.thealgorithms.ciphers; import java.security.InvalidAlgorithmParameterException; import java.security.InvalidKeyException; import java.security.NoSuchAlgorithmException; import javax.crypto.BadPaddingException; import javax.crypto.Cipher; import javax.crypto.IllegalBlockSizeException; import javax.crypto.Ke...
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...
3f18f9868460d89c
csharp
32
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 ...
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.", ...
fa93cd657bc15cd4
cpp
95
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "CalcManager/UnitConverter.h" #include "Common/NavCategory.h" namespace CalculatorApp { namespace ViewModel::Common { struct OrderedUnit : UnitConversionManager::Unit { ...
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...
553ec76538422121
javascript
144
Monokai
import DatasetController from '../core/core.datasetController.js'; import {isNullOrUndef} from '../helpers/index.js'; import {isNumber} from '../helpers/helpers.math.js'; import {_getStartAndCountOfVisiblePoints, _scaleRangesChanged} from '../helpers/helpers.extras.js'; export default class LineController extends Data...
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...
367e97e5a852d746
csharp
348
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...
530001345785fa6a
rust
110
Solarized Dark
use super::CmdResult; use crate::core::{handle, validate::CoreConfigValidator}; use clash_verge_logging::{Type, logging}; use smartstring::alias::String; /// 发送脚本验证通知消息 #[tauri::command] pub async fn script_validate_notice(status: String, msg: String) -> CmdResult { handle::Handle::notice_message(status.as_str(), ...
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...
30196fdcea385490
python
26
Dracula
from datetime import datetime from fastapi import FastAPI from pydantic import BaseModel app = FastAPI() class Subscription(BaseModel): username: str monthly_fee: float start_date: datetime @app.webhooks.post("new-subscription") def new_subscription(body: Subscription): """ When a new user sub...
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...
2fce8a0850e0ce94
python
90
Dracula
import os from nvflare.apis.executor import Executor from nvflare.apis.fl_constant import FLContextKey, ReturnCode from nvflare.apis.fl_context import FLContext from nvflare.apis.shareable import Shareable, make_reply from nvflare.apis.signal import Signal import xgboost as xgb from xgboost import callback class Su...
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...
49a386c155d5267f
csharp
40
Monokai
namespace ScreenToGif.Domain.Enums.Native; public enum WindowAttributes { /// <summary> /// Sets a new address for the window procedure. /// You cannot change this attribute if the window does not belong to the same process as the calling thread. /// </summary> GwlWndproc = -4, /// <summary> ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
6a11b2f0855cb79a
cpp
318
Solarized Dark
#include <openpose_private/3d/poseTriangulationPrivate.hpp> #ifdef USE_CERES #include <ceres/ceres.h> #include <ceres/rotation.h> #endif #include <opencv2/calib3d/calib3d.hpp> #include <openpose/utilities/fastMath.hpp> namespace op { double calcReprojectionError(const cv::Mat& reconstructedPoint, const std...
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...
ad38e8379a72939c
java
302
GitHub Dark
package com.github.mikephil.charting.utils; import android.content.res.AssetManager; import android.os.Environment; import android.util.Log; import com.github.mikephil.charting.data.BarEntry; import com.github.mikephil.charting.data.Entry; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io...
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...
0af8f3bc9e8db058
typescript
196
Solarized Light
import { SHADCN_URL } from "@/src/registry/constants" import { RegistryItem } from "@/src/schema" import { Config } from "@/src/utils/get-config" import { getPackageInfo } from "@/src/utils/get-package-info" import { getPackageManager } from "@/src/utils/get-package-manager" import { logger } from "@/src/utils/logger" ...
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...
580d51c6a1f753e0
csharp
118
Monokai
namespace winPEAS._3rdParty.SQLite.src { public partial class CSSQLite { /* ** 2008 Jan 22 ** ** The author disclaims copyright to this source code. In place of ** a legal notice, here is a blessing: ** ** May you do good and not evil. ** May you find forgiveness for yourself ...
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...
6219e91f150515bb
csharp
82
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Microsoft.SemanticKernel.Connectors.OpenAI; using ModelContextProtocol.Client; using ModelContextProtocol....
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...