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
4f8b8723c270c093
csharp
34
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.Extensions.VectorData; /// <summary> /// Represents a filter clause that filters by checking if a field consisting of a list of values contains a specific value. /// </summary> [Obsolete("Use LINQ expressions via VectorSearchOptions<...
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...
e799a21c4465aad3
java
63
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...
6d01a260ce365375
java
67
GitHub Dark
package org.jeecg.common.constant; /** * @Description: Websocket常量类 * @author: taoyan * @date: 2020年03月23日 */ public class WebsocketConst { /** * 消息json key:cmd */ public static final String MSG_CMD = "cmd"; /** * 消息json key:msgId */ public static final String MSG_ID = "msgId...
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.", ...
cab55013baa0d71d
python
104
Default Light+
import os import torch from torch import nn from modules import devices, paths, shared sd_vae_approx_models = {} class VAEApprox(nn.Module): def __init__(self, latent_channels=4): super(VAEApprox, self).__init__() self.conv1 = nn.Conv2d(latent_channels, 8, (7, 7)) self.conv2 = nn.Conv2d(...
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.", ...
24505a62754a2da8
csharp
35
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.", ...
db3c2b6d25688f3d
cpp
73
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...
071ac5b553d736b5
typescript
67
Solarized Light
import path from "path" import { buildOptionsSchema } from "@/src/commands/build" import * as ERRORS from "@/src/utils/errors" import { getConfig } from "@/src/utils/get-config" import { highlighter } from "@/src/utils/highlighter" import { logger } from "@/src/utils/logger" import fs from "fs-extra" import { z } from ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
7d1cf816ff638679
csharp
118
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" ...
4cb0228b95e27170
java
109
GitHub Dark
package org.jeecg.modules.system.controller; import java.util.ArrayList; import java.util.List; import jakarta.servlet.http.HttpServletRequest; import org.jeecg.common.api.vo.Result; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.system.query.QueryGenerator; import org.jeecg.common.util.oCo...
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...
4f124f24841d8244
cpp
142
One Dark Pro
#include <WChess.h> #include <emscripten.h> #include <emscripten/bind.h> #include <thread> constexpr int N_THREAD = 8; std::vector<struct whisper_context *> g_contexts(4, nullptr); std::mutex g_mutex; std::thread g_worker; std::condition_variable g_cv; bool g_running(false); std::vector<float> g_pcmf32; void se...
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" ...
e3c3a1226fb86118
java
28
Dracula
/* Copyright (c) 2021-2024 by Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
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" ...
aefb2cdd7db136db
csharp
20
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; namespace Microsoft.SemanticKernel; /// <summary> /// Represents a factory for prompt templates for one or more prompt template formats. /// </summary> public interface IPromptTemplateFactory { /// <summary> /// Creates ...
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...
f1f04ef640bfacc0
java
43
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
e99e40bc23d2186b
typescript
190
One Dark Pro
import styles from "./auth.module.scss"; import { IconButton } from "./button"; import { useState, useEffect } from "react"; import { useNavigate } from "react-router-dom"; import { Path, SAAS_CHAT_URL } from "../constant"; import { useAccessStore } from "../store"; import Locale from "../locales"; import Delete from "...
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...
27a88fe40ff0049a
csharp
212
Default Light+
using System; using System.IO; using System.Linq; using System.Reflection.Metadata; using System.Reflection.PortableExecutable; using System.Runtime.CompilerServices; using System.Text; using System.Xml.Linq; using ICSharpCode.Decompiler.CSharp; using ICSharpCode.Decompiler.DebugInfo; using ICSharpCode.Decompiler.Meta...
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" ...
fc6c2a94a9188e5d
csharp
34
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Plugins.Grpc; namespace Plugins; // This example shows how to use gRPC plugins. public class ImportPluginFromGrpc(ITestOutputHelper output) : BaseTest(output) { [Fact(Skip = "Setup crendentials")] ...
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"...
f10d634eddf339b7
rust
189
Default Dark+
use std::collections::HashMap; use derive_builder::Builder; use serde::{Deserialize, Serialize}; use crate::error::OpenAIError; #[derive(Debug, Serialize, Default, Clone, Builder, PartialEq, Deserialize)] #[builder(name = "BatchRequestArgs")] #[builder(pattern = "mutable")] #[builder(setter(into, strip_option), defa...
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...
c45dbb80348475df
typescript
30
Default Dark+
enum JobExperienceLevel { Entry, Mid, Senior, } export function yearsOfExperienceToLevel(years: number): Readonly<{ label: string; level: JobExperienceLevel; }> { if (years <= 2) { return { label: 'Entry Level', level: JobExperienceLevel.Entry, }; } if (years <= 5) { return { ...
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" ...
f12c60c7bfad607c
cpp
167
One Dark Pro
/* * * Copyright (c) 1998-2002 * 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 versio...
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" ...
5fc45183a4e2e41b
typescript
25
One Dark Pro
import { z } from "zod" import { defineVersion } from "verzod" export const GQLHeader = z.object({ key: z.string().catch(""), value: z.string().catch(""), active: z.boolean().catch(true) }) export type GQLHeader = z.infer<typeof GQLHeader> export const V1_SCHEMA = z.object({ v: z.literal(1), name: z.string...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
1ed998369fa36b9c
csharp
171
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using Xunit; namespace Microsoft.SemanticKernel.Process.Core.UnitTests; /// <summary> /// Unit tests for the <see cref="ProcessStepEdgeBuilder"/> class. /// </summary> public class ProcessStepEdgeBuilderTests { /// <summary> /// Verify the const...
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...
1c2e7718c0b69ff2
java
108
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...
69c5b31c2fb121d7
csharp
202
Monokai
using System; using System.Threading.Tasks; using System.Windows; using System.Windows.Media; namespace ScreenToGif.Windows.Other; public partial class ErrorDialog { public Exception Exception { get; set; } public ErrorDialog() { InitializeComponent(); } #region Methods private Brus...
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...
e9d6f5abfe903eef
java
44
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...
1e505614f258b049
csharp
93
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Net.Http; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel; using OpenAI; using Xunit; namespace SemanticKernel.Connectors.OpenAI.UnitTests.Extensions; public class OpenAIKernelBuilderExtensionsChatClientTests { [Fact] ...
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"...
5fb5db77eb257e40
python
205
Monokai
# Adapted from https://github.com/lodestone-rock/flow from functools import lru_cache import torch from torch import nn class NerfEmbedder(nn.Module): """ An embedder module that combines input features with a 2D positional encoding that mimics the Discrete Cosine Transform (DCT). This module takes ...
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"...
c3040fc8ae74b39d
csharp
138
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using ProcessFramework.Aspire.SignalR.ProcessOrchestrator.Models; namespace ProcessFramework.Aspire.SignalR.ProcessOrchestrator.Steps; /// <summary> /// Step that generates document conten...
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...
287c2a92ac058b35
python
74
Default Light+
from .common import InfoExtractor from ..utils import int_or_none, parse_duration, parse_iso8601 class PornFlipIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?pornflip\.com/(?:(embed|sv|v)/)?(?P<id>[^/]+)' _TESTS = [ { 'url': 'https://www.pornflip.com/dzv9Mtw1qj2/sv/brazzers-double-da...
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...
087f54ccbc282a60
go
60
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...
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" ...
c1de775d07d0d9db
java
40
GitHub Dark
package com.alibaba.csp.sentinel.dashboard.constants; /** * sentinel常量配置 * @author zyf */ public class SentinelConStants { public static final String GROUP_ID = "SENTINEL_GROUP"; /** * 流控规则 */ public static final String FLOW_DATA_ID_POSTFIX = "-flow-rules"; /** * 热点参数 */ pub...
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"...
f96d29ec94de72a9
csharp
41
Monokai
using ScreenToGif.Domain.Interfaces; namespace ScreenToGif.Domain.Models; public class ExportProject { /// <summary> /// True if the project will be passed as files instead of byte array. /// </summary> public bool UsesFiles { get; set; } /// <summary> /// The path of frame chunk. /// </s...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
ff0087736eeecd10
python
300
Default Light+
import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, int_or_none, js_to_json, parse_iso8601, parse_qs, str_or_none, url_or_none, urljoin, ) from ..utils.traversal import traverse_obj class LSMLREmbedIE(InfoExtractor):...
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...
bffe4cf6312336db
cpp
303
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...
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...
fe9c19cc7a005552
cpp
223
Dracula
/*! * Copyright 2018-2022 XGBoost contributors */ #ifndef XGBOOST_COMMON_TRANSFORM_H_ #define XGBOOST_COMMON_TRANSFORM_H_ #include <dmlc/common.h> #include <dmlc/omp.h> #include <xgboost/data.h> #include <type_traits> // enable_if #include <utility> #include <vector> #include "common.h" #include "threading_utils....
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"...
841e9171c1c8e256
csharp
66
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.", ...
20f728dcfa7e85db
javascript
27
Dracula
/** * @param {number} number * @return {boolean} */ export default function isPowerOfTwoBitwise(number) { // 1 (2^0) is the smallest power of two. if (number < 1) { return false; } /* * Powers of two in binary look like this: * 1: 0001 * 2: 0010 * 4: 0100 * 8: 1000 * * Note that 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" ...
75dc2e64d144c3f0
csharp
21
Dracula
namespace ServiceLib.Enums; public enum ECoreType { v2fly = 1, Xray = 2, v2fly_v5 = 4, mihomo = 13, hysteria = 21, naiveproxy = 22, tuic = 23, sing_box = 24, juicity = 25, hysteria2 = 26, brook = 27, overtls = 28, shadowquic = 29, mieru = 30, v2rayN = 99 }
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" ...
dcf56b4ce5ffb3bb
cpp
30
Solarized Light
#include <QApplication> #include <QFile> #include <Gui/ReleaseNotesDialog.h> int main(int argc, char* argv[]) { if(argc < 2) { puts("Usage: release_notes test.md"); return EXIT_FAILURE; } QFile f(argv[1]); if(!f.open(QFile::ReadOnly)) { puts("Failed to open file!"); ...
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.", ...
207a7167f39541cb
java
44
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...
8259ba897db18bfe
python
63
Solarized Light
def binomial_coefficient(n: int, r: int) -> int: """ Find binomial coefficient using Pascal's triangle. Calculate C(n, r) using Pascal's triangle. :param n: The total number of items. :param r: The number of items to choose. :return: The binomial coefficient C(n, r). >>> binomial_coeffici...
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" ...
250342ef8b3e5250
csharp
137
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" ...
b167192082b78512
java
176
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...
6ba5cac29ea04eba
java
187
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" ...
7e18046747d7043b
cpp
25
One Dark Pro
#pragma once #include <string> #include <vector> #include <cstdint> // Read WAV audio file and store the PCM data into pcmf32 // fname can be a buffer of WAV data instead of a filename // The sample rate of the audio must be equal to COMMON_SAMPLE_RATE // If stereo flag is set and the audio has 2 channels, the pcmf32...
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" ...
718589fac0264fdf
javascript
64
Dracula
const DEFAULT_BASE = 17; export default class SimplePolynomialHash { /** * @param {number} [base] - Base number that is used to create the polynomial. */ constructor(base = DEFAULT_BASE) { this.base = base; } /** * Function that creates hash representation of the word. * * Time complexity: ...
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...
ecf15a08b3273617
javascript
58
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class SendGrid extends NotificationProvider { name = "SendGrid"; /** * @inheritdoc */ async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Successfull...
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" ...
a41f9d190477f894
typescript
107
GitHub Dark
import { promises as fs } from "fs" import * as net from "net" import * as path from "path" import * as stream from "stream" import * as tls from "tls" import { Emitter } from "../common/emitter" import { generateUuid } from "../common/util" import { canConnect, paths } from "./util" /** * Provides a way to proxy a 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.", ...
ced985aa01c7d585
java
28
GitHub Dark
package com.xxl.job.admin.core.trigger; import com.xxl.job.admin.core.util.I18nUtil; /** * trigger type enum * * @author xuxueli 2018-09-16 04:56:41 */ public enum TriggerTypeEnum { MANUAL(I18nUtil.getString("jobconf_trigger_type_manual")), CRON(I18nUtil.getString("jobconf_trigger_type_cron")), RETRY...
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...
96c01456cc799879
java
48
Default Light+
package com.thealgorithms.maths; /* * @author Ojasva Jain * Determinant of a Matrix Wikipedia link: https://en.wikipedia.org/wiki/Determinant */ public final class DeterminantOfMatrix { private DeterminantOfMatrix() { } /** * Calculates the determinant of a given matrix. * * @param a the...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
4484497c41cc8bbc
cpp
110
One Dark Pro
#include "models.h" llm_build_modern_bert::llm_build_modern_bert(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); const int64_t n_embd_gqa = hparams.n_embd_v_gqa(); GGML_ASSERT(n_embd_head == hparams.n_embd_head...
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.", ...
f056fe3afbfcb7c3
go
446
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...
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...
85b13590f995ea43
python
468
Monokai
# Copyright (c) Microsoft. All rights reserved. import inspect import logging import os import re from collections.abc import Awaitable, Callable from io import BytesIO from typing import Annotated, Any from azure.core.credentials import TokenCredential from httpx import AsyncClient, HTTPStatusError from pydantic imp...
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...
9006cb6e94d88375
typescript
98
Solarized Light
"use client" import { ActivateAgentDialog } from "@/registry/bases/radix/blocks/preview/cards/activate-agent-dialog" import { AnalyticsCard } from "@/registry/bases/radix/blocks/preview/cards/analytics-card" import { AnomalyAlert } from "@/registry/bases/radix/blocks/preview/cards/anomaly-alert" import { AssignIssue }...
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" ...
97aa877ae74504e9
typescript
426
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import { SubagentTool } from './subagent-tool.js'; import { SubagentToolWrapper } from './subagent-tool-wrapper.js'; import { Kind, type DeclarativeTool, type Too...
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" ...
683d93068dd40a0b
typescript
140
GitHub Dark
import { ref, computed, watch } from 'vue'; import {getTenantId, getToken} from '/@/utils/auth'; import { getFileAccessHttpUrl } from '/@/utils/common/compUtils'; import { JVxeComponent } from '../../types/JVxeComponent'; import { useJVxeComponent } from '../useJVxeComponent'; /** * use 公共上传组件 * @param props * @pa...
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.", ...
87b19d2da652e7f4
cpp
56
Solarized Dark
#include <openpose/core/verbosePrinter.hpp> #include <openpose/utilities/fastMath.hpp> namespace op { VerbosePrinter::VerbosePrinter(const double verbose, const unsigned long long numberFrames) : mNumberFrames{numberFrames}, mNumberFramesString{"/" + std::to_string(numberFrames) + "..."}, mVerbose{verb...
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...
5fb4aa5990c3f8fc
cpp
138
One Dark Pro
#include "models.h" llm_build_arctic::llm_build_arctic(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 * c...
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...
fffa4980f33980e8
java
50
GitHub Dark
package org.jeecg.common.util; import org.apache.commons.lang3.StringUtils; import org.commonmark.node.Node; import org.commonmark.parser.Parser; import org.commonmark.renderer.html.HtmlRenderer; import org.springframework.web.util.HtmlUtils; /** * HTML 工具类 * @author: jeecg-boot * @date: 2022/3/30 14:43 */ @Suppr...
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...
72fa128b7abcd1de
csharp
57
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
de0413eb7e96d90a
rust
105
Solarized Dark
use std::borrow::Cow; use std::collections::BTreeSet; /// Type that holds a number of variables of type `T` pub trait VariableHolder<T> { fn get_variables(&self) -> BTreeSet<T>; } /// Type that holds a number of style variables of type `T` pub trait StyleVariableHolder<T> { fn get_style_variables(&self) -> BT...
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"...
e58ee2c5baf29004
csharp
26
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel.Services; namespace Microsoft.SemanticKernel; /// <summary> /// Contains result after prompt rendering process. /// </summary> internal sealed class PromptRenderingResult { public IAIService AIService { get; set; } public strin...
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.", ...
212593e4b8d7be7e
python
142
Monokai
import uuid from pathlib import Path import pytest import requests from helpers import get_asset_filename, trigger_sync_seed_assets @pytest.fixture def create_seed_file(comfy_tmp_base_dir: Path): """Create a file on disk that will become a seed asset after sync.""" created: list[Path] = [] def _create(r...
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...
6ddb21dff09e52e4
go
53
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...
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"...
100d2c19a145977b
typescript
48
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { renderHookWithProviders, persistentStateMock, } from '../../test-utils/render.js'; import { describe, it, expect, beforeEach, vi } from 'vitest'; import { useTips } from './useTips.js'; describe('useTips()', () => { ...
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...
17be9d2640f68d5a
java
20
GitHub Dark
package org.jeecg.loader.vo; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; import java.util.List; /** * 路由配置VO * @author lsq * @Date 2023/10/15 */ @Data @AllArgsConstructor @NoArgsConstructor public class PredicatesVo { private String name; private List<String> 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...
1539dc519622750d
python
315
Monokai
import node_helpers import comfy.utils from typing_extensions import override from comfy_api.latest import ComfyExtension, io import comfy.model_management import torch import math import nodes import comfy.ldm.flux.math class CLIPTextEncodeFlux(io.ComfyNode): @classmethod def define_schema(cls): retur...
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" ...
f347097de58535a0
cpp
349
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: paramsd.cpp // Description: Tesseract parameter Editor // Author: Joern Wanke // // (C) Copyright 2007, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compl...
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...
b49a460164e735aa
csharp
465
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Concurrent; using System.Collections.Generic; using System.Diagnostics; using System.Linq; using System.Reflection; using System.Text.Json; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel....
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" ...
25b604106a557bad
java
34
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...
1931116240fdb00d
csharp
110
Monokai
// Copyright (c) Microsoft. All rights reserved. using Azure.AI.OpenAI; using Azure.Identity; using Microsoft.Agents.AI; using Microsoft.Agents.AI.Workflows; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Orchestration; using...
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" ...
7504d6dfbe949269
python
91
Solarized Light
"""Breath First Search (BFS) can be used when finding the shortest path from a given source node to a target node in an unweighted graph. """ from __future__ import annotations graph = { "A": ["B", "C", "E"], "B": ["A", "D", "E"], "C": ["A", "F", "G"], "D": ["B"], "E": ["A", "B", "D"], "F": ["...
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" ...
5ded79349558d002
java
137
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
bb7c82c8c8e45078
javascript
34
One Dark Pro
export function hasPathParams(params) { return params .filter((item) => Object.prototype.hasOwnProperty.call(item, "active") ? item.active === true : true ) .some(({ type }) => type === "path") } export function addPathParamsToVariables(params, variables) { params .filter((ite...
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" ...
9645107e3fcaafb8
python
43
Monokai
import os from comfy import sd1_clip import comfy.text_encoders.t5 import comfy.text_encoders.sd3_clip from comfy.sd1_clip import gen_empty_tokens from transformers import T5TokenizerFast class T5XXLModel(comfy.text_encoders.sd3_clip.T5XXLModel): def __init__(self, **kwargs): super().__init__(**kwargs) ...
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...
8519d7552d361127
csharp
272
Monokai
// Copyright (c) Microsoft. All rights reserved. using MCPServer.Prompts; using MCPServer.Resources; using Microsoft.SemanticKernel; using ModelContextProtocol.Protocol; using ModelContextProtocol.Server; namespace MCPServer; /// <summary> /// Extension methods for <see cref="IMcpServerBuilder"/>. /// </summary> pu...
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" ...
55a798362e59ab33
csharp
73
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" ...
1af26e9e091a5f69
python
20
Dracula
from fastapi import FastAPI from fastapi.responses import HTMLResponse app = FastAPI() @app.get("/items/") async def read_items(): html_content = """ <html> <head> <title>Some HTML in here</title> </head> <body> <h1>Look ma! HTML!</h1> </body> </htm...
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" ...
404a194447bff708
csharp
115
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Runtime.CompilerServices; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.TextGeneration; namespace TextGeneration; /** * The following example shows how to plug a custom text generation ser...
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...
85e2efd2cad86802
cpp
147
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" ...
61ddece7887f4738
csharp
58
Default Light+
using Clean.Architecture.Core.ContributorAggregate; using Clean.Architecture.UseCases.Contributors; using Clean.Architecture.UseCases.Contributors.Get; using Clean.Architecture.Web.Extensions; using Microsoft.AspNetCore.Http.HttpResults; namespace Clean.Architecture.Web.Contributors; public class GetById(IMediator m...
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"...
e1a88f74b98079c6
typescript
115
Default Dark+
import { z } from 'zod'; import { ResumesSection } from '@prisma/client'; import { createProtectedRouter } from '../context'; type ResumeCommentInput = Readonly<{ description: string; resumeId: string; section: ResumesSection; userId: string; }>; export const resumesCommentsUserRouter = createProtectedRouter...
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...
93c5bd93cfa2bb9f
go
81
Solarized Dark
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
4a50209f2dfa9851
java
22
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"...
4df9ed7637738f91
java
49
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
bb581b0aed3be520
csharp
125
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...
3c9e3048e17c07d9
java
134
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" ...
b89e2f52716409f7
go
184
Default Light+
package cocoa // #cgo darwin LDFLAGS: -framework Cocoa -framework UniformTypeIdentifiers // #include <stdlib.h> // #include <sys/syslimits.h> // #include "dlg.h" import "C" import ( "bytes" "errors" "unsafe" ) type AlertParams struct { p C.AlertDlgParams } func mkAlertParams(msg, title string, style C.AlertStyl...
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...
8967ab05886673fe
csharp
87
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading; namespace Microsoft.SemanticKernel; /// <summary> /// Class with data related to prompt rendering. /// </summary> public sealed class PromptRenderContext { private string? _renderedPrompt; /// <summary> /// Initializes a new insta...
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.", ...
a1fee2d7ff243750
typescript
28
Solarized Light
"use client" import * as React from "react" import { IconBrightness } from "@tabler/icons-react" import { useTheme } from "next-themes" import { Button } from "@/registry/new-york-v4/ui/button" export function ModeToggle() { const { setTheme, resolvedTheme } = useTheme() const toggleTheme = React.useCallback(()...
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...
91ceb36c957f2d92
java
45
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" ...
9625423ee873561f
go
236
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...
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...
f1701bde62149af6
csharp
38
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace Step03.Models; /// <summary> /// Food Ingredients used in steps such GatherIngredientStep, CutFoodStep, FryFoodStep /// </summary> public enum FoodIngredients { Pototoes, Fish, Buns, Sauce, Condiments, None } /// <summary> /// Extens...
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...
584d9d5172d7f9fc
java
113
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...
b58df5d4e71a968c
cpp
118
One Dark Pro
#include <content/visualizer_helpers.hpp> #include <hex/api/task_manager.hpp> #include <hex/api/localization_manager.hpp> #include <hex/helpers/http_requests.hpp> #include <hex/helpers/scaling.hpp> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> #include <nlohmann/json.hpp> #include <romfs/romfs.hpp> ...
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...
e021543c93d77935
java
272
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" ...
93a5813e45768b82
python
35
Default Light+
import json from .common import InfoExtractor from .vimeo import VimeoIE from ..utils import extract_attributes from ..utils.traversal import find_element, traverse_obj class ShieyIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?shiey\.com/videos/v/(?P<id>[^/?#]+)' _TESTS = [{ 'url': 'https://ww...
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" ...
4d9f6cbc46a44edb
javascript
32
Dracula
/** * Recursive Staircase Problem (Iterative Solution). * * @param {number} stairsNum - Number of stairs to climb on. * @return {number} - Number of ways to climb a staircase. */ export default function recursiveStaircaseIT(stairsNum) { if (stairsNum <= 0) { // There is no way to go down - you climb the stai...
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...
73bda709d4347237
csharp
43
Monokai
using System.IO; using System.Text; namespace ScreenToGif.Util.Codification.Apng.Chunks; /// <summary> /// The image data chunk. /// </summary> internal class IdatChunk : Chunk { /// <summary> /// The image data. /// </summary> internal byte[] FrameData { get; private set; } /// <summary> ///...
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" ...
1fcea6b1ecb1d213
java
37
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"...
eb7d23fe7504c088
typescript
287
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { afterEach, beforeEach, describe, expect, it, vi, type MockedFunction, } from 'vitest'; import { act } from 'react'; import { render } from '../../test-utils/render.js'; import { useEditorSettings } from './us...
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...