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
7a7d738be02a3775
csharp
33
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; namespace Microsoft.SemanticKernel.Connectors.SqliteVec; /// <summary> /// Represents a collection of vector store records in a Sqlite database, mapped to a dynamic <c>Dictionary&lt;string, object?&gt;</c>. /// </summar...
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...
415a79d553c31c50
cpp
84
One Dark Pro
// // MIT license // Copyright (C) 2024 Intel Corporation // SPDX-License-Identifier: MIT // // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #include "common.h...
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...
68d167982015f10e
javascript
29
GitHub Dark
window.onresize = function() { setAppScale(); }; function setAppScale() { var ratioY = $(window).height()/1536; var ratioX = $(window).width()/4352; var screenWidth = window.screen.width; var screenHeigth = window.screen.height; if (screenWidth >= 960) { ratioX = 0.62 ...
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" ...
2beacc307ff49113
csharp
36
Monokai
using System; using System.Reflection; namespace winPEAS.Helpers { internal static class ReflectionHelper { public static object InvokeMemberMethod(object target, string name, object[] args = null) { if (target == null) throw new ArgumentNullException(nameof(target)); ...
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"...
b9935398513bc34f
cpp
36
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #include "Common.h" #include "IGraphAnalyzer.h" #include "IGraphingOptions.h" #include "IGraphRenderer.h" #include "IEquation.h" #include <optional> namespace Graphing { struct IGraph : public NonCopyable...
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.", ...
f25b876d8eb22613
java
65
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...
97c8a4f156811e2b
python
139
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging import os from dotenv import load_dotenv from opentelemetry import trace from opentelemetry.sdk.resources import Resource from opentelemetry.semconv.resource import ResourceAttributes from samples.demos.document_generator.agents.code_valid...
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...
7171820da49d6fdc
java
59
Default Light+
package com.thealgorithms.bitmanipulation; /** * This class provides methods to convert between XS-3 (Excess-3) and binary. * * Excess-3, also called XS-3, is a binary-coded decimal (BCD) code in which each decimal digit is represented by its corresponding 4-bit binary value plus 3. * * For more information, refe...
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"...
6037c112b43482d0
typescript
23
Solarized Light
import { cn } from "@/registry/bases/base/lib/utils" function AspectRatio({ ratio, className, ...props }: React.ComponentProps<"div"> & { ratio: number }) { return ( <div data-slot="aspect-ratio" style={ { "--ratio": ratio, } as React.CSSProperties } classN...
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"...
928d2cca8134229f
csharp
71
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
9b362c11b3d70039
javascript
64
Default Light+
import clsx from "clsx"; import React from "react"; import styles from "./styles.module.css"; const FeatureList = [ { title: "Learn how Excalidraw works", Svg: require("@site/static/img/undraw_innovative.svg").default, description: ( <>Want to contribute to Excalidraw but got lost in the codebase?...
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...
40c04c355fc35c1b
java
46
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...
0acdf8dbb4ddd516
cpp
144
One Dark Pro
/** * @author huihut * @E-mail:huihut@outlook.com * @version 创建时间:2016年9月18日 * 说明:本程序实现了一个单链表。 */ #include "stdio.h" #include "stdlib.h" #include "malloc.h" //5个常量定义 #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define OVERFLOW -1 //类型定义 typedef int Status; typedef int ElemType; //测试程序长度定义 #define LO...
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...
359386768e5c88cb
python
31
Dracula
import random from typing import Annotated from fastapi import FastAPI from pydantic import AfterValidator app = FastAPI() data = { "isbn-9781529046137": "The Hitchhiker's Guide to the Galaxy", "imdb-tt0371724": "The Hitchhiker's Guide to the Galaxy", "isbn-9781439512982": "Isaac Asimov: The Complete Sto...
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...
4b64dd6802a1cc1c
csharp
71
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.Agents.Orchestration.Extensions; using Microsoft.SemanticKernel.Agents.Runtime; namespace Microsoft.SemanticKernel.Agents.O...
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...
3ee06b31aee8f6d2
go
37
Default Light+
package febbox import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { driver.RootID ClientID string `json:"client_id" required:"true" default:""` ClientSecret string `json:"client_secret" required:"true" default:""` RefreshToken string ...
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.", ...
a8774d0e0b8f490c
csharp
160
Monokai
using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using ScreenToGif.Cloud; using ScreenToGif.Domain.Interfaces; using ScreenToGif.Util; using ScreenToGif.Util.Settings; using ScreenToGif.ViewModel.UploadPresets; using Sc...
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...
361e3d720f6cfeac
java
26
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...
d8fdb08bf6d1ac63
cpp
158
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: lstmtester.cpp // Description: Top-level line evaluation class for LSTM-based networks. // Author: Ray Smith // // (C) Copyright 2016, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may no...
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...
96dd31d7273b7a78
cpp
275
One Dark Pro
// File: altorenderer.cpp // Description: ALTO rendering interface // Author: Jake Sebright // (C) Copyright 2018 // 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.a...
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...
dfe8459ae747c8b9
csharp
180
Monokai
using System.Runtime.Serialization; using ScreenToGif.Domain.Enums; namespace ScreenToGif.ViewModel.ExportPresets.Video; public class VideoPreset : ExportPreset { private VideoSettingsModes _settingsMode; private string _parameters; private VideoCodecs _videoCodec; private VideoCodecPresets _codecPres...
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...
8ef156365ff3acf7
csharp
50
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 ...
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...
b46ad64eb79acc3a
rust
156
Solarized Light
use std::{ collections::HashMap, os::raw::c_void, sync::{ Mutex, atomic::{AtomicBool, AtomicUsize, Ordering::SeqCst}, }, }; #[ctor::ctor] unsafe fn initialize_allocation_recording() { unsafe { tree_sitter::set_allocator( Some(ts_record_malloc), Some(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.", ...
fa50327d7532393d
typescript
95
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { OverrideStrategy } from './overrideStrategy.js'; import type { RoutingContext } from '../routingStrategy.js'; import type { BaseLlmClient } from '../../core/baseLlmClient.js';...
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...
ff9c0db8128cefb7
java
72
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" ...
b74ef7922090f304
java
78
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...
d1f4211ae7eaf6ca
java
83
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...
c003ba1192b3a7ff
cpp
34
Solarized Dark
#ifndef OPENPOSE_FILESTREAM_VIDEO_SAVER_HPP #define OPENPOSE_FILESTREAM_VIDEO_SAVER_HPP #include <openpose/core/common.hpp> namespace op { class OP_API VideoSaver { public: VideoSaver( const std::string& videoSaverPath, const int cvFourcc, const double fps, const std::strin...
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...
ea3459795ecc83fc
cpp
293
Solarized Light
#include "cmd-memory-operations.h" #include "console.h" #include "debugger.h" #include "memory.h" #include "variable.h" #include "filehelper.h" #include "value.h" #include "stringformat.h" #include "comment.h" bool cbDebugAlloc(int argc, char* argv[]) { duint size = 0x1000, addr = 0; if(argc > 1) if(!v...
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...
4cb38b8517967918
typescript
66
Solarized Light
"use client" import { cn } from "@/examples/base/lib/utils" import { Tooltip as TooltipPrimitive } from "@base-ui/react/tooltip" function TooltipProvider({ delay = 0, ...props }: TooltipPrimitive.Provider.Props) { return ( <TooltipPrimitive.Provider data-slot="tooltip-provider" delay={delay} ...
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...
babf58f0af6203f6
rust
33
Default Dark+
use ::ureq::unversioned::resolver::{DefaultResolver, Resolver}; use crate::policy::IpPolicy; #[derive(Debug)] pub struct ExternalRequestResolver { inner: DefaultResolver, ip_policy: IpPolicy, } impl ExternalRequestResolver { pub fn new(ip_policy: IpPolicy) -> Self { Self { inner: DefaultResolver:...
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" ...
468168bc247537e9
java
181
Monokai
package com.termux.shared.shell.command.environment; import static com.termux.shared.shell.command.environment.UnixShellEnvironment.*; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.termux.shared.errors.Error; import com.termux.shared.file.FileUtils; import com.termux.shared.logg...
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...
9f68d2057ca229c9
go
42
Default Light+
package pooling import ( "github.com/ollama/ollama/ml" ) type Type uint32 const ( TypeNone Type = iota TypeMean TypeCLS TypeLast ) func (t Type) String() string { switch t { case TypeMean: return "Mean" case TypeCLS: return "CLS" case TypeLast: return "Last" default: return "Unknown" } } func (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...
fccab66b86cca762
go
128
Solarized Light
package scheduler import ( "testing" "time" ) func TestParseCronExpression(t *testing.T) { tests := []struct { name string expr string wantErr bool }{ // Standard 5-field format {"every minute", "* * * * *", false}, {"hourly", "0 * * * *", false}, {"daily midnight", "0 0 * * *", false}, {"we...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
d214201aa18fca61
csharp
196
Monokai
using System; using System.Collections.Generic; using System.Diagnostics.Eventing.Reader; using System.Text.RegularExpressions; using winPEAS.Helpers; using winPEAS.Native.Enums; namespace winPEAS.Info.EventsInfo.Logon { internal class Logon { public static LogonInfo GetLogonInfos(int lastDays) ...
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...
3771d94473bec1d1
javascript
104
Dracula
import QueenPosition from './QueenPosition'; /** * @param {QueenPosition[]} queensPositions * @param {number} rowIndex * @param {number} columnIndex * @return {boolean} */ function isSafe(queensPositions, rowIndex, columnIndex) { // New position to which the Queen is going to be placed. const newQueenPosition...
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...
7e32485bf2ad4e12
python
62
Solarized Light
""" The number of partitions of a number n into at least k parts equals the number of partitions into exactly k parts plus the number of partitions into at least k-1 parts. Subtracting 1 from each part of a partition of n into k parts gives a partition of n-k into k parts. These two facts together are used for this alg...
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...
a2efca186126131f
cpp
172
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. ...
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...
aa1d51b6b718737a
java
65
Default Dark+
package org.schabi.newpipe.player.mediasource; import androidx.annotation.NonNull; import com.google.android.exoplayer2.MediaItem; import com.google.android.exoplayer2.source.MediaSource; import com.google.android.exoplayer2.source.WrappingMediaSource; import org.schabi.newpipe.player.mediaitem.MediaItemTag; 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.", ...
d2aa4c9d101d3f29
csharp
22
Monokai
using System.Collections.Generic; namespace winPEAS.KnownFileCreds.Browsers { static class Browser { public static readonly List<string> CredStringsRegex = new List<string> { "PASSW[a-zA-Z0-9_-]*=", "PWD[a-zA-Z0-9_-]*=", "USER[a-zA-Z0-9_-]*=", "N...
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" ...
8099cc878e2ce64e
java
247
GitHub Dark
package com.xxl.job.admin.controller; import com.xxl.job.admin.core.complete.XxlJobCompleter; import com.xxl.job.admin.core.exception.XxlJobException; import com.xxl.job.admin.core.model.XxlJobGroup; import com.xxl.job.admin.core.model.XxlJobInfo; import com.xxl.job.admin.core.model.XxlJobLog; import com.xxl.job.admin...
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"...
0224f532705e4966
python
326
Default Light+
import itertools import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, urlencode_postdata, ) class LyndaBaseIE(InfoExtractor): _SIGNIN_URL = 'https://www.lynda.com/signin/lynda' _PASSWORD_URL = 'https://www.lynda.com/signin/password' ...
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.", ...
124c31c7e0bc6678
csharp
92
Default Light+
// // LambdaExpression.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2010 Novell, Inc (http://www.novell.com) // // 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...
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...
30b8ce9c6d1aa194
typescript
24
Solarized Light
import dayjs from "dayjs"; export const MONTH_DATE_FORMAT = "YYYY-MM" as const; export const formatMonth = (date: Date | string): string => { return dayjs(date).format(MONTH_DATE_FORMAT); }; export const getYearFromDate = (date: Date | string): number => { return dayjs(date).year(); }; export const getMonthFrom...
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"...
42aec9f693156843
csharp
23
Default Light+
using NimblePros.SampleToDo.Core.ContributorAggregate; using NimblePros.SampleToDo.Core.ContributorAggregate.Specifications; namespace NimblePros.SampleToDo.UseCases.Contributors.Queries.Get; /// <summary> /// Queries don't necessarily need to use repository methods, but they can if it's convenient /// </summary> pu...
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...
6fd7703a6717064c
javascript
38
Dracula
import a12 from './a12' import a13 from './a13' import a14 from './a14' import a15 from './a15' import a16 from './a16' import a17 from './a17' import a18 from './a18' import a19 from './a19' import a20 from './a20' import a21 from './a21' import a22 from './a22' import a23 from './a23' import a24 from './a24' export ...
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.", ...
e346f7027bd368b1
python
76
Default Light+
import json from .brightcove import BrightcoveNewIE from .common import InfoExtractor from ..utils import ( extract_attributes, get_element_html_by_class, get_element_text_and_html_by_tag, ) from ..utils.traversal import traverse_obj class CraftsyIE(InfoExtractor): _VALID_URL = r'https?://www\.crafts...
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.", ...
36909335e2c80a89
python
166
Default Light+
from .common import InfoExtractor from ..networking import HEADRequest from ..utils import ( float_or_none, int_or_none, parse_duration, parse_iso8601, traverse_obj, update_url_query, url_or_none, ) class SBSIE(InfoExtractor): IE_DESC = 'sbs.com.au' _VALID_URL = r'''(?x) ht...
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...
d8febdcc9072c229
typescript
166
GitHub Dark
type ColSpanType = number | string; export interface ColEx { style?: any; /** * raster number of cells to occupy, 0 corresponds to display: none * @default none (0) * @type ColSpanType */ span?: ColSpanType; /** * raster order, used in flex layout mode * @default 0 * @type ColSpanType ...
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"...
9b820fee941db136
javascript
145
Default Dark+
const { log } = require("../../src/util"); const { Settings } = require("../settings"); const { sendInfo } = require("../client"); const { checkLogin } = require("../util-server"); const { games } = require("gamedig"); const { testChrome } = require("../monitor-types/real-browser-monitor-type"); const fsAsync = require...
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" ...
a9847abe8351cf57
python
136
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import json import sys from functools import partial from typing import TYPE_CHECKING, Any from numpy import array, ndarray from pydantic import ValidationError if sys.version_info >= (3, 12): from typing import override # pragma: no cover else: ...
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.", ...
7443e7e0d6e38f74
csharp
96
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.AI; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.S...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
5b1a0e415133ee26
csharp
39
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel; using QualityCheckWithFilters.Models; using QualityCheckWithFilters.Services; namespace QualityCheckWithFilters.Filters; /// <summary> /// Filter which performs text summarization evaluation using ME...
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...
c48eb3efe0b80ea4
go
61
Default Light+
package util import "testing" // fzf events const ( EvtReadNew EventType = iota EvtReadFin EvtSearchNew EvtSearchProgress EvtSearchFin ) func TestEventBox(t *testing.T) { eb := NewEventBox() // Wait should return immediately ch := make(chan bool) go func() { eb.Set(EvtReadNew, 10) ch <- true <-ch ...
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...
400875ddf0b5959b
csharp
368
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Runtime.CompilerServices; using Microsoft.Extensions.Configuration; public sealed class TestConfiguration { private readonly IConfigurationRoot _configRoot; private static TestConfiguration? s_instance; ...
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.", ...
bc625d27d2de7bff
typescript
207
GitHub Dark
export interface ListItem { id: string; avatar: string; // 通知的标题内容 title: string; // 是否在标题上显示删除线 titleDelete?: boolean; datetime: string; type: string; read?: boolean; description: string; clickClose?: boolean; extra?: string; color?: string; // 优先级 priority?: string; } export enum Priori...
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"...
bfa4cdde6e71220e
java
36
GitHub Dark
package com.alibaba.csp.sentinel.dashboard.rule.nacos.gateway; import com.alibaba.csp.sentinel.dashboard.constants.SentinelConStants; import com.alibaba.csp.sentinel.dashboard.datasource.entity.gateway.ApiDefinitionEntity; import com.alibaba.csp.sentinel.dashboard.rule.DynamicRulePublisher; import com.alibaba.csp.sen...
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...
4dac4dd215328dc6
cpp
27
One Dark Pro
#pragma once #include <string> #include <vector> #include <hex/helpers/binary_pattern.hpp> namespace hex::plugin::builtin { struct Constant { std::string name; std::string description; BinaryPattern value; }; class ConstantGroup { public: explicit ConstantGroup(const...
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...
1ceb39b13299b42b
java
22
GitHub Dark
package org.jeecg.config; /** * nocos配置方式枚举 * @author zyf * @date: 2022/4/21 10:55 */ public enum RouterDataType { /** * 数据库加载路由配置 */ database, /** * 本地yml加载路由配置 */ yml, /** * nacos加载路由配置 */ nacos }
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"...
f15fe577ae69dc1f
cpp
105
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...
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"...
1eaf3fce9d619f93
python
100
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from re import compile from typing import TYPE_CHECKING, Any, ClassVar, Optional from pydantic import model_validator from semantic_kernel.exceptions import VarBlockRenderError, VarBlockSyntaxError from semantic_kernel.template_engine.blocks.block 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...
881451233263ce91
csharp
56
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.OpenAI; using OpenAI.Assistants; using Xunit; namespace SemanticKernel.Agents.UnitTests.OpenAI; /// <summary> /// Tests for <see cref="OpenAIAssistantAgentInvokeOptions"/>. /// </summary> pu...
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.", ...
938a4d0ec21a6ab9
typescript
265
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import React, { useMemo, useCallback } from 'react'; import { Box, Text } from 'ink'; import { theme } from '../../semantic-colors.js'; import { useSelectionList } from '../../hooks/useSelectionList.js'; import { TextInput } from '...
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...
9a1a94334ee17596
java
45
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...
d559e04b592d498c
typescript
54
One Dark Pro
export function isDOMElement(el: any): el is HTMLElement { return !!el && (el instanceof Element || el instanceof HTMLElement) } export function isTypableElement(el: HTMLElement): boolean { // If content editable, then it is editable if (el.isContentEditable) return true // If element is an input and the inpu...
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"...
ce02b1176c769c44
typescript
51
Solarized Light
"use client" import * as ResizablePrimitive from "react-resizable-panels" import { cn } from "@/registry/bases/base/lib/utils" function ResizablePanelGroup({ className, ...props }: ResizablePrimitive.GroupProps) { return ( <ResizablePrimitive.Group data-slot="resizable-panel-group" className={c...
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...
f610d4824d7bec53
python
142
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging from collections.abc import Callable from html import escape from typing import TYPE_CHECKING, Any import nest_asyncio from semantic_kernel.functions.kernel_arguments import KernelArguments from semantic_kernel.prompt_template.const 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.", ...
686801e1cb5fad8b
javascript
130
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ // // 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...
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"...
b3d1ee04d93571a1
java
74
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" ...
39d27ead3be14615
java
22
Dracula
package com.macro.mall.service; import com.macro.mall.model.PmsSkuStock; import java.util.List; /** * 商品SKU库存管理Service * Created by macro on 2018/4/27. */ public interface PmsSkuStockService { /** * 根据商品id和skuCode关键字模糊搜索 */ List<PmsSkuStock> getList(Long pid, String keyword); /** * 批量更...
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"...
bc78f1aab348dca8
csharp
468
Monokai
using System; using System.ComponentModel; using System.IO; using System.Windows; using System.Windows.Controls; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using ScreenToGif.Util; using ScreenToGif.Util.Extensions; namespace ScreenToGif.Controls; /// <summary> /// A zo...
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...
6c9be3104d0ab100
csharp
87
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...
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"...
8981f4240097e87c
cpp
63
Solarized Dark
#include <openpose/filestream/imageSaver.hpp> #include <openpose/filestream/fileStream.hpp> namespace op { ImageSaver::ImageSaver(const std::string& directoryPath, const std::string& imageFormat) : FileSaver{directoryPath}, mImageFormat{imageFormat} { try { if (mImag...
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...
228740d239dc9bb3
csharp
274
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.Json; using System.Threading; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Serialization...
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...
48db8a1bc3e2f6f4
typescript
37
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { defineConfig } from 'vitest/config'; import { fileURLToPath } from 'node:url'; import * as path from 'node:path'; const __dirname = path.dirname(fileURLToPath(import.meta.url)); export default defineConfig({ resolve: {...
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...
571dd013e85cfd54
cpp
65
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...
09b57b4e2fe59758
java
422
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...
a824e4128453c531
python
43
Solarized Light
# https://en.wikipedia.org/wiki/Ohm%27s_law from __future__ import annotations def ohms_law(voltage: float, current: float, resistance: float) -> dict[str, float]: """ Apply Ohm's Law, on any two given electrical values, which can be voltage, current, and resistance, and then in a Python dict return name/...
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...
462358f0db14d999
cpp
50
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
1ebd2bf5052d50c0
java
59
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...
cd5afd8a68685dc5
python
42
Default Light+
from __future__ import annotations import os from collections import defaultdict # Please Note: Due to necessary changes and the complex nature involved in the plugin/globals system, # no backwards compatibility is guaranteed for the plugin system API. # However, we will still try our best. class Indirect: def _...
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.", ...
24c02dcaa0b73043
csharp
76
Monokai
using System.ComponentModel; using System.Windows; using System.Windows.Controls; namespace Translator.Controls; /// <summary> /// Button with a image inside. /// </summary> public class ImageButton : Button { #region Variables public static readonly DependencyProperty TextProperty = DependencyProperty.Regis...
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...
3bf7313579bb83b7
typescript
93
Default Light+
import { loginIcon, ExcalLogo, eyeIcon, } from "@excalidraw/excalidraw/components/icons"; import { MainMenu } from "@excalidraw/excalidraw/index"; import React from "react"; import { isDevEnv } from "@excalidraw/common"; import type { Theme } from "@excalidraw/element/types"; import { LanguageList } from "../a...
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...
8db1fc25eb3e245b
csharp
147
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.HuggingFace; using Microsoft.SemanticKernel.PromptTemplates.Handlebars; using Microsoft.SemanticKernel.TextGeneration; namespace FunctionCalling; /// <summary> /// The follow...
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...
303e65bec654c00d
python
23
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import Literal from semantic_kernel.kernel_pydantic import KernelBaseSettings class ServiceSettings(KernelBaseSettings): """The Learn Resources Service Settings. The settings are first loaded from environment variables. If the environment vari...
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...
4d92110e2223a676
python
63
Dracula
""" Demo for survival analysis (regression). ======================================== Demo for survival analysis (regression). using Accelerated Failure Time (AFT) model. """ import os import numpy as np import pandas as pd from sklearn.model_selection import ShuffleSplit import xgboost as xgb # The Veterans' Admi...
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...
56e34bc0129808a6
typescript
20
Solarized Light
import { Tabs, TabsList, TabsTrigger } from "@/examples/base/ui/tabs" import { AppWindowIcon, CodeIcon } from "lucide-react" export function TabsIcons() { return ( <Tabs defaultValue="preview"> <TabsList> <TabsTrigger value="preview"> <AppWindowIcon /> Preview </TabsTrig...
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...
0f44efd5d7acf2ec
csharp
75
Monokai
using System.Collections; using Color = System.Windows.Media.Color; namespace ScreenToGif.Util.Codification.Gif.Encoder.Quantization; public class PaletteQuantizer : Quantizer { ///<summary> ///List of all colors in the palette ///</summary> protected List<Color> Colors; ///<summary> ///Cons...
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.", ...
a09bf8ec670eb0db
java
45
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...
be6ee11d562941a1
java
181
GitHub Dark
package org.jeecg.modules.message.controller; import java.util.Arrays; import java.util.Map; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import org.jeecg.common.api.dto.message.MessageDTO; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.api.I...
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...
8bc4865201d19a5c
typescript
368
GitHub Dark
import { defineComponent, computed, unref } from 'vue'; import { BasicDrawer } from '/@/components/Drawer/index'; import { Divider } from 'ant-design-vue'; import { TypePicker, ThemeColorPicker, SettingFooter, SwitchItem, SelectItem, InputNumberItem } from './components'; import { AppDarkModeToggle } from '/@/componen...
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...
ddf59afd34fb9ade
typescript
157
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach, afterEach } from 'vitest'; import { handleEnable, enableCommand } from './enable.js'; import { loadSettings, SettingScope, type LoadedSettings, } from '../../config/settings.js';...
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...
d5178ce4c7834d3f
typescript
86
Solarized Light
"use client" import { useTheme } from "next-themes" import { Toaster as Sonner, type ToasterProps } from "sonner" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" const Toaster = ({ ...props }: ToasterProps) => { const { theme = "system" } = useTheme() return ( <Sonner them...
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"...
04f427b494d313f1
typescript
48
GitHub Dark
import type { VNode, CSSProperties } from 'vue'; import type { CollapseContainerOptions } from '/@/components/Container/index'; import type { DescriptionsProps } from 'ant-design-vue/es/descriptions/index'; export interface DescItem { labelMinWidth?: number; contentMinWidth?: number; labelStyle?: CSSProperties; ...
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.", ...
cc5ec6758cf93654
cpp
112
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
2941b2da64e08894
java
52
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class PmsAlbumPic implements Serializable { private Long id; private Long albumId; private String pic; private static final long serialVersionUID = 1L; public Long getId() { ...
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...
b5336e65d3a4d9b7
java
46
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" ...
3b6248248276e3c1
python
91
Default Light+
# -*- coding: utf-8 -*- class QueryApi(object): def __init__(self, memory_cache, reverse_index_cluster): self.memory_cache = memory_cache self.reverse_index_cluster = reverse_index_cluster def parse_query(self, query): """Remove markup, break text into terms, deal with typos, ...
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...
cf43ae2ec9ca7708
python
61
Solarized Dark
# From Python # It requires OpenCV installed for Python import sys import cv2 import os from sys import platform import argparse try: # Import Openpose (Windows/Ubuntu/OSX) dir_path = os.path.dirname(os.path.realpath(__file__)) try: # Windows Import if platform == "win32": # Cha...
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.", ...
4050563a757cb929
cpp
356
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...