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
124dda8eabf025d1
python
20
Monokai
# Copyright (c) Microsoft. All rights reserved. from urllib.parse import urlparse from semantic_kernel.utils.feature_stage_decorator import experimental @experimental class Uri: """The Uri class that represents the URI.""" def __init__(self, uri): """Initialize the Uri.""" self.uri = uri ...
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.", ...
34da1105618d291d
rust
71
Default Dark+
//! Types used in OpenAI API requests and responses. //! These types are created from component schemas in the [OpenAPI spec](https://github.com/openai/openai-openapi) mod assistant; mod assistant_impls; mod assistant_stream; mod audio; mod audit_log; mod batch; mod chat; mod common; mod completion; mod embedding; mod ...
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...
8a25a6989be0313c
cpp
423
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
df600fbd9a8c1902
java
35
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"...
6e00745af4782fed
typescript
26
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { type SlashCommand, type CommandContext, type OpenCustomDialogActionReturn, CommandKind, } from './types.js'; import { FooterConfigDialog } from '../components/FooterConfigDialog.js'; export const footerCommand: Sl...
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...
41eec588050efb7b
typescript
113
Solarized Light
"use client" import * as React from "react" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuTrigger, } from "@/registry/bases/base/ui/dropdown-menu" import { SidebarMenu, SidebarMenuButton,...
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...
15917707939477f6
python
133
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from typing import Annotated from azure.identity.aio import AzureCliCredential from semantic_kernel.agents import AzureAIAgent, AzureAIAgentSettings, AzureAIAgentThread from semantic_kernel.contents import FunctionCallContent, FunctionResultContent from ...
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...
75704779ac04ddc2
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...
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"...
67a40994fa53ec23
rust
181
One Dark Pro
// Copyright 2021 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::convert::TryInto; use serde::Serialize; use vm_superio::Rtc; use vm_superio::rtc_pl031::RtcEvents; use crate::logger::{IncMetric, SharedIncMetric, warn}; /// Metrics specific to the RTC device....
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...
f78e4af6ced7685d
java
41
Default Dark+
package org.schabi.newpipe.player.helper; import androidx.core.math.MathUtils; /** * Converts between percent and 12-tone equal temperament semitones. * <br/> * @see * <a href="https://en.wikipedia.org/wiki/Equal_temperament#Twelve-tone_equal_temperament"> * Wikipedia: Equal temperament#Twelve-tone equal tem...
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...
6311c428ceec01a0
java
49
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
acd205b333c517d6
rust
64
GitHub Dark
fn _stooge_sort<T: Ord>(arr: &mut [T], start: usize, end: usize) { if arr[start] > arr[end] { arr.swap(start, end); } if start + 1 >= end { return; } let k = (end - start + 1) / 3; _stooge_sort(arr, start, end - k); _stooge_sort(arr, start + k, end); _stooge_sort(arr, ...
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" ...
4228ca1c87999097
csharp
23
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace ProcessFramework.Aspire.SignalR.ProcessOrchestrator.Models; /// <summary> /// Object used in the <see cref="ProcessFramework.Aspire.SignalR.ProcessOrchestrator.Steps.GatherProductInfoStep"/> /// </summary> public class ProductInfo { /// <summary> ///...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
f2f556bbc4ff2a51
java
81
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.", ...
e0cfbaf13bb7d9c2
java
48
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
a973f738aab3476f
cpp
29
One Dark Pro
#pragma once #include <hex/api/content_registry/settings.hpp> #include <hex/ui/view.hpp> namespace hex::plugin::builtin { class ViewSettings : public View::Modal { public: explicit ViewSettings(); ~ViewSettings() override; void drawContent() override; void drawAlwaysVisibleCo...
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...
20b4a38e83d25d8a
csharp
273
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Linq; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging....
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...
a6b135c8a96874c1
java
47
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
aaf61381305d9e14
csharp
182
Default Light+
// Copyright (c) 2019 Daniel Grunwald // // 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, // publi...
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...
c15eea7686c41619
csharp
86
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json; using System.Threading; using System.Threading.Tasks; namespace Microsoft.SemanticKernel.Agents.Runtime; /// <summary> /// A proxy that allows you to use an <see cref="AgentId"/> in place of its associated <see cref="IAgent"/>. /// </summary> ...
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"...
3802d85ffe430cbb
csharp
68
Default Light+
// // Modifiers.cs // // Author: // Mike Krüger <mkrueger@novell.com> // // Copyright (C) 2008 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 Software with...
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.", ...
e229575e81f808f9
go
183
Default Light+
//go:build windows || darwin // Package dialog provides a simple cross-platform common dialog API. // Eg. to prompt the user with a yes/no dialog: // // if dialog.MsgDlg("%s", "Do you want to continue?").YesNo() { // // user pressed Yes // } // // The general usage pattern is to call one of the toplevel *Dlg funct...
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...
e4fe4d098306646f
csharp
80
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Xunit; // ReSharper disable StringLiteralTypo namespace SemanticKernel.UnitTests.Functions; public class FunctionFromMethodTests { [Fact] public async Task ...
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...
37c0719cab466bca
python
80
Default Light+
from .common import InfoExtractor from ..utils import ( ExtractorError, int_or_none, urljoin, ) class ShowRoomLiveIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?showroom-live\.com/(?!onlive|timetable|event|campaign|news|ranking|room)(?P<id>[^/?#&]+)' _TEST = { 'url': 'https://www.sho...
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...
4e146b055f6a9021
typescript
26
Solarized Light
import { Button } from "@/examples/base/ui/button" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/examples/base/ui/tooltip" export function TooltipSides() { return ( <div className="flex flex-wrap gap-2"> {(["left", "top", "bottom", "right"] as const).map((side) => ( <Tooltip key...
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"...
de83ced6916c7e40
typescript
43
GitHub Dark
import { ref, computed, unref } from 'vue'; import { createPageContext } from '/@/hooks/component/usePageContext'; import { useWindowSizeFn } from '/@/hooks/event/useWindowSizeFn'; const headerHeightRef = ref(0); const footerHeightRef = ref(0); export function useLayoutHeight() { function setHeaderHeight(val) { ...
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" ...
30b071023f382847
python
58
Solarized Light
def binary_search(array: list, lower_bound: int, upper_bound: int, value: int) -> int: """ This function carries out Binary search on a 1d array and return -1 if it do not exist array: A 1d sorted array value : the value meant to be searched >>> matrix = [1, 4, 7, 11, 15] >>> binary_search(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.", ...
bd7421bc5438fd17
csharp
59
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"...
b55b453ee22b7964
java
84
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...
0b75f650b3a1c5ab
rust
114
One Dark Pro
// Copyright 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::ops::Deref; use std::sync::{Arc, Mutex}; use serde::{Deserialize, Serialize}; use super::RateLimiterConfig; use crate::devices::virtio::rng::{Entropy, EntropyError}; /// This struct represents ...
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.", ...
f1834bf60bd05e1e
python
78
Solarized Light
""" Project Euler Problem 38: https://projecteuler.net/problem=38 Take the number 192 and multiply it by each of 1, 2, and 3: 192 x 1 = 192 192 x 2 = 384 192 x 3 = 576 By concatenating each product we get the 1 to 9 pandigital, 192384576. We will call 192384576 the concatenated product of 192 and (1,2,3) The same c...
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.", ...
bee01ff8816c27ee
typescript
358
Solarized Light
"use client" import * as React from "react" import * as RechartsPrimitive from "recharts" import { cn } from "@/lib/utils" // Format: { THEME_NAME: CSS_SELECTOR } const THEMES = { light: "", dark: ".dark" } as const export type ChartConfig = { [k in string]: { label?: React.ReactNode icon?: React.Componen...
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...
836d6b6c08f19cce
java
54
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
f874bdc889a89c0e
typescript
433
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { EventEmitter } from 'node:events'; import type { AgentDefinition } from '../agents/types.js'; import type { McpClient } from '../tools/mcp-client.js'; import type { ExtensionEvents } from './extensionLoader.js'; import typ...
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.", ...
5ba73747b96aeac4
python
86
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from typing import Annotated from azure.identity import AzureCliCredential from semantic_kernel.agents import AssistantAgentThread, AzureAssistantAgent from semantic_kernel.connectors.ai.open_ai import AzureOpenAISettings from semantic_kernel.contents imp...
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.", ...
ff216578d489f859
cpp
38
Dracula
/*! * Copyright 2018 */ #include <xgboost/linear_updater.h> #include <dmlc/registry.h> #include "./param.h" namespace dmlc { DMLC_REGISTRY_ENABLE(::xgboost::LinearUpdaterReg); } // namespace dmlc namespace xgboost { LinearUpdater* LinearUpdater::Create(const std::string& name, Context const* ctx) { auto *e = ::...
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...
51d2b5effdc47584
python
24
Dracula
from fastapi import Body, FastAPI, status from fastapi.responses import JSONResponse app = FastAPI() items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}} @app.put("/items/{item_id}") async def upsert_item( item_id: str, name: str | None = Body(default=None), size: int ...
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"...
d6f59e3ac161bb5e
python
62
Solarized Light
# firecrawl_scraper.py import json from firecrawl import FirecrawlApp from dotenv import load_dotenv from pydantic import BaseModel, Field from typing import List from datetime import datetime load_dotenv() BASE_URL = "https://news.ycombinator.com/" class NewsItem(BaseModel): title: str = Field(description="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...
94d578786c1dac27
typescript
147
Solarized Light
"use client" import { type IconLibraryName } from "shadcn/icons" import { Card, CardContent } from "@/registry/bases/radix/ui/card" import { IconPlaceholder } from "@/app/(create)/components/icon-placeholder" const PREVIEW_ICONS = [ { lucide: "CopyIcon", tabler: "IconCopy", hugeicons: "Copy01Icon", ...
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.", ...
23cd0c75d1ada20d
csharp
40
Default Light+
/* Copyright (c) 2015 Ki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublice...
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" ...
72ad3436c08245db
csharp
83
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
a5832d785b9e57b4
java
104
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" ...
4c839003ddb17663
java
77
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...
db7a23100886405e
typescript
275
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, beforeEach, afterEach, vi } from 'vitest'; import * as fs from 'node:fs/promises'; import * as os from 'node:os'; import * as path from 'node:path'; import { loadSkillsFromDir } from './skillLoader.js...
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.", ...
0bcd194b849d984c
javascript
125
Default Light+
const path = require("path"); const fs = require("fs"); const { pathToFileURL } = require("url"); const { build } = require("esbuild"); const { sassPlugin } = require("esbuild-sass-plugin"); const { parseEnvVariables } = require("../packages/excalidraw/env.cjs"); const ENV_VARS = { development: { ...parseEnvVa...
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...
4e5633ed5f815f37
cpp
21
One Dark Pro
// // MIT license // Copyright (C) 2024 Intel Corporation // SPDX-License-Identifier: MIT // // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // #ifndef GGML_SYCL_...
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...
9ecd80bfb51ed55a
python
382
Default Light+
import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, dict_get, js_to_json, strip_jsonp, try_get, unified_strdate, update_url_query, url_or_none, urlhandle_detect_ext, ) class WDRIE(InfoExtractor): __API_URL_TP...
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" ...
0001c5437289219d
cpp
70
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...
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.", ...
dd82ad2a04a53153
javascript
43
Dracula
import { resolve } from 'node:path' import { defineConfig } from 'vite' const dirname = import.meta.dirname export default defineConfig({ build: { outDir: './dist', emptyOutDir: true, rollupOptions: { preserveEntrySignatures: 'strict', input: { a0: resolve(dirname, 'entrypoints/a0.js...
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"...
2c7324c0e6fb409e
csharp
57
Monokai
using System.Collections.Generic; using System.Text.RegularExpressions; using winPEAS.Helpers; namespace winPEAS.Wifi { internal class Wifi { public static Dictionary<string, string> Retrieve() { Dictionary<string, string> connections = new Dictionary<string, string>(); ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
a82c63e412dcaec2
java
44
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" ...
5e7abb78de59d703
typescript
109
One Dark Pro
import { Node, parseTree, stripComments as stripComments_ } from "jsonc-parser" import jsoncParse from "~/helpers/jsoncParse" import { convertIndexToLineCh } from "../utils" import { LinterDefinition, LinterResult } from "./linter" const linter: LinterDefinition = (text) => { try { jsoncParse(text) return Pr...
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"...
f41b239773451328
rust
56
GitHub Dark
//! This module provides a function to add two integers without using the `+` operator. //! It relies on bitwise operations (XOR and AND) to compute the sum, simulating the addition process. /// Adds two integers using bitwise operations. /// /// # Arguments /// /// * `a` - The first integer to be added. /// * `b` - 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...
82742a9d5b4103c4
typescript
238
Solarized Light
"use client" import { useMemo } from "react" import { cn } from "@/examples/radix/lib/utils" import { Label } from "@/examples/radix/ui-rtl/label" import { Separator } from "@/examples/radix/ui-rtl/separator" import { cva, type VariantProps } from "class-variance-authority" function FieldSet({ className, ...props }: ...
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.", ...
1fc8016da263c39f
go
129
Default Light+
//go:build windows || darwin package store import ( "encoding/json" "errors" "fmt" "os" "path/filepath" "github.com/ollama/ollama/envconfig" ) const serverConfigFilename = "server.json" type serverConfig struct { DisableOllamaCloud bool `json:"disable_ollama_cloud,omitempty"` } // CloudDisabled returns whe...
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...
15e3a3984c2de2f8
cpp
116
One Dark Pro
#pragma once #include <hex/helpers/fs.hpp> #include <array> #include <vector> namespace hex::paths { namespace impl { class DefaultPath { protected: constexpr DefaultPath() = default; virtual ~DefaultPath() = default; public: DefaultPath(const Defaul...
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...
0904a0c9f522393e
go
95
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"...
42b6103d7d480848
typescript
21
Solarized Dark
import { createContext, use } from 'react' export interface ChainProxyContextType { isChainMode: boolean setChainMode: (isChain: boolean) => void chainConfigData: string | null setChainConfigData: (data: string | null) => void } export const ChainProxyContext = createContext<ChainProxyContextType | null>( n...
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"...
a8b6e7ad46718131
csharp
73
Monokai
using System.IO; using System.Text; namespace ScreenToGif.Util.Codification.Apng.Chunks; /// <summary> /// The image header chunk. /// </summary> public class IhdrChunk : Chunk { public uint Width { get; private set; } public uint Height { get; private set; } internal byte BitDepth { get; private set; }...
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"...
169ec84668b30acc
typescript
223
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Box, Text } from 'ink'; import { theme } from '../semantic-colors.js'; import { formatDuration } from '../utils/formatters.js'; import { getStatusColor, TOOL_SUCCESS_RATE_HIGH, TOOL_SU...
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...
298f6fe78a7f7522
go
75
Default Light+
package bootstrap import ( "fmt" "github.com/alist-org/alist/v3/internal/bootstrap/patch" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/pkg/utils" "strings" ) var LastLaunchedVersion = "" func safeCall(v string, i int, f func()) { defer func() { if r := recover(); r != nil { ...
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" ...
3593558df9dabb32
python
23
Monokai
# Copyright (c) Microsoft. All rights reserved. from enum import Enum class Symbols(str, Enum): """Symbols used in the template engine.""" BLOCK_STARTER = "{" BLOCK_ENDER = "}" VAR_PREFIX = "$" DBL_QUOTE = '"' SGL_QUOTE = "'" ESCAPE_CHAR = "\\" SPACE = " " TAB = "\t" NEW_LI...
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.", ...
a0de7fe8fcd5d323
cpp
88
Solarized Dark
#ifdef USE_3D_ADAM_MODEL #ifndef OPENPOSE_FILESTREAM_W_BVH_SAVER_HPP #define OPENPOSE_FILESTREAM_W_BVH_SAVER_HPP #include <openpose/core/common.hpp> #include <openpose/filestream/bvhSaver.hpp> #include <openpose/thread/workerConsumer.hpp> namespace op { template<typename TDatums> class WBvhSaver : public Work...
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...
20c8303666f25b63
python
91
Solarized Light
""" https://en.wikipedia.org/wiki/Strongly_connected_component Finding strongly connected components in directed graph """ test_graph_1 = {0: [2, 3], 1: [0], 2: [1], 3: [4], 4: []} test_graph_2 = {0: [1, 2, 3], 1: [2], 2: [0], 3: [4], 4: [5], 5: [3]} def topology_sort( graph: dict[int, list[int]], vert: int, ...
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...
ed828cb7c6b88c58
typescript
141
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'; import * as path from 'node:path'; import * as os from 'node:os'; import { ExtensionManager } from './extension-manager.js'; i...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
1f4bd4e7507dd049
cpp
21
One Dark Pro
#include <hex/ui/popup.hpp> #include <hex/helpers/auto_reset.hpp> namespace hex::impl { [[nodiscard]] std::vector<std::unique_ptr<PopupBase>> &PopupBase::getOpenPopups() { static AutoReset<std::vector<std::unique_ptr<PopupBase>>> openPopups; return openPopups; } std::mutex& PopupBase::g...
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"...
f29e12cdd7ee6a1b
go
58
Solarized Dark
// Copyright 2015 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
7350b268b62f3931
rust
144
GitHub Dark
/* Permuted Congruential Generator https://en.wikipedia.org/wiki/Permuted_congruential_generator Note that this is _NOT_ intended for serious applications. Use this generator at your own risk and only use your own values instead of the default ones if you really know what you are doing. */ pub struct PCG32 { stat...
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...
e009c832115a056f
java
42
Default Light+
package com.thealgorithms.maths; import java.math.BigInteger; /** * This class provides methods for calculating Fibonacci numbers using BigInteger for large values of 'n'. */ public final class FibonacciLoop { private FibonacciLoop() { // Private constructor to prevent instantiation of this utility cla...
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...
013f5752805e9a9a
python
291
Default Light+
import random import re import string import time from .common import InfoExtractor from ..utils import ( ExtractorError, clean_html, get_element_by_class, js_to_json, str_or_none, strip_jsonp, ) class YoukuIE(InfoExtractor): IE_NAME = 'youku' IE_DESC = '优酷' _VALID_URL = r'''(?x) ...
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"...
2ecb4113391745c2
typescript
165
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Config } from '../../config/config.js'; import type { FunctionCall } from '@google/genai'; import { SafetyCheckDecision, type SafetyCheckResult } from '../protocol.js'; import type { SecurityPolicy } from './types.js'...
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.", ...
9a95b3fd0d343916
javascript
28
Dracula
import path from 'node:path' import legacy from '@vitejs/plugin-legacy' import { defineConfig } from 'vite' export default defineConfig(({ isPreview }) => ({ base: !isPreview ? './' : '/no-polyfills/', plugins: [ legacy({ renderModernChunks: false, polyfills: false, }), { name: 'remov...
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...
2ef73bb29b577889
csharp
53
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
e247377d57e8a3b9
java
47
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" ...
35e4a2455366a42b
typescript
49
Solarized Light
import { InputGroup, InputGroupAddon, InputGroupInput, } from "@/examples/base/ui/input-group" import { CheckIcon, CreditCardIcon, InfoIcon, MailIcon, SearchIcon, StarIcon, } from "lucide-react" export default function InputGroupIcon() { return ( <div className="grid w-full max-w-sm gap-6"> ...
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...
1f9f98283cff71e3
csharp
125
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Step03.Models; namespace Step03.Steps; /// <summary> /// Step used as base by many other cooking processes /// When used in other processes a new step is based on this one with custom GatherIngredientsAsync functionality /// </summ...
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"...
fed93b0e8c50e098
go
226
Default Light+
package alias import ( "context" "fmt" "net/url" stdpath "path" "strings" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/fs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op" "git...
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...
96dc5a514640ebf9
typescript
51
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Box } from 'ink'; import { MarkdownDisplay } from '../../utils/MarkdownDisplay.js'; import { useUIState } from '../../contexts/UIStateContext.js'; interface GeminiMessageContentProps { te...
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...
a69db0c51c89049d
go
445
Default Light+
//go:build windows || darwin package store import ( "database/sql" "fmt" "os" "path/filepath" "sort" "strings" "testing" "time" "github.com/google/go-cmp/cmp" _ "github.com/mattn/go-sqlite3" ) func TestSchemaMigrations(t *testing.T) { t.Run("schema comparison after migration", func(t *testing.T) { tmpD...
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.", ...
106f458e0bb70db5
typescript
398
One Dark Pro
export type PredefinedVariable = { key: `$${string}` description: string getValue: () => string } export const HOPP_SUPPORTED_PREDEFINED_VARIABLES: PredefinedVariable[] = [ // Common { key: "$guid", description: "A v4 style GUID.", getValue: () => { const characters = "0123456789abcdef" ...
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...
f6e0a0b393cdb9bc
java
52
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"...
8888e70207fb40df
cpp
67
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 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...
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.", ...
8a45f0be30ad7ea0
typescript
207
Solarized Light
import { type Metadata } from "next" import { DownloadIcon, FilterIcon, TrendingDownIcon, TrendingUpIcon, } from "lucide-react" import { Badge } from "@/registry/new-york-v4/ui/badge" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardDescription, CardFooter, CardHeader, Car...
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...
8f5859f0b51ac2de
typescript
41
Solarized Light
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york-v4/ui/avatar" import { Button } from "@/registry/new-york-v4/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/registry/new-york-v4/ui/empty" export default function Empty...
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"...
9bd72fe66345a48a
csharp
75
Monokai
using System; using System.Windows; using System.Windows.Media; using System.Windows.Media.Animation; namespace ScreenToGif.Util; public class BrushAnimation : AnimationTimeline { #region Properties public static readonly DependencyProperty FromProperty = DependencyProperty.Register(nameof(From), typeof(Brus...
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...
051a7596346342a2
java
36
GitHub Dark
package org.jeecg.modules.system.constant; /** * 默认首页常量 */ public interface DefIndexConst { /** * 默认首页的roleCode */ String DEF_INDEX_ALL = "DEF_INDEX_ALL"; /** * 默认首页的缓存key */ String CACHE_KEY = "sys:cache:def_index"; /** * 缓存默认首页的类型前缀 */ String CACHE_TYPE = "sy...
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...
68f93f76a5a8cef8
rust
66
One Dark Pro
// Copyright 2024 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use std::io::Write; const MOCK_KERNEL_PATH: &str = "src/utils/mock_kernel/kernel.bin"; // Kernel header for aarch64 that comes from the kernel doc Documentation/arm64/booting.txt. #[derive(Default)] #[re...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
f746d2194cfc80f4
java
113
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
fef6d74b6797e21f
python
225
Default Light+
import base64 import json import os.path import warnings import logging import numpy as np import zlib from PIL import Image, ImageDraw import torch logger = logging.getLogger(__name__) class EmbeddingEncoder(json.JSONEncoder): def default(self, obj): if isinstance(obj, torch.Tensor): return...
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.", ...
1052491586c31914
typescript
39
Default Dark+
export type PaginationResult<T> = { first: number prev: number | null next: number | null last: number pages: number items: number data: T[] } export function paginate<T>(items: T[], page: number, perPage: number): PaginationResult<T> { const totalItems = items.length const safePerPage = Number.isFin...
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...
54fed9397096ba22
python
44
Solarized Light
# /// script # requires-python = ">=3.13" # dependencies = [ # "httpx", # ] # /// import httpx def get_apod_data(api_key: str) -> dict: """ Get the APOD(Astronomical Picture of the day) data Get your API Key from: https://api.nasa.gov/ """ url = "https://api.nasa.gov/planetary/apod" retur...
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...
199661f40eb3ec96
go
65
Solarized Dark
// Copyright 2017 fatedier, fatedier@gmail.com // // 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...
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...
1fff9cb7019588d9
csharp
81
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using Microsoft.SemanticKernel.Connectors.HuggingFace.Core; namespace Microsoft.SemanticKernel.Connectors.HuggingFace; /// <summary> /// Represents the metadata o...
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...
c0c3c28cb9086878
cpp
28
Solarized Light
#pragma once #include <QThread> class ReleaseNotesDialog; class UpdateChecker : public QThread { Q_OBJECT public: UpdateChecker(QWidget* parent); void checkForUpdates(); signals: void updateCheckFinished(const QString & json); protected: void run() override; private slots: void finishedSlo...
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"...
d23f492175350db7
java
46
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...
d19c5ff43d5118e8
typescript
120
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/radix/ui/button" import { ButtonGroup } from "@/examples/radix/ui/button-group" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSepara...
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.", ...
dbfd2983f49a81f1
csharp
48
Default Light+
using System.Collections; using System.Collections.Generic; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { internal abstract class Issue4000<T> : IEnumerable<T>, IEnumerable { public int Length; protected T[] results; #if !ROSLYN4 public T this[int i] { get { if (i >= Length || i < 0) {...
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...
dd54a8fc29806763
python
74
Solarized Light
def orbital_transfer_work( mass_central: float, mass_object: float, r_initial: float, r_final: float ) -> str: """ Calculates the work required to move an object from one orbit to another in a gravitational field based on the change in total mechanical energy. The formula used is: W = (G * ...
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.", ...
2f13f1ad964a3198
typescript
228
Solarized Light
import { Example, ExampleWrapper, } from "@/registry/bases/base/components/example" import { Alert, AlertAction, AlertDescription, AlertTitle, } from "@/registry/bases/base/ui/alert" import { Badge } from "@/registry/bases/base/ui/badge" import { Button } from "@/registry/bases/base/ui/button" import { 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...
a3c5c6f6d910fb18
csharp
26
Monokai
// Copyright (c) Microsoft. All rights reserved. namespace ProcessWithCloudEvents.Processes.Models; /// <summary> /// Object used to store generated document data /// Since this object is used as parameter and state type by multiple steps, /// Its members must be public and serializable /// </summary> //[DataContrac...
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" ...