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
8f46566a8f0ae9be
typescript
167
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { expect, it, describe, beforeEach, afterEach } from 'vitest'; import { TestRig } from './test-helper.js'; import { TestMcpServer } from './test-mcp-server.js'; import { writeFileSync } from 'node:fs'; import { join } from '...
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" ...
0990622e06c45920
java
94
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
3a15feb8b401d648
rust
359
Dracula
use super::*; use std::{ collections::HashSet, ops::{Deref, DerefMut}, thread::{self, JoinHandle}, time, }; pub trait Service: Send + Sync { fn name(&self) -> String; fn on_subscribe(&self, sub: ConnInner); fn on_unsubscribe(&self, id: i32); fn is_subed(&self, id: i32) -> bool; fn 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.", ...
b4c68084969f1d53
javascript
222
Dracula
export const core = [ { avatar: 'https://www.github.com/yyx990803.png', name: 'Evan You', title: 'Creator', org: 'Vue.js', orgLink: 'https://vuejs.org/', desc: 'Independent open source developer, creator of Vue.js and Vite.', links: [ { icon: 'github', link: 'https://github.com/yyx99...
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" ...
9719666a07240157
java
44
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
a5e84d83f844fec1
typescript
81
Solarized Light
import * as React from "react" import Image from "next/image" import { ScrollArea, ScrollBar } from "@/registry/new-york-v4/ui/scroll-area" import { Separator } from "@/registry/new-york-v4/ui/separator" export function ScrollAreaDemo() { return ( <div className="flex flex-col gap-6"> <ScrollAreaVertical ...
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...
88f61bf4ee7a8e41
csharp
74
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
2cb034b842438281
cpp
23
Default Light+
#pragma once #include "ggml-backend.h" #include "ggml.h" #ifdef __cplusplus extern "C" { #endif // backend API GGML_BACKEND_API ggml_backend_t ggml_backend_zendnn_init(void); GGML_BACKEND_API bool ggml_backend_is_zendnn(ggml_backend_t backend); // number of threads used for zendnn operations GGML_BACKEND_API void ...
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.", ...
4ac402a83ffdb010
java
98
GitHub Dark
package com.github.mikephil.charting.data; import android.graphics.drawable.Drawable; /** * Created by Philipp Jahoda on 02/06/16. */ public abstract class BaseEntry { /** the y value */ private float y = 0f; /** optional spot for additional data this Entry represents */ private Object mData = nul...
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...
4701ea8808bc5386
typescript
143
Solarized Light
"use client" import { Bar, BarChart, CartesianGrid, XAxis } from "recharts" import { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/bases/radix/ui/card" import { ChartContainer, ChartLegend, ChartLegendContent, ChartTooltip, ChartTooltipCo...
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...
7d89ae1e1ac15c12
go
42
Default Light+
//go:build !windows package fzf import ( "io" "os" "golang.org/x/sys/unix" ) func sh(bash bool) (string, error) { if bash { return "bash", nil } return "sh", nil } func mkfifo(path string, mode uint32) (string, error) { return path, unix.Mkfifo(path, mode) } func withOutputPipe(output string, task func(i...
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" ...
3ca299a84ed0d0b1
typescript
52
Solarized Light
import { Monitor, Moon, Palette, Sun } from "lucide-react"; import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; import { loadTheme, THEME_OPTIONS } from "@/utils/theme"; interface ThemeSelectProps { value?: string; onValueChange?: (theme: string) => void; class...
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...
6d1018d860fbcc45
python
239
Default Light+
import json import os import gradio as gr from modules import errors from modules.ui_components import ToolButton, InputAccordion def radio_choices(comp): # gradio 3.41 changes choices from list of values to list of pairs return [x[0] if isinstance(x, tuple) else x for x in getattr(comp, 'choices', [])] clas...
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"...
291272f98944e148
cpp
109
Solarized Light
#pragma once #include <QDialog> #include <QLineEdit> #include "HexValidator.h" #include "LongLongValidator.h" #include <QDoubleValidator> namespace Ui { class EditFloatRegister; } class EditFloatRegister : public QDialog { Q_OBJECT public: explicit EditFloatRegister(int RegisterSize, QWidget* parent = n...
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...
60ad07642a6e8a9e
java
30
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
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...
1e552697a3e5e775
cpp
117
One Dark Pro
#include "Chessboard.h" #define ASSERT(x) \ do { \ if (!(x)) { \ fprintf(stderr, "ASSERT: %s:%d: %s\n", __FILE__, __LINE__, #x); \ fflush(stderr); \ exit(1); \ } \ } while (0) int main() { { Chessboard chess; ASSERT(chess.process("pawn ...
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"...
6609447c2de707dc
java
79
Solarized Dark
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may ...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
1bf9f85069093f70
rust
245
Default Dark+
use std::ops::Bound; use heed::Result; use roaring::RoaringBitmap; use super::{get_first_facet_value, get_highest_level, get_last_facet_value}; use crate::heed_codec::facet::{ FacetGroupKey, FacetGroupKeyCodec, FacetGroupValue, FacetGroupValueCodec, }; use crate::heed_codec::BytesRefCodec; /// See documentationg...
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...
59f13ce8a56e3b46
csharp
152
Dracula
namespace ServiceLib.Handler; /// <summary> /// Core configuration file processing class /// </summary> public static class CoreConfigHandler { private static readonly string _tag = "CoreConfigHandler"; public static async Task<RetResult> GenerateClientConfig(CoreConfigContext context, string? fileName) {...
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"...
81277e8d883641e6
go
96
Default Light+
package fs import ( "context" "encoding/json" stdpath "path" "strings" "github.com/alist-org/alist/v3/drivers/s3" "github.com/alist-org/alist/v3/internal/errs" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/op" "github.com/alist-org/alist/v3/internal/task" "github.com...
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...
0007c22a2b704109
typescript
37
Solarized Light
import { Badge } from "@/examples/radix/ui/badge" import { Button } from "@/examples/radix/ui/button" import { Card, CardAction, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/examples/radix/ui/card" export function CardImage() { return ( <Card className="relative mx-auto w-full max-w-...
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...
be2508d9a0dd0d4b
javascript
38
Solarized Light
import { readFileSync } from "node:fs"; import { fileURLToPath } from "node:url"; const root = fileURLToPath(new URL("../..", import.meta.url)); const binding = typeof process.versions.bun === "string" // Support `bun build --compile` by being statically analyzable enough to find the .node file at build-time ? aw...
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" ...
5ae95a224a01567b
java
179
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...
0a317746336bb455
typescript
23
Monokai
export interface FeatureDocumentationRequest { title: string; userDescription: string; content: string; processId: string; } export interface DocumentationContentRequest { title: string; content: string; assistantMessage: string; processData?: ProcessData; } export interface Documentat...
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"...
0d0afa9e4023afa9
csharp
94
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"...
ed65e66c18d70b67
typescript
175
Solarized Light
import { searchResultItemSchema, searchResultsSchema } from "@/src/schema" import { Config } from "@/src/utils/get-config" import fuzzysort from "fuzzysort" import { z } from "zod" import { getRegistry } from "./api" export async function searchRegistries( registries: string[], options?: { query?: string ...
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...
1a60a9d860ed30c9
typescript
129
Solarized Light
"use client" import * as React from "react" import Form from "next/form" import { toast } from "sonner" import { Button } from "@/registry/new-york-v4/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york-v4/ui/card" import { Field, Fiel...
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" ...
f80eadb9d351b0f4
go
48
Default Light+
package bleve import ( "github.com/alist-org/alist/v3/internal/conf" "github.com/alist-org/alist/v3/internal/search/searcher" "github.com/blevesearch/bleve/v2" log "github.com/sirupsen/logrus" ) var config = searcher.Config{ Name: "bleve", } func Init(indexPath *string) (bleve.Index, error) { log.Debugf("bleve...
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" ...
7e3baf2f6669ce15
csharp
52
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.SemanticKernel.Experimental.Orchestration.Execution; /// <summary> /// An ReAct (Reasoning-Action-Observation) step in flow execution. /// </summary> /// <remarks> /// https:/...
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...
0a3b08b735377ca4
python
38
Default Light+
from .common import InfoExtractor from ..utils import unified_strdate class CozyTVIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?cozy\.tv/(?P<uploader>[^/]+)/replays/(?P<id>[^/$#&?]+)' _TESTS = [{ 'url': 'https://cozy.tv/beardson/replays/2021-11-19_1', 'info_dict': { 'id': '...
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...
fbcbef8118d5a40a
java
75
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...
d87998f74cc8b8da
go
67
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...
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...
7d67fb3d24cfc633
typescript
29
Solarized Light
export const defaultOrigin = "api"; export const defaultTimeout = 60000; // 60 seconds export const defaultPageOptions = { onlyMainContent: false, includeHtml: false, waitFor: 0, screenshot: false, fullPageScreenshot: false, parsePDF: true, }; export const defaultCrawlerOptions = { allowBackwardCrawlin...
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...
9f54e7946374a2c6
typescript
371
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { SlashCommand, CommandContext, SlashCommandActionReturn, } from './types.js'; import { CommandKind } from './types.js'; import { MessageType, type HistoryItemAgentsList } from '../types.js'; import { SettingScope...
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" ...
e2346c95bcadd68d
java
53
Default Light+
package com.thealgorithms.recursion; import java.util.ArrayList; import java.util.List; /** * Utility class to generate all subsets (power set) of a given string using recursion. * * <p>For example, the string "ab" will produce: ["ab", "a", "b", ""] */ public final class GenerateSubsets { private GenerateSub...
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" ...
b520a9f2689cd6f7
python
71
Monokai
# Copyright (c) Microsoft. All rights reserved. import asyncio from semantic_kernel.agents import AgentRegistry, OpenAIAssistantAgent """ The following sample demonstrates how to create an OpenAI Assistant Agent that invokes a story generation task using a prompt template and a declarative spec. """ # Define the YA...
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...
f0077eeaee43820b
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...
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...
2e7cb2a3e8b45d2f
cpp
34
Dracula
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // // App.xaml.h // Declaration of the App class. // #pragma once #include "UnitTestApp.g.h" #include "CalcViewModel/DateCalculatorViewModel.h" #include "CalcViewModel/StandardCalculatorViewModel.h" #include "CalcViewMod...
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" ...
6a3cb13eda99760e
go
35
Default Light+
package util import ( "sync/atomic" ) func convertBoolToInt32(b bool) int32 { if b { return 1 } return 0 } // AtomicBool is a boxed-class that provides synchronized access to the // underlying boolean value type AtomicBool struct { state int32 // "1" is true, "0" is false } // NewAtomicBool returns a new Ato...
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"...
11211221fe26478a
csharp
190
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
71812b293790f6a5
cpp
87
Default Light+
#include "models.h" ggml_cgraph * clip_graph_pixtral::build() { const int n_merge = hparams.n_merge; // 2D input positions ggml_tensor * pos_h = ggml_new_tensor_1d(ctx0, GGML_TYPE_I32, n_patches); ggml_set_name(pos_h, "pos_h"); ggml_set_input(pos_h); ggml_tensor * pos_w = ggml_new_tensor_1d(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"...
1daf85e6e141d367
java
21
Dracula
package com.macro.mall.dto; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; import lombok.Setter; /** * 订单发货参数 * Created by macro on 2018/10/12. */ @Getter @Setter public class OmsOrderDeliveryParam { @ApiModelProperty("订单id") private Long orderId; @ApiModelProperty("物流公司") pr...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
3ad040cdefd7be9a
rust
353
Default Dark+
#[cfg(test)] mod tests { use deserr::Deserr; use meili_snap::snapshot; use meilisearch_types::deserr::DeserrQueryParamError; use meilisearch_types::error::{Code, ResponseError}; use crate::routes::tasks::{TaskDeletionOrCancelationQuery, TasksFilterQuery}; fn deserr_query_params<T>(j: &str) -> ...
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.", ...
afe25fa11518414a
python
355
Monokai
"""Comfy-specific type hinting""" from __future__ import annotations from typing import Literal, TypedDict, Optional from typing_extensions import NotRequired from abc import ABC, abstractmethod from enum import Enum class StrEnum(str, Enum): """Base class for string enums. Python's StrEnum is not available unti...
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.", ...
936ae8fb5609308b
csharp
43
Default Light+
using System.Windows; using System.Windows.Controls; using ICSharpCode.ILSpy.ViewModels; // Copyright (c) 2019 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 i...
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.", ...
ba52757ea6ecab97
typescript
23
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type React from 'react'; import { Text, Box } from 'ink'; import { theme } from '../../semantic-colors.js'; import { getDisplayString } from '@google/gemini-cli-core'; interface ModelMessageProps { model: string; } expor...
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...
c5289a2c591f3418
python
89
Monokai
#original code from https://github.com/genmoai/models under apache 2.0 license # import functools import math import torch def centers(start: float, stop, num, dtype=None, device=None): """linspace through bin centers. Args: start (float): Start of the range. stop (float): End of the range....
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...
7dfde6c203d1e662
csharp
332
Default Light+
// Copyright (c) 2020 Siegfried Pammer // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, copy, modify, merge, // publ...
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" ...
902b2685d5209c52
python
105
Default Light+
import re from .archiveorg import ArchiveOrgIE from .common import InfoExtractor from ..utils import ( InAdvancePagedList, clean_html, int_or_none, orderedSet, str_to_int, urljoin, ) class AltCensoredIE(InfoExtractor): IE_NAME = 'altcensored' _VALID_URL = r'https?://(?:www\.)?altcenso...
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...
e10f10f90cb2a5c0
go
50
Solarized Dark
// Copyright 2018 The etcd Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
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...
acced3d42d68be85
typescript
51
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { helpCommand } from './helpCommand.js'; import { CommandKind, type CommandContext } from './types.js'; import { createMockCommandContext } from '../....
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"...
7fd0854971f95590
go
222
Solarized Light
package postgres import ( "context" "database/sql" "fmt" "strings" "github.com/pkg/errors" "google.golang.org/protobuf/encoding/protojson" "github.com/usememos/memos/plugin/filter" storepb "github.com/usememos/memos/proto/gen/store" "github.com/usememos/memos/store" ) func (d *DB) CreateAttachment(ctx cont...
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...
c1aeb722fe8955e1
java
85
Default Light+
package com.thealgorithms.sorts; import java.util.Arrays; /** * Tournament Sort algorithm implementation. * * Tournament sort builds a winner tree (a complete binary tree storing the index * of the smallest element in each subtree). It then repeatedly extracts the * winner (minimum) and updates the path from 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...
6106349478867448
typescript
60
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ // Unset NO_COLOR environment variable to ensure consistent theme behavior between local and CI test runs if (process.env.NO_COLOR !== undefined) { delete process.env.NO_COLOR; } import { setSimulate429 } from './src/utils/testU...
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...
bd89eaa7f9b6bbbc
csharp
191
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; using Resources; namespace GettingStarted; /// <summary> /// Demonstrate creation of <see cref="ChatCompletionAgent"/> and /// eliciting its response ...
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" ...
d0f9be9a27865896
typescript
120
Default Light+
import React from "react"; import { THEME } from "@excalidraw/common"; import { DropdownMenu as DropdownMenuPrimitive } from "radix-ui"; import type { ValueOf } from "@excalidraw/common/utility-types"; import { useExcalidrawAppState } from "../App"; import { getDropdownMenuItemClassName, useHandleDropdownMenuI...
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" ...
14c983f3999efe11
python
28
Dracula
from datetime import datetime, time, timedelta from uuid import UUID from fastapi import Body, FastAPI app = FastAPI() @app.put("/items/{item_id}") async def read_items( item_id: UUID, start_datetime: datetime = Body(), end_datetime: datetime = Body(), process_after: timedelta = Body(), repeat_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...
0617a792b038e7ea
cpp
26
Solarized Dark
#include <openpose/wrapper/wrapperStructInput.hpp> namespace op { WrapperStructInput::WrapperStructInput( const ProducerType producerType_, const String& producerString_, const unsigned long long frameFirst_, const unsigned long long frameStep_, const unsigned long long frameLast_, const bool realT...
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" ...
61d833243f02a3c2
rust
116
Default Dark+
//! Helpers to handle connection delays when receiving errors use crate::error::Error; use std::time::Duration; #[cfg(doc)] use crate::event_source::{Event, EventSource}; /// Describes how an [`EventSource`] should retry on receiving an [`enum@Error`] pub trait RetryPolicy { /// Submit a new retry delay based on...
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...
3d8209d88494a6e4
typescript
203
Default Dark+
import type { GetServerSideProps, InferGetServerSidePropsType } from 'next'; import Head from 'next/head'; import Link from 'next/link'; import { useState } from 'react'; import { MapPinIcon } from '@heroicons/react/24/outline'; import { Banner } from '~/ui'; import { useGoogleAnalytics } from '~/components/global/Goo...
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...
f4cc39db14764f24
java
80
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...
3ff8c2d60a057072
java
470
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...
c3f4366ad141ac4b
java
136
GitHub Dark
package org.jeecg.modules.message.enums; import lombok.extern.slf4j.Slf4j; import org.jeecg.common.constant.enums.MessageTypeEnum; import org.jeecg.common.system.annotation.EnumDict; import org.jeecg.common.system.vo.DictModel; import java.util.ArrayList; import java.util.Calendar; import java.util.Date; import java....
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...
a7a2950b0ca3369f
typescript
90
Default Dark+
import { ArrowTrendingUpIcon, BuildingOfficeIcon, MapPinIcon, } from '@heroicons/react/20/solid'; import { JobType } from '@prisma/client'; import { JobTypeLabel } from '~/components/offers/constants'; import CompanyProfileImage from '~/components/shared/CompanyProfileImage'; import type { JobTitleType } from '~...
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" ...
f6ae16ec51f450b4
java
113
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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" ...
2c9e74f3c5da68cc
csharp
133
One Dark Pro
#region License Information (GPL v3) /* ShareX - A program that allows you to take screenshots and share any file type Copyright (c) 2007-2026 ShareX Team This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the ...
3
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What is the exact code shown in this VS Code window?", "ro...
11c0c45ea431be81
csharp
124
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Threading.Tasks; using Amazon.BedrockRuntime.Model; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.ChatCompletion; using Xunit; namespace SemanticKernel.IntegrationTests.Connectors.Amazon; public class BedrockChatCompletionTests { [Th...
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...
4da608baec2e7735
rust
139
Solarized Dark
use super::resolve; use crate::{ cmd::is_port_in_use, config::{Config, DEFAULT_PAC, IVerge}, module::lightweight, process::AsyncHandler, utils::window_manager::WindowManager, }; use anyhow::{Result, bail}; use clash_verge_logging::{Type, logging, logging_error}; use once_cell::sync::OnceCell; use pa...
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" ...
f713b5edec21057f
python
226
Default Light+
import re import urllib.parse from .common import InfoExtractor from ..utils import ( ExtractorError, clean_html, determine_ext, int_or_none, parse_duration, ) class XVideosIE(InfoExtractor): _VALID_URL = r'''(?x) https?:// (?: ...
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...
e1edb2036c710c68
java
33
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...
d04647c742486df9
typescript
54
Solarized Light
import { Checkbox } from "@/examples/base/ui/checkbox" import { Field, FieldDescription, FieldGroup, FieldLabel, FieldSeparator, FieldSet, } from "@/examples/base/ui/field" export default function FieldGroupExample() { return ( <FieldGroup className="w-full max-w-xs"> <FieldSet> <FieldL...
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" ...
ad4df6fa369d4241
go
221
Default Light+
package s3 import ( "bytes" "context" "fmt" "io" "net/url" stdpath "path" "strings" "time" "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/model" "github.com/alist-org/alist/v3/internal/stream" "github.com/alist-org/alist/v3/pkg/cron" "github.com/alist-org/alist/v3...
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...
d9937e1961a1f2c8
java
44
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
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...
0777f86fda5c8e75
typescript
143
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { vi, describe, it, expect, beforeEach } from 'vitest'; import { statsCommand } from './statsCommand.js'; import { type CommandContext } from './types.js'; import { createMockCommandContext } from '../../test-utils/mockComma...
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...
a533c889d9f35ae6
typescript
320
Solarized Light
import { Request, Response } from "express"; import { checkTeamCredits } from "../../../src/services/billing/credit_billing"; import { authenticateUser } from "../auth"; import { RateLimiterMode } from "../../../src/types"; import { addScrapeJob } from "../../../src/services/queue-jobs"; import { isUrlBlocked } from "....
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"...
5cf22411aba41da4
python
194
Dracula
import inspect import sys from collections.abc import Callable from dataclasses import dataclass, field from functools import cached_property, partial from typing import Any, Literal from fastapi._compat import ModelField from fastapi.security.base import SecurityBase from fastapi.types import DependencyCacheKey if s...
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...
f55f8d4120cec4fe
typescript
39
GitHub Dark
import { InjectionKey, provide, inject, reactive, readonly as defineReadonly, // defineComponent, UnwrapRef, } from 'vue'; export interface CreateContextOptions { readonly?: boolean; createProvider?: boolean; native?: boolean; } type ShallowUnwrap<T> = { [P in keyof T]: UnwrapRef<T[P]>; }; expo...
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" ...
4e003c868b0d8f8a
typescript
40
Dracula
import type { CustomEventName, InferCustomEventPayload } from './customEvent.js' export type ModuleNamespace = Record<string, any> & { [Symbol.toStringTag]: 'Module' } export interface ViteHotContext { readonly data: any accept(): void accept(cb: (mod: ModuleNamespace | undefined) => void): void accept(dep...
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" ...
d394884df25cbdfe
typescript
67
GitHub Dark
import { defHttp } from '/@/utils/http/axios'; import { useUserStore } from '/@/store/modules/user'; import { getAuthCache } from '/@/utils/auth'; import { DB_DICT_DATA_KEY } from '/@/enums/cacheEnum'; /** * 从缓存中获取字典配置 * @param code */ export const getDictItemsByCode = (code) => { // 代码逻辑说明: 【QQYUN-6417】生产环境字典慢的问...
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...
973e6fc9ef3b841a
python
49
Solarized Light
""" Problem 81: https://projecteuler.net/problem=81 In the 5 by 5 matrix below, the minimal path sum from the top left to the bottom right, by only moving to the right and down, is indicated in bold red and is equal to 2427. [131] 673 234 103 18 [201] [96] [342] 965 150 630 803 [746] ...
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" ...
a1b079c24a22e6ff
cpp
265
One Dark Pro
#include "content/views/view_command_palette.hpp" #include <hex/api/content_registry/command_palette.hpp> #include <wolv/utils/guards.hpp> #include <hex/api/events/requests_gui.hpp> #include <hex/api/events/requests_interaction.hpp> #include "imstb_textedit.h" #include <imgui_internal.h> #include <fonts/vscode_icons...
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...
e718fd168710fba1
go
267
Solarized Light
package renderer import ( "bytes" "fmt" "strings" gast "github.com/yuin/goldmark/ast" east "github.com/yuin/goldmark/extension/ast" mast "github.com/usememos/memos/plugin/markdown/ast" ) // MarkdownRenderer renders goldmark AST back to markdown text. type MarkdownRenderer struct { buf *bytes.Buffer } // New...
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"...
227a7be4867d02f9
java
49
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
1
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Please transcribe the source code shown in this editor screens...
559a3dd40e156070
csharp
214
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using System.Text.Json; using Microsoft.Extensions.DependencyInjection; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; namespace FunctionCalling; /// <summary> /// This sample shows different options for...
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...
b93606b0a0cb26da
python
94
Default Light+
#!/usr/bin/env python3 """ yt-dlp --help | make_readme.py This must be run in a console of correct width """ # Allow direct execution import os import sys sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) import functools import re from devscripts.utils import read_file, write_file ...
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...
558df1202dea1aa1
java
119
GitHub Dark
package com.github.mikephil.charting.components; import com.github.mikephil.charting.utils.Utils; /** * Class representing the x-axis labels settings. Only use the setter methods to * modify it. Do not access public variables directly. Be aware that not all * features the XLabels class provides are suitable for 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...
065c70f08c0bd166
typescript
236
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { BaseDeclarativeTool, Kind, type ToolInvocation, type ToolResult, BaseToolInvocation, type ToolCallConfirmationDetails, isTool, type ToolLiveOutput, } from '../tools/tools.js'; import type { Config } from '....
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
9bde9cc1ccde50bf
go
172
Default Light+
package gemma3 import ( "bytes" "image" "math" "slices" "github.com/ollama/ollama/fs" "github.com/ollama/ollama/kvcache" "github.com/ollama/ollama/ml" "github.com/ollama/ollama/ml/nn" "github.com/ollama/ollama/model" "github.com/ollama/ollama/model/input" "github.com/ollama/ollama/tokenizer" ) type Model ...
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" ...
c5772667f907e2c3
go
89
Solarized Light
package memopayload import ( "context" "log/slog" "github.com/pkg/errors" "github.com/usememos/memos/plugin/markdown" storepb "github.com/usememos/memos/proto/gen/store" "github.com/usememos/memos/store" ) type Runner struct { Store *store.Store MarkdownService markdown.Service } func NewRunner(s...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
a298c2fdda50e12c
go
189
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...
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...
3974c41a8369fdef
csharp
405
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Net.Http.Json; using System.Text; using System.Text.Json; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; using Microsoft.SemanticKernel.Plugins.OpenApi; namespace Plugins; /// <summary> /// These samples demonstrate how...
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" ...
86778699a5bb509e
java
319
GitHub Dark
package com.xxmassdeveloper.mpchartexample; import android.Manifest; import android.content.Intent; import android.content.pm.PackageManager; import android.graphics.Color; import android.net.Uri; import android.os.Bundle; import androidx.core.content.ContextCompat; import android.view.Menu; import android.view.MenuI...
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" ...
9a4d883f0a772326
csharp
40
Monokai
namespace winPEAS.Native.Enums { /// <summary> /// Enum CredentialType /// /// The type of the credential. This member cannot be changed after the credential is created. /// </summary> public enum CredentialType : uint { /// <summary> /// The lack of credential ...
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...
43c049e6c4baeebf
csharp
30
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Diagnostics.CodeAnalysis; using System.Text.Json; using MAAI = Microsoft.Agents.AI; namespace Microsoft.SemanticKernel.Agents.Copilot; /// <summary> /// Exposes a Semantic Kernel Agent Framework <see cref="CopilotStudioAgent"/> as a Microsoft Agent Frame...
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.", ...
668d1a37d305fb81
cpp
43
One Dark Pro
#pragma once #include "llama.h" #include <vector> struct llama_vocab; struct llama_grammar; // sampler chain struct llama_sampler_chain { llama_sampler_chain_params params; // has .backend_init() been called? bool is_init = false; struct info { bool is_backend; llama_sampler * pt...
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...
d87ec090fa29f555
cpp
209
Dracula
/*! * Copyright 2018-2024 by Contributors */ #ifndef PLUGIN_SYCL_TREE_SPLIT_EVALUATOR_H_ #define PLUGIN_SYCL_TREE_SPLIT_EVALUATOR_H_ #include <dmlc/registry.h> #include <xgboost/base.h> #include <utility> #include <vector> #include <limits> #include "param.h" #include "../data.h" #include "xgboost/tree_model.h" #...
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" ...
cff5d8c70527e9aa
rust
339
Default Dark+
use std::{ sync::LazyLock, time::{Duration, Instant}, }; use reqwest::{ header::{ACCEPT, AUTHORIZATION, CONTENT_TYPE}, Method, }; use serde_json::Value; use tokio::sync::RwLock; use crate::{ api::{ApiResult, EmptyResult, UpdateType}, db::{ models::{AuthRequestId, Cipher, Device, Device...
5
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What source code is visible in this editor?", "role": "use...
a28e3286bcc5e38a
cpp
125
One Dark Pro
#pragma once #if defined(__cplusplus) enum class Keys { #else enum Keys { #endif Invalid, Space, Apostrophe, Comma, Minus, Period, Slash, Num0, Num1, Num2, Num3, Num4, Num5, Num6, Num7, Num8, Num9, Semicolon, Equals, A, B, C, 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.", ...
a342c4a64f8ee506
csharp
87
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...
0969fbc98f53b309
python
28
Monokai
# Copyright (c) Microsoft. All rights reserved. from typing import ClassVar from semantic_kernel.kernel_pydantic import KernelBaseSettings class TelemetrySampleSettings(KernelBaseSettings): """Settings for the telemetry sample application. Optional settings for prefix 'TELEMETRY_SAMPLE_' are: - connect...
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...