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
21bc76fbf4bf3700
typescript
34
Default Dark+
import type { BadgeIcon } from './resumeBadgeConstants'; type Props = Readonly<{ description: string; icon: BadgeIcon; title: string; }>; export default function ResumeUserBadge({ description, icon: Icon, title, }: Props) { return ( <div className="group relative flex items-center justify-center"> ...
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...
800a96a81ea7d239
typescript
200
One Dark Pro
import { UseGuards } from '@nestjs/common'; import { Resolver, Mutation, Args, Subscription, ID } from '@nestjs/graphql'; import { SkipThrottle } from '@nestjs/throttler'; import { GqlAuthGuard } from 'src/guards/gql-auth.guard'; import { GqlThrottlerGuard } from 'src/guards/gql-throttler.guard'; import { PubSubService...
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" ...
e45612cc7655da6d
cpp
338
Solarized Light
#include "RemoteTable.h" #include "StringUtil.h" #include "Bridge.h" #include <QMessageBox> #include <QTimer> #include <QPushButton> #include <QVBoxLayout> #include <QHBoxLayout> #include <QFrame> #include <QProgressBar> #include <QLabel> #include <QTextBrowser> RemoteTable::RemoteTable(QWidget* parent) : Abstrac...
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.", ...
4442598269bbb48b
csharp
99
Default Light+
// Copyright (c) 2018 Siegfried Pammer // // 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, // publ...
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...
c7624bf1b4787909
typescript
27
Solarized Light
import { cn } from "@/examples/radix/lib/utils" function Kbd({ className, ...props }: React.ComponentProps<"kbd">) { return ( <kbd data-slot="kbd" className={cn( "pointer-events-none inline-flex h-5 w-fit min-w-5 items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs fon...
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...
b31f20b6b52edc98
rust
123
One Dark Pro
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 mod dist_regs; mod icc_regs; pub mod its_regs; mod redist_regs; use its_regs::{ItsRegisterState, its_save_tables}; use kvm_ioctls::DeviceFd; use crate::arch::aarch64::gic::GicError; use crate::arch::aarc...
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...
26486f44b8da5109
typescript
86
Solarized Light
import { config } from "../../config"; import { SearchResult, SearchV2Response, SearchResultType, } from "../../lib/entities"; import * as Sentry from "@sentry/node"; import { logger } from "../../lib/logger"; import { executeWithRetry, attemptRequest } from "../../lib/retry-utils"; const useFireEngine = confi...
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...
683239bc3c7e229c
java
117
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...
5f7733aa21448297
csharp
78
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
dbe11afa7833093a
typescript
96
One Dark Pro
import { defineConfig } from 'vite'; import vue from '@vitejs/plugin-vue'; import { FileSystemIconLoader } from 'unplugin-icons/loaders'; import Icons from 'unplugin-icons/vite'; import Unfonts from 'unplugin-fonts/vite'; import IconResolver from 'unplugin-icons/resolver'; import Components from 'unplugin-vue-component...
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...
58289cc5464e04e2
go
133
Default Light+
package zip import ( "io" stdpath "path" "strings" "github.com/alist-org/alist/v3/internal/archive/tool" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/stream" ) type Zip struct { } func (Zip) AcceptedExtensions() []string ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
0552f3759cab18c0
typescript
132
Solarized Light
import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Button } from "@/examples/radix/ui/button" import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon, } from "lucide-react" function Pagination({ className, ...props }: React.ComponentProps<"nav">) { return ( <nav ...
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...
fcd9d498fb3cb8bd
csharp
46
Monokai
namespace winPEAS._3rdParty.BouncyCastle.asn1 { /** * class for breaking up an Oid into it's component tokens, ala * java.util.StringTokenizer. We need this class as some of the * lightweight Java environment don't support classes like * StringTokenizer. */ public class OidTokenizer ...
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...
34338517f7c1cdf5
typescript
267
Solarized Light
import * as undici from "undici"; import { config } from "../../config"; import { JSDOM } from "jsdom"; import { SearchV2Response, WebSearchResult } from "../../lib/entities"; import { logger } from "../../lib/logger"; import { getSecureDispatcher } from "../../scraper/scrapeURL/engines/utils/safeFetch"; class DDGAnti...
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.", ...
bf52f12e50ceb8d4
java
54
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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" ...
c8e7824fd650c1d8
python
245
Default Light+
import json import urllib.parse from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, filter_dict, float_or_none, join_nonempty, mimetype2ext, parse_iso8601, unsmuggle_url, update_url_query, url_or_none, ) from ..utils....
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.", ...
41c9d85070b54429
java
31
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" ...
743d84f49c186703
cpp
86
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: ccnontextdetect.h // Description: Connected-Component-based non-text detection. // Copyright 2011 Google Inc. All Rights Reserved. // Author: rays@google.com (Ray Smith) // Created: Sat Jun 11 09:52:01 PST 2011 // // Licensed un...
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" ...
1028eeed361f0691
cpp
124
Default Light+
#include "models.h" template <bool iswa> llm_build_exaone4<iswa>::llm_build_exaone4(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_k; GGML_ASSERT(n_embd_head == hparams.n_embd_head_v); GGML_ASSERT(n_embd_head =...
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...
c6a1dc2598c0dfe5
typescript
82
Default Light+
import { useQuery, useMutation, useQueryClient } from "@tanstack/react-query"; import { Settings } from "@/gotypes"; import { getSettings, updateSettings } from "@/api"; import { useMemo, useCallback } from "react"; // TODO(hoyyeva): remove turboEnabled when we remove Migration logic in useSelectedModel.ts interface S...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
eaa861e6e1e73e88
typescript
297
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, type Mocked, type Mock, } from 'vitest'; import { GeminiAgent } from './acpClient.js'; import * as acp from '@agentclientprotocol/sdk'; import { ApprovalMode, AuthTyp...
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...
8d8e5619ac289958
python
65
Default Light+
from .common import InfoExtractor from ..utils import determine_ext class ElonetIE(InfoExtractor): _VALID_URL = r'https?://elonet\.finna\.fi/Record/kavi\.elonet_elokuva_(?P<id>[0-9]+)' _TESTS = [{ 'url': 'https://elonet.finna.fi/Record/kavi.elonet_elokuva_107867', 'info_dict': { 'i...
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.", ...
345302bf18389225
python
44
Default Light+
from .jixie import JixieBaseIE class MoviewPlayIE(JixieBaseIE): _VALID_URL = r'https?://www\.moview\.id/play/\d+/(?P<id>[\w-]+)' _TESTS = [ { # drm hls, only use direct link 'url': 'https://www.moview.id/play/174/Candy-Monster', 'info_dict': { 'id': ...
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...
4480f0f7e16351a1
csharp
177
Monokai
 // Copyright (c) Microsoft. All rights reserved. using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.HuggingFace.Core; /// <summary> /// HuggingFace text generation request object. /// </summary> internal sealed class TextGenerationRequest { /// <summary> /// The input strin...
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...
bc2f7c7ab3821b2b
cpp
60
Solarized Light
#ifndef _PATTERNFIND_H #define _PATTERNFIND_H #include <vector> #include <string> struct PatternByte { struct PatternNibble { unsigned char data; bool wildcard; } nibble[2]; }; //returns: offset to data when found, -1 when not found size_t patternfind( const unsigned char* data, //dat...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
e448a4133794f98f
java
66
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
8033d3af46a4c5e2
python
40
Default Light+
from .common import InfoExtractor from ..utils import int_or_none class LiveJournalIE(InfoExtractor): _WORKING = False _VALID_URL = r'https?://(?:[^.]+\.)?livejournal\.com/video/album/\d+.+?\bid=(?P<id>\d+)' _TEST = { 'url': 'https://andrei-bt.livejournal.com/video/album/407/?mode=view&id=51272', ...
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...
ec369e8f3edf190a
typescript
179
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Config } from '../../config/config.js'; import type { SecurityPolicy } from './types.js'; import { getResponseText } from '../../utils/partUtils.js'; import { safeTemplateReplace } from '../../utils/textUtils.js'; imp...
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"...
c2f5c47ba921b0a3
rust
241
Default Dark+
use std::collections::{BinaryHeap, HashMap}; use once_cell::sync::Lazy; use regex::Regex; use serde_json::{json, Value}; use crate::aggregate_methods; use crate::analytics::{Aggregate, AggregateMethod}; use crate::search::{SimilarQuery, SimilarResult}; aggregate_methods!( SimilarPOST => "Similar POST", Simil...
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"...
abc50c90f231840c
typescript
67
One Dark Pro
import { z } from "zod" import { defineVersion } from "verzod" import { HoppRESTAuthBasic, HoppRESTAuthBearer, HoppRESTAuthInherit, HoppRESTAuthNone, } from "./1" import { HoppRESTAuthAPIKey, V4_SCHEMA } from "./4" import { AuthCodeGrantTypeParams as AuthCodeGrantTypeParamsOld, ClientCredentialsGrantTypePar...
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...
09ef39e0cfae560d
java
122
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...
39294a9d58bbde98
go
79
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
735e2b093436bace
typescript
242
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui-rtl/button" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, Dropdo...
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" ...
1234994e81e54dd8
java
48
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"...
a385f16f4eea6aa5
cpp
54
Dracula
/** * Copyright 2019-2026, XGBoost Contributors */ #include "array_interface.h" #include "../common/error_msg.h" // for Unreachable #if !defined(XGBOOST_USE_CUDA) #include "../common/common.h" // for AssertGPUSupport #endif // !defined(XGBOOST_USE_CUDA) namespace xgboost { std::string ArrayInterfaceHandler::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"...
5d932fc8fe5112f7
csharp
478
Monokai
using System; using System.Collections.Generic; using System.Runtime.InteropServices; using System.Security.Principal; using winPEAS.Helpers; using winPEAS.Helpers.Extensions; using winPEAS.Info.UserInfo; using winPEAS.Info.UserInfo.LogonSessions; using winPEAS.Info.UserInfo.Tenant; using winPEAS.Info.UserInfo.Token; ...
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.", ...
377c67672a5064ce
go
122
Default Dark+
// Copyright 2020 Gin Core Team. All rights reserved. // Use of this source code is governed by a MIT style // license that can be found in the LICENSE file. //go:build nomsgpack package binding import "net/http" // Content-Type MIME of the most common data formats. const ( MIMEJSON = "application/jso...
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...
7b459703e9d4b8a3
java
49
Default Light+
package com.thealgorithms.strings; /** * This class provides a method to arrange two strings by alternating their characters. * If one string is longer, the remaining characters of the longer string are appended at the end. * <p> * Example: * Input: "abc", "12345" * Output: "a1b2c345" * <p> * Input: "abcd", "1...
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...
b1dfbb016ea45701
rust
388
Dracula
use super::{BLOCK_SIZE, LDAP_EPOCH_DELTA}; use crate::{ platform::unix::{ FLAGS_FD_ATTRIBUTES, FLAGS_FD_LAST_WRITE, FLAGS_FD_PROGRESSUI, FLAGS_FD_SIZE, FLAGS_FD_UNIX_MODE, }, CliprdrError, }; use hbb_common::{ bytes::{BufMut, BytesMut}, log, }; use std::{ collections::HashSet, ...
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.", ...
b8ed906e33c89388
javascript
25
Default Dark+
const pkg = require("../package.json"); const fs = require("fs"); const util = require("../src/util"); const dayjs = require("dayjs"); util.polyfill(); const oldVersion = pkg.version; const newVersion = oldVersion + "-nightly-" + dayjs().format("YYYYMMDDHHmmss"); console.log("Old Version: " + oldVersion); console.lo...
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...
e057ef55b3256dd7
java
97
GitHub Dark
package org.jeecg.common.util; import java.net.InetAddress; /** * * @Author 张代浩 * */ public class UUIDGenerator { /** * 产生一个32位的UUID * * @return */ public static String generate() { return new StringBuilder(32).append(format(getIp())).append( format(getJvm())).append(format(getHiTime())).a...
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" ...
4a7659c7d480edd9
rust
111
Solarized Dark
/// Creates a module with the current Open Policy Agent version use super::{Context, Module, ModuleConfig}; use crate::configs::opa::OpaConfig; use crate::formatter::StringFormatter; use crate::formatter::VersionFormatter; use crate::utils::get_command_string_output; /// Creates a module with the current Open Policy ...
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...
9a8e4b885b456b63
cpp
38
Solarized Light
#include "StdTableSearchList.h" #include "StdIconTable.h" void StdTableSearchList::filter(const QString & filter, FilterType type, duint startColumn) { StdIconTable* mSearchIconList = qobject_cast<StdIconTable*>(mSearchList); StdIconTable* mIconList = qobject_cast<StdIconTable*>(mList); auto rows = mList-...
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" ...
a19fc57e9b247e52
python
265
Dracula
""" Experimental support for external memory ======================================== This is similar to the one in `quantile_data_iterator.py`, but for external memory instead of Quantile DMatrix. The feature is not ready for production use yet. .. versionadded:: 1.5.0 See :doc:`the tutorial </tutorials/exter...
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...
8a00699aa819298c
python
161
Monokai
import torch from comfy.text_encoders.bert import BertAttention import comfy.model_management from comfy.ldm.modules.attention import optimized_attention_for_device class Dino2AttentionOutput(torch.nn.Module): def __init__(self, input_dim, output_dim, layer_norm_eps, dtype, device, operations): super().__...
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"...
0ffd73033d4330a4
java
48
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.", ...
2b71b26c56c026f8
javascript
89
Dracula
#!/usr/bin/env node /** * InsAIts Security Monitor — wrapper for run-with-flags compatibility. * * This thin wrapper receives stdin from the hooks infrastructure and * delegates to the Python-based insaits-security-monitor.py script. * * The wrapper exists because run-with-flags.js spawns child scripts * via `no...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
c73f49930ba86fcf
javascript
68
Monokai
import {Scale, LinearScale} from 'chart.js'; export default class Log2Axis extends Scale { constructor(cfg) { super(cfg); this._startValue = undefined; this._valueRange = 0; } parse(raw, index) { const value = LinearScale.prototype.parse.apply(this, [raw, index]); return isFinite(value) && v...
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"...
55fdafb018cf22c9
python
193
Default Light+
import re import urllib.parse import uuid from .common import InfoExtractor from ..utils import ( ExtractorError, float_or_none, int_or_none, try_get, url_or_none, ) class PlutoTVIE(InfoExtractor): _WORKING = False _VALID_URL = r'''(?x) https?://(?:www\.)?pluto\.tv(?:/[^/]+)?/on-d...
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" ...
fc27df7d5abd6b83
csharp
285
Monokai
namespace winPEAS._3rdParty.SQLite.src { public partial class CSSQLite { /***** This file contains automatically generated code ****** ** ** The code in this file has been automatically generated by ** ** $Header$ ** *******************************************************************...
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"...
7473e5901ac99826
typescript
271
GitHub Dark
import type { AxiosRequestConfig, AxiosInstance, AxiosResponse, AxiosError } from 'axios'; import type { RequestOptions, Result, UploadFileParams, UploadFileCallBack } from '/#/axios'; import type { CreateAxiosOptions } from './axiosTransform'; import axios from 'axios'; import qs from 'qs'; import { AxiosCanceler } fr...
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" ...
6aafa715dfd13751
javascript
73
GitHub Dark
import axios from 'axios'; function enhanceNetworkError(error) { // when Offline (no internet) if (typeof navigator !== 'undefined' && !navigator.onLine) { error.code = 'ERR_NO_INTERNET'; error.detailedMessage = 'No internet connection detected. Please check your connection and try again.'; } //...
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...
b6462a9f98866e91
typescript
389
One Dark Pro
import * as E from "fp-ts/Either" import { Store } from "@tauri-apps/plugin-store" import { VersionedAPI } from "@type/versioning" import { StoreV1, StoreError, StoreEvents, StorageOptions, StoredData, StoredDataSchema, StoreEventEmitter, } from "@store/v/1" type NamespacedData = Record<string, Record<...
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...
0a8b0fd132533397
rust
429
GitHub Dark
//! Support Vector Classifier (SVC) //! //! This module implements a Support Vector Machine classifier with support for //! linear and RBF (Radial Basis Function) kernels. It uses the dual formulation //! of the SVM optimization problem. //! //! # Example //! ``` //! use ndarray::array; //! use the_algorithms_rust::mac...
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...
e6f3da6dd667a3d0
java
49
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
431c33aef1a3221e
cpp
493
Solarized Light
#include "CommonActions.h" #include "MenuBuilder.h" #include <QAction> #include <QMessageBox> #include <QFile> #include "StringUtil.h" #include "MiscUtil.h" #include "Breakpoints.h" #include "LineEditDialog.h" #include "WordEditDialog.h" #include "GotoDialog.h" #include "DisplayTypeDialog.h" CommonActions::CommonActio...
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...
73c814c7f5b4a444
python
65
Monokai
# Copyright (c) Microsoft. All rights reserved. from abc import ABC from typing import TYPE_CHECKING, Annotated, Any from pydantic.types import StringConstraints from semantic_kernel.kernel_pydantic import KernelBaseModel if TYPE_CHECKING: from semantic_kernel.connectors.ai.prompt_execution_settings import Prom...
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"...
a05f57f09ca3cca1
typescript
136
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { Theme, type ColorsTheme } from '../theme.js'; import type { SemanticColors } from '../semantic-tokens.js'; const noColorColorsTheme: ColorsTheme = { type: 'ansi', Background: '', Foreground: '', LightBlue: '', 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.", ...
2cdc097b8b022572
cpp
75
One Dark Pro
/********************************************************************** * File: edgblob.h (Formerly edgeloop.h) * Description: Functions to clean up an outline before approximation. * Author: Ray Smith * * (C) Copyright 1991, Hewlett-Packard Ltd. ** Licensed under the Apache License, Version 2.0 (the...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
6604731e1a8e2f64
csharp
43
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel.DataAnnotations; namespace ChatWithAgent.Configuration; /// <summary> /// Azure OpenAI chat configuration. /// </summary> public sealed class AzureOpenAIChatConfig { /// <summary> /// Configuration section name. /// </summary> ...
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...
c6aa2080522d4017
javascript
68
Dracula
import LinkedList from '../linked-list/LinkedList'; export default class Stack { constructor() { // We're going to implement Stack based on LinkedList since these // structures are quite similar. Compare push/pop operations of the Stack // with prepend/deleteHead operations of LinkedList. this.linked...
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...
c9aeaf03e07248d0
cpp
20
One Dark Pro
#ifndef GGML_ZDNN_UTILITIES_HPP #define GGML_ZDNN_UTILITIES_HPP #include "common.hpp" zdnn_data_types ggml_zdnn_type_mapping(ggml_type type); void ggml_zdnn_create_tensor(zdnn_tensor_desc & pre_tfm_desc, zdnn_tensor_desc & tfm_desc, zdnn_ztensor & ztensor...
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...
13a9a96a7a2266b7
go
270
Solarized Light
package mysql import ( "context" "fmt" "strings" "github.com/pkg/errors" "google.golang.org/protobuf/encoding/protojson" "github.com/usememos/memos/plugin/filter" storepb "github.com/usememos/memos/proto/gen/store" "github.com/usememos/memos/store" ) func (d *DB) CreateMemo(ctx context.Context, create *stor...
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" ...
c212c45933304dfb
java
34
Default Light+
package com.thealgorithms.bitmanipulation; /** * This class provides a method to find the first differing bit * between two integers. * * Example: * x = 10 (1010 in binary) * y = 12 (1100 in binary) * The first differing bit is at index 1 (0-based) * So, the output will be 1 * * @author Hardvan */ publi...
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" ...
069627a6a8b3be20
csharp
334
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.UnitTests.AI.FunctionChoiceBehaviors; public class FunctionChoiceBehaviorDeserializationTests { private readonly Kernel _kernel; public FunctionChoiceBehaviorDeseri...
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"...
60591fb35ca078a8
cpp
32
Solarized Light
#ifndef TREE_SITTER_TREE_H_ #define TREE_SITTER_TREE_H_ #include "./subtree.h" #ifdef __cplusplus extern "C" { #endif typedef struct { const Subtree *child; const Subtree *parent; Length position; TSSymbol alias_symbol; } ParentCacheEntry; struct TSTree { Subtree root; const TSLanguage *language; TSRa...
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...
0d7158b671726655
typescript
38
Solarized Light
"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { NavigationMenu, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, } from "@/registry/new-york-v4/ui/navigation-menu" export function NavHeader() { const pathname = usePathname() return ( <Navig...
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"...
00e644a9d7011085
csharp
111
Default Light+
/* Copyright (c) 2015 Ki 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, distribute, sublice...
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...
b87bc406db9310d4
java
39
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" ...
f0afc36127be6744
typescript
81
Solarized Light
import { cn } from "@/registry/new-york-v4/lib/utils" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { Field, FieldDescription, FieldGroup, FieldLabel, } from "@/registry/new-y...
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" ...
302f2ff05e794ce9
rust
131
Default Dark+
mod datasets_paths; mod utils; use criterion::{criterion_group, criterion_main}; use milli::update::Settings; use utils::Conf; #[cfg(not(windows))] #[global_allocator] static ALLOC: mimalloc::MiMalloc = mimalloc::MiMalloc; fn base_conf(builder: &mut Settings) { let displayed_fields = ["title", "body", "url"].ite...
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...
3da19bddcd401d4a
typescript
120
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, vi, afterEach } from 'vitest'; import { useState } from 'react'; import { renderHook } from '../../test-utils/render.js'; import { waitFor } from '../../test-utils/async.js'; import { useA...
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.", ...
9995564bbf8fbdb8
java
32
GitHub Dark
package org.jeecg.config; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.http.client.ClientHttpRequestFactory; import org.springframework.http.client.SimpleClientHttpRequestFactory; import org.springframework.web.client.RestTe...
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" ...
b12aafc519b02fd7
rust
72
Default Dark+
use std::path::Path; use http_client::reqwest::Body; use tokio::fs::File; use tokio_util::codec::{BytesCodec, FramedRead}; use crate::error::OpenAIError; use crate::types::InputSource; pub(crate) async fn file_stream_body(source: InputSource) -> Result<Body, OpenAIError> { let body = match source { Input...
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...
dd32227ce9ff5b3e
python
212
Default Light+
import base64 from .common import InfoExtractor from ..utils import ( ExtractorError, clean_html, int_or_none, str_or_none, try_get, url_or_none, urlencode_postdata, urljoin, ) class PlatziBaseIE(InfoExtractor): _LOGIN_URL = 'https://platzi.com/login/' _NETRC_MACHINE = 'platzi...
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...
5a3ce8cabadb54fe
csharp
37
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.", ...
05af256f1d7af805
csharp
50
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.Google; /// <summary> /// GeminiThinkingConfig class /// </summary> public class GeminiThinkingConfig { /// <summary>The thinking budget parameter gives the model guidance on how ...
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...
27c0e3585becd014
python
49
Default Light+
from .mtv import MTVServicesBaseIE class NickIE(MTVServicesBaseIE): IE_NAME = 'nick.com' _VALID_URL = r'https?://(?:www\.)?nick\.com/(?:video-clips|episodes)/(?P<id>[\da-z]{6})' _TESTS = [{ 'url': 'https://www.nick.com/episodes/u3smw8/wylde-pak-best-summer-ever-season-1-ep-1', 'info_dict':...
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...
bb319b87768ea46f
typescript
93
Solarized Light
"use client" import * as React from "react" import { OTPInput, OTPInputContext } from "input-otp" import { cn } from "@/registry/bases/radix/lib/utils" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" function InputOTP({ className, containerClassName, ...props }: React.ComponentProp...
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...
03d0ece9b2b2e546
python
43
Solarized Light
def vernam_encrypt(plaintext: str, key: str) -> str: """ >>> vernam_encrypt("HELLO","KEY") 'RIJVS' """ ciphertext = "" for i in range(len(plaintext)): ct = ord(key[i % len(key)]) - 65 + ord(plaintext[i]) - 65 while ct > 25: ct = ct - 26 ciphertext += chr(65 + ...
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...
093c2870bf1136cc
java
93
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.", ...
263ffcbe20248de5
csharp
222
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using System.Net.Http; using System.Text; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.HuggingFace; using Microsoft.SemanticKernel.ImageToText; using Xunit; namespace SemanticK...
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...
36d094eb83300883
python
39
Default Light+
import html import gradio as gr import modules.hypernetworks.hypernetwork from modules import devices, sd_hijack, shared not_available = ["hardswish", "multiheadattention"] keys = [x for x in modules.hypernetworks.hypernetwork.HypernetworkModule.activation_dict if x not in not_available] def create_hypernetwork(nam...
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"...
818d3d29cefa91ee
typescript
80
GitHub Dark
import type { AppRouteModule } from '/@/router/types'; import { getParentLayout, LAYOUT } from '/@/router/constant'; import { t } from '/@/hooks/web/useI18n'; const charts: AppRouteModule = { path: '/charts', name: 'Charts', component: LAYOUT, redirect: '/charts/echarts/map', meta: { orderNo: 500, i...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
bcdc0445278605bb
typescript
117
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { createDefaultPolicy, getModelPolicyChain, validateModelPolicyChain, } from './policyCatalog.js'; import { DEFAULT_GEMINI_MODEL, PREVIEW_GEMINI_3_1_CUSTOM_TOOLS_MODEL...
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...
5cdc28157bedd227
csharp
103
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 ...
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...
9311b1cc15f9435d
java
185
Default Light+
package com.thealgorithms.datastructures.graphs; import java.util.Scanner; class BellmanFord /* * Implementation of Bellman ford to detect negative cycles. Graph accepts * inputs * in form of edges which have start vertex, end vertex and weights. Vertices ...
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...
21b522cf5113df4f
python
59
Solarized Light
""" Base85 (Ascii85) encoding and decoding https://en.wikipedia.org/wiki/Ascii85 """ def _base10_to_85(d: int) -> str: return "".join(chr(d % 85 + 33)) + _base10_to_85(d // 85) if d > 0 else "" def _base85_to_10(digits: list) -> int: return sum(char * 85**i for i, char in enumerate(reversed(digits))) def...
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"...
d4d613badbe01d67
cpp
46
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #include <spdlog/details/circular_q.h> #include <spdlog/details/log_msg_buffer.h> #include <atomic> #include <functional> #include <mutex> // Store log messages in ...
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.", ...
f68904554bdaa968
typescript
322
One Dark Pro
import styles from "./sd-panel.module.scss"; import React from "react"; import { Select } from "@/app/components/ui-lib"; import { IconButton } from "@/app/components/button"; import Locale from "@/app/locales"; import { useSdStore } from "@/app/store/sd"; import clsx from "clsx"; export const params = [ { name:...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
a7a4a0313c4f14ab
typescript
155
GitHub Dark
import type { UseModalReturnType, ModalMethods, ModalProps, ReturnMethods, UseModalInnerReturnType } from '../typing'; import { ref, onUnmounted, unref, getCurrentInstance, reactive, watchEffect, nextTick, toRaw } from 'vue'; import { isProdMode } from '/@/utils/env'; import { isFunction } from '/@/utils/is'; import { ...
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...
5692ccaf80b7f6f2
python
95
Solarized Light
""" Implementation of finding nth fibonacci number using matrix exponentiation. Time Complexity is about O(log(n)*8), where 8 is the complexity of matrix multiplication of size 2 by 2. And on the other hand complexity of bruteforce solution is O(n). As we know f[n] = f[n-1] + f[n-1] Converting to matrix, [f(n),...
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...
bb311bd92bda35de
csharp
243
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
3b7516f3756e5c25
csharp
60
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.Extensions.Configuration; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Hosting; using Microsoft.SemanticKernel; internal static class Program { internal static async Task Main(string[] args) { var builder =...
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.", ...
ecc66d71f189919f
rust
67
One Dark Pro
// Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 #![doc(hidden)] #[cfg(test)] use crate::devices::virtio::balloon::Balloon; #[cfg(test)] use crate::devices::virtio::device::VirtioDevice; use crate::devices::virtio::test_utils::VirtQueue; #[cfg(test)] /...
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...
486a0fd57d2ad16e
typescript
27
Solarized Light
import { Document } from "../../../controllers/v1/types"; /** Flatten newlines and strip control characters from a metadata value. */ function sanitizeMetadataValue(value: string, maxLen: number): string { return value .replace(/[\r\n]+/g, " ") .replace(/[\x00-\x1f\x7f]/g, "") .trim() .slice(0, maxLe...
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...
bceff0899076e9ae
java
87
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
88d53e471d41d39c
javascript
26
Solarized Light
module.exports = async ({ github, context, core }) => { if (context.eventName !== 'pull_request') return; const prNumber = context.payload.pull_request.number; const owner = context.repo.owner; const repo = context.repo.repo; const { data: files } = await github.rest.pulls.listFiles({ owner, repo, ...
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...
0d276481f265cb96
python
27
Solarized Light
def multiplication_table(number: int, number_of_terms: int) -> str: """ Prints the multiplication table of a given number till the given number of terms >>> print(multiplication_table(3, 5)) 3 * 1 = 3 3 * 2 = 6 3 * 3 = 9 3 * 4 = 12 3 * 5 = 15 >>> print(multiplication_table(-4, 6)) ...
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...
6328cffaf09142d0
java
111
GitHub Dark
package org.jeecg.modules.system.mapper; import java.util.List; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import org.apache.ibatis.annotations.Param; import org.apache.ibatis.annotations.Select; import org.jeecg.modules.system.entity.SysUser...
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.", ...