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
8b51757438074fa0
rust
27
Solarized Dark
use serde::{Deserialize, Serialize}; #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct GuixShellConfig<'a> { pub format: &'a str, pub symbol: &'a str, pub style: &'a str, ...
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...
cf7b8de1be6d2ab0
python
337
Default Light+
import functools import re from .common import InfoExtractor from .youtube import YoutubeIE from ..utils import ( ExtractorError, int_or_none, str_or_none, ) class VVVVIDIE(InfoExtractor): _VALID_URL_BASE = r'https?://(?:www\.)?vvvvid\.it/(?:#!)?(?:show|anime|film|series)/' _VALID_URL = rf'{_VALI...
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...
ff5d05eff590f318
python
56
Solarized Light
""" Project Euler Problem 135: https://projecteuler.net/problem=135 Given the positive integers, x, y, and z, are consecutive terms of an arithmetic progression, the least value of the positive integer, n, for which the equation, x2 - y2 - z2 = n, has exactly two solutions is n = 27: 342 - 272 - 202 = 122 - 92 - 62 =...
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...
c3d47f27373eae1b
java
183
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...
38398a24c5e19cdf
csharp
51
Monokai
using System; using System.Diagnostics; using System.Threading; using System.Threading.Tasks; using ScreenToGif.Cloud; using ScreenToGif.Domain.Enums; using ScreenToGif.Test.Util; using ScreenToGif.ViewModel.UploadPresets.Yandex; using Xunit; namespace ScreenToGif.Test.Facts { public class YandexUpload { ...
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...
5fa0eba91ecd77be
python
47
Solarized Light
""" Name scores Problem 22 Using names.txt (right click and 'Save Link/Target As...'), a 46K text file containing over five-thousand first names, begin by sorting it into alphabetical order. Then working out the alphabetical value for each name, multiply this value by its alphabetical position in the list to obtain a ...
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.", ...
81f15c57b70feac7
cpp
195
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
2716f070dbded9fa
java
33
Dracula
package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; import javax.validation.constraints.Email; import javax.validation.constraints.NotEmpty; /** * 用户注册参数 * Created by macro on 2018/4/26. */ @Getter @Setter public class UmsAdminParam { @NotEmp...
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"...
bcbe8a6550468db0
cpp
73
Solarized Light
// This file implements accessibility interface for StdTable #ifndef QT_NO_ACCESSIBILITY #include "AccessibleStdTable.h" #include "StdTable.h" AccessibleStdTable::AccessibleStdTable(QWidget* w) : AccessibleAbstractTableView(w) { } AccessibleStdTable::~AccessibleStdTable() { } bool AccessibleStdTable::isRowSelected(i...
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...
c2b04bf51d05d3f3
typescript
69
Default Light+
import { createContext, useContext, useState, useMemo, type ReactNode, type Dispatch, type SetStateAction, } from "react"; import { DownloadEvent } from "@/gotypes"; interface StreamingContextType { streamingChatIds: Set<string>; setStreamingChatIds: Dispatch<SetStateAction<Set<string>>>; loadingCh...
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...
5e75f871eebd948b
typescript
116
Solarized Light
"use client" import * as React from "react" import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, } from "@/examples/radix/ui-rtl/select" import { useTranslation, type Translations, } from "@/components/language-selector" const translat...
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" ...
d87293b8ee9f593f
go
76
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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" ...
328e201e45ee9da5
cpp
335
One Dark Pro
#include <hex/api/localization_manager.hpp> #include <hex/api/imhex_api/provider.hpp> #include <hex/providers/provider.hpp> #include <hex/helpers/utils.hpp> #include <wolv/math_eval/math_evaluator.hpp> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> #include <fonts/vscode_icons.hpp> #include <vector> #...
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.", ...
998ec6c611aabb18
go
172
Solarized Light
package mcp import ( "context" "fmt" "github.com/mark3labs/mcp-go/mcp" mcpserver "github.com/mark3labs/mcp-go/server" "github.com/usememos/memos/server/auth" "github.com/usememos/memos/store" ) type reactionJSON struct { ID int32 `json:"id"` Creator string `json:"creator"` ReactionType stri...
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...
75e8bd58bf6637a5
typescript
427
Default Light+
import { exportToCanvas } from "@excalidraw/utils/export"; import React, { useEffect, useRef, useState } from "react"; import { DEFAULT_EXPORT_PADDING, EXPORT_IMAGE_TYPES, isFirefox, EXPORT_SCALES, cloneJSON, } from "@excalidraw/common"; import type { NonDeletedExcalidrawElement } from "@excalidraw/element/...
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...
130b7ecbe3836086
python
114
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import Any from semantic_kernel.connectors.ai.bedrock.bedrock_prompt_execution_settings import ( BedrockChatPromptExecutionSettings, BedrockEmbeddingPromptExecutionSettings, BedrockTextPromptExecutionSettings, ) from semantic_kernel.connectors.ai...
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...
4d569de28c00aec4
javascript
132
Dracula
export default class BloomFilter { /** * @param {number} size - the size of the storage. */ constructor(size = 100) { // Bloom filter size directly affects the likelihood of false positives. // The bigger the size the lower the likelihood of false positives. this.size = size; this.storage = th...
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.", ...
a91d5964f454126f
python
61
Default Light+
from .common import InfoExtractor from ..utils import ( float_or_none, int_or_none, parse_iso8601, str_or_none, traverse_obj, url_or_none, ) class WhypIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?whyp\.it/tracks/(?P<id>\d+)' _TESTS = [{ 'url': 'https://www.whyp.it/track...
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...
dd1fd85213bdad23
go
133
Default Light+
//go:build windows || darwin package tools import ( "bytes" "context" "encoding/json" "fmt" "net/http" "net/url" "strconv" "strings" "time" "github.com/ollama/ollama/auth" ) type WebFetch struct{} type FetchRequest struct { URL string `json:"url"` } type FetchResponse struct { Title string `json:"...
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"...
63726839eba941ec
cpp
62
Solarized Light
#ifndef _ADDRINFO_H #define _ADDRINFO_H #include "_global.h" #include <functional> #include <map> #include <unordered_map> //ranges typedef std::pair<duint, duint> Range; typedef std::pair<duint, Range> ModuleRange; //modhash + RVA range typedef std::pair<int, ModuleRange> DepthModuleRange; //depth + modulerange str...
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" ...
31b0988fb6f25b06
java
48
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...
19b0a61900a38ec5
csharp
172
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.TextGeneration; using Moq; using Xunit; namespace SemanticKernel.UnitTests.Functions; public class Mul...
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...
68a63e7f0e7b067e
go
99
Solarized Dark
// Copyright 2021 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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...
c8974d7827013b92
java
210
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.", ...
e0afc1fa8c0152d3
python
302
Solarized Light
""" | Wikipedia: https://en.wikipedia.org/wiki/Enigma_machine | Video explanation: https://youtu.be/QwQVMqfoB2E | Also check out Numberphile's and Computerphile's videos on this topic This module contains function ``enigma`` which emulates the famous Enigma machine from WWII. Module includes: - ``enigma`` function -...
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.", ...
562c55dd6b65be35
java
37
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.", ...
1d53cc745bb52c83
go
43
Solarized Dark
// Copyright 2025 The frp Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to...
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.", ...
9dc2bea4f60b67fd
cpp
71
One Dark Pro
/****************************************************************************** ** Filename: normfeat.c ** Purpose: Definition of char normalization features. ** Author: Dan Johnson ** ** (c) Copyright Hewlett-Packard Company, 1988. ** Licensed under the Apache License, Version 2.0 (the "License"); *...
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...
81c7d458122a5ff6
python
38
Solarized Light
def split(string: str, separator: str = " ") -> list: """ Will split the string up into all the values separated by the separator (defaults to spaces) >>> split("apple#banana#cherry#orange",separator='#') ['apple', 'banana', 'cherry', 'orange'] >>> split("Hello there") ['Hello', 'there'] ...
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...
1d8809bc30803285
cpp
158
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
c7533b25126701eb
csharp
252
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using System.Text.Json.Nodes; using System.Threading; using System.Web; using HandlebarsDotNet; using HandlebarsDotNet.Compiler; namespace Microsoft.SemanticKernel.PromptTemplat...
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...
52eb0748e4e31d7e
csharp
49
Monokai
using Netch.Utils; namespace Netch.Models; public static class StatusPortInfoText { private static ushort? _socks5Port; private static ushort? _httpPort; private static bool _shareLan; public static ushort HttpPort { set => _httpPort = value; } public static ushort Socks5Port ...
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.", ...
3b8ec2a79d1eee8a
cpp
34
Solarized Dark
#ifndef OPENPOSE_WRAPPER_ENUM_CLASSES_HPP #define OPENPOSE_WRAPPER_ENUM_CLASSES_HPP namespace op { enum class PoseMode : unsigned char { Disabled = 0, Enabled, NoNetwork, Size, }; enum class Detector : unsigned char { Body = 0, OpenCV, Provid...
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.", ...
203cea313c7ced7f
typescript
84
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import * as fs from 'node:fs'; import * as path from 'node:path'; import { Storage, debugLogger } from '@google/gemini-cli-core'; import { PersistentState } from './per...
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"...
95d69eb7505d2723
java
43
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
0c68562c8f516bc2
csharp
135
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Text.Json; using Microsoft.Extensions.Logging; using Microsoft.SemanticKernel.PromptTemplates.Handlebars; using Microsoft.SemanticKernel.PromptTemplates.Liquid; using PromptyCore = Prompty....
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...
3d7a4aea9287eb8f
typescript
282
One Dark Pro
import * as TE from "fp-ts/TaskEither" import * as E from "fp-ts/Either" import { runGQLQuery } from "../GQLClient" import { UserPublishedDocsListDocument, TeamPublishedDocsListDocument, type UserPublishedDocsListQuery, type TeamPublishedDocsListQuery, PublishedDocDocument, PublishedDocs, } from "../graphql...
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...
4c3a3796f95f0bb2
csharp
226
One Dark Pro
namespace ShareX.HistoryLib { partial class ImageHistoryForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
42d4f384e4ae3ea1
typescript
185
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { EditorSettingsDialog } from './EditorSettingsDialog.js'; import { describe, it, expect, vi, beforeEach } from 'vitest'; import { SettingScope, type LoadedSettings } 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...
a8b4e0791b7fe9dd
python
134
Default Light+
from .common import InfoExtractor from ..utils import ( ExtractorError, float_or_none, int_or_none, parse_age_limit, try_get, url_or_none, ) class TvigleIE(InfoExtractor): IE_NAME = 'tvigle' IE_DESC = 'Интернет-телевидение Tvigle.ru' _VALID_URL = r'https?://(?:www\.)?(?:tvigle\.ru/...
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" ...
5863de9efd868ec4
java
70
Default Light+
package com.thealgorithms.geometry; import java.awt.Point; import java.util.ArrayList; import java.util.List; /** * The {@code BresenhamLine} class implements the Bresenham's line algorithm, * which is an efficient way to determine the points of a straight line * between two given points in a 2D space. * * <p>Th...
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...
7252570fd71164ba
javascript
429
Dracula
/** * Project type and framework detection * * Cross-platform (Windows, macOS, Linux) project type detection * by inspecting files in the working directory. * * Resolves: https://github.com/affaan-m/everything-claude-code/issues/293 */ const fs = require('fs'); const path = require('path'); /** * Language det...
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...
27fd16988b2bc225
typescript
45
GitHub Dark
import type { Menu as MenuType } from '/@/router/types'; import type { MenuState } from './types'; import { computed, Ref, toRaw } from 'vue'; import { unref } from 'vue'; import { uniq } from 'lodash-es'; import { getAllParentPath } from '/@/router/helper/menuHelper'; import { useTimeoutFn } from '/@/hooks/core/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...
2c5cddb0360a4227
cpp
68
Solarized Light
#pragma once #include <QWidget> #include <AbstractStdTable.h> class FileLines; class CommonActions; class SourceView : public AbstractStdTable { Q_OBJECT public: SourceView(QString path, duint addr, QWidget* parent = nullptr); ~SourceView(); QString getCellContent(duint row, duint column) override; ...
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.", ...
379857f4240b235a
typescript
336
One Dark Pro
import { Team, TeamMember, TeamAccessRole } from './team.model'; import { Resolver, ResolveField, Args, Parent, Query, Mutation, Int, Subscription, ID, } from '@nestjs/graphql'; import { TeamService } from './team.service'; import { GqlAuthGuard } from '../guards/gql-auth.guard'; import { GqlUser } fr...
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.", ...
3240f3115427c858
cpp
433
Solarized Light
#include "watch.h" #include "console.h" #include "threading.h" #include "debugger.h" #include "taskthread.h" #include <Windows.h> std::map<unsigned int, WatchExpr*> watchexpr; unsigned int idCounter = 1; WatchExpr::WatchExpr(const char* name, const char* expression, WATCHVARTYPE type) : expr(expression), have...
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"...
81bc7451c7239ca5
cpp
217
One Dark Pro
#include "ggml.h" #include "whisper.h" #include <emscripten.h> #include <emscripten/bind.h> #include <atomic> #include <cmath> #include <mutex> #include <string> #include <thread> #include <vector> constexpr int N_THREAD = 8; std::vector<struct whisper_context *> g_contexts(4, nullptr); std::mutex g_mutex; std::th...
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...
c2c1aad2e23e1183
csharp
125
Monokai
using System; using Microsoft.Win32; namespace ScreenToGif.Util; internal static class FrameworkHelper { internal static Version GetFrameworkVersion() { const string subkey = @"SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\"; try { using (var sub = RegistryKey.OpenBas...
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.", ...
b4d72aa6f1716887
java
177
GitHub Dark
package org.jeecg.common.util; import io.netty.util.internal.StringUtil; /** * 流水号生成规则(按默认规则递增,数字从1-99开始递增,数字到99,递增字母;位数不够增加位数) * A001 * A001A002 * @Author zhangdaihao * */ public class YouBianCodeUtil { // 数字位数(默认生成3位的数字) /**代表数字位数*/ private static final int NUM_LENGTH = 2; public static final int ZH...
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...
feea158faee902b0
java
75
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" ...
ede0cf8cb130c390
java
85
Default Light+
package com.thealgorithms.datastructures.crdt; import java.util.HashSet; import java.util.Set; /** * TwoPhaseSet (2P-Set) is a state-based CRDT (Conflict-free Replicated Data Type) designed for managing sets * with support for both addition and removal operations in a distributed and concurrent environment. * It c...
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" ...
ac6875f94f8ccc2e
java
44
Default Dark+
package org.schabi.newpipe.player.helper; import android.content.Context; import android.os.Handler; import com.google.android.exoplayer2.DefaultRenderersFactory; import com.google.android.exoplayer2.Renderer; import com.google.android.exoplayer2.mediacodec.MediaCodecSelector; import com.google.android.exoplayer2.vid...
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" ...
f38ed958c0d891b9
csharp
320
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
7546dedd1d95801b
java
59
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
f246332659cc095e
typescript
40
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, } from "@/examples/radix/ui/dropdown-menu" import { PencilIcon, ShareIcon, TrashIcon } from "lucide-react" export function Dropdow...
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...
6e12b2c704912c4f
typescript
125
GitHub Dark
import { BasicColumn, FormSchema } from '/@/components/Table'; import { render } from '/@/utils/common/renderUtils'; import { JCronValidator } from '/@/components/Form'; export const columns: BasicColumn[] = [ { title: '任务类名', dataIndex: 'jobClassName', width: 200, align: 'left', }, { title: ...
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...
f3124f9f1e30f41a
typescript
250
One Dark Pro
import { ref } from "vue" import * as E from "fp-ts/Either" import { useToast } from "./toast" import { useI18n } from "./i18n" export type UploadType = "org-logo" export interface UploadResult { success: boolean url?: string message?: string statusCode?: number } export interface UploadError { message: st...
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...
5608493cc59de912
java
62
Default Light+
package com.thealgorithms.maths; /** * Find the 2 elements which are non-repeating in an array * Reason to use bitwise operator: It makes our program faster as we are operating on bits and not * on actual numbers. * * Explanation of the code: * Let us assume we have an array [1, 2, 1, 2, 3, 4] * Property of XOR...
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.", ...
b3cc4d39907b34a8
csharp
64
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...
80ae8fb69ddc3470
java
40
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...
96abde26b6352acd
typescript
166
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, vi } from 'vitest'; import { modelCommand } from './modelCommand.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.", ...
5eb89569482098d6
java
42
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...
53d666de9920e161
java
33
Default Light+
package com.thealgorithms.searches; import com.thealgorithms.datastructures.Node; import java.util.ArrayList; import java.util.List; import java.util.Optional; /** * @author: caos321 * @date: 31 October 2021 (Sunday) * @wiki: https://en.wikipedia.org/wiki/Depth-first_search */ public class DepthFirstSearch<T> { ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
d2e7f20975753091
typescript
424
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { render } from '../../test-utils/render.js'; import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { BackgroundShellDisplay } from './BackgroundShellDisplay.js'; import { type BackgroundShell } fr...
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.", ...
9cc8b21fcafa5bf1
csharp
47
Monokai
using System.Net; using Windows.Win32; namespace Netch.Models; public struct NetRoute { public static NetRoute TemplateBuilder(string gateway, int interfaceIndex, int metric = 0) { return new() { Gateway = gateway, InterfaceIndex = interfaceIndex, Metric = ...
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" ...
1b1e17439e4327ba
python
245
Default Light+
import base64 import binascii import functools import re import urllib.parse from .common import InfoExtractor from ..dependencies import Cryptodome from ..utils import ( ExtractorError, OnDemandPagedList, clean_html, extract_attributes, url_or_none, urljoin, ) from ..utils.traversal import ( ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
d28490395b57e3d0
typescript
52
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { Config } from './config.js'; import { TRACKER_CREATE_TASK_TOOL_NAME } from '../tools/tool-names.js'; import * as os from 'node:os'; import type { AgentLoopContext } from './ag...
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.", ...
27fa443b8bd9158f
cpp
94
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <spdlog/details/file_helper.h> #include <spdlog/details/null_mutex.h> #include <spdlog/details/synchronous_factory.h> #include <spdlog/sinks/base_sink.h> #i...
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...
8f1f13eb4ec5b472
csharp
82
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; using OpenAI.Chat; using Xunit; namespace SemanticKernel.Connectors.OpenAI.UnitTests.Core; /// <summary> /// Unit...
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.", ...
e0b0de94af944d9f
java
21
Default Dark+
package org.schabi.newpipe.settings; import android.content.Intent; import leakcanary.LeakCanary; /** * Build variant dependent (BVD) leak canary API implementation for the debug settings fragment. * This class is loaded via reflection by * {@link DebugSettingsFragment.DebugSettingsBVDLeakCanaryAPI}. */ @Suppres...
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...
e1527d48e929da5c
rust
448
Default Dark+
use std::str; use actix_web::web::Data; use actix_web::{web, HttpRequest, HttpResponse}; use deserr::actix_web::{AwebJson, AwebQueryParameter}; use deserr::Deserr; use meilisearch_auth::error::AuthControllerError; use meilisearch_auth::AuthController; use meilisearch_types::deserr::query_params::Param; use meilisearch...
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.", ...
5b659c8ae0c02467
csharp
51
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...
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" ...
ead28ba07bdcc33e
python
101
Default Light+
from .common import InfoExtractor from ..utils import ( NO_DEFAULT, int_or_none, unescapeHTML, ) class TVN24IE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://(?:(?!eurosport)[^/]+\.)?tvn24(?:bis)?\.pl/(?:[^/?#]+/)*(?P<id>[^/?#]+)' _TESTS = [{ 'url': 'http://www.tvn24.pl/wiado...
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"...
cd4f3cceec6bbf97
csharp
50
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using System.Threading.Tasks; using A2A; namespace Microsoft.SemanticKernel.Agents.A2A; /// <summary> /// Represents a conversation thread for an A2A agent. /// </summary> public sealed class A2AAgentThread : AgentThread { //...
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...
bf0fe714090c269f
csharp
261
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel.Connectors.Google.Core; using Xunit; namespace SemanticKernel.Connectors.Google.UnitTests.Core.Gemini; public sealed class GeminiPartTests { [Fact] public void IsValidWhenTextIsNotNull() { // Arrange var sut ...
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...
e482ce004385297e
python
33
Default Light+
from PIL import ImageOps, Image from modules import scripts_postprocessing, ui_components import gradio as gr class ScriptPostprocessingCreateFlippedCopies(scripts_postprocessing.ScriptPostprocessing): name = "Create flipped copies" order = 4030 def ui(self): with ui_components.InputAccordion(Fa...
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"...
08d7c42d7c901911
csharp
277
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text; using System.Text.Json; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.UnitTests.Contents; /// <summary> /// Unit tests for <see cref="AudioContent"/> class. /// </summary> public sealed class AudioContentTests ...
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...
aa5b4b8b743fce4c
python
53
Monokai
# Copyright (c) Microsoft. All rights reserved. from abc import ABC from typing import Any, ClassVar import boto3 from botocore.config import Config from semantic_kernel.connectors.ai.bedrock.services.model_provider.bedrock_model_provider import BedrockModelProvider from semantic_kernel.kernel_pydantic import Kernel...
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...
a7ec0583f3208249
java
126
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...
9947c13837f81f54
javascript
21
Dracula
'use strict'; const provenance = require('./provenance'); const versioning = require('./versioning'); const tracker = require('./tracker'); const health = require('./health'); const dashboard = require('./dashboard'); module.exports = { ...provenance, ...versioning, ...tracker, ...health, ...dashboard, pr...
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...
81440f3deed28783
javascript
63
One Dark Pro
const CHATGPT_NEXT_WEB_CACHE = "chatgpt-next-web-cache"; const CHATGPT_NEXT_WEB_FILE_CACHE = "chatgpt-next-web-file"; let a="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";let nanoid=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e));for(let n=0;n<e;n++)t+=a[63&r[n]];return t}; self.addEv...
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.", ...
faedb841d0b71357
python
165
Default Light+
from .common import InfoExtractor from ..utils import ( join_nonempty, strip_or_none, traverse_obj, unified_timestamp, ) class SportDeutschlandIE(InfoExtractor): IE_NAME = 'sporteurope' _VALID_URL = r'https?://(?:player\.)?sporteurope\.tv/(?P<id>(?:[^/?#]+/)?[^?#/&]+)' _TESTS = [{ ...
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...
1bc20c4e432bd3b2
csharp
56
Default Light+
// Copyright (c) 2019 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...
470402c983c398ae
typescript
39
Solarized Light
import { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectTrigger, SelectValue, } from "@/examples/base/ui/select" const items = [ { label: "Select a fruit", value: null }, { label: "Apple", value: "apple" }, { label: "Banana", value: "banana" }, { label: "Blueberry", value: "bl...
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...
d48e35b6d9f972ce
python
61
Dracula
""" Demo for prediction using number of trees ========================================= """ import os import numpy as np from sklearn.datasets import load_svmlight_file import xgboost as xgb CURRENT_DIR = os.path.dirname(__file__) train = os.path.join(CURRENT_DIR, "../data/agaricus.txt.train") test = os.path.join(CU...
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"...
26e7508f5cdb3d12
java
155
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
866733764c394842
python
270
Default Light+
"""No longer used and new code should not use. Exists only for API compat.""" import platform import struct import sys import urllib.error import urllib.parse import urllib.request import zlib from ._utils import Popen, decode_base_n, preferredencoding from .traversal import traverse_obj from ..dependencies import cer...
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"...
1509ef23c5f8fd01
typescript
219
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import * as crypto from 'node:crypto'; import * as fs from 'node:fs'; import * as os from 'node:os'; import { spawnSync } from 'node:child_process'; import { coreEvents } from '../utils/events.js'; import { KeychainAvailabilityEven...
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" ...
f38f54f60a0226af
cpp
382
One Dark Pro
#include "models.h" #include "llama-memory-recurrent.h" // Causal Conv1d function for Q,K,V // When qkv is 0, it is Q, 1 is K, 2 is V static ggml_tensor * causal_conv1d(ggml_cgraph * gf, ggml_context * ctx0, ggml_tensor * conv_states_all, ggml_tensor * conv_state_all, int64_t qkv, ggml_tensor * x, ggml_tensor * proj_...
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...
3d5df4177f7a183b
java
56
Solarized Dark
/* * Copyright 2012 The Netty Project * * The Netty Project licenses this file to you under the Apache License, * version 2.0 (the "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at: * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless ...
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"...
3a39b30d01ae69f1
typescript
42
GitHub Dark
import { getCurrentInstance, reactive, shallowRef, watchEffect } from 'vue'; import type { Ref } from 'vue'; interface Params { excludeListeners?: boolean; excludeKeys?: string[]; excludeDefaultKeys?: boolean; } const DEFAULT_EXCLUDE_KEYS = ['class', 'style']; const LISTENER_PREFIX = /^on[A-Z]/; export functio...
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...
262e2fa2604f41b0
csharp
170
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.IO; using System.Linq; using System.Text.Json; using System.Text.Json.Nodes; using Amazon.BedrockRuntime.Model; using Amazon.Runtime.Documents; using Microsoft.SemanticKernel.ChatCompletion; namespace Microsoft.SemanticKe...
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...
66e6bf04b102fb82
java
48
Default Dark+
package org.schabi.newpipe.player.mediasession; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.support.v4.media.session.PlaybackStateCompat; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import com.google.android.exoplayer2.Player; 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"...
5b0e63d25b67d1bb
typescript
65
Solarized Light
import { NextResponse, type NextRequest } from "next/server" import { track } from "@vercel/analytics/server" import { encodePreset, isPresetCode } from "shadcn/preset" import { registryItemSchema } from "shadcn/schema" import { buildRegistryBase } from "@/registry/config" import { parseDesignSystemConfig } from "@/ap...
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...
f907438ff4ba5ba2
csharp
125
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...
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"...
49151221c0b03b42
python
75
Solarized Light
""" Return an image of 16 generations of one-dimensional cellular automata based on a given ruleset number https://mathworld.wolfram.com/ElementaryCellularAutomaton.html """ from __future__ import annotations from PIL import Image # Define the first generation of cells # fmt: off CELLS = [[0, 0, 0, 0, 0, 0, 0, 0, 0,...
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...
3045a4982d9f46a7
rust
85
Solarized Light
use log::{debug, warn}; use winit::raw_window_handle::RawDisplayHandle; use alacritty_terminal::term::ClipboardType; #[cfg(any(feature = "x11", target_os = "macos", windows))] use copypasta::ClipboardContext; use copypasta::ClipboardProvider; use copypasta::nop_clipboard::NopClipboardContext; #[cfg(all(feature = "way...
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.", ...
46676115f033656e
rust
57
Default Dark+
#![allow(clippy::too_many_arguments)] use super::ProximityCondition; use crate::proximity::MAX_DISTANCE; use crate::search::new::interner::{DedupInterner, Interned}; use crate::search::new::query_term::LocatedQueryTermSubset; use crate::search::new::SearchContext; use crate::Result; pub fn build_edges( _ctx: &mut...
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"...
08eb236e094b9fd2
cpp
338
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: fullyconnected.cpp // Description: Simple feed-forward layer with various non-linearities. // Author: Ray Smith // // (C) Copyright 2014, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
4e824a637ea71937
csharp
91
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...