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
29bfaf7b151c23f0
typescript
49
Solarized Light
import { LucideIcon } from "lucide-react"; import { cn } from "@/lib/utils"; interface SectionHeaderProps { icon: LucideIcon; title: string; count: number; tabs?: Array<{ id: string; label: string; count: number; active: boolean; onClick: () => void; }>; } const SectionHeader = ({ icon: ...
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...
be2d5d37337e3998
cpp
121
One Dark Pro
#include "models.h" llm_build_qwen3::llm_build_qwen3(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); GGML_ASSERT(n_embd_head == n_rot); ggml_tensor * cur...
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...
4cca0027234afed5
go
93
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...
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.", ...
3bd01aca24f51a68
javascript
81
Dracula
import PriorityQueue from '../../../data-structures/priority-queue/PriorityQueue'; /** * @typedef {Object} ShortestPaths * @property {Object} distances - shortest distances to all vertices * @property {Object} previousVertices - shortest paths to all vertices. */ /** * Implementation of Dijkstra algorithm of fin...
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...
032b5637ca2da2d9
java
63
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" ...
3e7556aab2f97fdd
cpp
155
Default Light+
/* Copyright © 2023-2024 Apple Inc. */ #ifndef MLX_DEVICE_H #define MLX_DEVICE_H #include <stdbool.h> #include <stddef.h> #include "mlx/c/string.h" #include "mlx/c/vector.h" #ifdef __cplusplus extern "C" { #endif /** * \defgroup mlx_device Device * MLX device object. */ /**@{*/ /** * A MLX device object. */ ...
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"...
30c1a334c365cff1
typescript
470
Solarized Light
import { beforeEach, describe, expect, it, vi } from "vitest" import { Config } from "../utils/get-config" import { BUILTIN_REGISTRIES } from "./constants" import { RegistryNotConfiguredError } from "./errors" import { resolveRegistryNamespaces } from "./namespaces" import * as resolver from "./resolver" // Mock 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...
c15bc6bca1b701be
java
40
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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" ...
770fc7a7f3875f62
csharp
104
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text; using System.Text.Json; using Microsoft.SemanticKernel; using Xunit; namespace SemanticKernel.UnitTests.Functions; public class KernelJsonSchemaTests { [Fact] public void ItParsesJsonSchemaSuccessfully() { const st...
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...
7078cd42558a5ce7
java
273
GitHub Dark
package com.github.mikephil.charting.charts; import android.content.Context; import android.graphics.Canvas; import android.util.AttributeSet; import android.util.Log; import com.github.mikephil.charting.data.BarData; import com.github.mikephil.charting.data.BubbleData; import com.github.mikephil.charting.data.Candl...
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" ...
46ab05fe7d447a93
python
45
Solarized Light
""" Project Euler Problem 9: https://projecteuler.net/problem=9 Special Pythagorean triplet A Pythagorean triplet is a set of three natural numbers, a < b < c, for which, a^2 + b^2 = c^2 For example, 3^2 + 4^2 = 9 + 16 = 25 = 5^2. There exists exactly one Pythagorean triplet for which a + b + c = 1000. Find th...
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...
9b666112c4f3716b
typescript
39
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi } from 'vitest'; import { RELAUNCH_EXIT_CODE, relaunchApp, _resetRelaunchStateForTesting, } from './processUtils.js'; import * as cleanup from './cleanup.js'; import * as handleAutoUpdate from './handleAutoUpdate....
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...
2e3890c033b2a182
typescript
56
Default Light+
import { useQuery } from "@tanstack/react-query"; import { Model } from "@/gotypes"; import { getModels } from "@/api"; import { mergeModels } from "@/utils/mergeModels"; import { useMemo } from "react"; import { useCloudStatus } from "./useCloudStatus"; export function useModels(searchQuery = "") { const { cloudDis...
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...
e4912285f996b198
python
108
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from azure.identity import AzureCliCredential from samples.concepts.agents.openai_assistant.openai_assistant_sample_utils import download_response_files from semantic_kernel.agents import AssistantAgentThread, AzureAssistantAgent from semantic_k...
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...
2a0f58304dcb689e
csharp
100
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...
7398720c01f30953
cpp
69
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...
ff6aab97f552836a
python
113
Solarized Light
""" Given an two dimensional binary matrix grid. An island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) You may assume all four edges of the grid are surrounded by water. The area of an island is the number of cells with a value 1 in the island. Return the maximum area of 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.", ...
b47d6e16d1aaf8d5
java
42
Default Dark+
package org.schabi.newpipe.views; import android.content.Context; import android.util.AttributeSet; import androidx.annotation.NonNull; import androidx.annotation.Nullable; import androidx.core.view.ViewCompat; import androidx.core.view.WindowInsetsCompat; import com.google.android.material.appbar.CollapsingToolbarL...
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" ...
520d5564341c1798
csharp
64
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...
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"...
520072f17fb01398
rust
330
Default Dark+
use actix_http::StatusCode; use actix_web::web::{self, Data}; use actix_web::{HttpRequest, HttpResponse}; use deserr::actix_web::AwebJson; use index_scheduler::IndexScheduler; use meilisearch_types::deserr::DeserrJsonError; use meilisearch_types::error::ResponseError; use meilisearch_types::keys::actions; use meilisear...
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"...
9a2259f2bba18267
cpp
161
One Dark Pro
#include <iostream> #include <math.h> #include <cctype> using namespace std; int num_Now = 0; // 记录L型骨牌编号 int **board = NULL; // 棋盘指针 // 函数声明 void ChessBoard(int num_BoardTopLeftRow, int num_BoardTopLeftColumn, int num_SpecialRow, int num_SpecialColumn, int boardSize); int main() { int num_BoardTopLeftRo...
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" ...
54075a8427298433
typescript
103
Solarized Light
import { LocationPicker } from "@/components/map"; import { Button } from "@/components/ui/button"; import { Dialog, DialogClose, DialogContent, DialogDescription, DialogTitle } from "@/components/ui/dialog"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Textarea...
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...
41a4a04bd8458222
typescript
182
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach, afterEach, type Mock, } from 'vitest'; import { coreEvents, getErrorMessage } from '@google/gemini-cli-core'; import { type Argv } from 'yargs'; import { handleLink, link...
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" ...
b7e6dee169d0ebab
java
37
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
30187f01f29040a7
java
47
Default Light+
package com.thealgorithms.datastructures.lists; /** * Returns the middle node of a singly linked list using the two-pointer technique. * * <p>The {@code slow} pointer advances by one node per iteration while {@code fast} advances by two. * When {@code fast == null} or {@code fast.next == null}, {@code slow} points...
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" ...
b265531efbd9fa2b
python
37
Default Light+
from .common import InfoExtractor from ..utils import url_or_none from ..utils.traversal import traverse_obj class SenIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?sen\.com/video/(?P<id>[0-9a-f-]+)' _TEST = { 'url': 'https://www.sen.com/video/eef46eb1-4d79-4e28-be9d-bd937767f8c4', 'md5'...
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...
3c6200bac17ab7b5
typescript
377
One Dark Pro
import { onBeforeUnmount, onMounted } from "vue" import { HoppActionWithOptionalArgs, invokeAction } from "./actions" import { isAppleDevice } from "./platformutils" import { isCodeMirrorEditor, isDOMElement, isInShortcutsFlyout, isMonacoEditor, isTypableElement, } from "./utils/dom" import { getKernelMode } ...
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...
6533ae9cec6943ae
java
125
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
cd9298408922fcf3
cpp
128
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #ifndef SPDLOG_HEADER_ONLY #include <spdlog/sinks/stdout_sinks.h> #endif #include <memory> #include <spdlog/details/console_globals.h> #include <spdlog/pattern_forma...
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...
64165a3ca5931612
typescript
33
Solarized Light
import { Button } from "@/registry/bases/radix/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/bases/radix/ui/card" import { SidebarInput } from "@/registry/bases/radix/ui/sidebar" export function SidebarOptInForm() { return ( <Card className="gap-2 py-...
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...
9dc375e708bcc400
typescript
467
Default Dark+
import { z } from 'zod'; import { JobType } from '@prisma/client'; import { TRPCError } from '@trpc/server'; import { dashboardOfferDtoMapper, getOffersResponseMapper, } from '~/mappers/offers-mappers'; import { Currency } from '~/utils/offers/currency/CurrencyEnum'; import { convertWithDate } from '~/utils/offers...
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"...
d2115eba8fcdf489
rust
53
GitHub Dark
/// ## Pascal's triangle problem /// /// pascal_triangle(num_rows) returns the first num_rows of Pascal's triangle.\ /// About Pascal's triangle: <https://en.wikipedia.org/wiki/Pascal%27s_triangle> /// /// # Arguments: /// * `num_rows`: number of rows of triangle /// /// # Complexity /// - time complexity: O(n^2), ...
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.", ...
56b9dea9291be9bb
go
99
Default Dark+
// Copyright 2015 Matthew Holt and The Caddy 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 applicab...
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"...
010e9285d521839e
typescript
108
GitHub Dark
const toString = Object.prototype.toString; export function is(val: unknown, type: string) { return toString.call(val) === `[object ${type}]`; } export function isDef<T = unknown>(val?: T): val is T { return typeof val !== 'undefined'; } export function isUnDef<T = unknown>(val?: T): val is T { return !isDef(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"...
62b739a857420da2
python
58
Default Light+
from .common import InfoExtractor from ..utils import ( UnsupportedError, clean_html, int_or_none, parse_duration, parse_qs, str_or_none, update_url, ) from ..utils.traversal import find_element, traverse_obj class NobelPrizeIE(InfoExtractor): _VALID_URL = r'https?://(?:(?:mediaplayer|...
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" ...
371ee8b063ac1c55
csharp
80
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...
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...
d56e280933854f98
javascript
46
Dracula
import a8 from './a8' import a9 from './a9' import a10 from './a10' import a11 from './a11' import a12 from './a12' import a13 from './a13' import a14 from './a14' import a15 from './a15' import a16 from './a16' import a17 from './a17' import a18 from './a18' import a19 from './a19' import a20 from './a20' import a21 f...
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"...
1a2e8dab0f00715d
java
91
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...
7e4cf0ee6988f835
python
197
One Dark Pro
import os import struct import argparse import torch import numpy as np from silero_vad import load_silero_vad, __version__ as silero_version def convert_silero_vad(output_path, print_tensors=True): model = load_silero_vad() state_dict = model.state_dict() # Clean up state dict keys - filter out 8k model ...
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...
f8ac584a690e011e
csharp
22
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using CalculatorApp.ViewModel.Common; using System; using Windows.UI.Xaml.Markup; namespace CalculatorApp.Utils { [MarkupExtensionReturnType(ReturnType = typeof(MyVirtualKey))] public sealed class ResourceVirtualKe...
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"...
d0724bde7a68869c
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 ...
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...
651d69d9329d77a0
csharp
287
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; namespace Agents; /// <summary> /// Demonstrate usage of <see cref="IAuto...
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...
d54b3e542ebda23b
cpp
73
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
9899550d5f02e29e
csharp
32
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Agents.Serialization; /// <summary> /// Captures the serialized state of an <see cref="AgentChat"/> along with relevant meta-data. /// </summary> i...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
c5bb622b86eb2848
python
71
Default Light+
from __future__ import annotations import torch class Emphasis: """Emphasis class decides how to death with (emphasized:1.1) text in prompts""" name: str = "Base" description: str = "" tokens: list[list[int]] """tokens from the chunk of the prompt""" multipliers: torch.Tensor """tensor ...
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" ...
01f076b49a6146e6
typescript
77
Solarized Light
import { memo, useMemo } from "react"; import { useInstance } from "@/contexts/InstanceContext"; import { cn } from "@/lib/utils"; import { useTranslate } from "@/utils/i18n"; import { CalendarCell } from "./CalendarCell"; import { useTodayDate, useWeekdayLabels } from "./hooks"; import type { CalendarSize, MonthCalend...
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...
fbcab226911f9bcb
javascript
25
Dracula
import path from 'node:path' import { defineConfig } from 'vite' const packageFPath = path.resolve(import.meta.dirname, 'test-package-f') export default defineConfig({ resolve: { alias: { __F_ABSOLUTE_PACKAGE_PATH__: packageFPath, }, }, optimizeDeps: { include: [ '@vitejs/test-package-a'...
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...
6b9f3520cf9d56de
cpp
108
One Dark Pro
#if defined(OS_WEB) #include <emscripten.h> #include <emscripten/html5.h> #include <GLFW/glfw3.h> #include <hex/api/events/requests_lifecycle.hpp> #include <hex/api/task_manager.hpp> #include <window.hpp> #include <init/run.hpp> namespace hex::init { void saveFsData() { ...
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.", ...
2b731c70c89d9d7d
csharp
58
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
0a342f51b3be405e
python
44
Solarized Light
__author__ = "Tobias Carryer" from time import time class LinearCongruentialGenerator: """ A pseudorandom number generator. """ # The default value for **seed** is the result of a function call, which is not # normally recommended and causes ruff to raise a B008 error. However, in this case, ...
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.", ...
444714b6803c0f39
typescript
208
Solarized Light
import { FileIcon } from "lucide-react" type IconProps = React.HTMLAttributes<SVGElement> export const Icons = { logo: (props: IconProps) => ( <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 256" {...props}> <rect width="256" height="256" fill="none" /> <line x1="208" y1="12...
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...
0c2a9d0367f0c185
csharp
72
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// Contains information about a Step in a Dapr Process including it's state...
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"...
d07e5e8025c55505
cpp
148
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: svmnode.cpp // description_: ScrollView Menu Node // Author: Joern Wanke // Created: Thu Nov 29 2007 // // (C) Copyright 2007, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not us...
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...
8ef6baff01d9bdc2
java
49
GitHub Dark
package org.jeecg.handler.swagger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Value; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.RequestMapping; 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...
50fcd47415d3a360
cpp
228
One Dark Pro
#include "common-sdl.h" #include <cstdio> audio_async::audio_async(int len_ms) { m_len_ms = len_ms; m_running = false; } audio_async::~audio_async() { if (m_dev_id_in) { SDL_CloseAudioDevice(m_dev_id_in); } } bool audio_async::init(int capture_id, int sample_rate) { SDL_LogSetPriority(S...
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...
fe7b5f89d57631b6
typescript
167
Default Dark+
import { useEffect, useState } from 'react'; import { ArrowSmallRightIcon } from '@heroicons/react/24/outline'; import type { QuestionsQuestionType } from '@prisma/client'; import type { TypeaheadOption } from '~/ui'; import { Button, Select } from '~/ui'; import Container from '~/components/shared/Container'; 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...
64952bb87d3a2735
csharp
108
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Diagnostics.CodeAnalysis; using System.Net.Http; #if NET using System.Net.Security; using System.Security.Cryptography.X509Certificates; #endif using Microsoft.Extensions.DependencyInjection; #pragma warning disable CA2000 // Dispose objects...
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"...
abd13976461c2544
java
36
Default Light+
package com.thealgorithms.datastructures.trees; import com.thealgorithms.datastructures.trees.BinaryTree.Node; /** * Given a sorted array. Create a balanced binary search tree from it. * * Steps: 1. Find the middle element of array. This will act as root 2. Use the * left half recursively to create left subtree 3...
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"...
22a8f5abd86c3881
cpp
45
Solarized Dark
#include <openpose/filestream/keypointSaver.hpp> #include <openpose/filestream/fileStream.hpp> namespace op { KeypointSaver::KeypointSaver(const std::string& directoryPath, const DataFormat format) : FileSaver{directoryPath}, mFormat{format} { } KeypointSaver::~KeypointSaver() { ...
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.", ...
4522774722989c8a
cpp
87
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: reversed.cpp // Description: Runs a single network on time-reversed input, reversing output. // Author: Ray Smith // // (C) Copyright 2013, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you m...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
04a54a329fe7fcd4
cpp
172
One Dark Pro
#include "llama-impl.h" #include "gguf.h" #include "llama.h" #include <cinttypes> #include <climits> #include <cstdarg> #include <cstring> #include <vector> #include <sstream> struct llama_logger_state { ggml_log_callback log_callback = llama_log_callback_default; void * log_callback_user_data = nullptr; }; ...
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...
3b017fc4e2b83c8d
typescript
90
Solarized Light
"use client" import * as React from "react" import { Popover as PopoverPrimitive } from "radix-ui" import { cn } from "@/registry/bases/radix/lib/utils" function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>) { return <PopoverPrimitive.Root data-slot="popover" {...props} /> } function...
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" ...
f8aa28e021a536c4
python
92
Default Light+
import time import argparse class TimerSubcategory: def __init__(self, timer, category): self.timer = timer self.category = category self.start = None self.original_base_category = timer.base_category def __enter__(self): self.start = time.time() self.timer.bas...
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...
e037b51c0ef8a50c
cpp
175
One Dark Pro
// SPDX-License-Identifier: Apache-2.0 // File: unichar.h // Description: Unicode character/ligature class. // Author: Ray Smith // // (C) Copyright 2006, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You...
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...
197e70428f9aae46
java
59
Default Light+
package com.thealgorithms.conversions; /** * Converts an IPv4 address to its binary equivalent and vice-versa. * IP to Binary: Converts an IPv4 address to its binary equivalent. * Example: 127.3.4.5 -> 01111111.00000011.00000100.00000101 * * Binary to IP: Converts a binary equivalent to an IPv4 address. * Exampl...
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...
e5956c7f81c12098
typescript
62
Solarized Light
"use client" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/examples/radix/ui/collapsible" import { Sidebar, SidebarContent, SidebarGroup, SidebarGroupContent, SidebarGroupLabel, SidebarMenu, SidebarMenuButton, SidebarMenuItem, SidebarProvider, } from "@/examples/radix/...
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...
654f2213fd3cecbc
go
271
Solarized Dark
// Copyright 2016 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...
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...
10ab7a88d62352bd
java
68
GitHub Dark
package org.jeecg.modules.openapi.service.impl; import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.util.StrUtil; import com.baomidou.mybatisplus.core.toolkit.Wrappers; import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; import jakarta.annotation.Resource; import org.jeecg.common.api...
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...
55441a413019f78f
csharp
107
Monokai
using Microsoft.Win32.SafeHandles; using System; using System.Collections.Generic; using System.ComponentModel; using System.Linq; using System.Runtime.InteropServices; using winPEAS.Native; namespace winPEAS.Helpers.CredentialManager { /// <summary> /// Wrapper for advapi32.dll library. /// Advan...
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" ...
da159d57fa951f2d
csharp
485
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.FileProviders; us...
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...
bfd0822f24bf75d4
java
55
Default Dark+
package org.schabi.newpipe.player.helper; import android.content.Context; import android.os.Handler; import androidx.annotation.Nullable; import com.google.android.exoplayer2.mediacodec.MediaCodecAdapter; import com.google.android.exoplayer2.mediacodec.MediaCodecSelector; import com.google.android.exoplayer2.video.M...
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...
cdac0cf9d1eb9c35
cpp
32
Solarized Light
#pragma once #include <QDialog> class AbstractTableView; namespace Ui { class ColumnReorderDialog; } class ColumnReorderDialog : public QDialog { Q_OBJECT public: explicit ColumnReorderDialog(AbstractTableView* parent = nullptr); ~ColumnReorderDialog(); private slots: void on_upButton_clicked(...
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...
6f25d889cc297ffb
typescript
99
Default Dark+
import type { InfiniteData } from 'react-query'; import { trpc } from '~/utils/trpc'; import useVote from './useVote'; import type { Question } from '~/types/questions'; export const useQuestionVote = (id: string) => { const utils = trpc.useContext(); return useVote(id, { idKey: 'questionId', invalidat...
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...
f077f081919215d1
csharp
167
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; namespace GettingStarted; /// <summary> /// Demonstrate creation of <see cref="ChatCompletionAgent"/> and /// eliciting i...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
046ef367f1be13ea
csharp
30
Monokai
// Copyright (c) Microsoft. All rights reserved. using Events; using Microsoft.SemanticKernel; namespace SharedSteps; /// <summary> /// Step used in the Processes Samples: /// - Step_02_AccountOpening.cs /// </summary> public class DisplayAssistantMessageStep : KernelProcessStep { public static class ProcessSte...
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...
af09e000b32aa183
python
20
Dracula
from fastapi import FastAPI, Header from pydantic import BaseModel app = FastAPI() class CommonHeaders(BaseModel): model_config = {"extra": "forbid"} host: str save_data: bool if_modified_since: str | None = None traceparent: str | None = None x_tag: list[str] = [] @app.get("/items/") asyn...
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...
7fadede145337668
typescript
126
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { CountTokensResponse, GenerateContentParameters, GenerateContentResponse, CountTokensParameters, EmbedContentResponse, EmbedContentParameters, } from '@google/genai'; import { appendFileSync } from 'node:fs...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
9f6d420752624185
python
104
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import logging import os from azure.identity import AzureCliCredential from samples.concepts.audio.audio_recorder import AudioRecorder from semantic_kernel.connectors.ai.open_ai import ( AzureAudioToText, AzureChatCompletion, OpenAIChatPrompt...
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...
5049eece43c45700
cpp
111
One Dark Pro
// (C) Copyright 2017, Google Inc. // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // Unless required by applicable law or agreed to in writing,...
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" ...
90f353932f83b87c
typescript
122
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useState, useEffect } from 'react'; import { ApprovalMode, type Config, getAdminErrorMessage, } from '@google/gemini-cli-core'; import { useKeypress } from './useKeypress.js'; import { Command } from '../key/keyMatch...
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...
5830a165a37e9573
cpp
332
Solarized Light
/** @file patches.cpp @brief Implements the patches class. */ #include "patches.h" #include "memory.h" #include "debugger.h" #include "threading.h" #include "module.h" static std::unordered_map<duint, PATCHINFO> patches; static std::unordered_map<DWORD, size_t> lastEnumSize; bool PatchSet(duint Address, unsigned...
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"...
fe39210612fc2c9e
java
77
GitHub Dark
package com.github.mikephil.charting.listener; import android.view.MotionEvent; /** * Listener for callbacks when doing gestures on the chart. * * @author Philipp Jahoda */ public interface OnChartGestureListener { /** * Callbacks when a touch-gesture has started on the chart (ACTION_DOWN) * *...
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...
5e7d21be4525b687
java
319
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
787eea530f62e5c6
typescript
29
Solarized Light
import * as CheckboxPrimitive from "@radix-ui/react-checkbox"; import { CheckIcon } from "lucide-react"; import * as React from "react"; import { cn } from "@/lib/utils"; const Checkbox = React.forwardRef< React.ElementRef<typeof CheckboxPrimitive.Root>, React.ComponentPropsWithoutRef<typeof CheckboxPrimitive.Root...
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...
86eccffea8b57176
csharp
93
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...
515dd579c93adc13
python
55
Solarized Light
"""https://en.wikipedia.org/wiki/Atbash""" import string def atbash_slow(sequence: str) -> str: """ >>> atbash_slow("ABCDEFG") 'ZYXWVUT' >>> atbash_slow("aW;;123BX") 'zD;;123YC' """ output = "" for i in sequence: extract = ord(i) if 65 <= extract <= 90: ou...
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.", ...
a86e72058b9d1910
go
115
Solarized Dark
// Copyright 2018 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
b7b285e83b1bbf4c
go
35
Default Light+
//go:build windows package cmd import ( "github.com/spf13/cobra" ) // StopCmd represents the stop command var StopCmd = &cobra.Command{ Use: "stop", Short: "Same as the kill command", Run: func(cmd *cobra.Command, args []string) { stop() }, } func stop() { kill() } func init() { RootCmd.AddCommand(StopC...
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...
ee53448cd0170dae
typescript
221
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { CommandModule } from 'yargs'; import * as path from 'node:path'; import chalk from 'chalk'; import { debugLogger, FolderTrustDiscoveryService, getRealPath, getErrorMessage, } from '@google/gemini-cli-core'; im...
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...
d06c0d5bf2196640
csharp
70
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
3c9294b6b55b61b2
java
33
Dracula
package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单修改收货人信息参数 * Created by macro on 2018/10/29. */ @Getter @Setter public class OmsReceiverInfoParam { @ApiModelProperty(value = "订单ID") private Long orderId; @ApiModelProperty(va...
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...
9700b36f8950bf45
csharp
70
Monokai
using System; using System.IO; namespace winPEAS._3rdParty.BouncyCastle.asn1 { public class BerTaggedObjectParser : Asn1TaggedObjectParser { private bool _constructed; private int _tagNumber; private Asn1StreamParser _parser; [Obsolete] internal BerTaggedObjectParser( int baseTag, int tagNumber, ...
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.", ...
968c6aa3c7c89477
python
119
Monokai
# Copyright (c) Microsoft. All rights reserved. import httpx from pydantic import BaseModel, Field from semantic_kernel.functions.kernel_function_decorator import kernel_function # region GitHub Models class Repo(BaseModel): id: int = Field(..., alias="id") name: str = Field(..., alias="full_name") de...
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"...
debcfb11a9863f81
typescript
171
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { PartListUnion, Part } from '@google/genai'; import type { ContentGenerator } from '../core/contentGenerator.js'; import { debugLogger } from './debugLogger.js'; // Token estimation constants // ASCII characters (0-12...
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...
83093912da767992
python
207
Solarized Light
""" Lanczos Method for Finding Eigenvalues and Eigenvectors of a Graph. This module demonstrates the Lanczos method to approximate the largest eigenvalues and corresponding eigenvectors of a symmetric matrix represented as a graph's adjacency list. The method efficiently handles large, sparse matrices by converting th...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
dea9ae0d33b333da
typescript
72
Solarized Light
import { promises as fs } from "fs" import { tmpdir } from "os" import path from "path" import { registryBaseColorSchema } from "@/src/schema" import { Config } from "@/src/utils/get-config" import { transformCssVars } from "@/src/utils/transformers/transform-css-vars" import { transformIcons } from "@/src/utils/transf...
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.", ...
1d833e163ee80bab
csharp
60
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Text.Json.Nodes; namespace Microsoft.SemanticKernel.Plugins.OpenApi; /// <summary> /// Serializes REST API parameter of the 'PipeDelimited' style. /// </summary> internal static class PipeDelimitedStyleParameterSerializer { /// <summary...
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...
e29c5e190884b2e3
cpp
69
Solarized Light
/* * MD4C: Markdown parser for C * (http://github.com/mity/md4c) * * Copyright (c) 2016-2024 Martin Mitáš * * 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, includ...
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...
0d15acd91f6011ea
java
30
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
f70a929bc3e708f9
csharp
181
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...
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" ...