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
8c196cbce2216023
java
86
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...
ac8e691af0e2ff75
csharp
41
Default Light+
// Copyright (c) 2020 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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...
855b20d584459605
javascript
35
Dracula
import path from 'node:path' import { defineConfig } from 'vite' import svgVirtualModulePlugin from './svgVirtualModulePlugin' export default defineConfig({ build: { rollupOptions: { input: { main: path.resolve(import.meta.dirname, 'src/index.html'), }, }, }, server: { fs: { ...
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...
78fa9c3ab20a6d2d
cpp
69
Solarized Light
#include "ImageTextBrowser.h" #include <QResizeEvent> #include <QApplication> #include <QScrollBar> #include <QTextBlock> ImageTextBrowser::ImageTextBrowser(QWidget* parent) : QTextBrowser(parent) , mResizeTimer(new QTimer(this)) { mResizeTimer->setSingleShot(true); mResizeTimer->setInterval(300); ...
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...
f91f991ec05a1545
java
172
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.math.BigDecimal; public class UmsMemberLevel implements Serializable { private Long id; private String name; private Integer growthPoint; @ApiModelProperty(value = "是否为默认等级:0->不是;1...
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" ...
b9b9756373616ca2
csharp
173
Monokai
// Copyright (c) Microsoft. All rights reserved. using Events; using Microsoft.SemanticKernel; using SharedSteps; using Step02.Models; using Step02.Steps; namespace Step02; /// <summary> /// Demonstrate creation of <see cref="KernelProcess"/> and /// eliciting its response to five explicit user messages.<br/> /// F...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
de71633dfaa300e1
rust
22
GitHub Dark
/*! ripgrep, as a library. This library is intended to provide a high level facade to the crates that make up ripgrep's core searching routines. However, there is no high level documentation available yet guiding users on how to fit all of the pieces together. Every public API item in the constituent crates is docume...
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...
54da1523aef2e9d9
python
21
Monokai
# Copyright (c) Microsoft. All rights reserved. from abc import ABC from typing import ClassVar from ollama import AsyncClient from semantic_kernel.kernel_pydantic import KernelBaseModel class OllamaBase(KernelBaseModel, ABC): """Ollama service base. Args: client [AsyncClient]: An Ollama client to...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
b5f0e0bb2e601b44
csharp
50
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"...
167b7c079eae84c6
cpp
119
One Dark Pro
#include <hex/api/content_registry/settings.hpp> #include <hex/helpers/logger.hpp> #include <romfs/romfs.hpp> #include <font_settings.hpp> #include <fonts/fonts.hpp> #include <hex/api/task_manager.hpp> #include <imgui_freetype.h> namespace hex::fonts::loader { void loadFont(const ContentRegistry::Settings::Widg...
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...
1085de0548e26a5c
typescript
77
GitHub Dark
import {BasicColumn, FormSchema} from '/@/components/Table'; const statusOptions = [ {label: '禁用', value: '0'}, {label: '启用', value: '1'}, ] export const columns: BasicColumn[] = [ { title: '允许的表名', dataIndex: 'tableName', }, { title: '允许的字段名', dataIndex: 'fieldName', }, { title: '状态...
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...
63995a6913a97899
go
35
Default Light+
package bufioutil import ( "bufio" "io" ) type BufferedSeeker struct { rs io.ReadSeeker br *bufio.Reader } func NewBufferedSeeker(rs io.ReadSeeker, size int) *BufferedSeeker { return &BufferedSeeker{ rs: rs, br: bufio.NewReaderSize(rs, size), } } func (b *BufferedSeeker) Read(p []byte) (int, error) { ret...
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" ...
827d3f7f18c404e4
java
82
GitHub Dark
package org.jeecg.common.system.query; import java.io.Serializable; /** * @Description: QueryCondition * @author: jeecg-boot */ public class QueryCondition implements Serializable { private static final long serialVersionUID = 4740166316629191651L; private String field; /** 组件的类型(例如:input、select、radio) */ p...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
c27880fddca71532
typescript
61
GitHub Dark
import { unref } from 'vue'; import { defHttp } from '/@/utils/http/axios'; import { useMessage } from '/@/hooks/web/useMessage'; const { createConfirm } = useMessage(); export enum Api { list = '/sys/message/sysMessageTemplate/list', delete = '/sys/message/sysMessageTemplate/delete', deleteBatch = '/sys/messag...
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.", ...
6356547509901a2e
cpp
190
Solarized Dark
#ifndef OPENPOSE_PRODUCER_PRODUCER_HPP #define OPENPOSE_PRODUCER_PRODUCER_HPP #include <openpose/3d/cameraParameterReader.hpp> #include <openpose/core/common.hpp> #include <openpose/producer/enumClasses.hpp> namespace op { /** * Producer is an abstract class to extract frames from a source (image directory, ...
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...
91eab1d4040cf31f
typescript
42
Solarized Light
"use client" import { Button } from "@/examples/base/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/examples/base/ui/dropdown-menu" import { PencilIcon, ShareIcon, TrashIcon } from "lucide-react" export func...
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.", ...
25bf868f9ec92996
javascript
49
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); class SMSC extends NotificationProvider { name = "smsc"; /** * @inheritdoc */ async send(notification, msg, monitorJSON = null, heartbeatJSON = null) { const okMsg = "Sent Successfully."; ...
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...
e5394f6e1bedce3b
csharp
154
Monokai
using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Reflection; using System.Yaml.Serialization; using static winPEAS.Helpers.YamlConfig.YamlConfig; namespace winPEAS.Helpers.YamlConfig { internal class YamlConfigHelper { const string REGEXES_FILES = "rege...
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...
bf5200ea4f4fe034
java
95
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...
7cb04c3a49c69e2f
cpp
64
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...
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"...
577425b4241128ad
go
42
Default Dark+
// Copyright 2014 Manu Martinez-Almeida. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. package render import ( "fmt" "net/http" "github.com/gin-gonic/gin/internal/bytesconv" ) // String contains the given interface object slice and it...
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...
465d8074b174341d
csharp
49
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...
1dbeb110258f2732
java
30
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" ...
dbb1df09d3eac431
go
434
Default Light+
package mediafire /* Package mediafire Author: Da3zKi7<da3zki7@duck.com> Date: 2025-09-11 D@' 3z K!7 - The King Of Cracking */ import ( "context" "fmt" "math/rand" "net/http" "os" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist...
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"...
ae5fc2d509a98906
csharp
204
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents.Orchestration.Transforms; using Microsoft.SemanticKernel.ChatCompletion; using...
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...
52c0afc1ff142a35
csharp
77
Default Light+
// Copyright (c) 2024 Tom Englert // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publish, ...
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"...
0bc844203bbdda8b
java
97
Default Light+
package com.thealgorithms.datastructures.trees; import java.util.ArrayList; import java.util.HashMap; import java.util.LinkedList; import java.util.Map; import java.util.Queue; /* The following class implements a vertical order traversal in a tree from top to bottom and left to right, so for a tree : 1 ...
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...
8326ef56b0d16d43
typescript
41
Solarized Light
import { TeamFlags } from "../controllers/v2/types"; import { getScrapeZDR } from "./zdr-helpers"; type LocationOptions = { country?: string }; interface APIRequest { zeroDataRetention?: boolean; location?: LocationOptions; scrapeOptions?: { location?: LocationOptions; }; } const SUPPORT_EMAIL = "support...
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...
a64874747e1fd6d8
csharp
28
Monokai
using ScreenToGif.Domain.Enums; namespace ScreenToGif.ViewModel.ExportPresets.Image; public class BmpPreset : ImagePreset { public BmpPreset() { Type = ExportFormats.Bmp; ImageId = "Vector.Logo"; DefaultExtension = ".bmp"; Extension = ".bmp"; } public static BmpPreset...
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"...
fff628782edcde25
typescript
63
Default Light+
/** * @param func handler taking at most single parameter (event). */ import { version as ReactVersion } from "react"; import { unstable_batchedUpdates } from "react-dom"; import { throttleRAF } from "@excalidraw/common"; export const withBatchedUpdates = < TFunction extends ((event: any) => void) | (() => void)...
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.", ...
db2634427ae970d1
java
108
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; import java.util.Date; public class CmsHelp implements Serializable { private Long id; private Long categoryId; private String icon; private String title; private Integer showStatus; ...
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...
ab3fb3a7a592a091
cpp
147
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 versi...
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...
625769995b1eddf1
typescript
211
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import * as fs from 'node:fs'; import * as path from 'node:path'; import * as os from 'node:os'; import { ExtensionManager } from './extension-manager.js'; i...
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"...
7376c9913c843dc6
java
328
Dracula
package com.macro.mall.service.impl; import cn.hutool.core.collection.CollUtil; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.*; import com.macro.mall.dto.PmsProductParam; import com.macro.mall.dto.PmsProductQueryParam; import com.macro.mall.dto.PmsProductResult...
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"...
8eba71800c614b1a
python
156
Default Light+
from __future__ import annotations import re from abc import ABC from dataclasses import dataclass from types import NoneType from typing import Any from .common import RequestHandler, register_preference, Request from .exceptions import UnsupportedRequest from ..utils import classproperty, join_nonempty from ..utils...
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...
b8dc20735a16b8d3
java
21
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...
7bbf7bc462ea8e17
cpp
39
One Dark Pro
//===--- StringViewExtras.h ----------*- mode:c++;eval:(read-only-mode) -*-===// // Do not edit! See README.txt. // 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 ...
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.", ...
5a6b93770f63f2c4
typescript
37
Solarized Light
import { Avatar, AvatarFallback, AvatarImage } from "@/examples/radix/ui/avatar" import { Button } from "@/examples/radix/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/examples/radix/ui/dropdown-menu" export...
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...
1855ba2e26ee4a11
csharp
147
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Resources; namespace GettingStarted; /// <summary> /// This example shows how to load an Open API <see cref="KernelPlugin"/> instance. /// </summary> public sealed class Step9_OpenA...
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"...
004ab7be910f5532
python
101
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from typing import Annotated from semantic_kernel.agents import AgentRegistry, OpenAIAssistantAgent from semantic_kernel.functions import kernel_function """ The following sample demonstrates how to create an OpenAI Assistant Agent that answers...
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...
1b5ac8128b8bf1ff
javascript
156
Default Dark+
console.log("== Uptime Kuma Reset Password Tool =="); const Database = require("../server/database"); const { R } = require("redbean-node"); const readline = require("readline"); const { passwordStrength } = require("check-password-strength"); const { initJWTSecret } = require("../server/util-server"); const User = re...
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.", ...
dd40a59c421f94a0
python
214
Dracula
""" Demo for creating customized multi-class objective function =========================================================== This demo is only applicable after (excluding) XGBoost 1.0.0, as before this version XGBoost returns transformed prediction for multi-class objective function. More details in comments. See :do...
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"...
124aa956032249dd
javascript
177
Dracula
#!/usr/bin/env node 'use strict'; const { createStateStore } = require('./lib/state-store'); function showHelp(exitCode = 0) { console.log(` Usage: node scripts/status.js [--db <path>] [--json] [--limit <n>] Query the ECC SQLite state store for active sessions, recent skill runs, install health, and pending govern...
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"...
4d5ca18efbf6f10b
go
92
Solarized Light
package email import ( "errors" "fmt" "strings" "time" ) // Message represents an email message to be sent. type Message struct { To []string // Required: recipient email addresses Cc []string // Optional: carbon copy recipients Bcc []string // Optional: blind carbon copy recipients Subject stri...
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...
3328db9a546e83da
csharp
54
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...
6fa5164fb40ac374
csharp
37
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData.ProviderServices; namespace Microsoft.Extensions.VectorData; /// <summary> /// Defines a vector property on a vector store record. /// </summary> /// <remarks> /// <para> /// The characteristics def...
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" ...
6db17e2015da5b11
python
112
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from pydantic import BaseModel, ValidationError from semantic_kernel import Kernel from semantic_kernel.agents import AgentGroupChat, ChatCompletionAgent from semantic_kernel.agents.strategies import TerminationStrategy from semantic_kernel.connectors.ai...
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.", ...
5a596c5bb34652bf
typescript
26
Solarized Light
import type React from "react"; /** * Extracts code content from a react-markdown code element. * Handles the nested structure where code is passed as children. * * @param children - The children prop from react-markdown (typically a code element) * @returns The extracted code content as a string with trailing ne...
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...
da2414b317b14f81
cpp
112
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once // Modified from the default template for Xaml and Direct3D 11 apps. namespace GraphControl::DX { // Provides an interface for an application that owns DeviceResources to be notified of the device being l...
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...
6f90b85fb849fb5e
python
350
Solarized Light
""" Implementation of an auto-balanced binary tree! For doctests run following command: python3 -m doctest -v avl_tree.py For testing run: python avl_tree.py """ from __future__ import annotations import math import random from typing import Any class MyQueue: def __init__(self) -> None: self.data: list...
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...
46d0a0647185bdd5
go
447
Default Light+
package handles import ( "encoding/base64" "errors" "fmt" "github.com/alist-org/alist/v3/internal/op" "net/http" "net/url" "path" "strings" "time" "github.com/Xhofe/go-cache" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/db" "github.com/alist-org/alist/v3/internal...
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...
16dc4cb2d30b68a0
rust
100
GitHub Dark
pub fn cholesky(mat: Vec<f64>, n: usize) -> Vec<f64> { if (mat.is_empty()) || (n == 0) { return vec![]; } let mut res = vec![0.0; mat.len()]; for i in 0..n { for j in 0..=i { let mut s = 0.0; for k in 0..j { s += res[i * n + k] * res[j * n + k]; ...
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...
b89eb0e025431397
csharp
97
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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...
3d6267ec5e6103b7
cpp
126
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...
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...
a4d4608016d781d0
typescript
26
Solarized Light
import { Alert, AlertDescription, AlertTitle } from "@/examples/radix/ui/alert" import { CheckCircle2Icon, InfoIcon } from "lucide-react" export default function AlertDemo() { return ( <div className="grid w-full max-w-md items-start gap-4"> <Alert> <CheckCircle2Icon /> <AlertTitle>Payment ...
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.", ...
01b2c9b0dd47d9ab
rust
35
Dracula
use hbb_common::log; use std::ffi::c_char; const LOG_LEVEL_TRACE: &[u8; 6] = b"trace\0"; const LOG_LEVEL_DEBUG: &[u8; 6] = b"debug\0"; const LOG_LEVEL_INFO: &[u8; 5] = b"info\0"; const LOG_LEVEL_WARN: &[u8; 5] = b"warn\0"; const LOG_LEVEL_ERROR: &[u8; 6] = b"error\0"; #[inline] fn is_level(level: *const c_char, level...
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...
870a007b13c81d23
csharp
52
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...
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.", ...
960d1fefbe7cb220
cpp
62
One Dark Pro
// __ _____ _____ _____ // __| | __| | | | JSON for Modern C++ // | | |__ | | | | | | version 3.12.0 // |_____|_____|_____|_|___| https://github.com/nlohmann/json // // SPDX-FileCopyrightText: 2013 - 2025 Niels Lohmann <https://nlohmann.me> // SPDX-License-Identifier: MIT #pragma once #include ...
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...
46817465e3d5f1bc
python
67
Solarized Light
""" Find the kth smallest element in linear time using divide and conquer. Recall we can do this trivially in O(nlogn) time. Sort the list and access kth element in constant time. This is a divide and conquer algorithm that can find a solution in O(n) time. For more information of this algorithm: https://web.stanford...
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" ...
77042ecc30dc8f02
java
69
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 ...
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.", ...
ea56a8f8ebe7bebb
csharp
110
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Memory; /// <summary> /// An interface for semantic memory that creates and recalls memories associated w...
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...
c759d078d762b0a4
csharp
158
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ClientModel; using System.Net; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; namespace Filtering; /// <summary> /// This example shows how to perform retry with filter an...
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" ...
73bbe685b8f02f6f
cpp
78
One Dark Pro
/* * * Copyright (c) 1998-2009 * 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...
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...
eecf3fb1615bd001
typescript
284
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/base/lib/utils" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, ...
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...
9fa289b839c539d8
javascript
50
Default Dark+
const { BeanModel } = require("redbean-node/dist/bean-model"); const { R } = require("redbean-node"); class Group extends BeanModel { /** * Return an object that ready to parse to JSON for public Only show * necessary data to public * @param {boolean} showTags Should the JSON include monitor tags ...
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" ...
b8894363496faa4f
cpp
71
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: dotproductavx512.cpp // Description: Architecture-specific dot-product function. // Author: Stefan Weil // // (C) Copyright 2022 // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ex...
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.", ...
a42c874f9163187b
java
141
Default Dark+
package org.schabi.newpipe.fragments.detail; import static org.schabi.newpipe.extractor.stream.StreamExtractor.NO_AGE_LIMIT; import static org.schabi.newpipe.util.Localization.getAppLocale; import android.view.LayoutInflater; import android.view.View; import android.widget.LinearLayout; import androidx.annotation.No...
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.", ...
13ada2605238b212
typescript
52
GitHub Dark
import type { UnwrapRef, Ref, WritableComputedRef, DeepReadonly } from 'vue'; import { reactive, readonly, computed, getCurrentInstance, watchEffect, unref, nextTick, toRaw } from 'vue'; import { Form } from 'ant-design-vue'; import { FormItemContext } from 'ant-design-vue/es/form/FormItemContext'; import { isEqual } ...
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"...
482f8d6cf1ee2213
rust
142
GitHub Dark
//! This module provides a function to generate all possible distinct permutations //! of a given collection of integers using a backtracking algorithm. /// Generates all possible distinct permutations of a given vector of integers. /// /// # Arguments /// /// * `nums` - A vector of integers. The input vector is sorte...
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...
de95e7c03060ea13
cpp
76
One Dark Pro
/********************************************************************** * File: tprintf.cpp * Description: Trace version of printf - portable between UX and NT * Author: Phil Cheatle * * (C) Copyright 1995, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the "License"); ** you...
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...
5b80f7e4d5f5075e
typescript
36
Solarized Light
"use server" import { formSchema, type FormState } from "./form-next-demo-schema" export async function demoFormAction( _prevState: FormState, formData: FormData ) { const values = { title: formData.get("title") as string, description: formData.get("description") as string, } const result = formSch...
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"...
bb1fb99075b0440e
java
31
Default Light+
package com.thealgorithms.bitmanipulation; /** * This class provides a method to find the next higher number * with the same number of set bits as the given number. * * @author Hardvan */ public final class NextHigherSameBitCount { private NextHigherSameBitCount() { } /** * Finds the next higher...
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" ...
b07b4984b26a131c
python
27
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from abc import ABC, abstractmethod from collections.abc import Awaitable, Callable from typing import TypeVar T = TypeVar("T") logger: logging.Logger = logging.getLogger(__name__) class RetryMechanismBase(ABC): """Base class for retry mechanisms."...
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...
742492ee99a666fc
cpp
257
Dracula
/** * Copyright 2017-2025, XGBoost Contributors * \brief Data type for fast histogram aggregation. */ #include "gradient_index.h" #include <limits> #include <memory> #include <utility> // for forward #include "../common/column_matrix.h" #include "../common/hist_util.h" #include "../common/numeric.h" #include "../...
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.", ...
0e3937d55d8bdb4b
typescript
296
One Dark Pro
import { mockDeep, mockReset } from 'jest-mock-extended'; import { PrismaService } from 'src/prisma/prisma.service'; import { InfraConfigService } from './infra-config.service'; import { InfraConfigEnum } from 'src/types/InfraConfig'; import { INFRA_CONFIG_NOT_FOUND, INFRA_CONFIG_OPERATION_NOT_ALLOWED, INFRA_CONF...
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.", ...
bf8d1df6eabb7cd7
typescript
35
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, vi } from 'vitest'; import { corgiCommand } from './corgiCommand.js'; import { type CommandContext } from './types.js'; import { createMockCommandContext } from '../../test-utils/mockComma...
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.", ...
68114c1adde26398
java
38
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...
7da7b84a7c4c0216
typescript
115
Solarized Light
import { cn } from "@/registry/bases/base/lib/utils" import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent } from "@/registry/bases/base/ui/card" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldSeparator, } from "@/registry/bases/base/ui/field" import { Input } fro...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
131dd5a53633d7f6
java
32
Default Light+
package com.thealgorithms.maths; /** * In mathematics, an arithmetic progression (AP) or arithmetic sequence is a * sequence of numbers such that the difference between the consecutive terms is * constant. Difference here means the second minus the first. For instance, the * sequence 5, 7, 9, 11, 13, 15, . . . is ...
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...
2bc811ccf18de85c
python
43
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from samples.concepts.setup.text_completion_services import Services, get_text_completion_service_and_request_settings """ This sample shows how to perform text completion in streaming mode. This sample uses the following component: - an text completion ...
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.", ...
ea18931101bbaf07
csharp
134
Default Light+
// Copyright (c) 2024 Tom Englert for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, m...
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.", ...
e2e2e24cfc172c42
cpp
160
Dracula
/** * Copyright 2023-2024, XGBoost Contributors */ #pragma once #include <chrono> // for seconds #include <cstdint> // for int32_t #include <future> // for future #include <string> // for string #include <utility> // for pair #include <vector> // for vector #include "protocol.h" #include "xgboost/collectiv...
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...
41620b5ddb7100f6
java
70
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...
49f2766352ab82d8
typescript
374
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ /** * @fileoverview * This file contains types and functions for parsing structured Google API errors. */ /** * Sanitize a JSON string before parsing to handle known SSE stream corruption. * SSE stream parsing can inject stra...
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...
72bd619beb2f2f08
typescript
79
Default Dark+
import type { ResumeBadgeProps } from '../resume-badge'; export default function ResumeBadgeRocketIcon({ className }: ResumeBadgeProps) { return ( <svg aria-hidden="true" className={className} viewBox="0 0 496.158 496.158" x="36px" xmlns="http://www.w3.org/2000/svg" y="36px"> ...
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" ...
f1a90eb9b13d0020
typescript
185
Solarized Light
import { registryConfigSchema } from "@/src/schema" import { z } from "zod" export const REGISTRY_URL = process.env.REGISTRY_URL ?? "https://ui.shadcn.com/r" export const SHADCN_URL = REGISTRY_URL.replace(/\/r\/?$/, "") export const FALLBACK_STYLE = "new-york-v4" export const BASE_COLORS = [ { name: "neutra...
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" ...
d497988181f768da
csharp
239
Monokai
using System; using System.Collections.Generic; using System.Reflection; using winPEAS.Helpers; using winPEAS.KnownFileCreds.Vault.Structs; using VaultCliNative = winPEAS.Native.Vaultcli; namespace winPEAS.KnownFileCreds.Vault { public static class VaultCli { public static List<Dictionary<string, stri...
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...
9168b83929d96137
typescript
86
GitHub Dark
import type { PaginationProps } from '../types/pagination'; import type { BasicTableProps } from '../types/table'; import { computed, unref, ref, ComputedRef, watch } from 'vue'; import { LeftOutlined, RightOutlined } from '@ant-design/icons-vue'; import { isBoolean } from '/@/utils/is'; import { PAGE_SIZE, PAGE_SIZE_O...
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.", ...
771d2aec375d9e9e
java
50
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...
e536cd72c3821897
java
23
GitHub Dark
package org.jeecg.modules.openapi.controller; import org.jeecg.common.api.vo.Result; import org.jeecg.common.system.base.controller.JeecgController; import org.jeecg.modules.openapi.entity.OpenApiPermission; import org.jeecg.modules.openapi.service.OpenApiPermissionService; import org.springframework.web.bind.annotati...
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...
7bd5c1137c5cbe09
java
29
Dracula
package com.macro.mall.service.impl; import com.macro.mall.mapper.OmsOrderSettingMapper; import com.macro.mall.model.OmsOrderSetting; import com.macro.mall.service.OmsOrderSettingService; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; /** * 订单设置管理Service...
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...
b585d3a21bbf3ba6
typescript
41
Solarized Light
import { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogTitle, AlertDialogTrigger, } from "@/examples/radix/ui/alert-dialog" import { Button } from "@/examples/radix/ui/button" import {...
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...
7801a939d52bc40e
typescript
76
One Dark Pro
import * as esprima from "esprima" import { LinterDefinition, LinterResult } from "./linter" import { performPreRequestLinting } from "~/helpers/tern" const linter: LinterDefinition = async (text) => { let results: LinterResult[] = [] // Semantic linting const semanticLints = await performPreRequestLinting(text...
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...
bc128b43c1fb2e4d
javascript
494
Default Dark+
"use strict"; /*! // Common Util for frontend and backend // // DOT NOT MODIFY util.js! // Need to run "npm run tsc" to compile if there are any changes. // // Backend uses the compiled file util.js // Frontend uses util.ts */ var _a; Object.defineProperty(exports, "__esModule", { value: true }); exports.CONSOLE_STYLE_...
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...
4d43e46656b32060
csharp
135
Monokai
using System.Collections.ObjectModel; using System.ComponentModel; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Markup; using System.Windows.Media; namespace ScreenToGif.Controls; [ContentProperty("Inlines")] [TemplatePart(Name = "PART_In...
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...
07437c3b26c5ed94
cpp
29
Solarized Light
#pragma once #include "Types.h" #include <nlohmann/json.hpp> #include <vector> #include <string> struct TableRequest { static constexpr const char* method = "table"; duint offset = 0; duint lines = 0; dsint scroll = 0; }; NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(TableRequest, offset, lines, scroll); stru...
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...
67739001c3552d23
go
208
Default Light+
package op import ( "sort" "strconv" "strings" "time" "github.com/Xhofe/go-cache" "github.com/alist-org/alist/v3/internal/db" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/singleflight" "github.com/alist-org/alist/v3/pkg/utils" "github.com/pkg/errors" ) var settingCache ...
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...
b97ecc0e3bbd61bd
go
86
Solarized Light
package mcp import ( "context" "fmt" "strings" "github.com/mark3labs/mcp-go/mcp" mcpserver "github.com/mark3labs/mcp-go/server" "github.com/pkg/errors" "github.com/usememos/memos/server/auth" "github.com/usememos/memos/store" ) // Memo resource URI scheme: memo://memos/{uid} // Clients can read any memo 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.", ...
5692681045c0dbdf
csharp
56
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
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...
42081508cc75d9b0
typescript
308
GitHub Dark
import type { AppRouteRecordRaw, Menu } from '/@/router/types'; import { defineStore } from 'pinia'; import { store } from '/@/store'; import { useI18n } from '/@/hooks/web/useI18n'; import { useUserStore } from './user'; import { useAppStoreWithOut } from './app'; import { toRaw } from 'vue'; import { transformObjToR...
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...