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
afe11ad87f9d6fa7
python
66
Default Light+
from .common import InfoExtractor from ..utils import ( try_get, unified_timestamp, ) class CGTNIE(InfoExtractor): _VALID_URL = r'https?://news\.cgtn\.com/news/[0-9]{4}-[0-9]{2}-[0-9]{2}/[a-zA-Z0-9-]+-(?P<id>[a-zA-Z0-9-]+)/index\.html' _TESTS = [ { 'url': 'https://news.cgtn.com/new...
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...
c3afded3af507eca
typescript
62
Default Dark+
// Src/server/router/context.ts import type { Session } from 'next-auth'; import * as trpc from '@trpc/server'; import type * as trpcNext from '@trpc/server/adapters/next'; import { getServerAuthSession } from '~/server/common/get-server-auth-session'; import { prisma } from '~/server/db/client'; type CreateContextOp...
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"...
f32d805658788fdc
cpp
28
One Dark Pro
#pragma once #include <hex/api/event_manager.hpp> /* Provider requests definitions */ namespace hex { /** * @brief Creates a provider from its unlocalized name, and add it to the provider list */ EVENT_DEF(RequestCreateProvider, std::string, bool, bool, std::shared_ptr<hex::prv::Provider> *); /...
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...
242e04e7314a45b5
go
391
Default Light+
package local import ( "bytes" "context" "errors" "fmt" "io/fs" "net/http" "os" stdpath "path" "path/filepath" "strconv" "strings" "time" "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/al...
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"...
1ecd0738e64648fa
python
66
Solarized Light
LETTERS = "ABCDEFGHIJKLMNOPQRSTUVWXYZ" def main() -> None: message = input("Enter message: ") key = input("Enter key [alphanumeric]: ") mode = input("Encrypt/Decrypt [e/d]: ") if mode.lower().startswith("e"): mode = "encrypt" translated = encrypt_message(key, message) elif mode.lo...
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" ...
0da43a50deb67f7c
python
60
Solarized Light
alphabets = [chr(i) for i in range(32, 126)] gear_one = list(range(len(alphabets))) gear_two = list(range(len(alphabets))) gear_three = list(range(len(alphabets))) reflector = list(reversed(range(len(alphabets)))) code = [] gear_one_pos = gear_two_pos = gear_three_pos = 0 def rotator(): global gear_one_pos gl...
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...
dbe7c2c174f9b6b4
csharp
112
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
827d98a3b4fdc16d
typescript
108
Solarized Light
import { Menubar, MenubarCheckboxItem, MenubarContent, MenubarItem, MenubarMenu, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, } from "@/registry/new-york-v4/ui/menubar" export default function Menubar...
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"...
9178c090aff3c3c0
typescript
43
One Dark Pro
import { HoppGQLRequest, ValidContentTypes } from "@hoppscotch/data" import * as Eq from "fp-ts/Eq" import * as N from "fp-ts/number" import * as S from "fp-ts/string" import { lodashIsEqualEq, mapThenEq, undefinedEq } from "./eq" export type FormDataKeyValue = { key: string active: boolean } & ({ isFile: true; va...
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" ...
346153eb7ecbbe5c
python
92
Solarized Light
""" An IMPLY Gate is a logic gate in boolean algebra which results to 1 if either input 1 is 0, or if input 1 is 1, then the output is 1 only if input 2 is 1. It is true if input 1 implies input 2. Following is the truth table of an IMPLY Gate: ------------------------------ | Input 1 | Input 2 | Output | ...
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"...
281aac5da9d77d14
csharp
145
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...
7a4295011c4a5701
cpp
36
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/api/localization_manager.hpp> #include <map> #include <string> EXPORT_MODULE namespace hex { /* Experiments Registry. Allows adding new experiments */ namespace ContentRegistry::Experiments { namespace impl { struct Experiment { ...
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"...
55fe98698b5905cf
python
28
Dracula
from fastapi import Depends, FastAPI, HTTPException app = FastAPI() class InternalError(Exception): pass def get_username(): try: yield "Rick" except InternalError: print("Oops, we didn't raise again, Britney 😱") @app.get("/items/{item_id}") def get_item(item_id: str, username: str =...
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...
b0523e8d63daf01d
cpp
68
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" ...
990726701e2e1677
python
56
Solarized Light
from sys import maxsize def array_equalization(vector: list[int], step_size: int) -> int: """ This algorithm equalizes all elements of the input vector to a common value, by making the minimal number of "updates" under the constraint of a step size (step_size). >>> array_equalization([1, 1, 6, 2,...
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" ...
6ceca6dba2836f06
java
149
Default 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...
d891cb2304eec139
csharp
24
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; namespace Microsoft.Extensions.DependencyInjection; /// <summary>Provides an implementation of <see cref="IKeyedServiceProvider"/> that contains no services.</summary> internal sealed class EmptyKeyedServiceProvider : IKeyedServiceProvider { /// <su...
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...
a89d24feee2d85ce
java
58
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...
22393b1e73247be5
csharp
64
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...
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...
0e020f36d3bdfd6c
csharp
57
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text.Json; using Azure.Identity; using Microsoft.Graph; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Plugins.MsGraph; using Microsoft.SemanticKernel.Plugins.MsGraph.Connectors; namespace Plugins; /// <summary> /// This example shows how...
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...
12d2be9c9072659f
python
74
Monokai
# Copyright (c) Microsoft. All rights reserved. import os import wave from typing import ClassVar import keyboard import pyaudio from pydantic import BaseModel class AudioRecorder(BaseModel): """A class to record audio from the microphone and save it to a WAV file. To start recording, press the spacebar. 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" ...
ccb8798c90630cec
python
130
Monokai
# Copyright (c) Microsoft. All rights reserved. from dataclasses import dataclass, field from typing import Annotated, Any from uuid import uuid4 from pandas import DataFrame from pydantic import BaseModel, Field from semantic_kernel.data.vector import VectorStoreCollectionDefinition, VectorStoreField, vectorstoremo...
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...
8847261d277f8590
cpp
436
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
bf9f5f2127e33f0e
csharp
97
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Text.Json; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Connectors.CosmosNoSql; /// <summary> /// A JSON converter for byte arrays that serializes them as JSON arrays of numbers ...
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...
1bfba497f13b1f42
go
30
Solarized Dark
// Copyright 2017 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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.", ...
e6105dbd492144b5
typescript
39
Solarized Light
"use client" import * as React from "react" import { Skeleton } from "@/examples/radix/ui-rtl/skeleton" import { useTranslation, type Translations, } from "@/components/language-selector" const translations: Translations = { en: { dir: "ltr", values: {}, }, ar: { dir: "rtl", values: {}, }...
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.", ...
3f35817c3a38e469
rust
46
One Dark Pro
// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 // automatically generated by tools/bindgen.sh #![allow( non_camel_case_types, non_upper_case_globals, dead_code, non_snake_case, clippy::ptr_as_ptr, clippy::undocumented_unsafe_bl...
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.", ...
b13991f04ce75e4e
cpp
138
Solarized Light
#pragma once #include "bridgemain.h" #include "concurrentqueue/blockingconcurrentqueue.h" #include <functional> class JobQueue { moodycamel::BlockingConcurrentQueue<std::function<bool()>> mQueue; std::thread mThread; public: JobQueue() { start(); } ~JobQueue() { stop(); ...
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"...
9172d8beff526fc4
typescript
171
Solarized Light
import { type BatchScrapeJob, type BatchScrapeResponse, type CrawlErrorsResponse, type Document, type BatchScrapeOptions, type PaginationConfig, JobTimeoutError, SdkError, } from "../types"; import { HttpClient } from "../utils/httpClient"; import { ensureValidScrapeOptions } from "../utils/validation";...
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...
da6068f90f9d8fd4
typescript
63
Solarized Light
import { Calculator, Calendar, CreditCard, Settings, Smile, User, } from "lucide-react" import { Command, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, } from "@/registry/new-york-v4/ui/command" export default function CommandDemo() ...
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...
85855601d3b24ea4
python
73
Monokai
""" Feature flags module for ComfyUI WebSocket protocol negotiation. This module handles capability negotiation between frontend and backend, allowing graceful protocol evolution while maintaining backward compatibility. """ from typing import Any from comfy.cli_args import args # Default server capabilities SERVER...
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.", ...
7c63837a676915c9
typescript
103
GitHub Dark
import { BasicColumn, FormSchema } from '/@/components/Table'; import { render } from '/@/utils/common/renderUtils'; export const columns: BasicColumn[] = [ { title: '标题', dataIndex: 'titile', width: 100, align: 'left', }, { title: '消息类型', dataIndex: 'msgCategory', width: 80, cust...
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...
1c2d03c5ab2a9503
go
66
Solarized Light
package mysql import ( "context" "strings" "github.com/usememos/memos/store" ) func (d *DB) UpsertInstanceSetting(ctx context.Context, upsert *store.InstanceSetting) (*store.InstanceSetting, error) { stmt := "INSERT INTO `system_setting` (`name`, `value`, `description`) VALUES (?, ?, ?) ON DUPLICATE KEY UPDATE `...
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...
645a755619c5003e
typescript
35
Default Light+
import { useEffect, useRef } from "react"; import "./SVGLayer.scss"; import type { Trail } from "../animated-trail"; type SVGLayerProps = { trails: Trail[]; }; export const SVGLayer = ({ trails }: SVGLayerProps) => { const svgRef = useRef<SVGSVGElement | null>(null); useEffect(() => { if (svgRef.current)...
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" ...
7c9b212b917d6d96
java
45
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...
5f85a61d9cb0338c
typescript
42
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useEffect } from 'react'; import process from 'node:process'; import { type HistoryItemWithoutId, MessageType } from '../types.js'; export const MEMORY_WARNING_THRESHOLD = 7 * 1024 * 1024 * 1024; // 7GB in bytes export co...
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"...
326639359cae078c
cpp
95
Solarized Dark
#ifndef OPENPOSE_CORE_W_KEYPOINT_SCALER_HPP #define OPENPOSE_CORE_W_KEYPOINT_SCALER_HPP #include <openpose/core/common.hpp> #include <openpose/core/keypointScaler.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums> class WKeypointScaler : public Worker<TDatums> { publi...
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...
3dfc5bb3e1c22bcb
java
34
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
e1e02b45271a7a4b
go
39
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...
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"...
bd11eef45cd39f71
javascript
20
Dracula
import cartesianProduct from '../cartesianProduct'; describe('cartesianProduct', () => { it('should return null if there is not enough info for calculation', () => { const product1 = cartesianProduct([1], null); const product2 = cartesianProduct([], null); expect(product1).toBeNull(); expect(product...
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" ...
f4723b9fa70eaf3a
python
135
Default Light+
from .common import InfoExtractor from ..utils import ( ExtractorError, encode_base_n, get_elements_by_class, int_or_none, join_nonempty, merge_dicts, parse_duration, str_to_int, url_or_none, ) class EpornerIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?eporner\.com/(?:(?...
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...
f02cbeb211a26c64
csharp
191
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
542279d6c385a802
csharp
324
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
a87c0a82839165c8
python
39
Default Light+
from .common import InfoExtractor class FOX9IE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?fox9\.com/video/(?P<id>\d+)' def _real_extract(self, url): video_id = self._match_id(url) return self.url_result( 'anvato:anvato_epfox_app_web_prod_b3373168e12f423f41504f207000188daf88...
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...
2d01b903f3d128c0
csharp
225
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.IO; using System.Net.Http; using System.Text.Json.Nodes; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microso...
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...
3adc77d540fc5f76
cpp
71
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" ...
7e56093e32bb4367
rust
36
Solarized Dark
use nu_ansi_term::Color; use serde::{Deserialize, Serialize}; pub const MOJO_DEFAULT_COLOR: Color = Color::Fixed(208); #[derive(Clone, Deserialize, Serialize)] #[cfg_attr( feature = "config-schema", derive(schemars::JsonSchema), schemars(deny_unknown_fields) )] #[serde(default)] pub struct MojoConfig<'a> ...
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...
7f199925760716be
csharp
79
Default Light+
// Copyright (c) 2010-2013 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
44d2f5192c2e0c74
rust
150
GitHub Dark
use std::io::{self, IsTerminal}; use termcolor::HyperlinkSpec; /// A writer that supports coloring with either line or block buffering. #[derive(Debug)] pub struct StandardStream(StandardStreamKind); /// Returns a possibly buffered writer to stdout for the given color choice. /// /// The writer returned is either li...
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...
5d7c7cb5fcbf53b2
typescript
266
One Dark Pro
import { HoppCollection, HoppRESTRequest } from "@hoppscotch/data" import { DocumentationItem } from "~/composables/useDocumentationWorker" interface GatherDocumentationMessage { type: "GATHER_DOCUMENTATION" collection: string // JSON stringified collection pathOrID: string | null isTeamCollection?: boolean //...
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...
617a47525ba5c94e
go
44
Default Light+
package _115 import ( "time" "github.com/SheltonZhu/115driver/pkg/driver" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/pkg/utils" ) var _ model.Obj = (*FileObj)(nil) type FileObj struct { driver.File ThumbURL string } func (f *FileObj) CreateTime() time.Time { return f.File....
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...
373b0c3027f7f446
typescript
113
Solarized Light
import { promises as fsPromises } from "fs" import path from "path" import { createStyleMap, transformIcons, transformMenu, transformRender, transformStyle, } from "shadcn/utils" import { Project, ScriptKind } from "ts-morph" import { BASES } from "@/registry/bases" function getStyleFromStyleName(styleName:...
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...
766609a6dbb65c8d
java
102
Default Light+
package com.thealgorithms.maths; import java.util.ArrayList; import java.util.function.BiFunction; /** * In mathematics and computational science, the Euler method (also called * forward Euler method) is a first-order numerical procedure for solving * ordinary differential equations (ODEs) with a given initial val...
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...
ef4b3eea3d298e70
typescript
138
Default Light+
import clsx from "clsx"; import React, { useEffect, useState } from "react"; import { KEYS, queryFocusableElements } from "@excalidraw/common"; import { useSetAtom } from "../editor-jotai"; import { useCallbackRefState } from "../hooks/useCallbackRefState"; import { t } from "../i18n"; import { useExcalidrawContai...
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...
2437e97e4c55fb6a
java
50
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
79bdbb5a47245e6e
go
35
Default Light+
package format import ( "fmt" "math" "strconv" ) const ( Thousand = 1000 Million = Thousand * 1000 Billion = Million * 1000 ) func HumanNumber(b uint64) string { switch { case b >= Billion: number := float64(b) / Billion if number == math.Floor(number) { return fmt.Sprintf("%.0fB", number) // no dec...
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...
d42576602ba828d9
typescript
267
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { act } from 'react'; import { renderHookWithProviders } from '../../test-utils/render.js'; import { useReverseSearchCompletion } from './useReverseSe...
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.", ...
0e13624bb4807867
typescript
32
GitHub Dark
import type { TransitionSetting } from '/#/config'; import { computed } from 'vue'; import { useAppStore } from '/@/store/modules/app'; export function useTransitionSetting() { const appStore = useAppStore(); const getEnableTransition = computed(() => appStore.getTransitionSetting?.enable); const getOpenNPro...
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...
35b4f8d77b3ce6cd
csharp
306
Monokai
using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Collections; using System.Runtime.InteropServices; namespace System.Yaml.Serialization { /// <summary> /// Converts C# object to YamlNode /// </summary> /// <example> /// <code> /// object obj; ...
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" ...
d80af91d17dd22bb
csharp
42
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" ...
2509ce2fe2ee1fad
cpp
165
One Dark Pro
#include <hex/helpers/logger.hpp> #include <hex/api/task_manager.hpp> #include <hex/helpers/fs.hpp> #include <hex/helpers/fmt.hpp> #include <hex/helpers/default_paths.hpp> #include <hex/helpers/auto_reset.hpp> #include <wolv/io/file.hpp> #include <mutex> #include <chrono> #include <fmt/chrono.h> #include <hex/helpe...
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" ...
ba95022ee22e4e5c
csharp
86
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"...
d7d2fa7cf1ef05ad
cpp
67
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2010 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"...
ffe44fe6fe84e00e
python
105
Default Light+
from abc import ABCMeta from enum import Enum class UserService(object): def __init__(self): self.users_by_id = {} # key: user id, value: User def add_user(self, user_id, name, pass_hash): pass def remove_user(self, user_id): pass def add_friend_request(self, from_user_id,...
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" ...
07d0566e93f29dba
typescript
24
Default Dark+
import type { ProductNavigationItems } from '~/components/global/ProductNavigation'; const navigation: ProductNavigationItems = [ { href: '/questions/browse', name: 'Browse' }, { href: '/questions/lists', name: 'My Lists' }, { href: '/questions/about', name: 'About' }, ]; const config = { logo: ( <img ...
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...
9195eb0e7ed32703
typescript
308
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { getErrorMessage, getMCPServerPrompts, type Config, } from '@google/gemini-cli-core'; import { CommandKind, type CommandContext, type SlashCommand, type SlashCommandActionReturn, } from '../ui/commands/types.j...
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.", ...
3c0de91ba355571b
typescript
24
Solarized Light
import { Button } from "@/examples/base/ui/button" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/examples/base/ui/tooltip" export function TooltipDisabled() { return ( <> <Tooltip> <TooltipTrigger render={<span className="inline-block w-fit" />}> <Button variant="outli...
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...
9ff2a443045a4193
typescript
114
Solarized Light
import { existsSync } from "fs" import path from "path" export function isEnvFile(filePath: string) { const fileName = path.basename(filePath) return /^\.env(\.|$)/.test(fileName) } /** * Finds a file variant in the project. * TODO: abstract this to a more generic function. */ export function findExistingEnvFi...
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...
c99b62fe90a09f88
cpp
86
Solarized Dark
#ifndef OPENPOSE_FACE_FACE_EXTRACTOR_HPP #define OPENPOSE_FACE_FACE_EXTRACTOR_HPP #include <atomic> #include <openpose/core/common.hpp> #include <openpose/core/enumClasses.hpp> namespace op { /** * Face keypoint extractor class. */ class OP_API FaceExtractorNet { public: /** ...
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...
823c9bef75aad513
python
74
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from samples.concepts.memory.azure_ai_search_hotel_samples.data_model import ( HotelSampleClass, custom_index, load_records, ) from semantic_kernel.connectors.ai.open_ai import OpenAITextEmbedding from semantic_kernel.connectors.azure_ai_searc...
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"...
aceb4e1b99d8cd1e
typescript
172
Solarized Light
import { useQueryClient } from "@tanstack/react-query"; import { createContext, type ReactNode, useCallback, useContext, useMemo, useState } from "react"; import { clearAccessToken, hasStoredToken } from "@/auth-state"; import { authServiceClient, shortcutServiceClient, userServiceClient } from "@/connect"; import { 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...
fbf963f41d921632
typescript
199
Solarized Light
"use client" import * as React from "react" import { cn } from "@/examples/radix/lib/utils" import { Button } from "@/examples/radix/ui-rtl/button" import { AlertDialog as AlertDialogPrimitive } from "radix-ui" function AlertDialog({ ...props }: React.ComponentProps<typeof AlertDialogPrimitive.Root>) { return <Al...
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...
b11e16345b6567ce
csharp
231
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
3f9369549679ff3c
java
109
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
88d638b9aac794a9
python
155
Default Light+
import re from .common import InfoExtractor from ..utils import ( extract_attributes, get_elements_by_class, get_elements_text_and_html_by_attribute, int_or_none, parse_duration, traverse_obj, ) # https://codex.wordpress.org/Playlist_Shortcode class WordpressPlaylistEmbedIE(InfoExtractor): ...
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" ...
fc4f7a1168392490
cpp
31
One Dark Pro
#include <hex/plugin.hpp> #include <hex/api/content_registry/views.hpp> #include <hex/helpers/logger.hpp> #include <romfs/romfs.hpp> #include "content/views/view_diff.hpp" namespace hex::plugin::diffing { void registerDiffingAlgorithms(); } using namespace hex; using namespace hex::plugin::diffing; IMHEX_P...
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...
f292cc0aaa4e3b01
csharp
74
Monokai
/* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation t...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
56e5db2fabf13615
java
118
Monokai
package com.termux.shared.termux.shell.command.environment; import android.content.Context; import androidx.annotation.NonNull; import com.termux.shared.errors.Error; import com.termux.shared.file.FileUtils; import com.termux.shared.logger.Logger; import com.termux.shared.shell.command.ExecutionCommand; import com.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...
18476a319c232c58
go
68
Default Light+
// Credits: https://pkg.go.dev/github.com/rclone/rclone@v1.65.2/cmd/serve/s3 // Package s3 implements a fake s3 server for alist package s3 import ( "sort" "github.com/alist-org/gofakes3" ) // pager splits the object list into smulitply pages. func (db *s3Backend) pager(list *gofakes3.ObjectList, page gofakes3.Lis...
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...
2dd9512eb30f3738
typescript
32
Solarized Light
import { Button } from "@/examples/radix/ui/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/examples/radix/ui/empty" import { Spinner } from "@/examples/radix/ui/spinner" export function SpinnerEmpty() { return ( <Empty className="w-full"> ...
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" ...
c2c585c460b9949b
cpp
268
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"...
71326f7454e8c0f5
typescript
50
Solarized Light
import { InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, } from "@/examples/radix/ui/input-group" import { Label } from "@/examples/radix/ui/label" import { Tooltip, TooltipContent, TooltipTrigger, } from "@/examples/radix/ui/tooltip" import { InfoIcon } from "lucide-react" export default...
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.", ...
12f6b93108c600dc
typescript
118
Solarized Light
import type { Metadata } from "next" import { NuqsAdapter } from "nuqs/adapters/next/app" import { META_THEME_COLORS, siteConfig } from "@/lib/config" import { fontVariables } from "@/lib/fonts" import { cn } from "@/lib/utils" import { LayoutProvider } from "@/hooks/use-layout" import { ActiveThemeProvider } from "@/...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
87e4e18a753f99c6
python
201
Default Light+
import json from .common import InfoExtractor from ..networking import Request from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, clean_html, int_or_none, parse_age_limit, try_get, ) class HRTiBaseIE(InfoExtractor): """ Base Information Extractor for C...
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"...
b9ecd5ed02977159
cpp
74
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"...
cb18769896bd79be
rust
214
GitHub Dark
//! Base85 (Ascii85) encoding and decoding //! //! Ascii85 is a form of binary-to-text encoding developed by Adobe Systems. //! It encodes 4 bytes into 5 ASCII characters from the range 33-117 ('!' to 'u'). //! //! # References //! - [Wikipedia: Ascii85](https://en.wikipedia.org/wiki/Ascii85) /// Converts a base-10 nu...
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...
76cac8e8303277ad
typescript
318
One Dark Pro
import { ApiPath, Google } from "@/app/constant"; import { ChatOptions, getHeaders, LLMApi, LLMModel, LLMUsage, SpeechOptions, } from "../api"; import { useAccessStore, useAppConfig, useChatStore, usePluginStore, ChatMessageTool, } from "@/app/store"; import { stream } from "@/app/utils/chat"; imp...
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...
cdfc8c0f78a2647a
rust
115
GitHub Dark
//! This module provides functions for heap sort algorithm. use std::cmp::Ordering; /// Builds a heap from the provided array. /// /// This function builds either a max heap or a min heap based on the `is_max_heap` parameter. /// /// # Arguments /// /// * `arr` - A mutable reference to the array to be sorted. /// * `...
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" ...
e10fae32999df3ef
csharp
109
Default Light+
//------------------------------------------------------------------------------ // <auto-generated> // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // </auto-generated> //---...
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.", ...
9316a929643b9b57
csharp
101
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Threading; using System.Threading.Tasks; using Amazon.BedrockAgentRuntime; namespace Microsoft.SemanticKernel.Agents.Bedrock; /// <summary> /// Represents a conversation thread for a Bedrock agent. /// </summary> public sealed class BedrockA...
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" ...
5623c377ab4a9761
typescript
300
Default Dark+
import { useRouter } from 'next/router'; import { signIn, useSession } from 'next-auth/react'; import { useState } from 'react'; import { BookmarkIcon as BookmarkIconOutline, BuildingOffice2Icon, CalendarDaysIcon, PencilSquareIcon, TrashIcon, } from '@heroicons/react/24/outline'; import { BookmarkIcon as Book...
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" ...
ac6721f48d15edbb
python
229
Default Light+
from __future__ import annotations import os from collections import namedtuple import enum import torch.nn as nn import torch.nn.functional as F from modules import sd_models, cache, errors, hashes, shared import modules.models.sd3.mmdit NetworkWeights = namedtuple('NetworkWeights', ['network_key', 'sd_key', 'w', '...
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...
d5a6156e7e941457
java
118
Monokai
package com.termux.app.terminal.io; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.widget.EditText; import androidx.annotation.NonNull; import androidx.viewpager.widget.PagerAdapter; import androidx.viewpager.widget.ViewPager; import com.termux.R; import c...
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...
b69dd61c954c6845
cpp
36
One Dark Pro
#include <hex/api/localization_manager.hpp> #include <algorithm> #include <imgui.h> #include <hex/ui/imgui_imhex_extensions.h> #include <content/tools_entries.hpp> #include <fonts/vscode_icons.hpp> namespace hex::plugin::builtin { void drawByteSwapper() { static std::string input, buffer, output; ...
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...
f6337ce89d1b870e
csharp
185
Dracula
namespace v2rayN.Manager; public sealed class HotkeyManager { private static readonly Lazy<HotkeyManager> _instance = new(() => new()); public static HotkeyManager Instance = _instance.Value; private const int WmHotkey = 0x0312; private readonly Dictionary<int, List<EGlobalHotkey>> _hotkeyTriggerDic = ...
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...
e6e608519814f2cb
typescript
103
Default Dark+
import type { SubmitHandler } from 'react-hook-form'; import { useForm } from 'react-hook-form'; import { Button, TextArea } from '~/ui'; import { trpc } from '~/utils/trpc'; import type { ResumeComment } from '~/types/resume-comments'; type ResumeCommentEditFormProps = { comment: ResumeComment; setIsEditingComm...
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" ...
5e3f29bd6f33b41d
csharp
138
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...
e65d3d0279612c0e
java
101
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...
eaab7a76ce3e3a62
csharp
160
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ClientModel.Primitives; using System.Collections.Generic; using System.Text; using System.Text.Json; using Microsoft.SemanticKernel.Connectors.OpenAI; using OpenAI.Chat; using Xunit; namespace SemanticKernel.Connectors.OpenAI.UnitTests.Core;...
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...
aa7544f3cb57f361
cpp
24
One Dark Pro
// // Created by xiemenghui on 2018/7/21. // #ifndef DESIGNPATTERN_ABSTRACTION_H #define DESIGNPATTERN_ABSTRACTION_H #include "implementor.h" // Switch class ISwitch { public: ISwitch(IElectricalEquipment *ee){ m_pEe = ee; } virtual ~ISwitch(){} virtual void On() = 0; // Turn on the appliance virtua...
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.", ...