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
98e887dff1fbb53b
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...
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...
d82bb3007bafa328
typescript
33
Solarized Light
import { Button } from "@/registry/bases/base/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/bases/base/ui/card" import { SidebarInput } from "@/registry/bases/base/ui/sidebar" export function SidebarOptInForm() { return ( <Card className="gap-2 py-4 s...
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"...
aa133fab0b1d783b
python
142
Solarized Light
""" checks local versions against published versions. # Usage: python .github/scripts/check_version_has_incremented.py js ./apps/js-sdk/firecrawl @mendable/firecrawl-js Local version: 0.0.22 Published version: 0.0.21 true python .github/scripts/check_version_has_incremented.py python ./apps/python-sdk/firecrawl fir...
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...
0886cf1e8c9564fe
java
50
One Dark Pro
package io.github.ggerganov.whispercpp; import io.github.ggerganov.whispercpp.ggml.GgmlTensor; import io.github.ggerganov.whispercpp.model.EModel; public class WhisperModel { // EModel type = EModel.MODEL_UNKNOWN; // // WhisperHParams hparams; // WhisperFilters filters; // // // encoder.positional_embeddi...
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...
1b8b697f5fca9f62
go
59
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...
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" ...
329dc376e2af8b8a
java
175
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
0adf7713657ee52a
go
22
Default Light+
package parsers import "github.com/ollama/ollama/api" // GLM47Parser extends GLM46Parser with thinking-aware initialization. // GLM-4.7's prompt ends with <think> when thinking is enabled, so the parser // must start in CollectingThinking state (the model outputs thinking content directly). type GLM47Parser struct { ...
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...
b7882a1ef763fba1
java
259
GitHub Dark
package org.jeecg.common.aspect; import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.serializer.PropertyFilter; import org.apache.shiro.SecurityUtils; import org.aspectj.lang.JoinPoint; import org.aspectj.lang.ProceedingJoinPoint; import org.aspectj.lang.annotation.Around; import org.aspectj.lang.annot...
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...
7cbd02f27fb9133c
csharp
235
Monokai
using System.ComponentModel; using System.Runtime.Serialization; using System.Windows; using System.Windows.Media; using ScreenToGif.Domain.Enums; using ScreenToGif.Util.Extensions; using ScreenToGif.Util.Settings; namespace ScreenToGif.ViewModel.Tasks; public class ResizeViewModel : BaseTaskViewModel { #region V...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
04d223f2b34a7329
java
23
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
14528690053a3ac0
csharp
51
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"...
1c7c5a0f75269b4f
csharp
132
Monokai
using System.Text.Json; using System.Text.Json.Serialization; using Microsoft.VisualStudio.Threading; using Netch.JsonConverter; using Netch.Models; namespace Netch.Utils; public static class Configuration { /// <summary> /// 数据目录 /// </summary> public static string DataDirectoryFullName => Path....
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"...
6dda867bfd99b127
rust
326
GitHub Dark
/// Principal Component Analysis (PCA) for dimensionality reduction. /// PCA transforms data to a new coordinate system where the greatest /// variance lies on the first coordinate (first principal component), /// the second greatest variance on the second coordinate, and so on. /// Compute the mean of each feature ac...
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" ...
147e4cbfaada51de
csharp
21
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Linq; using Microsoft.Extensions.Logging; namespace Microsoft.SemanticKernel.Process.Internal; internal static class ProcessExtensions { public static KernelProcess CloneProcess(this KernelProcess process, ILogger logger) { KernelProcess ...
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"...
212bdfcc92905ef9
typescript
33
Solarized Light
import { GalleryVerticalEnd } from "lucide-react" import { LoginForm } from "@/registry/new-york-v4/blocks/login-02/components/login-form" export default function LoginPage() { return ( <div className="grid min-h-svh lg:grid-cols-2"> <div className="flex flex-col gap-4 p-6 md:p-10"> <div className...
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...
bb84108f197a4e28
javascript
193
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ // // 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
[ { "content": "You are a code transcription assistant. When given a 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...
2010a242bd32fc20
java
252
GitHub Dark
package org.jeecg.common.system.base.controller; import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.service.IService; import lombok.extern.s...
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...
50334f4db1f0e867
javascript
60
Dracula
'use strict'; const EVALUATION_SCHEMA_VERSION = 'ecc.skill-evaluation.v1'; function roundRate(value) { return Math.round(value * 1000) / 1000; } function summarize(records) { const runs = records.length; const successes = records.filter(record => record.outcome && record.outcome.success).length; const failur...
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...
3abcf1c557a8bb10
python
51
Default Light+
# -*- coding: utf-8 -*- from enum import Enum class DefaultCategories(Enum): HOUSING = 0 FOOD = 1 GAS = 2 SHOPPING = 3 # ... seller_category_map = {} seller_category_map['Exxon'] = DefaultCategories.GAS seller_category_map['Target'] = DefaultCategories.SHOPPING class Categorizer(object): ...
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" ...
e6be69b4a22e4be6
java
192
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" ...
24633c20cc9eea10
typescript
20
One Dark Pro
import { z } from "zod" import { defineVersion } from "verzod" import { V13_SCHEMA } from "./13" // Update the HoppRESTRequestResponses while migrating HoppRESTRequest export const V14_SCHEMA = V13_SCHEMA.extend({ v: z.literal("14"), }) export default defineVersion({ schema: V14_SCHEMA, initial: false, up(old...
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.", ...
20c0417ad825ed6e
csharp
125
One Dark Pro
namespace ShareX { partial class ClipboardUploadForm { /// <summary> /// Required designer variable. /// </summary> private System.ComponentModel.IContainer components = null; /// <summary> /// Clean up any resources being used. /// </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...
d2bb06b9b38dc0b1
rust
250
Solarized Light
//! Logging for Alacritty. //! //! The main executable is supposed to call `initialize()` exactly once during //! startup. All logging messages are written to stdout, given that their //! log-level is sufficient for the level configured in `cli::Options`. use std::fs::{File, OpenOptions}; use std::io::{self, LineWrite...
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" ...
1e4ae63e1cef1fdc
java
24
Solarized Dark
public class PalindromePermutation { public boolean canPermutePalindrome(String s) { char[] characters = new char[256]; for(int i = 0; i < s.length(); i++) { characters[s.charAt(i)]++; } int oddCount = 0; for(int i = 0; i < characters.le...
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...
07647bbabca5214a
typescript
23
One Dark Pro
import { HoppModule } from "." import { plugin as HoppUI, HoppUIPluginOptions } from "@hoppscotch/ui" import { useKeybindingDisabler } from "~/helpers/keybindings" import { useI18n } from "vue-i18n" const { disableKeybindings, enableKeybindings } = useKeybindingDisabler() import "@hoppscotch/ui/style.css" const HoppU...
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" ...
dfa4361cca531597
python
141
Default Light+
import math import gradio as gr import modules.scripts as scripts from modules import deepbooru, images, processing, shared from modules.processing import Processed from modules.shared import opts, state class Script(scripts.Script): def title(self): return "Loopback" def show(self, is_img2img): ...
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" ...
d46b5bb5a61ba26e
java
102
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
591e21311438a277
typescript
41
One Dark Pro
import * as TE from "fp-ts/TaskEither" import { getPreRequestScriptMethods } from "~/utils/shared" import { SandboxPreRequestResult, TestResult } from "~/types" const executeScriptInContext = ( preRequestScript: string, envs: TestResult["envs"] ): TE.TaskEither<string, SandboxPreRequestResult> => { try { co...
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...
b6bd8066197d89f0
csharp
92
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...
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...
b8f3b8e5ac7a686d
typescript
46
Default Dark+
import withHref from '~/utils/questions/withHref'; import type { BaseQuestionCardProps } from './BaseQuestionCard'; import BaseQuestionCard from './BaseQuestionCard'; export type QuestionOverviewCardProps = Omit< BaseQuestionCardProps & { showActionButton: false; showAggregateStatistics: true; showAnswe...
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"...
71f5d0e05b79d85c
go
64
Default Light+
package s3 import ( "crypto/hmac" "crypto/sha1" "encoding/hex" "encoding/json" "io" "net/http" "strings" ) type TmpTokenResponse struct { Code int `json:"code"` Msg string `json:"msg"` Data TmpTokenResponseData `json:"data,omitempty"` } type TmpTokenResponseData struct { Cre...
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...
239db00c64cdd09a
java
73
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
5e35eaaa35f21464
typescript
125
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { debugLogger, coreEvents } from '@google/gemini-cli-core'; import type { SlashCommand } from '../ui/commands/types.js'; import type { ICommandLoader, CommandConflict } from './types.js'; import { SlashCommandResolver } from...
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...
c410b748d434e794
csharp
80
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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...
5a9366a0f6ef5c8f
cpp
167
One Dark Pro
#include <hex/api/content_registry/data_processor.hpp> #include <hex/data_processor/node.hpp> #include <numeric> #include <algorithm> #include <cmath> namespace hex::plugin::builtin { class NodeArithmeticAdd : public dp::Node { public: NodeArithmeticAdd() : Node("hex.builtin.nodes.arithmetic.add.head...
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...
7b9a23786afa1a62
cpp
206
One Dark Pro
/////////////////////////////////////////////////////////////////////// // File: intsimdmatrixneon.cpp // Description: matrix-vector product for 8-bit data on neon. // Author: Robin Watts (from the AVX2 original by Ray Smith) // // (C) Copyright 2017, Google Inc. // (C) Copyright 2020, Artifex Software Inc....
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" ...
0475b288d2aab958
cpp
360
One Dark Pro
#include "content/views/view_hashes.hpp" #include <hex/api/project_file_manager.hpp> #include <hex/api/achievement_manager.hpp> #include <hex/api/events/events_interaction.hpp> #include <hex/api/content_registry/hashes.hpp> #include <hex/providers/memory_provider.hpp> #include <hex/helpers/crypto.hpp> #include <hex/...
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.", ...
21818a760b148fcc
python
70
Default Light+
import urllib.parse from .brightcove import BrightcoveLegacyIE from .common import InfoExtractor from ..utils import smuggle_url class RMCDecouverteIE(InfoExtractor): _VALID_URL = r'https?://rmcdecouverte\.bfmtv\.com/(?:[^?#]*_(?P<id>\d+)|mediaplayer-direct)/?(?:[#?]|$)' _TESTS = [{ 'url': 'https://...
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.", ...
1dcfda9d1c3ca7a3
cpp
143
One Dark Pro
#include "models.h" llm_build_deepseek::llm_build_deepseek(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v(); GGML_ASSERT(n_embd_head == hparams.n_embd_head_k()); GGML_ASSERT(n_embd_head == n_rot); ggml_te...
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" ...
13e527062d88bf19
cpp
486
Dracula
/** * Copyright 2023 by XGBoost contributors */ #ifndef XGBOOST_COMMON_RANKING_UTILS_H_ #define XGBOOST_COMMON_RANKING_UTILS_H_ #include <algorithm> // for min #include <cmath> // for log2, fabs, floor #include <cstddef> // for size_t #include <cstdint...
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" ...
7693076690a6f4ae
go
24
Solarized Dark
// Copyright 2021 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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" ...
bf61a58bf55ea61b
typescript
33
Solarized Light
import { Button } from "@/examples/base/ui/button" import { HoverCard, HoverCardContent, HoverCardTrigger, } from "@/examples/base/ui/hover-card" const HOVER_CARD_SIDES = ["left", "top", "bottom", "right"] as const export function HoverCardSides() { return ( <div className="flex flex-wrap justify-center 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"...
ddeadf6423fdb26d
java
21
GitHub Dark
package org.jeecg.common.system.api.factory; import org.springframework.cloud.openfeign.FallbackFactory; import org.jeecg.common.system.api.ISysBaseAPI; import org.jeecg.common.system.api.fallback.SysBaseAPIFallback; import org.springframework.stereotype.Component; /** * @Description: SysBaseAPIFallbackFactory * @a...
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...
8e2a0caa1c23075c
csharp
75
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Linq; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel; /// <summary> /// Represents a <see cref="FunctionChoiceBehavior"/> that provides either all of the <see cref="Kernel"/>'s plugins' function...
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...
88f78ce7dd65f9f2
python
240
Monokai
import nodes import torch import numpy as np from einops import rearrange from typing_extensions import override import comfy.model_management from comfy_api.latest import ComfyExtension, io CAMERA_DICT = { "base_T_norm": 1.5, "base_angle": np.pi/3, "Static": { "angle":[0., 0., 0.], "T":[0., 0., 0....
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...
8789c7af3ee5b81c
java
40
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" ...
9df9630883408f23
typescript
229
GitHub Dark
import type { NamePath, RuleObject, ValidateOptions } from 'ant-design-vue/lib/form/interface'; import type { VNode, ComputedRef } from 'vue'; import type { ButtonProps as AntdButtonProps } from '/@/components/Button'; import type { FormItem } from './formItem'; import type { ColEx, ComponentType } from './index'; impo...
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...
8ff2b38fc151043e
typescript
101
Solarized Light
import postcss from "postcss" import selectorParser, { type ClassName, type Selector as SelectorNodeRoot, } from "postcss-selector-parser" import { z } from "zod" const CN_PREFIX = "cn-" export const styleMapSchema = z.record( z.string().startsWith(CN_PREFIX), z.string() ) export type StyleMap = z.infer<type...
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...
d190b639248ff452
go
47
Default Light+
package baidu_netdisk import ( "time" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { RefreshToken string `json:"refresh_token" required:"true"` driver.RootPath OrderBy string `json:"order_by" type:"select" options:"name,time,si...
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.", ...
394e28a021972348
rust
203
Dracula
use super::{common_enum, get_wstr_bytes, is_name_equal}; use hbb_common::{bail, log, ResultType}; use std::{io, ptr::null_mut, time::Duration}; use winapi::{ shared::{ minwindef::{BOOL, DWORD, FALSE, LPBYTE, LPDWORD, MAX_PATH}, ntdef::{DWORDLONG, LPCWSTR}, winerror::{ERROR_UNKNOWN_PRINTER_DR...
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...
81c0cdae9d85e447
go
21
Default Light+
//go:build 386 || amd64 || arm64 package fzf import "unsafe" func compareRanks(irank Result, jrank Result, tac bool) bool { left := *(*uint64)(unsafe.Pointer(&irank.points[0])) right := *(*uint64)(unsafe.Pointer(&jrank.points[0])) if left < right { return true } else if left > right { return false } 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.", ...
fb149d5fa86e70d6
csharp
271
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
386d4d4deb39f341
typescript
36
Solarized Light
"use client" import * as React from "react" import { Switch as SwitchPrimitive } from "radix-ui" import { cn } from "@/lib/utils" function Switch({ className, size = "default", ...props }: React.ComponentProps<typeof SwitchPrimitive.Root> & { size?: "sm" | "default" }) { return ( <SwitchPrimitive.Root ...
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"...
db522b5994e39aae
python
388
Default Light+
import functools from .common import InfoExtractor from ..utils import ( ExtractorError, OnDemandPagedList, clean_html, determine_ext, float_or_none, format_field, int_or_none, join_nonempty, parse_iso8601, url_or_none, urljoin, ) from ..utils.traversal import require, trave...
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" ...
2a1bcc9b53358680
typescript
43
One Dark Pro
export const createMapper = < LocalIDType extends string | number, BackendIDType extends string | number, >() => { const backendIDByLocalIDMap = new Map< LocalIDType, BackendIDType | undefined >() const localIDByBackendIDMap = new Map< BackendIDType, LocalIDType | undefined >() return { ...
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...
589da24bca75d7da
typescript
35
Solarized Light
import { useRef } from "react"; import type { LocalFile } from "../types/attachment"; export const useFileUpload = (onFilesSelected: (localFiles: LocalFile[]) => void) => { const fileInputRef = useRef<HTMLInputElement>(null); const selectingFlagRef = useRef(false); const handleFileInputChange = (event?: React.C...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
d79c8c26b272802f
csharp
222
Monokai
using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Input; using System.Windows.Media; using System.Windows.Shapes; using ScreenToGif.Util; namespace ScreenToGif.Controls; //Bug: If the user drags quickly the Thumb and release afterwards, the OnAfterSelec...
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...
b8a83c030a256ea2
csharp
69
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...
60b764146002e059
csharp
60
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...
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...
495de96095161205
cpp
136
Default Light+
#include "models.h" llm_build_deci::llm_build_deci(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) { const int64_t n_embd_head = hparams.n_embd_head_v; GGML_ASSERT(n_embd_head == hparams.n_embd_head_k); GGML_ASSERT(n_embd_head == hparams.n_rot); ggml_tensor *...
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.", ...
857a84bd68372e19
typescript
35
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ export interface VariableDefinition { type: 'string'; description: string; default?: string; required?: boolean; } export interface VariableSchema { [key: string]: VariableDefinition; } const PATH_SEPARATOR_DEFINITION =...
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" ...
231b0c9a269090e9
python
31
Solarized Light
""" A NOT Gate is a logic gate in boolean algebra which results to 0 (False) if the input is high, and 1 (True) if the input is low. Following is the truth table of a XOR Gate: ------------------------------ | Input | Output | ------------------------------ | 0 | 1 | | 1 | 0 ...
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...
034b9056b2a97d4b
cpp
254
Solarized Light
#include "TraceInfoBox.h" #include "TraceWidget.h" #include "TraceDump.h" #include "TraceBrowser.h" #include "CPUInfoBox.h" #include "zydis_wrapper.h" TraceInfoBox::TraceInfoBox(TraceWidget* parent) : StdTable(parent), mParent(parent) { setWindowTitle("TraceInfoBox"); enableMultiSelection(false); setShowHe...
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.", ...
badf300de1985c2d
python
64
Solarized Light
class Things: def __init__(self, name, value, weight): self.name = name self.value = value self.weight = weight def __repr__(self): return f"{self.__class__.__name__}({self.name}, {self.value}, {self.weight})" def get_value(self): return self.value def get_name...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
effa7f947d4bd982
csharp
104
Dracula
using CalculatorApp.ViewModel.Common; using Windows.UI.Xaml; using Windows.UI.Xaml.Controls; // The User Control item template is documented at https://go.microsoft.com/fwlink/?LinkId=234236 namespace CalculatorApp { public sealed partial class NumberPad : UserControl { public NumberPad() { ...
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...
9598c320e8b250d0
csharp
166
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
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...
89b91a34cd28dce4
csharp
46
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" ...
18abe88cd2621bda
go
222
Solarized Dark
// Copyright 2016 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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" ...
e756b4b5fbe2bb08
cpp
325
Solarized Dark
#include <openpose/face/faceExtractorCaffe.hpp> #ifdef USE_CAFFE #include <caffe/blob.hpp> #endif #include <openpose/face/faceParameters.hpp> #include <openpose/gpu/cuda.hpp> #include <openpose/net/maximumCaffe.hpp> #include <openpose/net/netCaffe.hpp> #include <openpose/net/resizeAndMergeCaffe.hpp> #include <openp...
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...
b0e674b7b36dff34
go
151
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...
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...
b03f9c18d2e190d7
java
211
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" ...
46a900011aac7bf5
typescript
48
One Dark Pro
import { StateStorage } from "zustand/middleware"; import { get, set, del, clear } from "idb-keyval"; import { safeLocalStorage } from "@/app/utils"; const localStorage = safeLocalStorage(); class IndexedDBStorage implements StateStorage { public async getItem(name: string): Promise<string | null> { try { ...
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...
4e71bf8e16c1c11a
python
93
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio import os from semantic_kernel.agents import OpenAIResponsesAgent from semantic_kernel.connectors.ai.open_ai import OpenAISettings from semantic_kernel.contents import ChatMessageContent from semantic_kernel.contents.image_content import ImageContent from...
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.", ...
e823f1d127372ae7
csharp
241
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using Amazon.BedrockAgent; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.Agents.Bedrock; namespace GettingStarted.BedrockAgents; /// <s...
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...
529da831c2d14faa
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 ...
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...
cd4499c5f6706547
javascript
276
Default Dark+
const NotificationProvider = require("./notification-provider"); const axios = require("axios"); const { setting } = require("../util-server"); const { DOWN, UP, getMonitorRelativeURL } = require("../../src/util"); class Teams extends NotificationProvider { name = "teams"; /** * Generate the message to s...
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...
d7fd9523c3d93cb8
javascript
28
Solarized Light
#!/usr/bin/env node // Outputs the branding script to stdout for pasting into browser console // Usage: node print-script.js | pbcopy const esbuild = require("esbuild"); const path = require("path"); const entryPoint = path.join(__dirname, "index.ts"); const result = esbuild.buildSync({ entryPoints: [entryPoint], ...
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...
2b50dd66bf694ad6
typescript
85
Solarized Light
"use client" import * as React from "react" import { Button } from "@/examples/base/ui-rtl/button" import { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from "@/examples/base/ui-rtl/empty" import { IconFolderCode } from "@tabler/icons-react" import { ArrowUpRightIcon } from...
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.", ...
9a800bff92174a29
go
108
Solarized Light
package profile import ( "fmt" "log/slog" "os" "path/filepath" "runtime" "strings" "github.com/pkg/errors" ) // Profile is the configuration to start main server. type Profile struct { // Demo indicates if the server is in demo mode Demo bool // Addr is the binding address for server Addr string // Port ...
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"...
ed4e3f9ed012bf49
cpp
173
Monokai
// Copyright(c) 2015-present, Gabi Melman & spdlog contributors. // Distributed under the MIT License (http://opensource.org/licenses/MIT) #pragma once #ifndef SPDLOG_HEADER_ONLY #include <spdlog/sinks/wincolor_sink.h> #endif #include <spdlog/details/windows_include.h> #include <wincon.h> #include <spdlog/common.h>...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
2faed8f23a896c3a
csharp
26
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Net.Http; namespace Microsoft.SemanticKernel.Connectors.Chroma; internal sealed class ListCollectionsRequest { public static ListCollectionsRequest Create() { return new ListCollectionsRequest(); } public HttpRequestMessage Build...
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...
a20e29300353cf58
java
43
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"...
32045046df114bcb
cpp
102
Solarized Dark
#ifndef OPENPOSE_THREAD_WORKER_HPP #define OPENPOSE_THREAD_WORKER_HPP #include <openpose/core/common.hpp> namespace op { template<typename TDatums> class Worker { public: Worker(); virtual ~Worker(); void initializationOnThreadNoException(); bool checkAndWork(TDatums...
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...
845841cb015612f5
go
92
Solarized Dark
// Copyright 2019 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...
14110b5a686d8f93
csharp
84
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Text; using System.Text.Json; using Azure; using Azure.Search.Documents.Indexes; using Memory.VectorStoreFixtures; using Microsoft.Extensions.VectorData; using Microsoft.SemanticKernel.Connectors.AzureAISearch; using Microsoft.SemanticKernel.Memory; names...
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" ...
c244eff6828dbf44
java
206
Default Light+
package com.thealgorithms.others; import java.util.Arrays; import java.util.Random; /** * MiniMax is an algorithm used in artificial intelligence and game theory for * minimizing the possible loss for the worst case scenario. It is commonly used * in two-player turn-based games such as Tic-Tac-Toe, Chess, and Chec...
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" ...
8871c46ac845c129
cpp
120
Solarized Dark
#ifndef OPENPOSE_3D_W_POSE_TRIANGULATION_HPP #define OPENPOSE_3D_W_POSE_TRIANGULATION_HPP #include <openpose/core/common.hpp> #include <openpose/3d/poseTriangulation.hpp> #include <openpose/thread/worker.hpp> namespace op { template<typename TDatums> class WPoseTriangulation : public Worker<TDatums> { ...
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...
d892686ff7a67a8f
java
37
Solarized Dark
// Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2. // Note: // The length of both num1 and num2 is < 110. // Both num1 and num2 contains only digits 0-9. // Both num1 and num2 does not contain any leading zero. // You must not use any built-in...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
4ba3982d03b75113
java
62
Dracula
/* Copyright (c) 2014 by Contributors Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, so...
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"...
0c7d2d6a4c208c92
cpp
106
Solarized Light
#ifndef _PLUGIN_LOADER_H #define _PLUGIN_LOADER_H #include "_global.h" #include "_plugins.h" //typedefs typedef bool (*PLUGINIT)(PLUG_INITSTRUCT* initStruct); typedef bool (*PLUGSTOP)(); typedef void (*PLUGSETUP)(PLUG_SETUPSTRUCT* setupStruct); //structures struct PLUG_MENU { int pluginHandle; //plugin handle ...
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...
5ca91ba259ccd711
python
90
Default Light+
import re from .common import InfoExtractor from ..utils import ( int_or_none, unified_strdate, url_or_none, ) from ..utils.traversal import traverse_obj class MBNIE(InfoExtractor): IE_DESC = 'mbn.co.kr (매일방송)' _VALID_URL = r'https?://(?:www\.)?mbn\.co\.kr/vod/programContents/preview(?:list)?/\d+...
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.", ...
a40cdf12dcb9b8a6
csharp
231
Default Light+
// Copyright (c) 2018 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...
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.", ...
ffc4a221454cd01e
cpp
253
One Dark Pro
#include "content/views/view_information.hpp" #include <hex/api/content_registry/data_information.hpp> #include <hex/api/achievement_manager.hpp> #include <hex/api/project_file_manager.hpp> #include <hex/providers/provider.hpp> #include <hex/helpers/magic.hpp> #include <toasts/toast_notification.hpp> #include <nloh...
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...
5de9e5c9146dac13
typescript
21
One Dark Pro
export type FieldEquals<T, K extends keyof T, Vals extends T[K][]> = { // eslint-disable-next-line [_x in K]: Vals[number] } export const objectFieldIncludes = < T, K extends keyof T, V extends readonly T[K][], >( obj: T, field: K, values: V // eslint-disable-next-line ): obj is T & { [_x in K]: V[nu...
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" ...
bb72eb91b440cc35
javascript
121
Dracula
'use strict'; const { validateInstallModuleIds } = require('../install-manifests'); const LEGACY_INSTALL_TARGETS = ['claude', 'cursor', 'antigravity']; function dedupeStrings(values) { return [...new Set((Array.isArray(values) ? values : []).map(value => String(value).trim()).filter(Boolean))]; } function parseIn...
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...
0d769f7dc2ef2da6
cpp
99
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" ...
2a2f2b52348e0082
cpp
197
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
5cfbb0cce9107dcc
python
80
Default Light+
from .common import InfoExtractor from ..utils import ( ExtractorError, determine_ext, str_or_none, unified_timestamp, url_or_none, ) from ..utils.traversal import traverse_obj class GodResourceIE(InfoExtractor): _VALID_URL = r'https?://new\.godresource\.com/video/(?P<id>\w+)' _TESTS = [{ ...
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"...
dfa471223471df86
java
37
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
76bbfde63e7750f0
typescript
87
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { renderHook } from '../../test-utils/render.js'; import { useBatchedScroll } from './useBatchedScroll.js'; describe('useBatchedScroll', () => { it('returns initial scrollTop...
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...