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
3dc8c7d129feca9f
python
390
Dracula
import json from typing import Annotated, Any from annotated_doc import Doc from fastapi.encoders import jsonable_encoder from starlette.responses import HTMLResponse def _html_safe_json(value: Any) -> str: """Serialize a value to JSON with HTML special characters escaped. This prevents injection when the J...
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"...
6997cb3398c13472
python
40
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from samples.concepts.setup.text_completion_services import Services, get_text_completion_service_and_request_settings """ This sample shows how to perform text completion. This sample uses the following component: - an text completion service: This comp...
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...
506b9504a9244165
python
24
Solarized Light
""" https://en.wikipedia.org/wiki/N-gram """ def create_ngram(sentence: str, ngram_size: int) -> list[str]: """ Create ngrams from a sentence >>> create_ngram("I am a sentence", 2) ['I ', ' a', 'am', 'm ', ' a', 'a ', ' s', 'se', 'en', 'nt', 'te', 'en', 'nc', 'ce'] >>> create_ngram("I am an NLPer...
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.", ...
b64d68d7e8422996
cpp
48
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2012 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
c3a929ebb058c020
csharp
140
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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.", ...
7730977a47a65d44
csharp
301
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
5bd28b0979c0a5fd
typescript
441
Dracula
import path from 'node:path' import type { TransformOptions as OxcTransformOptions, TransformResult as OxcTransformResult, } from 'rolldown/utils' import { transformSync } from 'rolldown/utils' import { viteTransformPlugin as nativeTransformPlugin } from 'rolldown/experimental' import type { RolldownError, Rolldown...
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...
96c5fede4a355769
csharp
48
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 ...
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...
834ad83c917ab3e1
java
32
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...
530307603726f4e4
csharp
63
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 ...
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...
c435685782c3c627
java
37
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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.", ...
b4b56e15eec4585c
csharp
215
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; namespace Microsoft.SemanticKernel.TemplateEngine; /// <summary> /// Simple tokenizer used for default SK template language. /// /// BNF parsed by 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.", ...
e3e54601f43086e3
java
83
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
38373e045507a37a
typescript
23
Default Light+
import type { UIAppState } from "@excalidraw/excalidraw/types"; import { getSelectedElements } from "./selection"; import type { NonDeletedExcalidrawElement } from "./types"; export const showSelectedShapeActions = ( appState: UIAppState, elements: readonly NonDeletedExcalidrawElement[], ) => Boolean( !app...
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...
aa9d8a68f709d1be
typescript
51
Solarized Light
"use client" import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" import { ChartContainer, ChartTooltip, ChartTooltipContent, type ChartConfig, } from "@/registry/new-york-v4/ui/chart" const chartData = [ { month: "January", desktop: 186, mobile: 80 }, { month: "February", desktop: 305, mobile:...
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...
44cfc7fbf39fed81
csharp
188
One Dark Pro
namespace ShareX { partial class AIForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </summary> /// <param 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...
db937d76de9d8e22
typescript
84
GitHub Dark
import type { App } from 'vue'; // 引入 vxe-table import 'xe-utils'; import VxeUIAll from 'vxe-pc-ui'; import VXETable /*Grid*/ from 'vxe-table'; import VXETablePluginAntd from 'vxe-table-plugin-antd'; import 'vxe-pc-ui/lib/style.css'; import 'vxe-table/lib/style.css'; import JVxeTable from './JVxeTable'; import { getEv...
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" ...
31ee34c76f64f9aa
csharp
172
Dracula
namespace ServiceLib.Services; /// <summary> /// http://stackoverflow.com/questions/6266820/working-example-of-createjobobject-setinformationjobobject-pinvoke-in-net /// </summary> public sealed class WindowsJobService : IDisposable { private nint handle = nint.Zero; public WindowsJobService() { h...
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.", ...
145cde24734c8bb5
python
25
Dracula
from fastapi import FastAPI from fastapi.middleware.cors import CORSMiddleware app = FastAPI() origins = [ "http://localhost.tiangolo.com", "https://localhost.tiangolo.com", "http://localhost", "http://localhost:8080", ] app.add_middleware( CORSMiddleware, allow_origins=origins, allow_cre...
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...
8402cd287c4afdae
cpp
153
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...
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...
87c53c377ff03928
java
62
Default Light+
package com.thealgorithms.datastructures.queues; import java.util.concurrent.TimeUnit; /** * TokenBucket implements a token bucket rate limiter algorithm. * This class is used to control the rate of requests in a distributed system. * It allows a certain number of requests (tokens) to be processed in a time frame,...
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...
c42663d89089dbd4
csharp
38
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using StackExchange.Redis; namespace Microsoft.SemanticKernel.Connectors.Redis; /// <summary> /// Represents a collection of vector store records in a Redis JSON database, mapped 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" ...
4298029d9e63c834
java
34
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...
3fe759e0611bf548
rust
51
Dracula
#![allow(dead_code)] pub const ERR_SUCCESS: i32 = 0; // ====================================================== // Errors from the plugins, must be handled by RustDesk pub const ERR_RUSTDESK_HANDLE_BASE: i32 = 10000; // not loaded pub const ERR_PLUGIN_LOAD: i32 = 10001; // not initialized pub const ERR_PLUGIN_MSG_IN...
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" ...
187e171033dd81b6
rust
160
GitHub Dark
//! This module implements Kruskal's algorithm to find the Minimum Spanning Tree (MST) //! of an undirected, weighted graph using a Disjoint Set Union (DSU) for cycle detection. use crate::graph::DisjointSetUnion; /// Represents an edge in the graph with a source, destination, and associated cost. #[derive(Debug, Par...
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"...
5773d90e97b99b4f
java
107
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"...
82d6919496962a74
cpp
95
Solarized Light
#pragma once #include <stddef.h> #include <stdbool.h> #include <stdint.h> typedef enum { LogLevelDebug = 0, LogLevelInfo = 1, LogLevelWarning = 2, LogLevelError = 3, } LogLevel; typedef struct { const char* file; uint32_t line; uint32_t column; size_t length; } SourceLocation; typede...
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...
5bd5462d81acc77f
cpp
196
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2011 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
a443e8e0b4968809
java
34
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
666e9dcb3eb88480
java
42
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" ...
c1a7552193feeaf2
typescript
142
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach } from 'vitest'; import { HookSystem } from './hookSystem.js'; import { Config } from '../config/config.js'; import { HookType, HookEventName, ConfigSource } from './types.js'; 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...
9280ab18b302f72f
java
64
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...
d0efd258edc0aa21
rust
428
GitHub Dark
//! This module contains the Smith-Waterman algorithm implementation for local sequence alignment. //! //! The Smith-Waterman algorithm is a dynamic programming algorithm used for determining //! similar regions between two sequences (nucleotide or protein sequences). It is particularly //! useful in bioinformatics for...
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" ...
d327b46f065c81a2
typescript
112
Dracula
// Inlined to avoid extra dependency // MIT Licensed https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/LICENSE // Type definitions for connect v3.4.0 // Project: https://github.com/senchalabs/connect // Definitions by: Maxime LUCE <https://github.com/SomaticIT> // Evan Hahn <https://github...
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...
9723da1b01c0a2cd
csharp
275
Default Light+
// // ComposedType.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (c) 2010 Novell, Inc (http://www.novell.com) // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Sof...
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...
61328e75eae27ae9
cpp
85
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: parallel.h // Description: Runs networks in parallel on the same input. // Author: Ray Smith // // (C) Copyright 2013, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file ...
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"...
3d8143529d17b057
go
69
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...
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...
d9f16760b204ee24
java
54
Monokai
package com.iluwatar.rate.limiting.pattern; import java.util.concurrent.*; import java.util.concurrent.atomic.AtomicInteger; /** * Implements a fixed window rate limiter. It allows up to 'limit' number of requests within a time * window of fixed size. */ public class FixedWindowRateLimiter implements RateLimiter {...
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" ...
28c455d4c62345d6
go
135
Default Light+
package thinking import ( "strings" "text/template" "text/template/parse" ) func templateVisit(n parse.Node, enterFn func(parse.Node) bool, exitFn func(parse.Node)) { if n == nil { return } shouldContinue := enterFn(n) if !shouldContinue { return } switch x := n.(type) { case *parse.ListNode: for _, c...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
1b7d853a52180cd9
go
223
Default Light+
package aliyundrive_open import ( "context" "encoding/base64" "errors" "fmt" "net/http" "strings" "time" "github.com/alist-org/alist/v3/drivers/base" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op" "github.com/alist-org/alist/v3/pkg/utils" "github.com/go-resty/re...
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...
e28ca58baccfbe1c
java
116
GitHub Dark
package org.jeecg.common.util; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import org.jeecg.common.constant.CommonConstant; import org.jeecg.common.constant.ServiceNameConstants; import org.springframework.beans.BeansException; import org.springframework.context.Ap...
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...
ecd31f9eb69bcd08
python
179
Monokai
from __future__ import annotations from abc import ABC, abstractmethod from typing import TYPE_CHECKING from comfy_api.internal import ComfyAPIBase from comfy_api.internal.singleton import ProxiedSingleton from comfy_api.internal.async_to_sync import create_sync_class from ._input import ImageInput, AudioInput, MaskIn...
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...
5ff2932e961f8b1b
typescript
445
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Config } from '../config/config.js'; import { HookRegistry, type HookRegistryEntry } from './hookRegistry.js'; import { HookRunner } from './hookRunner.js'; import { HookAggregator, type AggregatedHookResult } 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...
8f95295924a66504
csharp
79
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Plugins.Web.Tavily; /// <summary> /// Represents a search response. /// </summary> #pragma warning disable CA1812 // Instantiated by reflection in...
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"...
fa9a8843c672d3d6
csharp
68
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading.Tasks; using Microsoft.Extensions.AI; using Microsoft.Extensions.Configuration; using Microsoft.SemanticKernel; using SemanticKernel.IntegrationTests.TestSettings; using Xunit; namespace SemanticKernel.IntegrationTests.Connectors.OpenAI; public...
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...
f8ff33f5afa97da9
python
226
Default Light+
import json import os import re import logging from collections import defaultdict from modules import errors extra_network_registry = {} extra_network_aliases = {} def initialize(): extra_network_registry.clear() extra_network_aliases.clear() def register_extra_network(extra_network): extra_network_r...
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...
966e092ae49499b4
go
224
Default Light+
package conf import ( "path/filepath" "github.com/alist-org/alist/v3/cmd/flags" "github.com/alist-org/alist/v3/pkg/utils/random" ) type Database struct { Type string `json:"type" env:"TYPE"` Host string `json:"host" env:"HOST"` Port int `json:"port" env:"PORT"` User 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"...
af6bfea9fbf2c83c
typescript
128
GitHub Dark
import { getAllRoleList, isAccountExist } from '/@/api/demo/system'; import { BasicColumn } from '/@/components/Table'; import { FormSchema } from '/@/components/Table'; export const columns: BasicColumn[] = [ { title: '用户名', dataIndex: 'account', width: 120, }, { title: '昵称', dataIndex: 'nic...
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"...
85d80227416d9a4d
typescript
54
Solarized Light
import * as React from "react" import { ChevronDownIcon } from "lucide-react" import { cn } from "@/lib/utils" function NativeSelect({ className, size = "default", ...props }: Omit<React.ComponentProps<"select">, "size"> & { size?: "sm" | "default" }) { return ( <div className="group/native-select r...
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"...
35ac4137b40d41ae
csharp
95
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...
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"...
5234ed1898023f30
java
52
Default Light+
package com.thealgorithms.slidingwindow; /** * The Sliding Window algorithm is used to find the minimum sum of a subarray * of a fixed size k within a given array. * * <p> * Worst-case performance O(n) * Best-case performance O(n) * Average performance O(n) * Worst-case space complexity O(1) * * This class 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...
cd01a2048a3381cd
java
63
Default Light+
package com.thealgorithms.conversions; /** * Utility class for converting hexadecimal numbers to binary representation. * <p> * A hexadecimal number consists of digits from {@code [0-9]} and {@code [A-F]} (case-insensitive), * while binary representation uses only {@code [0, 1]}. * <p> * This class provides meth...
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...
76792f064d247f71
java
101
GitHub Dark
package org.jeecg.common.constant.enums; import org.jeecg.common.util.oConvertUtils; /** * 系统公告自定义跳转方式 * @author: jeecg-boot */ public enum SysAnnmentTypeEnum { /** * 邮件跳转组件 */ EMAIL("email", "component", "modules/eoa/email/modals/EoaEmailInForm"), /** * 流程跳转到我的任务 */ BPM("bpm", ...
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"...
171513f5a260d8d4
typescript
216
Solarized Light
"use client" import * as React from "react" import { Sidebar, SidebarContent, SidebarGroup, SidebarHeader, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, } from "@/registry/bases/base/ui/sidebar" import { IconPlaceholder } from "@/app/(cr...
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...
455c0019b8d5088c
typescript
127
Solarized Light
"use client" import * as React from "react" import { STYLES, type Preset } from "@/registry/config" import { Picker, PickerContent, PickerGroup, PickerRadioGroup, PickerRadioItem, PickerTrigger, } from "@/app/(create)/components/picker" import { useDesignSystemSearchParams } from "@/app/(create)/lib/searc...
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" ...
8c622ed5dbd70d76
java
30
Default Dark+
package org.schabi.newpipe.player.ui; import androidx.annotation.NonNull; import org.schabi.newpipe.player.Player; /** * This is not a "graphical" UI for the background player, but it is used to disable fetching video * and text tracks with it. * * <p> * This allows reducing data usage for manifest sources with...
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...
b382c4a1cd2c55f0
java
78
Default Dark+
package org.schabi.newpipe.util.text; import static org.schabi.newpipe.util.text.TouchUtils.getOffsetForHorizontalLine; import android.os.Handler; import android.os.Looper; import android.text.Selection; import android.text.Spannable; import android.text.method.LinkMovementMethod; import android.text.method.MovementM...
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.", ...
7f7002c13e32203e
typescript
140
GitHub Dark
import { defHttp } from '/@/utils/http/axios'; import { Modal } from 'ant-design-vue'; enum Api { list = '/test/order/orderList', save = '/test/order/add', edit = '/test/order/edit', deleteOne = '/test/order/delete', deleteBatch = '/test/order/deleteBatch', customList = '/test/order/listOrderCustomerByMain...
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...
995cb566efd7a7c4
python
152
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from collections.abc import Awaitable, Callable, Mapping from copy import copy from typing import Any from azure.core.credentials import TokenCredential from openai import AsyncAzureOpenAI from pydantic import ConfigDict, validate_call from pydantic_core ...
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"...
5e4680161929a6d2
cpp
20
One Dark Pro
#pragma once #include <content/views/view_hex_editor.hpp> #include <hex/api/localization_manager.hpp> #include <hex/helpers/utils.hpp> #include <functional> namespace hex::plugin::builtin { class PopupPasteBehaviour final : public ViewHexEditor::Popup { public: explicit PopupPasteBehaviour(const Regi...
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...
25d1f0090378a3c4
python
171
Default Light+
import re from .common import InfoExtractor from ..utils import ( ExtractorError, clean_html, float_or_none, get_element_by_attribute, get_element_by_class, int_or_none, js_to_json, traverse_obj, url_or_none, ) class AmazonStoreIE(InfoExtractor): _VALID_URL = r'https?://(?:www...
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"...
a5119291f75f340e
csharp
45
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...
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...
1a4e67e821c20cce
csharp
47
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" ...
34f51a906b7e42c0
typescript
234
Solarized Light
import { Transformer } from "@/src/utils/transformers" import { SyntaxKind } from "ts-morph" import { getProjectTailwindVersionFromConfig, TailwindVersion, } from "../get-project-info" import { splitClassName } from "./transform-css-vars" export const transformTwPrefixes: Transformer = async ({ sourceFile, co...
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...
3cdd2ebd6d64b2b4
java
29
GitHub Dark
package org.jeecg.modules.system.vo; import lombok.Data; import org.jeecg.modules.system.entity.SysUser; /** * 用户名和头像信息 * @Author taoYan * @Date 2022/8/8 17:06 **/ @Data public class UserAvatar { private String id; private String realname; private String avatar; public UserAva...
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...
e9fa75d998aa72bf
rust
51
Default Dark+
//! The fieldids weights map is in charge of storing linking the searchable fields with their weights. use std::collections::HashMap; use serde::{Deserialize, Serialize}; use crate::constants::RESERVED_VECTORS_FIELD_NAME; use crate::{FieldId, FieldsIdsMap, Weight}; #[derive(Debug, Default, Serialize, Deserialize)] ...
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" ...
2f9375b93fb1c998
typescript
78
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, expect } from 'vitest'; import { evalTest } from './test-helper.js'; const FILES = { '.gitignore': 'node_modules\n', 'package.json': JSON.stringify({ name: 'test-project', version: '1.0.0', scrip...
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...
5b9364d781f4f1e8
java
32
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...
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.", ...
e8a4cfa046b7c99d
java
140
Default Light+
package com.thealgorithms.sorts; /** * Introspective Sort Algorithm Implementation * * @see <a href="https://en.wikipedia.org/wiki/Introsort">IntroSort Algorithm</a> */ public class IntrospectiveSort implements SortAlgorithm { private static final int INSERTION_SORT_THRESHOLD = 16; /** * Sorts the g...
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...
e9ac7b659cdaa337
csharp
32
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using Microsoft.Extensions.Logging; namespace SemanticKernel.UnitTests.XunitHelpers; /// <summary> /// Basic logger printing to console /// </summary> internal static class TestConsoleLogger { internal static ILogger Logger => LoggerFactory.CreateLo...
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" ...
f5ce69c92a7fdcb3
java
71
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
f114023f33ed8586
java
46
Default Light+
package com.thealgorithms.searches; import com.thealgorithms.devutils.searches.SearchAlgorithm; import java.util.HashSet; import java.util.Random; import java.util.Set; /** * A Random Search algorithm that randomly selects an index and checks if the * value at that index matches the target. It repeats the process u...
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.", ...
28654d02aca32f5c
python
72
Default Light+
from .common import InfoExtractor from ..utils import merge_dicts, unified_timestamp, url_or_none from ..utils.traversal import traverse_obj class ZetlandDKArticleIE(InfoExtractor): _VALID_URL = r'https?://www\.zetland\.dk/\w+/(?P<id>(?P<story_id>\w{8})-(?P<uploader_id>\w{8})-(?:\w{5}))' _TESTS = [{ '...
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" ...
c3c4a5e54833dcef
python
100
Solarized Light
""" Project Euler Problem 65: https://projecteuler.net/problem=65 The square root of 2 can be written as an infinite continued fraction. sqrt(2) = 1 + 1 / (2 + 1 / (2 + 1 / (2 + 1 / (2 + ...)))) The infinite continued fraction can be written, sqrt(2) = [1;(2)], (2) indicates that 2 repeats ad infinitum. In a similar...
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...
f0a4de20d5f4d282
csharp
414
Monokai
using System; using System.Diagnostics; using winPEAS._3rdParty.BouncyCastle.crypto.util; using winPEAS._3rdParty.BouncyCastle.util; namespace winPEAS._3rdParty.BouncyCastle.crypto.digests { /// <summary> /// Implementation of Keccak based on following KeccakNISTInterface.c from http://keccak.noekeon.org/ ...
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.", ...
9323392affe289f5
typescript
203
One Dark Pro
import type { VersionedAPI } from "@type/versioning" import { type RelayV1, type RelayRequest, type RelayRequestEvents, type RelayEventEmitter, type RelayResponse, type RelayError, body, relayRequestToNativeAdapter, } from "@relay/v/1" import * as E from "fp-ts/Either" import { execute, cancel, 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.", ...
a56a72d593b2acd9
cpp
78
One Dark Pro
#ifndef HEX_DUMP_H #define HEX_DUMP_H #include <HAP_farf.h> static inline void hex_dump_int8_line(char * pref, const int8_t * x, int n) { char str[1024], *p = str, *p_end = str + sizeof(str); p += snprintf(p, p_end - p, "%s: ", pref); for (int i = 0; i < n && p < p_end; i++) { p += snprintf(p, p_e...
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" ...
eb992c33bd6700e1
csharp
24
Default Light+
using FluentValidation; using NimblePros.SampleToDo.Infrastructure.Data.Config; namespace NimblePros.SampleToDo.Web.Projects; /// <summary> /// See: https://fast-endpoints.com/docs/validation /// </summary> public class CreateToDoItemValidator : Validator<CreateToDoItemRequest> { public CreateToDoItemValidator() ...
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...
fa9c1133acac3a19
cpp
226
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
76d170070f15a867
java
236
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.", ...
0923c78290d2ee1f
java
87
Monokai
package com.termux.shared.theme; import android.app.Activity; import android.content.Context; import android.content.res.Configuration; import android.content.res.TypedArray; import androidx.appcompat.app.AppCompatActivity; public class ThemeUtils { public static final int ATTR_TEXT_COLOR_PRIMARY = android.R.at...
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...
05468b2b642fb127
rust
484
GitHub Dark
/*! The main entry point into ripgrep. */ use std::{io::Write, process::ExitCode}; use ignore::WalkState; use crate::flags::{HiArgs, SearchMode}; #[macro_use] mod messages; mod flags; mod haystack; mod logger; mod search; // Since Rust no longer uses jemalloc by default, ripgrep will, by default, // use the syste...
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.", ...
8806ae54308757a6
cpp
229
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: fontinfo.cpp // Description: Font information classes abstracted from intproto.h/cpp. // Author: rays@google.com (Ray Smith) // // (C) Copyright 2011, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"...
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" ...
d26110ab0b5f26b7
typescript
158
Solarized Light
"use client" import { Button } from "@/examples/radix/ui/button" import { ButtonGroup, ButtonGroupText } from "@/examples/radix/ui/button-group" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/examples/radix/ui/dropdown-menu" import { Field, FieldDescription, ...
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.", ...
74a695e0f65b4b6c
go
76
Solarized Dark
// Copyright 2017 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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"...
d5815db10051350e
typescript
54
One Dark Pro
import { CanActivate, ExecutionContext, Injectable } from '@nestjs/common'; import { TeamService } from 'src/team/team.service'; import { TeamInvitationService } from './team-invitation.service'; import * as O from 'fp-ts/Option'; import { GqlExecutionContext } from '@nestjs/graphql'; import { BUG_AUTH_NO_USER_CTX, ...
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...
467da7e97bed4163
java
72
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
00da8384aa310206
java
44
Default Light+
package com.thealgorithms.strings; public final class Upper { private Upper() { } /** * Driver Code */ public static void main(String[] args) { String[] strings = {"ABC", "ABC123", "abcABC", "abc123ABC"}; for (String s : strings) { assert toUpperCase(s).equals(s.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...
303a10ca4806e404
go
140
Default Dark+
// Copyright 2019 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. package binding import ( "bytes" "io" "mime/multipart" "net/http" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" )...
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...
05f6e2c96c1d1543
javascript
97
Dracula
export default class DisjointSetItem { /** * @param {*} value * @param {function(value: *)} [keyCallback] */ constructor(value, keyCallback) { this.value = value; this.keyCallback = keyCallback; /** @var {DisjointSetItem} this.parent */ this.parent = null; this.children = {}; } /**...
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" ...
ffa43640453c658a
java
106
Default Dark+
/* * Copyright (C) Eltex ltd 2019 <eltex@eltex-co.ru> * FocusAwareCoordinator.java is part of NewPipe. * * NewPipe 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 3 of the License, or * (...
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...
8279cf03381d0ac7
typescript
97
Solarized Light
"use client" import * as React from "react" import { Checkbox } from "@/examples/base/ui-rtl/checkbox" import { Field, FieldContent, FieldDescription, FieldGroup, FieldLabel, FieldTitle, } from "@/examples/base/ui-rtl/field" import { Label } from "@/examples/base/ui-rtl/label" import { useTranslation, ...
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...
85330383cb3b079f
typescript
124
One Dark Pro
import { FormDataKeyValue, HoppRESTRequest } from "@hoppscotch/data" import { getDefaultRESTRequest } from "./rest/default" import { isJSONContentType } from "./utils/contenttypes" /** * Handles translations for all the hopp.io REST Shareable URL params */ export function translateExtURLParams( urlParams: Record<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" ...
38987fb6dce765e4
cpp
88
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...
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...
525abdb1723701e7
java
114
Dracula
package com.macro.mall.service.impl; import cn.hutool.core.util.StrUtil; import com.github.pagehelper.PageHelper; import com.macro.mall.dto.PmsBrandParam; import com.macro.mall.mapper.PmsBrandMapper; import com.macro.mall.mapper.PmsProductMapper; import com.macro.mall.model.PmsBrand; import com.macro.mall.model.PmsBra...
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"...
f10df1bd7d10c9d2
csharp
488
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"...
b025c356dfc27225
python
83
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from azure.identity import AzureCliCredential from semantic_kernel.agents import AzureResponsesAgent, ResponsesAgentThread from semantic_kernel.connectors.ai.open_ai import AzureOpenAISettings """ The following sample demonstrates how to create an OpenAI...
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" ...
3587d625ceb2fadf
typescript
52
Solarized Light
import { AppSidebar } from "@/registry/new-york-v4/blocks/sidebar-01/components/app-sidebar" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/new-york-v4/ui/breadcrumb" import { Separator } from "@/registry/new-york-v4/ui/separator"...
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...
5822c26108777571
typescript
44
Solarized Light
import { Item, ItemContent, ItemDescription, ItemGroup, ItemMedia, ItemTitle, } from "@/examples/base/ui/item" import { InboxIcon } from "lucide-react" export function OutlineItemGroup() { return ( <ItemGroup> <Item variant="outline"> <ItemMedia variant="icon"> <InboxIcon /> ...
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...
ddf64384b1eb680f
typescript
288
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import * as fs from 'node:fs/promises'; import * as path from 'node:path'; import * as os from 'node:os'; import { installSkill, linkSkill, uninstallSkill } ...
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" ...