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
f4b93df3b8f66b3e
java
28
Dracula
package com.macro.mall.portal.domain; import com.macro.mall.model.OmsCartItem; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import java.math.BigDecimal; /** * 带促销信息的购物车商品封装 * Created by macro on 2018/8/27. */ @Getter @Setter public class CartPromotionItem extends Oms...
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" ...
61f72b467462e675
typescript
103
Solarized Light
"use client" import * as React from "react" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-menu" import { SidebarMenu, SidebarMenuButton,...
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...
256cf7b0afb25e3d
python
268
Solarized Light
from binascii import hexlify from hashlib import sha256 from os import urandom # RFC 3526 - More Modular Exponential (MODP) Diffie-Hellman groups for # Internet Key Exchange (IKE) https://tools.ietf.org/html/rfc3526 primes = { # 1536-bit 5: { "prime": int( "FFFFFFFFFFFFFFFFC90FDAA22168C234...
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"...
7f1e38ae9f0a99c1
go
110
Solarized Dark
// Copyright 2022 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
536c576cc0995c63
cpp
200
Dracula
/** * Copyright 2015-2026, XGBoost Contributors * \file math.h * \brief additional math utils * \author Tianqi Chen */ #ifndef XGBOOST_COMMON_MATH_H_ #define XGBOOST_COMMON_MATH_H_ #include <xgboost/base.h> // for XGBOOST_DEVICE #include <algorithm> // for max #include <cmath> // for exp, abs, log, lg...
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...
c5924a9578cbcc35
java
29
Monokai
package com.termux.shared.net.uri; import android.net.Uri; /** * The {@link Uri} schemes. * * https://www.iana.org/assignments/uri-schemes/uri-schemes.xhtml * https://en.wikipedia.org/wiki/List_of_URI_schemes */ public class UriScheme { /** Android app resource. */ public static final String SCHEME_ANDR...
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...
04d1cc343ad11282
go
85
Solarized Dark
// Copyright 2017 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...
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"...
55af2b52d91d8259
java
42
Dracula
package com.macro.mall.portal.service; import com.macro.mall.model.SmsCoupon; import com.macro.mall.model.SmsCouponHistory; import com.macro.mall.portal.domain.CartPromotionItem; import com.macro.mall.portal.domain.SmsCouponHistoryDetail; import org.springframework.transaction.annotation.Transactional; import java.ut...
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.", ...
07d4bea9dd122af2
cpp
136
Solarized Light
#include "EditBreakpointDialog.h" #include "ui_EditBreakpointDialog.h" #include "StringUtil.h" #include "MiscUtil.h" #include "Configuration.h" #include "BrowseDialog.h" #include <QLineEdit> EditBreakpointDialog::EditBreakpointDialog(QWidget* parent, const Breakpoints::Data & bp) : QDialog(parent), ui(new Ui...
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...
4f86fc04277571f9
java
35
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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"...
a6b87888f4f1bb26
java
55
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
f03b70a72bf13178
typescript
328
One Dark Pro
import { HoppCollection, HoppRESTRequest, makeCollection, makeRESTRequest, } from "@hoppscotch/data" import { uniqueID } from "~/helpers/utils/uniqueID" const MOCK_URL_VAR = "<<mockUrl>>" /** * Returns a JSON string of the Pet Store example collection for import * @returns JSON string representation of 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"...
8b93b199131bee82
java
31
Solarized Dark
class ValidAnagram { public boolean isAnagram(String s, String t) { HashMap<Character, Integer> map = new HashMap<Character, Integer>(); for(char c: s.toCharArray()) { if(map.containsKey(c)) { map.put(c, map.get(c) + 1); } else { ma...
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...
f84fca6c4a852c66
csharp
118
Default Light+
// Copyright (c) 2024 Holger Schmidt // // 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, // publis...
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...
94064009e6dedf9e
java
69
GitHub Dark
package org.jeecg.common.system.base.entity; import java.io.Serializable; import org.jeecgframework.poi.excel.annotation.Excel; import org.springframework.format.annotation.DateTimeFormat; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.fasterxml.jack...
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...
d618adbaa94faa68
python
38
Default Light+
from .common import InfoExtractor class HGTVComShowIE(InfoExtractor): IE_NAME = 'hgtv.com:show' _VALID_URL = r'https?://(?:www\.)?hgtv\.com/shows/[^/]+/(?P<id>[^/?#&]+)' _TESTS = [{ # data-module="video" 'url': 'http://www.hgtv.com/shows/flip-or-flop/flip-or-flop-full-episodes-season-4-vid...
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...
bc91289c13c3ffbf
java
54
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...
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...
484f429384cca02c
typescript
62
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui/button" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuLabel, DropdownMenuTrigger, } from "@/examples/radix/ui/dropdown-menu" import { BellIcon, MailIcon, MessageSqu...
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...
1ed2ec23ebba3f11
python
93
Default Light+
import re from .common import InfoExtractor from ..utils import ( determine_ext, join_nonempty, xpath_text, ) class WebcasterIE(InfoExtractor): _VALID_URL = r'https?://bl\.webcaster\.pro/(?:quote|media)/start/free_(?P<id>[^/]+)' _TESTS = [{ # http://video.khl.ru/quotes/393859 'url...
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...
2fe27a1cf37d400b
cpp
346
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...
0dea7c2ea264b58c
rust
34
GitHub Dark
// Author : cyrixninja // Sylvester Series : Calculates the nth number in Sylvester's sequence. // Wikipedia Reference : https://en.wikipedia.org/wiki/Sylvester%27s_sequence // Other References : https://the-algorithms.com/algorithm/sylvester-sequence?lang=python pub fn sylvester(number: i32) -> i128 { ...
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...
e881398da8bc4d53
typescript
88
GitHub Dark
import { ComponentInternalInstance, ExtractPropTypes } from 'vue'; import { useJVxeCompProps } from '/@/components/jeecg/JVxeTable/hooks'; export namespace JVxeComponent { export type Props = ExtractPropTypes<ReturnType<typeof useJVxeCompProps>>; interface EnhancedCtx { props?: JVxeComponent.Props; contex...
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...
02e068ba66a2122e
rust
294
Solarized Light
//! Defines the Row type which makes up lines in the grid. use std::cmp::{max, min}; use std::ops::{Index, IndexMut, Range, RangeFrom, RangeFull, RangeTo, RangeToInclusive}; use std::{ptr, slice}; #[cfg(feature = "serde")] use serde::{Deserialize, Serialize}; use crate::grid::GridCell; use crate::index::Column; use ...
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" ...
418e58ced48764fb
go
186
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...
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...
44f3d925ac323bec
typescript
303
Solarized Light
import { promises as fs } from "fs" import path from "path" import { ExamplesIndex } from "@/examples/__index__" import { LRUCache } from "lru-cache" import { registryItemSchema, type registryItemFileSchema } from "shadcn/schema" import { type z } from "zod" import { readFileFromRoot } from "@/lib/read-file" import { ...
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.", ...
883c198cf87f2522
typescript
161
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { promises as fs } from 'node:fs'; import * as path from 'node:path'; import * as os from 'node:os'; import * as crypto from 'node:crypto'; import type { Keychain } from './keychainTypes.js'; import { GEMINI_DIR, homedir } 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...
42a1b334290c6a74
cpp
100
Dracula
/** * Copyright 2023-2025, XGBoost Contributors */ #include "batch_utils.h" #include <algorithm> // for max #include <cstddef> // for size_t #include <cstdint> // for int64_t #include <utility> // for pair #include "../common/common.h" // for AssertGPUSupport #include "../common/cuda_rt_utils.h" ...
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" ...
55b29976a74119e7
cpp
80
One Dark Pro
// // MIT license // Copyright (C) 2024 Intel Corporation // SPDX-License-Identifier: MIT // // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #ifndef GGML_SYCL_...
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...
23d37f4ed607a236
csharp
133
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Xunit; #pragma warning disable CS8767 // Nullability of reference types in type of parameter doesn't match implicitly implemented member (possibly because of null...
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"...
f89877676ef604d4
csharp
353
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...
27d5ded9476f3f5e
rust
89
GitHub Dark
use std::cmp::Ordering; pub fn ternary_search_rec<T: Ord>( target: &T, list: &[T], start: usize, end: usize, ) -> Option<usize> { if list.is_empty() { return None; } if end >= start { let mid1: usize = start + (end - start) / 3; let mid2: usize = end - (end - start)...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
e4fe3876318620d8
csharp
313
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using Windows.UI.Xaml; using Windows.UI.Xaml.Automation; using Windows.UI.Xaml.Automation.Peers; using Windows.UI.Xaml.Controls; using Windows.UI.Xaml.Input; namespace CalculatorApp { namespace Controls { p...
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.", ...
f6e6fc4806a28443
csharp
25
Default Light+
using ICSharpCode.ILSpy.Docking; using ICSharpCode.ILSpy.ViewModels; namespace ICSharpCode.ILSpy.Commands { class ToolPaneCommand(string contentId, DockWorkspace dockWorkspace) : SimpleCommand { public override void Execute(object parameter) { dockWorkspace.ShowToolPane(contentId); } } class TabPageComma...
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...
eebc5a25bec6f5fe
python
157
Solarized Dark
import zipfile from io import BytesIO from typing import BinaryIO from xml.etree import ElementTree as ET from bs4 import BeautifulSoup, Tag from .math.omml import OMML_NS, oMath2Latex MATH_ROOT_TEMPLATE = "".join( ( "<w:document ", 'xmlns:wpc="http://schemas.microsoft.com/office/word/2010/wordpr...
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...
d9deebdd956e6daa
cpp
161
One Dark Pro
/* * * Copyright (c) 2004 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. ...
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"...
a401e6d0b0861bf5
typescript
313
One Dark Pro
import { computed, Ref, ref } from "vue" import { useReadonlyStream } from "./stream" import { platform } from "~/platform" import { useSetting } from "./settings" import { HoppGQLRequest, HoppRESTRequest } from "@hoppscotch/data" import { useToast } from "@composables/toast" import { useI18n } from "@composables/i18n"...
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.", ...
25c78142c9f0554d
cpp
118
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
93aa52f54dce1c75
csharp
36
Monokai
using System; using System.IO; namespace winPEAS._3rdParty.BouncyCastle.asn1 { public class Asn1OutputStream : DerOutputStream { public Asn1OutputStream(Stream os) : base(os) { } [Obsolete("Use version taking an Asn1Encodable arg instead")] public override void...
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...
af51ac2b40185b78
typescript
26
Solarized Light
import * as SwitchPrimitive from "@radix-ui/react-switch"; import * as React from "react"; import { cn } from "@/lib/utils"; function Switch({ className, ...props }: React.ComponentProps<typeof SwitchPrimitive.Root>) { return ( <SwitchPrimitive.Root data-slot="switch" className={cn( "peer dat...
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...
5b2186a05fdf14d0
cpp
109
Dracula
/** * Copyright 2021-2025, XGBoost Contributors */ #include "cache_manager.h" #include <cstdint> // for uint64_t #if defined(__x86_64__) void RunCpuid(uint32_t eax, uint32_t ecx, uint32_t (& abcd)[4]) { #if defined(_MSC_VER) __cpuidex(reinterpret_cast<int*>(abcd), eax, ecx); #else uint32_t ebx = 0, edx = ...
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...
2ff242b8889ee9f7
go
152
Default Dark+
package integration import ( "bytes" "testing" "github.com/caddyserver/caddy/v2/caddytest" ) func TestMap(t *testing.T) { // arrange tester := caddytest.NewTester(t) tester.InitServer(`{ skip_install_trust admin localhost:2999 http_port 9080 https_port 9443 grace_period 1ns } localhost:908...
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...
c67ab2ed41b2e913
java
38
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
3458032752eeb68b
python
190
Solarized Light
""" Lorentz transformations describe the transition between two inertial reference frames F and F', each of which is moving in some direction with respect to the other. This code only calculates Lorentz transformations for movement in the x direction with no spatial rotation (i.e., a Lorentz boost in the x direction). ...
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"...
18078d8e14a33768
csharp
42
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...
e89004fe8584c334
typescript
41
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { ThemedGradient } from './ThemedGradient.js'; import { describe, it, expect, vi } from 'vitest'; // Mock theme to control gradient vi.mock('../semantic-colors.js', () =>...
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.", ...
254ab6b15ed84803
csharp
39
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading.Tasks; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; using Xunit; using MAAI = Microsoft.Agents.AI; namespace SemanticKernel.IntegrationTests.Agents.CommonInterfaceConformance; /// <summary> /// Base clas...
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...
8f80d4d25838f083
python
75
Default Light+
import re from .common import InfoExtractor from ..utils import ( clean_html, extract_attributes, int_or_none, strip_or_none, unified_strdate, ) from ..utils.traversal import find_element, traverse_obj class MonstercatIE(InfoExtractor): _VALID_URL = r'https?://www\.monstercat\.com/release/(?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...
f22c278f0c01de58
csharp
180
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.", ...
1469aa79a1a312c7
typescript
84
One Dark Pro
import { Ref, Component } from "vue" import { getI18n } from "~/modules/i18n" export type HoppFooterMenuItem = { id: string text: (t: ReturnType<typeof getI18n>) => string icon: Component action: { type: "link"; href: string } | { type: "custom"; do: () => void } } export type HoppSupportOptionsMenuItem = { ...
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" ...
ffd282c0791333c2
cpp
255
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <spdlog/common.h> #include <spdlog/details/circular_q.h> #include <spdlog/details/file_helper.h> #include <spdlog/details/null_mutex.h> #include <spdlog/deta...
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.", ...
527cfd967f10aac0
go
165
Default Light+
package cloudreve_v4 import ( "time" "github.com/alist-org/alist/v3/internal/model" ) type Object struct { model.Object StoragePolicy StoragePolicy } type Resp struct { Code int `json:"code"` Msg string `json:"msg"` Data any `json:"data"` } type BasicConfigResp struct { InstanceID string `json:"inst...
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.", ...
257716f0958e9fd6
cpp
30
One Dark Pro
// __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ // | | |__ | | | | | | version 3.12.0 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me> // SPDX-License-Identifier: MIT #pragma once #include ...
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...
9bdb0725e51f1391
typescript
239
One Dark Pro
import { useEffect, useMemo, useState } from "react"; import { ChatMessage, useAppConfig, useChatStore } from "../store"; import { Updater } from "../typing"; import { IconButton } from "./button"; import { Avatar } from "./emoji"; import { MaskAvatar } from "./mask"; import Locale from "../locales"; import styles fro...
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...
9ce4e4b0cad5f3b3
typescript
115
Solarized Light
"use client" import { BadgeCheck, Bell, ChevronsUpDown, CreditCard, LogOut, Sparkles, } from "lucide-react" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuL...
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.", ...
9203e6c7ee512572
typescript
157
GitHub Dark
import type { MenuSetting } from '/#/config'; import { computed, unref, ref } from 'vue'; import { useAppStore } from '/@/store/modules/app'; import { SIDE_BAR_MINI_WIDTH, SIDE_BAR_SHOW_TIT_MINI_WIDTH } from '/@/enums/appEnum'; import { MenuModeEnum, MenuTypeEnum, TriggerEnum } from '/@/enums/menuEnum'; import { 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...
a25b4d7cad4cda05
java
57
Default Light+
package com.thealgorithms.dynamicprogramming; /** * * Author: Janmesh Singh * Github: https://github.com/janmeshjs * Problem Statement: To determine if the pattern matches the text. * The pattern can include two special wildcard characters: * ' ? ': Matches any single character. * ' * ': Matches ze...
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...
8d8850eb0fb8a2ad
typescript
168
Solarized Light
import { describe, expect, it } from "vitest" import { createStyleMap } from "./create-style-map" describe("parseStyle", () => { it("extracts tailwind classes from @apply directives", () => { const css = ` .style-nova { .cn-alert-dialog-content { @apply bg-background gap-4 rounded-xl bor...
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...
cd4cfd08ecd5e6c7
java
101
Default Dark+
package org.schabi.newpipe.player.mediaitem; import org.schabi.newpipe.extractor.stream.StreamInfo; import org.schabi.newpipe.extractor.stream.StreamType; import org.schabi.newpipe.player.playqueue.PlayQueueItem; import org.schabi.newpipe.util.image.ImageStrategy; import java.util.List; import java.util.Optional; im...
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"...
988450b6de718efc
java
30
Dracula
package com.macro.mall.mapper; import com.macro.mall.model.UmsGrowthChangeHistory; import com.macro.mall.model.UmsGrowthChangeHistoryExample; import java.util.List; import org.apache.ibatis.annotations.Param; public interface UmsGrowthChangeHistoryMapper { long countByExample(UmsGrowthChangeHistoryExample example...
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.", ...
cf0df45844a3489e
javascript
69
Dracula
/** * @typedef {Object} Callbacks * * @property {function(vertices: Object): boolean} [allowTraversal] - * Determines whether DFS should traverse from the vertex to its neighbor * (along the edge). By default prohibits visiting the same vertex again. * * @property {function(vertices: Object)} [enterVertex] - C...
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...
37d0ef09e955220b
java
158
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...
ab40ef7b861c0873
typescript
179
GitHub Dark
/** * Used to configure the global error handling function, which can monitor vue errors, script errors, static resource errors and Promise errors */ import type { ErrorLogInfo } from '/#/store'; import { useErrorLogStoreWithOut } from '/@/store/modules/errorLog'; import { ErrorTypeEnum } from '/@/enums/exceptionE...
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.", ...
bf231ad5e5469cfe
java
157
Monokai
/* * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free ...
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"...
10d8c204c882bfe8
typescript
149
Solarized Light
"use client" import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/bases/base/ui/avatar" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-menu" import ...
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...
a1d19320890669d3
csharp
177
Monokai
namespace winPEAS._3rdParty.BouncyCastle.math.raw { internal abstract class Interleave { private const ulong M32 = 0x55555555UL; private const ulong M64 = 0x5555555555555555UL; private const ulong M64R = 0xAAAAAAAAAAAAAAAAUL; /* * This expands 8 bit indices into 16 bit...
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.", ...
e945aa62d216c0d4
go
310
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
ed6ff5b0153b12f3
csharp
64
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...
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" ...
894cd391d0164617
python
90
Solarized Light
from ...utils.http_client_async import AsyncHttpClient from ...utils.error_handler import handle_response_error from ...types import ConcurrencyCheck, CreditUsage, TokenUsage, CreditUsageHistoricalResponse, TokenUsageHistoricalResponse, QueueStatusResponse async def get_concurrency(client: AsyncHttpClient) -> Concurr...
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...
264e4148f8d40ba6
go
385
Solarized Light
//nolint:all package cron import ( "reflect" "strings" "testing" "time" ) var secondParser = NewParser(Second | Minute | Hour | Dom | Month | DowOptional | Descriptor) func TestRange(t *testing.T) { zero := uint64(0) ranges := []struct { expr string min, max uint expected uint64 err string }{...
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...
f7c1b8d0534b1bd1
cpp
91
Solarized Dark
#ifndef OPENPOSE_EXAMPLES_TUTORIAL_USER_POST_PROCESSING_HPP #define OPENPOSE_EXAMPLES_TUTORIAL_USER_POST_PROCESSING_HPP // Third-party dependencies #include <opencv2/opencv.hpp> // OpenPose dependencies #include <openpose/core/common.hpp> #include <openpose/core/cvMatToOpInput.hpp> namespace op { /** * Add y...
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"...
ab573f09e99205d7
csharp
35
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using System.Text.Json; using MAAI = Microsoft.Agents.AI; namespace Microsoft.SemanticKernel.Agents; /// <summary> /// Exposes a Semantic Kernel Agent Framework <see cref="Agent"/> as a Microsoft Agent Framework <s...
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...
c29d387829b45ebe
java
187
Solarized Light
package com.firecrawl.models; import com.fasterxml.jackson.annotation.JsonInclude; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; import java.util.List; import java.util.Map; /** * Options for scraping a single URL. */ @JsonI...
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...
f8d458b1941e2bf8
typescript
120
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import prettier from 'prettier'; export async function formatWithPrettier(content: string, filePath: string) { const options = await prettier.resolveConfig(filePath); return prettier.format(content, { ...options, filep...
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" ...
dbc222ae01dab385
typescript
196
Solarized Light
import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Separator } from "@/examples/radix/ui/separator" import { cva, type VariantProps } from "class-variance-authority" import { Slot } from "radix-ui" function ItemGroup({ className, ...props }: React.ComponentProps<"div">) { return ...
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...
16197d82f41561f8
typescript
107
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { lightTheme, Theme } from '../../theme.js'; export const DefaultLight: Theme = new Theme( 'Default Light', 'light', { hljs: { display: 'block', overflowX: 'auto', padding: '0.5em', backgro...
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"...
f10f3b3050d44e26
rust
47
Default Dark+
use arbitrary::Arbitrary; use serde_json::{json, Value}; #[derive(Debug, Arbitrary)] pub enum Document { One, Two, Three, Four, Five, Six, } impl Document { pub fn to_d(&self) -> Value { match self { Document::One => json!({ "id": 0, "doggo": "bernese" }), D...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
bdc627242768ed0d
python
80
Solarized Light
# Created by: Ramy-Badr-Ahmed (https://github.com/Ramy-Badr-Ahmed) # in Pull Request: #11532 # https://github.com/TheAlgorithms/Python/pull/11532 # # Please mention me (@Ramy-Badr-Ahmed) in any issue or pull request # addressing bugs/corrections to this file. # Thank you! from data_structures.kd_tree.kd_node imp...
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.", ...
b0a8dd09ae5defda
python
103
Monokai
# Copyright (c) Microsoft. All rights reserved. from semantic_kernel.connectors.ai.open_ai.prompt_execution_settings.azure_chat_prompt_execution_settings import ( ApiKeyAuthentication, AzureAISearchDataSource, AzureAISearchDataSourceParameters, AzureChatPromptExecutionSettings, AzureCosmosDBDataSou...
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...
8b6615637f0488cd
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 ...
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...
08864aab211dea28
csharp
329
One Dark Pro
namespace ShareX { partial class MonitorTestForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <p...
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.", ...
89a0b7bf1ad24d95
java
35
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
1ee4dce4ce982228
javascript
90
GitHub Dark
'use strict'; import utils from './utils.js'; import bind from './helpers/bind.js'; import Axios from './core/Axios.js'; import mergeConfig from './core/mergeConfig.js'; import defaults from './defaults/index.js'; import formDataToJSON from './helpers/formDataToJSON.js'; import CanceledError from './cancel/CanceledErr...
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"...
563a53287694644e
csharp
176
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using CalculatorUITestFramework; using Microsoft.VisualStudio.TestTools.UnitTesting; using OpenQA.Selenium; using OpenQA.Selenium.Interactions; using System; namespace CalculatorUITests { [TestClass] public clas...
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.", ...
33b152bd0c7f559e
typescript
86
Solarized Light
import { useEffect, useMemo, useState } from "react"; import { matchPath, Outlet, useLocation } from "react-router-dom"; import type { MemoExplorerContext } from "@/components/MemoExplorer"; import { MemoExplorer, MemoExplorerDrawer } from "@/components/MemoExplorer"; import MobileHeader from "@/components/MobileHeader...
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...
f0a6ed51d29696f5
csharp
95
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...
54ad9f8780473d51
java
220
Monokai
package com.termux.shared.termux; import android.content.Context; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.termux.shared.logger.Logger; import com.termux.shared.termux.TermuxConstants.TERMUX_APP; public class TermuxBootstrap { private static final String LOG_TAG = "Te...
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...
d5cf783c2692c74c
typescript
71
Default Light+
import { queryByTestId, fireEvent } from "@testing-library/react"; import React from "react"; import { Excalidraw } from "../index"; import { API } from "../tests/helpers/api"; import { Pointer, UI } from "../tests/helpers/ui"; import { render } from "../tests/test-utils"; const { h } = window; const mouse = new Poin...
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...
c8dd93b40172166d
csharp
92
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...
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.", ...
57e42db40911620a
java
78
GitHub Dark
package org.jeecg; import com.xkcoding.justauth.autoconfigure.JustAuthAutoConfiguration; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.base.BaseMap; import org.jeecg.common.constant.GlobalConstants; import org.jeecg.common.util.oConvertUtils; import org.springframework.beans.factory.annotation.Autowired; i...
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" ...
fd65059810304d91
typescript
66
Default Dark+
import { useEffect, useState } from 'react'; import { Pagination, Spinner } from '~/ui'; import type { Paging } from '~/types/offers'; type OffersTablePaginationProps = Readonly<{ endNumber: number; handlePageChange: (page: number) => void; isInitialFetch?: boolean; isLoading?: boolean; pagination: Paging; ...
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...
ad222da68160eb70
csharp
49
Default Light+
// Copyright (c) 2022 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"...
79bad157f4afe3b2
javascript
324
Dracula
import BinarySearchTree from '../binary-search-tree/BinarySearchTree'; // Possible colors of red-black tree nodes. const RED_BLACK_TREE_COLORS = { red: 'red', black: 'black', }; // Color property name in meta information of the nodes. const COLOR_PROP_NAME = 'color'; export default class RedBlackTree extends Bin...
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"...
40bffe3045d07738
csharp
141
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 ...
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" ...
eaf7e08ce4df50d6
go
106
Solarized Dark
package prometheus import ( "github.com/prometheus/client_golang/prometheus" "github.com/fatedier/frp/server/metrics" ) const ( namespace = "frp" serverSubsystem = "server" ) var ServerMetrics metrics.ServerMetrics = newServerMetrics() type serverMetrics struct { clientCount prometheus.Gauge pro...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
ffd805b18f4adf87
csharp
46
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.VectorData; namespace SemanticKernel.AotTests.UnitTests.Search; internal sealed class MockVectorizableTextSearch<TRecord> : IVectorSearchable<TRecord> { private readonly IAsyncEnumerable<VectorSearchResult<TRecord>> _searchResults; ...
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"...
7e6e3768110ed8fa
python
20
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import Any from semantic_kernel.kernel_pydantic import KernelBaseModel from semantic_kernel.utils.feature_stage_decorator import experimental @experimental class ProcessMessage(KernelBaseModel): """Represents a message used in a process runtime.""" ...
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.", ...
54140b06efb4ce30
go
221
Default Light+
package names import ( "strings" "testing" ) func TestParseName(t *testing.T) { cases := []struct { in string want Name }{ {"", Name{}}, {"m:t", Name{m: "m", t: "t"}}, {"m", Name{m: "m"}}, {"/m", Name{m: "m"}}, {"/n/m:t", Name{n: "n", m: "m", t: "t"}}, {"n/m", Name{n: "n", m: "m"}}, {"n/m: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...
adb0b126590521b9
rust
177
GitHub Dark
/*! This module provides routines for reading ripgrep config "rc" files. The primary output of these routines is a sequence of arguments, where each argument corresponds precisely to one shell argument. */ use std::{ ffi::OsString, path::{Path, PathBuf}, }; use bstr::{ByteSlice, io::BufReadExt}; /// Return ...
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...
51c46aefd84166a1
java
41
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...
fb85f904653d4a48
csharp
32
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...