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
8f577ef9bfb7da13
go
30
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicab...
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...
6479d6bad8dd6a73
typescript
73
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Text, Box } from 'ink'; import { theme } from '../../semantic-colors.js'; import { BaseSelectionList } from './BaseSelectionList.js'; import type { SelectionListItem } from '../../hooks/useS...
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.", ...
7a60ec4fbbeed58b
go
117
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...
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.", ...
f2b5564758e3c76f
typescript
58
Solarized Light
import { AppSidebar } from "@/registry/new-york-v4/blocks/sidebar-09/components/app-sidebar" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/new-york-v4/ui/breadcrumb" import { Separator } from "@/registry/new-york-v4/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...
60a99c10b8eae89a
typescript
72
Solarized Light
"use client" import * as React from "react" import { Card, CardContent } from "@/registry/bases/base/ui/card" import { STYLES } from "@/registry/styles" import { FONTS } from "@/app/(create)/lib/fonts" import { useDesignSystemSearchParams } from "@/app/(create)/lib/search-params" export function StyleOverview() { ...
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"...
688066afb592386f
typescript
345
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as fs from 'node:fs'; import * as path from 'node:path'; import * as os from 'node:os'; import { EnvHttpProxyAgent } from 'undici'; import { debugLogger } from '../utils/debugLogger.js'; import { isSubpath, resolveToRealPa...
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"...
941670a5e8473c5c
java
45
Default Dark+
package org.schabi.newpipe.error; import android.content.Context; import androidx.annotation.NonNull; import com.google.auto.service.AutoService; import org.acra.config.CoreConfiguration; import org.acra.sender.ReportSender; import org.acra.sender.ReportSenderFactory; import org.schabi.newpipe.App; /* * Created b...
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...
97b281800ba4134f
cpp
290
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
e74bedd34eca9b68
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 ...
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"...
ca1bbdc4df322c32
java
104
Default Light+
package com.thealgorithms.graph; import java.util.ArrayDeque; import java.util.Arrays; import java.util.List; import java.util.Queue; /** * Hopcroft–Karp algorithm for maximum bipartite matching. * * Left part: vertices [0,nLeft-1], Right part: [0,nRight-1]. * Adjacency list: for each left vertex u, list right ve...
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"...
82911d401f3e6cf9
cpp
158
Solarized Dark
#ifndef OPENPOSE_THREAD_SUB_THREAD_HPP #define OPENPOSE_THREAD_SUB_THREAD_HPP #include <openpose/core/common.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums, typename TWorker = std::shared_ptr<Worker<TDatums>>> class SubThread { public: explicit SubThread(co...
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...
1e78ade9b7510c5d
java
157
Default Dark+
package us.shandian.giga.get; import android.util.Log; import androidx.annotation.NonNull; import org.schabi.newpipe.streams.io.SharpStream; import java.io.IOException; import java.io.InputStream; import java.net.HttpURLConnection; import java.nio.channels.ClosedByInterruptException; import us.shandian.giga.get.Do...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
6298b7a54189b828
csharp
280
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ClientModel; using System.ClientModel.Primitives; using System.Net; using System.Runtime.CompilerServices; using Azure.AI.OpenAI; using Azure.Identity; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticK...
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...
58485563bcca7e80
typescript
84
One Dark Pro
import { AggregateEnvironment } from "~/newstore/environments" import { HoppInheritedProperty } from "../types/HoppInheritedProperties" import { SecretEnvironmentService } from "~/services/secret-environment.service" import { CurrentValueService } from "~/services/current-environment-value.service" import { getService ...
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...
70bd81901fe750af
python
103
Solarized Light
""" Hey, we are going to find an exciting number called Catalan number which is use to find the number of possible binary search trees from tree of a given number of nodes. We will use the formula: t(n) = SUMMATION(i = 1 to n)t(i-1)t(n-i) Further details at Wikipedia: https://en.wikipedia.org/wiki/Catalan_number """ ...
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...
f40d36c354802219
python
112
Solarized Light
""" Author : Alexander Pantyukhin Date : December 12, 2022 Task: Given a string and a list of words, return true if the string can be segmented into a space-separated sequence of one or more words. Note that the same word may be reused multiple times in the segmentation. Implementation notes: Trie + Dynamic prog...
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" ...
2263113d4b5de12b
typescript
25
One Dark Pro
import { Field, ID, ObjectType } from '@nestjs/graphql'; @ObjectType() export class TeamEnvironment { @Field(() => ID, { description: 'ID of the Team Environment', }) id: string; @Field(() => ID, { description: 'ID of the team this environment belongs to', }) teamID: string; @Field({ descri...
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...
79998dcdc512202c
typescript
57
Solarized Light
"use client" import { SearchForm } from "@/registry/bases/radix/blocks/sidebar-16/components/search-form" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/bases/radix/ui/breadcrumb" import { Button } from "@/registry/bases/radix/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...
696d1c1b682ee66d
python
29
Dracula
from datetime import datetime, time, timedelta from typing import Annotated from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: Annotated[datetime, Body()], end_datetime: Annotated[datetime, Body()], ...
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"...
387664564794967b
typescript
355
Solarized Light
// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in w...
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" ...
a9c966c16a939ae3
java
89
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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"...
e0b5043feaf7f157
csharp
98
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"...
02cc09100fdd525d
csharp
336
Default Light+
// Copyright (c) 2018 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, // publ...
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...
3d31bbfda1182276
typescript
28
One Dark Pro
import { defineVersion } from "verzod" import { z } from "zod" import { V7_SCHEMA } from "../7" import { HoppRESTRequestResponses } from "../../../rest-request-response" import { HoppRESTAuth } from "./auth" export const V8_SCHEMA = V7_SCHEMA.extend({ v: z.literal("8"), auth: HoppRESTAuth, responses: HoppREST...
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...
0f9419f2dc38e95c
cpp
118
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...
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" ...
8352fb4d878dd92a
go
32
Default Dark+
package caddybrotli import ( "github.com/caddyserver/caddy/v2" "github.com/caddyserver/caddy/v2/modules/caddyhttp/encode" ) func init() { caddy.RegisterModule(BrotliPrecompressed{}) } // BrotliPrecompressed provides the file extension for files precompressed with brotli encoding. type BrotliPrecompressed struct{}...
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...
1b1c766bd6a05cc2
csharp
39
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
810308c5e51308ce
typescript
314
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { partToString, getResponseText, flatMapTextParts, appendToLastTextPart, } from './partUtils.js'; import type { GenerateContentResponse, Part, PartUnion } from '@google/...
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"...
6a1a8391562be864
cpp
66
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...
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" ...
1b314bd152d52c2a
python
160
Solarized Light
""" The RGB color model is an additive color model in which red, green, and blue light are added together in various ways to reproduce a broad array of colors. The name of the model comes from the initials of the three additive primary colors, red, green, and blue. Meanwhile, the HSV representation models how colors ap...
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" ...
ec3913c5fd9a5d20
python
23
Monokai
from comfy import sd1_clip from transformers import T5TokenizerFast import comfy.text_encoders.t5 import os class T5BaseModel(sd1_clip.SDClipModel): def __init__(self, device="cpu", layer="last", layer_idx=None, dtype=None, model_options={}): textmodel_json_config = os.path.join(os.path.dirname(os.path.rea...
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...
2797717ec72e664a
typescript
35
Solarized Light
"use client" import { SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "@/registry/bases/base/ui/sidebar" export function NavMain({ items, }: { items: { title: string url: string icon: React.ReactNode isActive?: boolean }[] }) { return ( <SidebarMenu> {items.map((item) =...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
5056d5c39d953a47
go
98
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
e1f828287caacb01
cpp
174
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
a4dea971ed5a4c52
rust
57
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::collections::HashMap; use std::fmt::Write; use std::sync::{Mutex, OnceLock}; pub use log_instrument_macros::*; type InnerPath = Mutex<HashMap<std::thread::ThreadId, Vec<&'static str>>>; static P...
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"...
92c2c7d22989742a
rust
37
Default Dark+
use crate::make_enum_progress; make_enum_progress! { pub enum SearchStep { Tokenize, Embed, Filter, ResolveUniverse, KeywordSearch, PlaceholderSearch, SemanticSearch, Format, FacetDistribution, Personalization, } } make_enum_progr...
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" ...
6cce20f15744c258
python
52
Solarized Light
# Reference: https://www.geeksforgeeks.org/position-of-rightmost-set-bit/ def get_index_of_rightmost_set_bit(number: int) -> int: """ Take in a positive integer 'number'. Returns the zero-based index of first set bit in that 'number' from right. Returns -1, If no set bit found. >>> get_index_of_r...
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...
165006723067b449
csharp
60
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel.Connectors.Google; using Xunit; namespace SemanticKernel.Connectors.Google.UnitTests.Core.Gemini; /// <summary> /// Unit tests for <see cref="GeminiMetadata"/> class. /// </summary> public sealed class GeminiMetadataTests { [Fact] ...
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...
d2e80757d34cf593
java
229
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...
0af2acb12b3fa61e
cpp
88
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
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...
8764333dc8be5b24
typescript
310
Solarized Light
import { C, INTERNAL, LogCallback, ParseCallback, Range, SIZE_OF_INT, SIZE_OF_RANGE, setModule } from './constants'; import { Language } from './language'; import { marshalRange, unmarshalRange } from './marshal'; import { checkModule, initializeBinding } from './bindings'; import { Tree } from './tree'; import { newFi...
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...
8434daa911780131
java
27
Default Light+
package com.thealgorithms.maths; public final class PalindromeNumber { private PalindromeNumber() { } /** * Check if {@code n} is palindrome number or not * * @param number the number * @return {@code true} if {@code n} is palindrome number, otherwise * {@code false} */ pu...
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"...
f797760a3918e095
python
78
Monokai
"""Simplified tests for WebSocket feature flags functionality.""" from comfy_api import feature_flags class TestWebSocketFeatureFlags: """Test suite for WebSocket feature flags integration.""" def test_server_feature_flags_response(self): """Test server feature flags are properly formatted.""" ...
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...
42f3a54d71680143
csharp
140
Monokai
using System; using System.Collections.Generic; using System.IO; using System.Security.Cryptography; using System.Text; using winPEAS.Helpers; using System.Data.SQLite; using Org.BouncyCastle.Crypto; using Org.BouncyCastle.Crypto.Parameters; using Org.BouncyCastle.Crypto.Modes; using System.Linq; using Microsoft.Win32...
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...
d98c31bbc769b51f
go
104
Default Light+
package thunderx import ( "crypto/md5" "encoding/hex" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" "github.com/alist-org/alist/v3/pkg/utils" ) // 高级设置 type ExpertAddition struct { driver.RootID LoginType string `json:"login_type" type:"select" options:"user,refr...
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...
fa6d78212d5126c4
csharp
245
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json; using System.Threading.Tasks; using Microsoft.SemanticKernel.Process.Models; using Xunit; namespace Microsoft.SemanticKernel.Process.UnitTests; /// <summary> /// Unit testing of <see cref="Microso...
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...
dd5605e9ece5f2d7
csharp
89
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
bab8ccc7ad47f9c0
cpp
227
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. //----------------------------------------------------------------------------- // Package Title ratpak // File transh.c // Copyright (C) 1995-96 Microsoft // Date 01-16-95 // // // Descriptio...
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...
6fc4048665172d38
cpp
27
Monokai
// // Copyright(c) 2016-2018 Gabi Melman. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // #pragma once // // Include a bundled header-only copy of fmtlib or an external one. // By default spdlog include its own copy. // #include <spdlog/tweakme.h> #if defined(SPDLOG_USE_STD_FORMAT) // S...
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" ...
9544fbf96e826945
csharp
43
Monokai
using Netch.Forms; namespace Netch.Servers; [Fody.ConfigureAwait(true)] public class VMessForm : ServerForm { public VMessForm(VMessServer? server = default) { server ??= new VMessServer(); Server = server; CreateTextBox("Sni", "ServerName(Sni)", s => true, s => server.ServerName = s,...
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...
80ce3fb7cf345cac
cpp
129
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
5eba8906d2f1c6b5
python
215
Default Light+
import re from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, extract_attributes, get_element_by_class, parse_duration, url_or_none, ) from ..utils.traversal import find_element, traverse_obj class NekoHackerIE(InfoExtractor): _VALID_URL = r'https?://(?:...
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" ...
f558a8015ea43f28
typescript
86
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { OpenDialogActionReturn, SlashCommand, SlashCommandActionReturn, } from './types.js'; import { CommandKind } from './types.js'; import * as process from 'node:process'; import * as path from 'node:path'; import *...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
795c93e47c2b5f42
csharp
21
Monokai
namespace ScreenToGif.Domain.Models.Project.Sequences; /// <summary> /// Primitive sequence object which has a defined sizing information. /// </summary> public class SizeableSequence : Sequence { public double Left { get; set; } public double Top { get; set; } public double Width { get; set; } ...
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...
88859f0011867d39
csharp
277
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.TemplateEngine; using Xunit; namespace SemanticKernel.UnitTests.TemplateEngine; public class NamedArgBlockTests { [Fact] public void ItHasTheCorrectType() { // Act var target =...
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...
c9589499b8d9b64e
rust
249
Dracula
#[cfg(target_os = "linux")] pub use linux::*; #[cfg(target_os = "macos")] pub use macos::*; #[cfg(windows)] pub use windows::*; #[cfg(windows)] pub mod windows; #[cfg(windows)] pub mod win_device; #[cfg(target_os = "macos")] pub mod macos; #[cfg(target_os = "macos")] pub mod delegate; #[cfg(target_os = "linux")] p...
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...
8ae8ad064f9a2f20
typescript
160
Default Light+
import { EXPORT_DATA_TYPES, getExportSource, MIME_TYPES, VERSIONS, } from "@excalidraw/common"; import type { ExcalidrawElement, NonDeleted } from "@excalidraw/element/types"; import type { MaybePromise } from "@excalidraw/common/utility-types"; import { cleanAppStateForExport, clearAppStateForDatabase } fro...
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.", ...
722362d8366eb184
rust
118
GitHub Dark
//! Integer partition using dynamic programming //! //! The number of partitions of a number n into at least k parts equals the number of //! partitions into exactly k parts plus the number of partitions into at least k-1 parts. //! Subtracting 1 from each part of a partition of n into k parts gives a partition of n-k ...
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.", ...
15a6fbd3b3a6238a
cpp
31
One Dark Pro
/****************************************************************************** ** Filename: float2int.h ** Purpose: Routines for converting float features to int features ** Author: Dan Johnson ** ** (c) Copyright Hewlett-Packard Company, 1988. ** Licensed under the Apache License, Version 2.0 (the "...
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" ...
962a01465d4cec44
cpp
169
Monokai
// // Copyright(c) 2015 Gabi Melman. // Distributed under the MIT License (http://opensource.org/licenses/MIT) // // // bench.cpp : spdlog benchmarks // #include "spdlog/spdlog.h" #include "spdlog/async.h" #include "spdlog/sinks/basic_file_sink.h" #if defined(SPDLOG_USE_STD_FORMAT) #include <format> #elif defined(SPD...
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...
bd3232ffe9e89d6c
python
191
Default Light+
from .common import InfoExtractor from ..utils import ( int_or_none, orderedSet, parse_duration, parse_iso8601, parse_qs, qualities, traverse_obj, unified_strdate, xpath_text, ) class EuropaIE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://ec\.europa\.eu/avservice...
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...
dbfb82898c542d50
python
40
Default Light+
import importlib import random import re from ..utils import ( age_restricted, bug_reports_message, classproperty, variadic, write_string, ) # These bloat the lazy_extractors, so allow them to passthrough silently ALLOWED_CLASSMETHODS = {'extract_from_webpage', 'get_testcases', 'get_webpage_testca...
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...
3261e204d3153b19
python
139
Monokai
from typing import Any, Optional, Tuple, List import hashlib import json import logging import threading # Public types — source of truth is comfy_api.latest._caching from comfy_api.latest._caching import CacheProvider, CacheContext, CacheValue # noqa: F401 (re-exported) _logger = logging.getLogger(__name__) _prov...
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...
8764b356f82a85a8
python
21
Dracula
from enum import Enum from fastapi import FastAPI app = FastAPI() class Tags(Enum): items = "items" users = "users" @app.get("/items/", tags=[Tags.items]) async def get_items(): return ["Portal gun", "Plumbus"] @app.get("/users/", tags=[Tags.users]) async def read_users(): return ["Rick", "Morty...
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.", ...
92823bef79799615
csharp
320
Default Light+
#pragma warning disable format // Copyright (c) 2018 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 us...
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"...
cb24853360aaca15
rust
144
Default Dark+
use fxhash::{FxHashMap, FxHashSet}; use roaring::RoaringBitmap; use super::{ComputedCondition, RankingRuleGraphTrait}; use crate::score_details::{Rank, ScoreDetails}; use crate::search::new::interner::{DedupInterner, Interned}; use crate::search::new::query_term::LocatedQueryTermSubset; use crate::search::new::resolve...
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" ...
5f22b28d580ed76a
csharp
81
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading.Tasks; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.IntegrationTests.Connectors.Amazon; public class BedrockChatClientTests { [Theory(Skip = "For manual verification only")] [Inlin...
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...
9298f436da5adc72
typescript
89
Solarized Light
"use client" import { TrendingUp } from "lucide-react" import { Pie, PieChart } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipContent, type ChartConfig, } fr...
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...
9402cae4ce6ee02a
typescript
94
Solarized Dark
import DnsRoundedIcon from '@mui/icons-material/DnsRounded' import ForkRightRoundedIcon from '@mui/icons-material/ForkRightRounded' import HomeRoundedIcon from '@mui/icons-material/HomeRounded' import LanguageRoundedIcon from '@mui/icons-material/LanguageRounded' import LockOpenRoundedIcon from '@mui/icons-material/Loc...
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"...
41809d2c35b840e0
typescript
114
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import path from 'node:path'; import process from 'node:process'; import { homedir } from '../utils/paths.js'; import { debugLogger } from '../utils/debugLogger.js'; import * as snippets from './snippets.js'; import * as legacySnip...
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...
6bada17951ad4c17
cpp
87
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: dotproductavx.cpp // Description: Architecture-specific dot-product function. // Author: Ray Smith // // (C) Copyright 2015, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this...
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...
8871a52e802c01ae
python
269
Default Light+
import json from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, format_field, parse_iso8601, traverse_obj, url_or_none, ) class WykopBaseIE(InfoExtractor): def _get_token(self, force_refresh=False): if not force_refresh...
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...
cfe219c672b3cfce
typescript
41
One Dark Pro
import { z } from "zod" import { defineVersion } from "verzod" import { V1_SCHEMA } from "./1" export const V2_SCHEMA = V1_SCHEMA.extend({ v: z.literal(2), variables: z.array( z.object({ key: z.string(), initialValue: z.string(), currentValue: z.string(), secret: z.boolean(), }) )...
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...
16c3fc84048ba6b6
rust
345
GitHub Dark
// Based on the TheAlgorithms/Python // RFC 3526 - More Modular Exponential (MODP) Diffie-Hellman groups for // Internet Key Exchange (IKE) https://tools.ietf.org/html/rfc3526 use num_bigint::BigUint; use num_traits::{Num, Zero}; use std::{ collections::HashMap, sync::LazyLock, time::{SystemTime, UNIX_EPOC...
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...
db2f00959651c188
java
30
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.SmsFlashPromotion; import com.macro.mall.model.SmsFlashPromotionExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface SmsFlashPromotionMapper { long countByExample(SmsFlashPromotionExample example); int deleteBy...
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"...
b02870145cadb7cc
java
27
GitHub Dark
package com.xxl.job.admin.dao; import com.xxl.job.admin.core.model.XxlJobLogReport; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.util.Date; import java.util.List; /** * job log * @author xuxueli 2019-11-22 */ @Mapper public interface XxlJobLogReportDao { p...
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...
57cd3d160adc49a9
python
183
Default Light+
import json import re import urllib.parse from .common import InfoExtractor from .ninecninemedia import NineCNineMediaIE from ..utils import extract_attributes, orderedSet from ..utils.traversal import find_element, traverse_obj class CTVNewsIE(InfoExtractor): _BASE_REGEX = r'https?://(?:[^.]+\.)?ctvnews\.ca/' ...
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.", ...
b81ca01c5382345b
python
24
Monokai
# Copyright (c) Microsoft. All rights reserved. from semantic_kernel.functions.function_result import FunctionResult from semantic_kernel.functions.kernel_arguments import KernelArguments from semantic_kernel.functions.kernel_function import KernelFunction from semantic_kernel.functions.kernel_function_decorator impor...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
40ec9bdaf050c53a
java
25
Dracula
package com.macro.mall.dao; import com.macro.mall.dto.OmsOrderReturnApplyResult; import com.macro.mall.dto.OmsReturnApplyQueryParam; import com.macro.mall.model.OmsOrderReturnApply; import org.apache.ibatis.annotations.Param; import java.util.List; /** * 订单退货申请管理自定义Dao * Created by macro on 2018/10/18. */ 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...
20923a0a58b806f2
csharp
21
Monokai
namespace winPEAS._3rdParty.BouncyCastle.crypto.parameters { public class ParametersWithSBox : ICipherParameters { private ICipherParameters parameters; private byte[] sBox; public ParametersWithSBox( ICipherParameters parameters, byte[] sBox) { this.parameters = parameters; this.sBox = sBox; ...
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...
290dfdfecfdf0e9b
javascript
50
Dracula
import { defineConfig } from 'vite' import workerPluginTestPlugin from './worker-plugin-test-plugin' export default defineConfig(({ isPreview }) => ({ base: !isPreview ? './' : '/relative-base/', resolve: { alias: { '@': import.meta.dirname, }, }, worker: { format: 'es', plugins: () => [w...
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...
4c484ea3b9ff9a5f
csharp
80
Monokai
using System.Windows; using System.Windows.Controls; using System.Windows.Input; namespace ScreenToGif.Controls; /// <summary> /// Scroll by Drag Grid /// TODO: Make a grid that reacts to the drag sideway to increase or decrease a number. /// </summary> public class DragScrollGrid : Grid { #region Variables ...
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...
1ee3b6702bbd135a
typescript
29
GitHub Dark
import { Router } from "express" import { wss, Router as WsRouter } from "../wsRouter" export const router = Router() router.get("/", (req, res) => { res.json({ status: req.heart.alive() ? "alive" : "expired", lastHeartbeat: req.heart.lastHeartbeat, }) }) export const wsRouter = WsRouter() wsRouter.ws("...
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...
d173ed999a12aadb
java
90
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" ...
432bccde480274c9
cpp
118
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <spdlog/details/log_msg_buffer.h> #include <spdlog/details/mpmc_blocking_q.h> #include <spdlog/details/os.h> #include <chrono> #include <functional> #includ...
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...
30b06dee64de0444
python
121
Monokai
from enum import Enum from typing import Optional from pydantic import BaseModel, Field class MinimaxBaseResponse(BaseModel): status_code: int = Field( ..., description='Status code. 0 indicates success, other values indicate errors.', ) status_msg: str = Field( ..., description='...
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...
fe4de041ea3f2cf6
typescript
247
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type McpToolContext, BeforeToolHookOutput } from '../hooks/types.js'; import type { Config } from '../config/config.js'; import type { ToolResult, AnyDeclarativeTool, AnyToolInvocation, ToolLiveOutput, ExecuteOpt...
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.", ...
5d5a4dd50981b662
java
33
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...
a936a588905cfb33
csharp
62
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 ...
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...
9600cea3fca088ad
python
95
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from azure.identity import AzureCliCredential from semantic_kernel.agents import AzureResponsesAgent from semantic_kernel.connectors.ai.open_ai import AzureOpenAISettings """ The following sample demonstrates how to create an OpenAI Responses A...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
064b1c2672fe7367
java
72
Default Light+
package com.thealgorithms.ciphers; import java.util.HashMap; import java.util.Map; /** * The Baconian Cipher is a substitution cipher where each letter is represented * by a group of five binary digits (A's and B's). It can also be used to hide * messages within other texts, making it a simple form of steganograph...
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...
d7718838692f0918
typescript
105
Solarized Dark
import { decodeAndTrim, parseBoolOrPresence, parseInteger, parsePortOrDefault, parseQueryStringNormalized, parseUrlLike, stripUriScheme, } from './helpers' export function URI_Hysteria(line: string): IProxyHysteriaConfig { const afterScheme = stripUriScheme( line, ['hysteria', 'hy'], 'Inval...
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...
ec31ce09658e1bee
python
108
Default Light+
import datetime as dt from .common import InfoExtractor from ..utils import ( ExtractorError, float_or_none, jwt_encode, try_get, ) class ATVAtIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?atv\.at/tv/(?:[^/]+/){2,3}(?P<id>.*)' _TESTS = [{ 'url': 'https://www.atv.at/tv/bauer-su...
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.", ...
f11876f60f51fb98
python
135
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging from typing import Annotated from azure.identity.aio import AzureCliCredential from semantic_kernel.agents import AzureAIAgent, AzureAIAgentSettings, AzureAIAgentThread from semantic_kernel.contents import ChatMessageContent, FunctionCallC...
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" ...
7441f41bf4a7a147
java
47
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
1e742c7264938fe0
cpp
125
One Dark Pro
#include "models.h" llm_build_seed_oss::llm_build_seed_oss(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); GGML_ASSERT(n_embd_head == n_rot); ggml_tensor...
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...
eb9ab7fad792c7c8
rust
222
GitHub Dark
//! This module provides functionality to solve the N-Queens problem. //! //! The N-Queens problem is a classic chessboard puzzle where the goal is to //! place N queens on an NxN chessboard so that no two queens threaten each //! other. Queens can attack each other if they share the same row, column, or //! diagonal. ...
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" ...
5a21e2f807691d1d
cpp
30
Dracula
/** * Copyright 2022-2023 by XGBoost contributors */ #ifndef XGBOOST_OBJECTIVE_INIT_ESTIMATION_H_ #define XGBOOST_OBJECTIVE_INIT_ESTIMATION_H_ #include "xgboost/data.h" // MetaInfo #include "xgboost/linalg.h" // Tensor #include "xgboost/objective.h" // ObjFunction namespace xgboost::obj { class FitInterce...
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...
f3207c5392800068
python
28
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import Annotated from pydantic import Field from semantic_kernel.connectors.ai.prompt_execution_settings import PromptExecutionSettings class OnnxGenAIPromptExecutionSettings(PromptExecutionSettings): """OnnxGenAI prompt execution settings.""" d...
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" ...
ec35b4adf261ab55
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 ...
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...