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
61ae475b0232eb96
cpp
399
Solarized Light
#pragma once #include <QObject> #include <QWidget> #include <QAbstractScrollArea> #include <QPaintEvent> #include <QTimer> #include <QSize> #include <QResizeEvent> #include <tuple> #include <unordered_map> #include <unordered_set> #include <queue> #include <QMutex> #include "Bridge.h" #include "RichTextPainter.h" #inc...
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.", ...
799245393c5fbb18
java
49
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...
b4a6984eff540fdf
rust
78
One Dark Pro
// Copyright 2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: Apache-2.0 use event_manager::{EventOps, Events, MutEventSubscriber}; use vmm_sys_util::epoll::EventSet; use super::VhostUserBlock; use crate::devices::virtio::device::VirtioDevice; use crate::logger::{error, warn}; ...
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...
e231a7b2e4e3590c
java
66
Solarized Light
package PARSER_NS_CLEANED.jtreesitter.LOWER_PARSER_NAME; import java.lang.foreign.*; public final class PARSER_CLASS_NAME { private static final ValueLayout VOID_PTR = ValueLayout.ADDRESS.withTargetLayout(MemoryLayout.sequenceLayout(Long.MAX_VALUE, ValueLayout.JAVA_BYTE)); private static final Fun...
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.", ...
c86b1c61e41fe779
rust
30
Default Dark+
use crate::{ config::Config, error::OpenAIError, types::{CreateModerationRequest, CreateModerationResponse}, Client, }; /// Given text and/or image inputs, classifies if those inputs are potentially harmful across several categories. /// /// Related guide: [Moderations](https://platform.openai.com/docs...
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"...
7e94d2c406113d2c
csharp
25
Default Light+
using Clean.Architecture.Core.ContributorAggregate; namespace Clean.Architecture.UseCases.Contributors.Update; public class UpdateContributorHandler(IRepository<Contributor> _repository) : ICommandHandler<UpdateContributorCommand, Result<ContributorDto>> { public async ValueTask<Result<ContributorDto>> Handle(Up...
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...
8a73574cfaac65b9
java
26
Solarized Dark
/* given an infinite number of quars (25 cents), dimes (10 cents), nickels (5 cents), and pennies (1 cent), * write code to calculate the number of ways of representing n cents */ public class RepresentingNCents { int makeChange(int n) { int[] denoms = {25, 10, 5, 1}; int[][] map = new int[n + 1][denoms.leng...
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...
309ebbd307cb9924
typescript
90
Solarized Light
import { type FC, useRef, useState } from "react"; import { Popover, PopoverContent, PopoverTrigger } from "@/components/ui/popover"; import { useTranslate } from "@/utils/i18n"; import { useEditorContext } from "../state"; const DATETIME_FORMAT = "YYYY-MM-DD HH:mm:ss"; function formatDate(date: Date): string { con...
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...
b8a15b0a458d5a4f
typescript
156
Solarized Dark
import { CheckRounded, CloseRounded, DeleteRounded, EditRounded, OpenInNewRounded, } from '@mui/icons-material' import { Divider, IconButton, Stack, TextField, Typography, } from '@mui/material' import { useMemo, useState } from 'react' import { useTranslation } from 'react-i18next' interface Props...
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" ...
dc4ee0f6bc29bc97
typescript
276
Solarized Light
"use client" import * as React from "react" import { Button } from "@/registry/bases/radix/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/bases/radix/ui/card" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, Dropdow...
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"...
e2d34f4598f274e3
python
269
Default Light+
import base64 import json import time import urllib.parse from .common import InfoExtractor from ..networking.exceptions import HTTPError from ..utils import ( ExtractorError, float_or_none, int_or_none, js_to_json, jwt_decode_hs256, parse_iso8601, parse_qs, update_url, update_url_q...
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"...
af7cbb2786a2a5ce
cpp
25
Solarized Dark
#ifndef OPENPOSE_HAND_HAND_RENDERER_HPP #define OPENPOSE_HAND_HAND_RENDERER_HPP #include <openpose/core/common.hpp> namespace op { class OP_API HandRenderer { public: virtual ~HandRenderer(){}; virtual void initializationOnThread(){}; void renderHand(Array<float>& outputData, con...
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...
4fc7852d2a9db075
cpp
82
Solarized Dark
#ifndef OPENPOSE_POSE_BODY_PART_CONNECTOR_CAFFE_HPP #define OPENPOSE_POSE_BODY_PART_CONNECTOR_CAFFE_HPP #include <openpose/core/common.hpp> #include <openpose/pose/enumClasses.hpp> namespace op { // It mostly follows the Caffe::layer implementation, so Caffe users can easily use it. However, in order to keep ...
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...
18dcf3da4673bbe5
java
61
GitHub Dark
package org.jeecg.modules.airag.app.vo; import lombok.Data; import org.jeecg.modules.airag.app.entity.AiragApp; import org.jeecg.modules.airag.common.vo.MessageHistory; import java.util.Date; import java.util.List; import java.util.Map; /** * @Description: 聊天会话 * @Author: chenrui * @Date: 2025/2/25 14:56 */ @Dat...
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...
b7f53b3424cf7a05
cpp
349
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2009 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
873765fc652b4ffa
java
342
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...
a30d0e1bae4ef893
csharp
473
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 ...
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.", ...
ee005fd22d0c20fe
csharp
91
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics.CodeAnalysis; using System.Text.Json; using System.Text.Json.Serialization; using System.Text.Json.Serialization.Metadata; using Microsoft.SemanticKernel.Functions; namespace Microsoft.SemanticKe...
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...
31f9bf0eda7aaaac
rust
24
Solarized Light
#![no_std] /// `LanguageFn` wraps a C function that returns a pointer to a tree-sitter grammar. #[repr(transparent)] #[derive(Clone, Copy)] pub struct LanguageFn(unsafe extern "C" fn() -> *const ()); impl LanguageFn { /// Creates a [`LanguageFn`]. /// /// # Safety /// /// Only call this with langua...
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...
0f0b9a8685520635
csharp
49
One Dark Pro
using System; using System.Linq; namespace ShareX.UploadersLib { public static class Base58Converter { public static string Encode(byte[] data) { var intData = data.Aggregate<byte, System.Numerics.BigInteger>(0, (current, t) => (current * 256) + t); var b58 = new System...
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.", ...
71892427b588d135
java
75
Default Light+
package com.thealgorithms.stacks; import java.util.Set; import java.util.Stack; /** * Evaluate a postfix (Reverse Polish) expression using a stack. * * <p>Example: Expression "5 6 + 2 *" results in 22. * <p>Applications: Used in calculators and expression evaluation in compilers. * * @author Hardvan */ public ...
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" ...
8a65dcfae7b86011
typescript
136
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import AjvPkg, { type AnySchema, type Ajv } from 'ajv'; // Ajv2020 is the documented way to use draft-2020-12: https://ajv.js.org/json-schema.html#draft-2020-12 import Ajv2020Pkg from 'ajv/dist/2020.js'; import * as addFormats fro...
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" ...
e98ea948383805c4
cpp
365
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" ...
32674a6942a27ded
csharp
275
Monokai
using System; using System.Windows; using System.Windows.Controls; using System.Windows.Controls.Primitives; using System.Windows.Input; namespace ScreenToGif.Controls; /// <summary> /// Range Slider control. /// </summary> public class RangeSlider : Control { #region Variables private Slider _lowerSlider; ...
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.", ...
d21646f24979c801
rust
57
Solarized Light
fn main() { let src_dir = std::path::Path::new("src"); let mut c_config = cc::Build::new(); c_config.std("c11").include(src_dir); #[cfg(target_env = "msvc")] c_config.flag("-utf-8"); if std::env::var("TARGET").unwrap() == "wasm32-unknown-unknown" { let Ok(wasm_headers) = std::env::var...
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...
69a721230890f58a
csharp
185
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Diagnostics; using System.Text.Json; using System.Text.Json.Nodes; using Microsoft.Extensions.AI; using Microsoft.Extensions.VectorData.ProviderServices; namespace Microsoft.SemanticKernel.Connectors.Redis; ...
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...
b8c1b967d93124fe
java
42
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
7d9e3e46bc2f603f
typescript
27
One Dark Pro
/** * @see https://auth0.com/docs/secure/tokens/json-web-tokens/json-web-token-claims#registered-claims **/ export interface AccessTokenPayload { iss: string; // iss:issuer sub: string; // sub:subject aud: [string]; // aud:audience iat?: number; // iat:issued at time } export interface RefreshTokenPayload { ...
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...
001fa61e36574ef7
typescript
66
Solarized Light
export type GetOrCreateCustomerParams = { customerId: string; name?: string | null; email?: string | null; autoEnablePlanId?: string; }; export type GetEntityParams = { customerId: string; entityId: string; }; export type CreateEntityParams = { customerId: string; entityId: string; featureId: string...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
fb73121c4c9d1276
typescript
90
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import type { Config } from '../config/config.js'; import { Scheduler } from '../scheduler/scheduler.js'; import type { ToolCallRequestInfo, CompletedToolCall, } from '../scheduler/types.js'; import type { ToolRegistry } 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" ...
b0a6b843b69ffb21
typescript
429
Solarized Light
/** * @license * Copyright 2026 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest'; import { CoreEventEmitter, CoreEvent, coreEvents, type UserFeedbackPayload, type McpProgressPayload, } from './events.js'; vi.mock('./debugLogger....
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...
15408a09b8187459
java
29
Monokai
/* * This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt). * * The MIT License * Copyright © 2014-2022 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associat...
2
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Extract and reproduce the code visible in this screenshot.", ...
da8a958e653ddbfe
java
71
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" ...
94845be2b604eaa1
rust
160
One Dark Pro
use std::{collections::HashMap, str::FromStr, time::SystemTime}; use bytes::Bytes; use http::{StatusCode, Version}; use mime::Mime; use crate::{ error::{RelayError, Result}, interop::{MediaType, Response, ResponseBody, ResponseMeta, SizeInfo, TimingInfo}, }; pub(crate) struct ResponseHandler { id: i64, ...
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.", ...
51d8ef65f547e41a
csharp
38
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.Reflection; using Azure.AI.OpenAI; using Azure.Identity; using Microsoft.Extensions.AI; using Microsoft.Extensions.Configuration; namespace GettingStartedWithVectorStores; /// <summary> /// Fixture containing common setup logic for the samples. /// </sum...
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.", ...
22c268d7889c86b1
java
85
Dracula
package com.macro.mall.model; import io.swagger.annotations.ApiModelProperty; import java.io.Serializable; public class PmsAlbum implements Serializable { private Long id; private String name; private String coverPic; private Integer picCount; private Integer sort; private String descript...
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.", ...
91615d8bd5cb7a50
python
137
Default Light+
import urllib.parse from .common import InfoExtractor from ..utils import ( clean_html, int_or_none, parse_duration, parse_iso8601, qualities, update_url_query, ) class UOLIE(InfoExtractor): IE_NAME = 'uol.com.br' _VALID_URL = r'https?://(?:.+?\.)?uol\.com\.br/.*?(?:(?:mediaId|v)=|vie...
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...
bc4b15c2fd79aa3f
go
29
Default Light+
package gofile import ( "github.com/alist-org/alist/v3/internal/driver" "github.com/alist-org/alist/v3/internal/op" ) type Addition struct { driver.RootID APIToken string `json:"api_token" required:"true" help:"Get your API token from your Gofile profile page"` LinkExpiry int `jso...
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...
4c975dc3158863ab
typescript
114
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { describe, it, expect } from 'vitest'; import { applyAdminAllowlist } from './mcpUtils.js'; import type { MCPServerConfig } from '../../config/config.js'; describe('applyAdminAllowlist', () => { it('should return origina...
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.", ...
1eb89031f7266ace
typescript
55
Solarized Light
"use client" import * as React from "react" import { Card, CardContent } from "@/examples/base/ui/card" import { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type CarouselApi, } from "@/examples/base/ui/carousel" export default function CarouselDApiDemo() { const [api, setApi...
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...
cd7a67315e612f85
python
149
Solarized Light
from __future__ import annotations from collections.abc import Iterator from dataclasses import dataclass from typing import Any @dataclass class Node: data: Any next_node: Node | None = None @dataclass class LinkedList: head: Node | None = None def __iter__(self) -> Iterator: """ ...
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...
90add3b3bba9a965
python
116
Monokai
# Copyright (c) Microsoft. All rights reserved. import logging from collections.abc import Callable from typing import TYPE_CHECKING, Any from jinja2 import BaseLoader, TemplateError from jinja2.sandbox import ImmutableSandboxedEnvironment from pydantic import PrivateAttr, field_validator from semantic_kernel.except...
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.", ...
338bd5748d01fb30
java
43
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...
8300d9d6c008d7dd
cpp
23
Monokai
#pragma once #ifndef TCPHANDLER_H #define TCPHANDLER_H #include "Based.h" #include "SocksHelper.h" namespace TCPHandler { bool INIT(); void FREE(); void CreateHandler(SOCKADDR_IN6 client, SOCKADDR_IN6 remote); void DeleteHandler(SOCKADDR_IN6 client); void Accept(); void Handle(SOCKET client); void Read(SOCKE...
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" ...
ee195dcf21be8cbf
typescript
37
Solarized Light
import { ToggleGroup, ToggleGroupItem } from "@/examples/radix/ui/toggle-group" export function ToggleGroupSizes() { return ( <div className="flex flex-col gap-4"> <ToggleGroup type="single" size="sm" defaultValue="top" variant="outline"> <ToggleGroupItem value="top" aria-label="Toggle top"> ...
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...
203b23d6becb6583
csharp
38
Default Light+
// Copyright (c) 2011 AlphaSierraPapa for the SharpDevelop Team // // Permission is hereby granted, free of charge, to any person obtaining a copy of this // software and associated documentation files (the "Software"), to deal in the Software // without restriction, including without limitation the rights to use, cop...
4
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Reproduce the code from this screenshot.", "role": "user" ...
e5c193d4aa2ad649
cpp
157
One Dark Pro
/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent versi...
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...
9d85fa7db83c3a59
cpp
104
One Dark Pro
#pragma once #include <hex.hpp> #include <hex/api/localization_manager.hpp> #include <string> #include <functional> #include <optional> #include <vector> EXPORT_MODULE namespace hex { /* Command Palette Command Registry. Allows adding of new commands to the command palette */ namespace ContentRegistry::Com...
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...
a411ac7b17120ad8
cpp
37
Solarized Light
#ifndef _PLUGIN_DATA_H #define _PLUGIN_DATA_H #ifdef BUILD_DBG #include "_global.h" #include "jansson/jansson.h" #pragma warning(push) #pragma warning(disable:4091) #include <dbghelp.h> #pragma warning(pop) #else #include <Windows.h> #ifdef __GNUC__ #include "dbghelp/dbghelp.h" #else #pragma warning(push) #pragma ...
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" ...
fd0d4ad82cb98305
typescript
68
Default Dark+
type ThemeNames = keyof typeof import("../../themes/index.js"); type RankIcon = "default" | "github" | "percentile"; export type CommonOptions = { title_color: string; icon_color: string; text_color: string; bg_color: string; theme: ThemeNames; border_radius: number; border_color: string; locale: strin...
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.", ...
6fedddff44f7dc60
csharp
67
Dracula
using v2rayN.Desktop.Views; namespace v2rayN.Desktop; public partial class App : Application { public override void Initialize() { AvaloniaXamlLoader.Load(this); AppDomain.CurrentDomain.UnhandledException += CurrentDomain_UnhandledException; TaskScheduler.UnobservedTaskException += Ta...
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.", ...
6b87f847243ae665
typescript
156
Solarized Light
/** * @license * Copyright 2025 Google LLC * SPDX-License-Identifier: Apache-2.0 */ import { useEffect } from 'react'; import { type Config } from '@google/gemini-cli-core'; import { loadTrustedFolders } from '../../config/trustedFolders.js'; import { expandHomeDir, batchAddDirectories } from '../utils/directoryUt...
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...
670b213692cf93ca
go
439
Default Light+
package imagegen import ( "bufio" "bytes" "context" "encoding/json" "errors" "fmt" "io" "log/slog" "math/rand" "net" "net/http" "os" "os/exec" "path/filepath" "runtime" "strconv" "strings" "sync" "time" "github.com/ollama/ollama/envconfig" "github.com/ollama/ollama/format" "github.com/ollama/oll...
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...
570a068824440187
java
55
Solarized Dark
// Given a string, we can "shift" each of its letter to its successive letter, for example: "abc" -> "bcd". We can keep "shifting" which forms the sequence: // "abc" -> "bcd" -> ... -> "xyz" // Given a list of strings which contains only lowercase alphabets, group all strings that belong to the same shifting sequence....
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.", ...
766d6b860b6b8249
go
256
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...
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...
3eb2ba0e227d5bf4
typescript
28
One Dark Pro
export const interfaceLanguages = { cJSON: "cjson", "C++": "cpp", "C#": "csharp", Crystal: "crystal", Dart: "dart", Elm: "elm", Flow: "flow", Go: "go", Haskell: "haskell", Java: "java", JavaScript: "javascript", Kotlin: "kotlin", "Objective-C": "objective-c", PHP: "php", Pike: "pike", Py...
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"...
493389a60a8a67c3
cpp
95
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2006 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
79258719cb04aac3
typescript
73
Solarized Light
import dayjs from "dayjs"; import isSameOrAfter from "dayjs/plugin/isSameOrAfter"; import isSameOrBefore from "dayjs/plugin/isSameOrBefore"; import { useTranslate } from "@/utils/i18n"; import { CELL_STYLES, INTENSITY_THRESHOLDS, MIN_COUNT, MONTHS_IN_YEAR } from "./constants"; import type { CalendarDayCell } from "./ty...
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"...
1ba5e75157d9a4cf
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 ...
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...
095d7487a872857f
java
232
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.", ...
52594f39ca94fa24
python
69
Default Light+
import torch def make_weight_cp(t, wa, wb): temp = torch.einsum('i j k l, j r -> i r k l', t, wb) return torch.einsum('i j k l, i r -> r j k l', temp, wa) def rebuild_conventional(up, down, shape, dyn_dim=None): up = up.reshape(up.size(0), -1) down = down.reshape(down.size(0), -1) if dyn_dim is ...
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.", ...
34c1e16ca1ce0cb2
java
217
Solarized Dark
/* * Copyright 2012-2022 the original author or 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 * * https://www.apache.org/licenses/LICENSE-2.0 * * Unless required by 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...
690a5bac8c6b5770
cpp
31
Solarized Dark
#ifndef OPENPOSE_GUI_ENUM_CLASSES_HPP #define OPENPOSE_GUI_ENUM_CLASSES_HPP namespace op { /** * GUI display modes. * An enum class with the different output screen options. E.g., 2-D, 3-D, all, none. */ enum class DisplayMode : unsigned short { NoDisplay, /**< No display. */ ...
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" ...
30f5ee9a6b22e12d
java
80
Default Light+
package com.thealgorithms.maths; /** * A utility class for calculating the persistence of a number. * * <p>This class provides methods to calculate: * <ul> * <li>Multiplicative persistence: The number of steps required to reduce a number to a single digit by multiplying its digits.</li> * <li>Additive persis...
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...
4ab3c8816bcc972b
cpp
64
One Dark Pro
#pragma once #include "whisper.h" #include <string> #include <vector> #include <memory> class Chessboard; class WChess { public: using CheckRunningCb = bool (*)(); using GetAudioCb = bool (*)(std::vector<float> &); using SetMovesCb = void (*)(const std::string &, float); using SetGrammarCb = void (*)(...
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"...
7cb2263b652fecb3
csharp
87
Default Light+
// Copyright (c) 2024 Tom Englert 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, copy, m...
0
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "What code is displayed in this VS Code screenshot?", "role...
fc06f8a80838edcc
java
32
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" ...
58679f2f4f2d65e9
java
121
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"...
707538ecca9c5943
javascript
20
Default Dark+
const { BeanModel } = require("redbean-node/dist/bean-model"); class DockerHost extends BeanModel { /** * Returns an object that ready to parse to JSON * @returns {object} Object ready to parse */ toJSON() { return { id: this.id, userID: this.user_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...
851f4f3f1b774a6e
java
117
Default Light+
package com.thealgorithms.others; import java.util.Objects; /** * Damm algorithm is a check digit algorithm that detects all single-digit * errors and all adjacent transposition errors. It was presented by H. Michael * Damm in 2004. Essential part of the algorithm is a quasigroup of order 10 * (i.e. having a 10 ×...
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...
6e0bf8ffbd904e6e
cpp
221
Monokai
// Formatting library for C++ - dynamic argument lists // // Copyright (c) 2012 - present, Victor Zverovich // All rights reserved. // // For the license information refer to format.h. #ifndef FMT_ARGS_H_ #define FMT_ARGS_H_ #ifndef FMT_MODULE # include <functional> // std::reference_wrapper # include <memory> ...
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.", ...
46cbe4b085b97cfd
csharp
34
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...
d587af11ee1b3d99
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 ...
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...
5cf0793525d438fc
csharp
123
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Linq; using System.Threading.Tasks; using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Agents; using Microsoft.SemanticKernel.ChatCompletion; using Moq; using Xunit; namespace SemanticKernel.Agents.UnitTests.Core; /// <summary> /...
6
[ { "content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.", "role": "system" }, { "content": "Transcribe the code from this VS Code screenshot.", "role"...
b71822b82df01449
csharp
149
Monokai
// Copyright (c) Microsoft. All rights reserved. using Microsoft.SemanticKernel; using Microsoft.SemanticKernel.Connectors.OpenAI; using Microsoft.SemanticKernel.Data; using Microsoft.SemanticKernel.Plugins.Web.Bing; namespace Search; /// <summary> /// This example shows how to perform function calling with an <see...
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"...
13354abd962c5451
cpp
106
Monokai
/* <!-- copyright */ /* * aria2 - The high speed download utility * * Copyright (C) 2011 Tatsuhiro Tsujikawa * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the Lice...
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" ...
f8da61459239d422
csharp
226
Monokai
using System.ComponentModel; using System.Diagnostics; using System.Net.NetworkInformation; using System.Net.Sockets; using System.Runtime.InteropServices; using Windows.Win32; using Windows.Win32.NetworkManagement.IpHelper; using Netch.Models; namespace Netch.Utils; public static class PortHelper { private stat...
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...
5726c6d7d5da3c3a
java
62
Dracula
package com.macro.mall.service.impl; import com.github.pagehelper.PageHelper; import com.macro.mall.dao.PmsProductAttributeCategoryDao; import com.macro.mall.dto.PmsProductAttributeCategoryItem; import com.macro.mall.mapper.PmsProductAttributeCategoryMapper; import com.macro.mall.model.PmsProductAttributeCategory; imp...
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" ...
70e80df6c1a3b978
java
86
Default Light+
package com.thealgorithms.maths.Prime; import java.util.Scanner; public final class PrimeCheck { private PrimeCheck() { } public static void main(String[] args) { Scanner scanner = new Scanner(System.in); System.out.print("Enter a number: "); int n = scanner.nextInt(); if...
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...
84bcfc716e528549
python
78
Default Light+
from .common import InfoExtractor from ..utils import int_or_none, url_or_none class CamModelsIE(InfoExtractor): _VALID_URL = r'https?://(?:www\.)?cammodels\.com/cam/(?P<id>[^/?#&]+)' _TESTS = [{ 'url': 'https://www.cammodels.com/cam/AutumnKnight/', 'only_matching': True, 'age_limit': ...
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"...
769e40bc36681c20
csharp
53
Default Light+
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; #if !NET8_0_OR_GREATER namespace System.Numerics { internal static class BitOperations { private static ReadOnlySpan<byte> TrailingZeroCountDeBruijn => new byte[32] { 00, 01, 28, 02, 29, 14, 24, 03, 30, 22, 20, 15, 25,...
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"...
9dfe9de3cd97b38c
csharp
108
Monokai
// Copyright (c) Microsoft. All rights reserved. using System.ComponentModel; using System.Text.Json; using Microsoft.SemanticKernel; namespace Plugins; internal sealed class GitHubSettings { public string BaseUrl { get; set; } = "https://api.github.com"; public string Token { get; set; } = string.Empty; }...
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...
e7e131af67fba9ec
java
45
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"...
91e60c0bc6077a3e
csharp
310
Default Light+
using System; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; namespace ICSharpCode.Decompiler.Tests.TestCases.Pretty { public class FunctionPointerAddressOf { public static void Overloaded() { } public static void Overloaded(int a) { } public unsafe del...
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...
2ca943175e09d386
java
121
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...
5b7a3fa91b697b24
go
105
Default Light+
package launch import ( "encoding/json" "fmt" "os" "os/exec" "path/filepath" "github.com/ollama/ollama/cmd/internal/fileutil" "github.com/ollama/ollama/envconfig" ) // Cline implements Runner and Editor for the Cline CLI integration type Cline struct{} func (c *Cline) String() string { return "Cline" } func...
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" ...
928f6d976661706f
cpp
352
Solarized Light
#include "XrefBrowseDialog.h" #include "ui_XrefBrowseDialog.h" #include "StringUtil.h" #include "MiscUtil.h" #include "MenuBuilder.h" XrefBrowseDialog::XrefBrowseDialog(QWidget* parent) : QDialog(parent), ui(new Ui::XrefBrowseDialog) { ui->setupUi(this); setWindowFlags(windowFlags() & ~Qt::WindowContex...
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...
6fc78e3a5e410fec
csharp
104
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.ComponentModel; using System.IO; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Logging.Abstractions; using Microsoft.SemanticKernel.Plugins.MsGraph.Diagnostics; namespace...
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.", ...
980b5ffc7da996bd
typescript
38
One Dark Pro
export type JSPrimitive = | "undefined" | "object" | "boolean" | "number" | "bigint" | "string" | "symbol" | "function" export type TypeFromPrimitive<P extends JSPrimitive | undefined> = P extends "undefined" ? undefined : P extends "object" ? object | null // typeof null === "object" ...
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...
72dc0ad7d77477bb
java
46
Default Light+
package com.thealgorithms.greedyalgorithms; import java.util.Arrays; public final class MinimizingLateness { private MinimizingLateness() { } public static class Job { String jobName; int startTime = 0; int lateness = 0; int processingTime; int deadline; p...
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"...
98cd508af5cf5138
python
51
Solarized Light
""" Find the kinetic energy of an object, given its mass and velocity. Description : In physics, the kinetic energy of an object is the energy that it possesses due to its motion.It is defined as the work needed to accelerate a body of a given mass from rest to its stated velocity.Having gained this energy during its ...
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" ...
ab62a285cc68fa7f
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 ...
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"...
2f01b5145c6cb687
typescript
442
Solarized Dark
import { DnsOutlined, HelpOutlineRounded, HistoryEduOutlined, RouterOutlined, SettingsOutlined, SpeedOutlined, } from '@mui/icons-material' import { Box, Button, Checkbox, Dialog, DialogActions, DialogContent, DialogTitle, FormControlLabel, FormGroup, Grid, IconButton, Skeleton, To...
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...
b5df58568d72d2cc
csharp
61
Monokai
// Copyright (c) Microsoft. All rights reserved. using System; using System.Collections.Generic; using System.Threading; using System.Threading.Tasks; using Microsoft.Extensions.AI; using Microsoft.SemanticKernel.Services; namespace Microsoft.SemanticKernel.ChatCompletion; /// <summary> /// Allow <see cref="IChatCl...
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"...
2a1591f38db88c98
typescript
58
Solarized Light
import Link from "next/link" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/examples/radix/ui/breadcrumb" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuTrigger, } from "@/examples/ra...
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...
a2b01377ebd31afe
go
38
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...
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.", ...
e833b3d23e0159e2
python
118
Default Light+
import hashlib import time import urllib.parse from .common import InfoExtractor from ..utils import ( clean_html, join_nonempty, strip_or_none, ) class FptplayIE(InfoExtractor): _VALID_URL = r'https?://fptplay\.vn/xem-video/[^/]+\-(?P<id>\w+)(?:/tap-(?P<episode>\d+)?/?(?:[?#]|$)|)' _GEO_COUNTRIE...
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...
e1237e6a29127127
typescript
428
Dracula
import type { CustomPluginOptions, ImportKind, LoadResult, MinimalPluginContext, ModuleType, ModuleTypeFilter, ObjectHook, PluginContext, PluginContextMeta, ResolveIdResult, Plugin as RolldownPlugin, TransformPluginContext, TransformResult, } from 'rolldown' import type { ConfigEnv, Enviro...
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...
847c132a37fa8259
csharp
22
Default Light+
// Copyright (c) 2014 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...
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.", ...
7b8775ac0efed0fc
csharp
80
Default Light+
/* Copyright (c) 2015 Ki Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublice...
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...