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 |
|---|---|---|---|---|---|---|
185bc9fcc92f5167 | java | 63 | 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"
... |
472e99a974847cd8 | javascript | 60 | Default Dark+ | import "bootstrap";
import { createApp, h } from "vue";
import contenteditable from "vue-contenteditable";
import Toast from "vue-toastification";
import "vue-toastification/dist/index.css";
import App from "./App.vue";
import "./assets/app.scss";
import "./assets/vue-datepicker.scss";
import { i18n } from "./i18n";
im... | 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.",
... |
b0fd45fb2228c3a2 | cpp | 252 | Solarized Light | /*
LZ4 - Fast LZ compression algorithm
Header File
Copyright (C) 2011-2014, Yann Collet.
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
... | 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... |
f250fbf9859ac2cd | python | 103 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import asyncio
import logging
import sys
import time
from typing import Annotated
from semantic_kernel.connectors.ai.function_choice_behavior import FunctionChoiceBehavior
from semantic_kernel.connectors.ai.open_ai.services.open_ai_chat_completion import OpenAIChatCompl... | 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... |
93d1a753e618c79a | java | 45 | GitHub Dark | package com.github.mikephil.charting.data;
import android.annotation.SuppressLint;
/**
* Created by philipp on 13/06/16.
*/
@SuppressLint("ParcelCreator")
public class RadarEntry extends Entry {
public RadarEntry(float value) {
super(0f, value);
}
public RadarEntry(float value, Object data) {
... | 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... |
c7397ec2307cf2da | python | 101 | Default Light+ | from .common import InfoExtractor
from ..utils import (
int_or_none,
str_or_none,
url_or_none,
)
class ViqeoIE(InfoExtractor):
_WORKING = False
_VALID_URL = r'''(?x)
(?:
viqeo:|
https?://cdn\.viqeo\.tv/embed/*\?.*?\bvi... | 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... |
05e95640dbdabef3 | cpp | 439 | Dracula | /**
* Copyright 2017-2025, XGBoost Contributors
* \file column_matrix.h
* \brief Utility for fast column-wise access
* \author Philip Cho
*/
#ifndef XGBOOST_COMMON_COLUMN_MATRIX_H_
#define XGBOOST_COMMON_COLUMN_MATRIX_H_
#include <algorithm>
#include <cstddef> // for size_t, byte
#include <cstdint> // for uint... | 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... |
3a56925c2ef403e8 | python | 82 | Monokai | from comfy import sd1_clip
from transformers import BertTokenizer
from .spiece_tokenizer import SPieceTokenizer
from .bert import BertModel
import comfy.text_encoders.t5
import os
import torch
class HyditBertModel(sd1_clip.SDClipModel):
def __init__(self, device="cpu", layer="last", layer_idx=None, dtype=None, mod... | 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"... |
83332cc257558abf | java | 20 | Dracula | package com.macro.mall.portal.domain;
import com.macro.mall.model.PmsProductCategory;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
/**
* 包含子分类的商品分类
* Created by macro on 2020/4/6.
*/
@Getter
@Setter
public class PmsProductCategoryNode extends P... | 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... |
b4cecb24f78d26f2 | java | 131 | 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... |
ad53010cd1e2b685 | python | 223 | Dracula | import logging
import secrets
import subprocess
from collections import defaultdict
from pathlib import Path
from typing import Any
import httpx
import yaml
from github import Github
from pydantic import BaseModel, SecretStr
from pydantic_settings import BaseSettings
github_graphql_url = "https://api.github.com/graph... | 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... |
fe5881579cee51fc | typescript | 65 | Solarized Light | import { type Metadata } from "next"
import Link from "next/link"
import { Announcement } from "@/components/announcement"
import {
PageActions,
PageHeader,
PageHeaderDescription,
PageHeaderHeading,
} from "@/components/page-header"
import { Button } from "@/registry/new-york-v4/ui/button"
const title = "Pick... | 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... |
1dd22f60a25cee91 | javascript | 188 | Monokai | import {clipArea, unclipArea, getDatasetClipArea} from '../../helpers/index.js';
import {_findSegmentEnd, _getBounds, _segments} from './filler.segment.js';
import {_getTarget} from './filler.target.js';
export function _drawfill(ctx, source, area) {
const target = _getTarget(source);
const {chart, index, line, sc... | 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"... |
1ea17ccd85db0390 | python | 89 | Solarized Dark | # From Python
# It requires OpenCV installed for Python
import sys
import cv2
import os
from sys import platform
import argparse
import numpy as np
try:
# Import Openpose (Windows/Ubuntu/OSX)
dir_path = os.path.dirname(os.path.realpath(__file__))
try:
# Windows Import
if platform == "win32"... | 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... |
b9a26719e9647e04 | csharp | 141 | Default Light+ | using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using ICSharpCode.Decompiler.FlowAnalysis;
using ICSharpCode.Decompiler.IL.ControlFlow;
using ICSharpCode.Decompiler.Util;
namespace ICSharpCode.Decompiler.IL.Transforms
{
/// <summary>
/// Per-block IL transform.
/// </su... | 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"... |
f15f1d17f675f8c9 | csharp | 64 | One Dark Pro | namespace ShareX.HelpersLib
{
partial class OutputBox
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... | 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... |
e973351049d29cfb | cpp | 61 | Solarized Dark | #include <openpose/core/string.hpp>
#include <openpose/utilities/errorAndLog.hpp>
namespace op
{
struct String::ImplString
{
std::string mString;
ImplString()
{
}
ImplString(const char* charPtr) :
mString{charPtr}
{
}
};
String::Str... | 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... |
b8c481327293215d | csharp | 47 | Monokai | using winPEAS.Helpers.Registry;
namespace winPEAS.Info.WindowsCreds
{
internal class RemoteDesktop
{
public static RDPSettingsInfo GetRDPSettingsInfo()
{
// Client settings
var credDelegKey = @"Software\Policies\Microsoft\Windows\CredentialsDelegation";
var ... | 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... |
632135617e58a3d7 | csharp | 154 | Dracula | // Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using CalculatorApp.ViewModel.Common;
using System;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Core;
using Windows.Foundation.Diagnostics;
using Windows.UI.ViewManagement;
namespace CalculatorApp
{
... | 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"
... |
775410fea76d665e | csharp | 484 | Monokai | using System;
using winPEAS._3rdParty.BouncyCastle.util;
namespace winPEAS._3rdParty.BouncyCastle.crypto.digests
{
/**
* implementation of RipeMD128
*/
public class RipeMD128Digest
: GeneralDigest
{
private const int DigestLength = 16;
private int H0, H1, H2, H3; // IV's
... | 3 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What is the exact code shown in this VS Code window?",
"ro... |
f15a4a0767a566f9 | java | 93 | 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.",
... |
615072f09898548d | java | 91 | Dracula | package com.macro.mall.model;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
public class OmsOrderOperateHistory implements Serializable {
private Long id;
@ApiModelProperty(value = "订单id")
private Long orderId;
@ApiModelProperty(value = "操作人:用户;系... | 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... |
2cb094d649813a9f | csharp | 28 | Monokai | using ScreenToGif.Domain.Enums;
namespace ScreenToGif.ViewModel.ExportPresets.Image;
public class JpegPreset : ImagePreset
{
public JpegPreset()
{
Type = ExportFormats.Jpeg;
ImageId = "Vector.Logo";
DefaultExtension = ".jpeg";
Extension = ".jpeg";
}
public static Jpeg... | 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... |
f6f2a2356e664b7c | python | 69 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import logging
from typing import Any
from pydantic import Field
from semantic_kernel.contents.kernel_content import KernelContent
from semantic_kernel.exceptions import FunctionResultError
from semantic_kernel.functions.kernel_function_metadata import KernelFunctionMe... | 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... |
4ee09677dc79d281 | csharp | 90 | Default Light+ | // Copyright (c) 2019 Daniel Grunwald
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publi... | 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"... |
9deb0e188aa9668c | typescript | 48 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {
readPackageUp,
type PackageJson as BasePackageJson,
} from 'read-package-up';
import { debugLogger } from './debugLogger.js';
export type PackageJson = BasePackageJson & {
config?: {
sandboxImageUri?: 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.",
... |
f797928b531b7d8f | go | 25 | Default Light+ | package util
import (
"reflect"
"testing"
)
func TestAtExit(t *testing.T) {
want := []int{3, 2, 1, 0}
var called []int
for i := range 4 {
n := i
AtExit(func() { called = append(called, n) })
}
RunAtExitFuncs()
if !reflect.DeepEqual(called, want) {
t.Errorf("AtExit: want call order: %v got: %v", want, ca... | 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.",
... |
fe24c4deccdadfb9 | python | 53 | Solarized Light | # https://www.tutorialspoint.com/python3/bitwise_operators_example.htm
def binary_xor(a: int, b: int) -> str:
"""
Take in 2 integers, convert them to binary,
return a binary number that is the
result of a binary xor operation on the integers provided.
>>> binary_xor(25, 32)
'0b111001'
>>>... | 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... |
1e51ff776bedbb78 | python | 134 | Default Light+ | from .common import InfoExtractor
from ..utils import (
int_or_none,
parse_iso8601,
try_get,
url_or_none,
)
class CCCIE(InfoExtractor):
IE_NAME = 'media.ccc.de'
_VALID_URL = r'https?://(?:www\.)?media\.ccc\.de/v/(?P<id>[^/?#&]+)'
_TESTS = [{
'url': 'https://media.ccc.de/v/30C3_-_5... | 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... |
08d1d46f6941c09e | go | 36 | Solarized Light | package base
import (
"testing"
)
func TestUIDMatcher(t *testing.T) {
tests := []struct {
input string
expected bool
}{
{"", false},
{"-abc123", false},
{"012345678901234567890123456789", true},
{"1abc-123", true},
{"A123B456C789", true},
{"a", true},
{"ab", true},
{"a*b&c", false},
{"a--b... | 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... |
3fb167afea8d781b | cpp | 177 | Monokai | /* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2013 Nils Maier
*
* 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 License, or
... | 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"... |
689d87b44f62091e | csharp | 52 | 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... |
d78b4d8abdbc51b9 | typescript | 214 | Solarized Light | /**
* @license
* Copyright 2026 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import type { Terminal } from '@xterm/headless';
export const generateSvgForTerminal = (terminal: Terminal): string => {
const activeBuffer = terminal.buffer.active;
const getHexColor = (
isRGB: boolean,
isPalette: bo... | 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... |
700f149d848a995e | java | 37 | Monokai | /*
* This project is licensed under the MIT license. Module model-view-viewmodel is using ZK framework licensed under LGPL (see lgpl-3.0.txt).
*
* The MIT License
* Copyright © 2014-2022 Ilkka Seppälä
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associat... | 5 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What source code is visible in this editor?",
"role": "use... |
98fd96414d0c2d53 | 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 ... | 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... |
582a8292f335a8e1 | typescript | 37 | Solarized Light | import { cookies } from "next/headers"
import {
SidebarInset,
SidebarProvider,
} from "@/registry/new-york-v4/ui/sidebar"
import { AppSidebar } from "@/app/(examples)/dashboard/components/app-sidebar"
import { SiteHeader } from "@/app/(examples)/dashboard/components/site-header"
import "@/app/(examples)/dashboard... | 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... |
84d2e57664392016 | go | 149 | Solarized Dark | package model
import (
"fmt"
"strings"
v1 "github.com/fatedier/frp/pkg/config/v1"
)
type ProxyDefinition struct {
Name string `json:"name"`
Type string `json:"type"`
TCP *v1.TCPProxyConfig `json:"tcp,omitempty"`
UDP *v1.UDPProxyConfig `json:"udp,omitempty"`
HTTP *v1.HTTPProxyConfig `json:"ht... | 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... |
ac89da386fb3c57f | csharp | 86 | 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.",
... |
0d6af5603c37e96f | csharp | 180 | One Dark Pro | #region License Information (GPL v3)
/*
ShareX - A program that allows you to take screenshots and share any file type
Copyright (c) 2007-2026 ShareX Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the ... | 4 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Reproduce the code from this screenshot.",
"role": "user"
... |
2eb15c8e158ca5f4 | python | 309 | Default Light+ | import hashlib
import time
import urllib
import uuid
from .common import InfoExtractor
from .openload import PhantomJSwrapper
from ..utils import (
ExtractorError,
UserNotLive,
determine_ext,
int_or_none,
js_to_json,
parse_resolution,
str_or_none,
traverse_obj,
unescapeHTML,
url... | 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"... |
bebf8184ccd51b45 | python | 410 | Default Light+ | import torch
from torch.nn.functional import silu
from types import MethodType
from modules import devices, sd_hijack_optimizations, shared, script_callbacks, errors, sd_unet, patches
from modules.hypernetworks import hypernetwork
from modules.shared import cmd_opts
from modules import sd_hijack_clip, sd_hijack_open_c... | 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... |
5c9386fa9ace4703 | csharp | 62 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Microsoft.SemanticKernel.Agents.Runtime;
using Microsoft.SemanticKernel.Agents.Runtime.Core;
namespace Microsoft.SemanticKernel.Agents.Orchestration.Sequential;
... | 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... |
18b72a7265f21798 | csharp | 25 | Monokai | namespace winPEAS._3rdParty.BouncyCastle.asn1
{
public class DerSequenceParser
: Asn1SequenceParser
{
private readonly Asn1StreamParser _parser;
internal DerSequenceParser(
Asn1StreamParser parser)
{
this._parser = parser;
}
public IAsn1Convertible ReadObject()
{
return _parser.ReadObject()... | 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"
... |
0e568ae5de6e54f9 | typescript | 261 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import { describe, it, expect, vi, beforeEach, afterEach } from 'vitest';
import * as os from 'node:os';
import * as path from 'node:path';
import * as fs from 'node:fs/promises';
import { Storage } from '@google/gemini-cli-core';
... | 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"
... |
a4b6b73209e91dc5 | cpp | 93 | Monokai | /* <!-- copyright */
/*
* aria2 - The high speed download utility
*
* Copyright (C) 2006 Tatsuhiro Tsujikawa
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the Lice... | 5 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What source code is visible in this editor?",
"role": "use... |
619a36e66ecfb094 | csharp | 21 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.ComponentModel;
using Microsoft.SemanticKernel;
namespace HomeAutomation.Plugins;
/// <summary>
/// Simple plugin to illustrate creating plugins which have dependencies
/// that can be resolved through dependency injection.
/// </summary>
public class My... | 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"
... |
25ea7e0505ac892a | python | 73 | Default Light+ | from .common import InfoExtractor
from ..utils import parse_age_limit, parse_duration, url_or_none
from ..utils.traversal import traverse_obj
class MagellanTVIE(InfoExtractor):
_VALID_URL = r'https?://(?:www\.)?magellantv\.com/(?:watch|video)/(?P<id>[\w-]+)'
_TESTS = [{
'url': 'https://www.magellantv.... | 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"... |
1a46293163ba02af | typescript | 149 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import path from 'node:path';
import { promises as fsp, readFileSync } from 'node:fs';
import { Storage } from '../config/storage.js';
import { debugLogger } from './debugLogger.js';
interface UserAccounts {
active: string | 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... |
f95847b7c8cd1486 | typescript | 246 | GitHub Dark | import { field, logger } from "@coder/logger"
import http from "http"
import * as os from "os"
import * as path from "path"
import { Disposable } from "../common/emitter"
import { plural } from "../common/util"
import { createApp, ensureAddress } from "./app"
import { AuthType, DefaultedArgs, Feature, toCodeArgs, UserP... | 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... |
c9c71dfc0e688176 | java | 86 | 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... |
c4952a9b4d769267 | javascript | 36 | Default Dark+ | const NotificationProvider = require("./notification-provider");
const axios = require("axios");
class Gotify extends NotificationProvider {
name = "gotify";
/**
* @inheritdoc
*/
async send(notification, msg, monitorJSON = null, heartbeatJSON = null) {
const okMsg = "Sent Successfully.";... | 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... |
ba1e7f5b00d60b78 | python | 189 | Monokai | # Copyright (c) Microsoft. All rights reserved.
# Classes in this file are shared between text search and vectors.
# They should not be imported directly, as they are also exposed in both modules.
from abc import ABC
from collections.abc import AsyncIterable, Callable, Mapping
from logging import Logger
from typing im... | 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... |
387bbc0ce8cf1642 | typescript | 28 | Solarized Light | import {
ConcurrencyCheckParams,
ConcurrencyCheckResponse,
RequestWithAuth,
} from "./types";
import { Response } from "express";
import { getRedisConnection } from "../../../src/services/queue-service";
// Basically just middleware and error wrapping
export async function concurrencyCheckController(
req: Requ... | 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... |
366e14e9d912aedd | java | 44 | 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"... |
252a5fd7a831568d | csharp | 39 | Monokai | // Copyright (c) Microsoft. All rights reserved.
namespace Microsoft.SemanticKernel.Data;
/// <summary>
/// Interface for mapping between a <see cref="ITextSearch" /> implementation result value, and a <see cref="string" /> instance.
/// </summary>
public interface ITextSearchStringMapper
{
/// <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"... |
ec7c79ca4a71ca79 | java | 102 | Dracula | package com.macro.mall.demo.controller;
import com.macro.mall.common.api.CommonPage;
import com.macro.mall.common.api.CommonResult;
import com.macro.mall.demo.dto.PmsBrandDto;
import com.macro.mall.demo.service.DemoService;
import com.macro.mall.model.PmsBrand;
import io.swagger.annotations.Api;
import io.swagger.anno... | 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"
... |
7c533fb0a000926f | typescript | 158 | Solarized Light | // Copyright 2025 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in w... | 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.",
... |
bd9b244ca842ba6c | java | 104 | GitHub Dark |
package com.github.mikephil.charting.formatter;
import com.github.mikephil.charting.components.AxisBase;
import com.github.mikephil.charting.data.Entry;
import com.github.mikephil.charting.utils.ViewPortHandler;
import java.text.DecimalFormat;
/**
* Predefined value-formatter that formats large numbers in a pretty... | 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... |
a401e288a548d12a | python | 33 | Dracula | from typing import Annotated
from fastapi import Depends, FastAPI, HTTPException
app = FastAPI()
data = {
"plumbus": {"description": "Freshly pickled plumbus", "owner": "Morty"},
"portal-gun": {"description": "Gun to create portals", "owner": "Rick"},
}
class OwnerError(Exception):
pass
def get_user... | 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... |
94dc2f4a1385c72b | go | 294 | 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... | 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... |
2a4550b1224483dd | typescript | 23 | Dracula | // @ts-nocheck
import '../nested/main'
import '../nested-with-extends/main'
import './decorator'
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
import { MainTypeOnlyClass } from './not-used-type'
class MainBase {
set data(value: string) {
console.log('data setter in MainBase')
}
}
clas... | 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... |
be999a2af1d23c84 | csharp | 176 | Monokai | /* Copyright (C) 2008-2018 Peter Palotas, Jeffrey Jangli, Alexandr Normuradov
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation t... | 3 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "What is the exact code shown in this VS Code window?",
"ro... |
c5533b8694216b22 | csharp | 36 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Text.Json;
using Microsoft.Extensions.AI;
namespace Microsoft.SemanticKernel.Connectors.CosmosNoSql;
/// <summary>
/// Options when creating a <see cref="CosmosNoSqlVectorStore"/>.
/// </summary>
public sealed class CosmosNoSqlVectorStoreOptions
{
//... | 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... |
c122c8e061e69edb | rust | 81 | GitHub Dark | /*
Moore's voting algorithm finds out the strictly majority-occurring element
without using extra space
and O(n) + O(n) time complexity
It is built on the intuition that a strictly major element will always have a net occurrence as 1.
Say, array given: 9 1 8 1 1
Here, the algorithm will work a... | 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.",
... |
95b7c09cdd6748e8 | java | 126 | 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"... |
b7b6921ccc650b0c | python | 45 | Monokai | from kornia.filters import canny
from typing_extensions import override
import comfy.model_management
from comfy_api.latest import ComfyExtension, io
class Canny(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="Canny",
display_name="Canny",
... | 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.",
... |
2165c14743e4c737 | cpp | 201 | One Dark Pro | #include "models.h"
llm_build_minicpm3::llm_build_minicpm3(const llama_model & model, const llm_graph_params & params) : llm_graph_context(params) {
//TODO: if the model varies, these parameters need to be read from the model
const int64_t n_embd_base = 256;
const float scale_embd = 12.0f;
const float... | 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... |
b67f8232eced26cb | csharp | 92 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Collections.Generic;
namespace Microsoft.SemanticKernel.Experimental.Orchestration.Execution;
/// <summary>
/// Execution state
/// </summary>
public sealed class ExecutionState
{
/// <summary>
/// Index of current step
/// </summary>
pub... | 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"... |
66021619d1bbc7c1 | cpp | 61 | One Dark Pro | ///////////////////////////////////////////////////////////////////////
// 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 ap... | 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.",
... |
8d7b4dc101f20579 | typescript | 159 | Solarized Light | /**
* Search Query Builder
* Builds search queries with category filters for the search API
*/
interface CategoryInput {
type: "github" | "research" | "pdf";
sites?: string[];
}
export type CategoryOption = string | CategoryInput;
interface QueryBuilderResult {
query: string;
categoryMap: Map<string, stri... | 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.",
... |
9cc24efc796495b3 | java | 28 | GitHub Dark | package org.jeecg.modules.aop;
import org.jeecg.common.constant.CommonConstant;
import org.jeecg.common.constant.enums.ModuleType;
import java.lang.annotation.*;
/**
* 系统日志注解
*
* @Author scott
* @email jeecgos@163.com
* @Date 2019年1月14日
*/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Docum... | 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"... |
49accffd90d86c7f | csharp | 99 | Monokai | using System.Diagnostics;
using System.IO.Pipes;
using System.Text.Json;
namespace ScreenToGif.Util.InterProcessChannel;
internal struct SettingsPersistenceMessage
{
/// <summary>
/// The serialized dictionary to be passed to the other instance.
/// </summary>
public string Serialized { get; set; }
... | 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... |
49de2b86f8efe2e9 | rust | 39 | GitHub Dark | /*!
Modules for generating documentation for ripgrep's flags.
*/
pub(crate) mod help;
pub(crate) mod man;
pub(crate) mod version;
/// Searches for `\tag{...}` occurrences in `doc` and calls `replacement` for
/// each such tag found.
///
/// The first argument given to `replacement` is the tag value, `...`. The
/// se... | 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"... |
8811890167b3f801 | rust | 66 | GitHub Dark | //! This module provides functions for solving the rod-cutting problem using dynamic programming.
use std::cmp::max;
/// Calculates the maximum possible profit from cutting a rod into pieces of varying lengths.
///
/// Returns the maximum profit achievable by cutting a rod into pieces such that the profit from each
//... | 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"... |
12b29a90da20274f | python | 106 | Solarized Light | """
Project Euler Problem 3: https://projecteuler.net/problem=3
Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143?
References:
- https://en.wikipedia.org/wiki/Prime_number#Unique_factorization
"""
import math
def is_prime(number: ... | 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... |
65630f8794b03137 | java | 410 | 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.util.Log;
import android.view.Menu;
... | 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"
... |
af34d9f3469a3f8a | cpp | 80 | 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... | 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... |
c08b3bbc5509ad38 | python | 65 | Default Light+ | from collections import defaultdict
def patch(key, obj, field, replacement):
"""Replaces a function in a module or a class.
Also stores the original function in this module, possible to be retrieved via original(key, obj, field).
If the function is already replaced by this caller (key), an exception is r... | 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.",
... |
79e7377af36eac59 | python | 233 | Default Light+ | from .common import InfoExtractor
from ..networking.exceptions import HTTPError
from ..utils import (
ExtractorError,
float_or_none,
int_or_none,
parse_resolution,
str_or_none,
traverse_obj,
try_get,
unified_timestamp,
url_or_none,
urljoin,
)
class PuhuTVIE(InfoExtractor):
... | 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... |
6d26ff7909a765e2 | python | 76 | Monokai | # Copyright (c) Microsoft. All rights reserved.
import asyncio
from semantic_kernel.connectors.ai.onnx import OnnxGenAIChatCompletion, OnnxGenAIPromptExecutionSettings
from semantic_kernel.contents.chat_history import ChatHistory
from semantic_kernel.kernel import Kernel
# This concept sample shows how to use the O... | 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... |
b80f4ab638006b62 | csharp | 176 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Microsoft.Extensions.AI;
using Microsoft.Extensions.Logging;
using Microsoft.ML.OnnxRuntimeGenAI;
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Connectors.Onnx;
u... | 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... |
65afebe345db2bbc | rust | 162 | GitHub Dark | //! This module implements the Boyer-Moore string search algorithm, an efficient method
//! for finding all occurrences of a pattern within a given text. The algorithm skips
//! sections of the text by leveraging two key rules: the bad character rule and the
//! good suffix rule (only the bad character rule is implemen... | 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.",
... |
f9ea8fb4cec9eca7 | csharp | 53 | Monokai | using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Json.Serialization;
using Netch.Interfaces;
using Netch.Models;
using Netch.Utils;
namespace Netch.Servers;
public class SSHUtil : IServerUtil
{
public ushort Priority { get; } = 4;
public string TypeName { get; } = "SSH";
public... | 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... |
058b8d54c90cfdae | cpp | 172 | Dracula | /**
* Copyright 2023-2024, XGBoost Contributors
*/
#if defined(XGBOOST_USE_NCCL)
#include "nccl_stub.h"
#if defined(XGBOOST_USE_DLOPEN_NCCL)
#include <dlfcn.h> // for dlclose, dlsym, dlopen
#include <cstdint> // for int32_t
#include "xgboost/logging.h"
#endif // defined(XGBOOST_USE_DLOPEN_NCCL)
#include <cud... | 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"... |
fada723a722d8c4e | typescript | 331 | Dracula | #!/usr/bin/env node
/**
* scripts/codemaps/generate.ts
*
* Codemap Generator for everything-claude-code (ECC)
*
* Scans the current working directory and generates architectural
* codemap documentation under docs/CODEMAPS/ as specified by the
* doc-updater agent.
*
* Usage:
* npx tsx scripts/codemaps/genera... | 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"... |
4df23cd2e60d38a5 | cpp | 56 | Solarized Dark | #ifndef OPENPOSE_PRODUCER_FLIR_READER_HPP
#define OPENPOSE_PRODUCER_FLIR_READER_HPP
#include <openpose/core/common.hpp>
#include <openpose/producer/producer.hpp>
#include <openpose/producer/spinnakerWrapper.hpp>
namespace op
{
/**
* FlirReader is an abstract class to extract frames from a FLIR stereo-camera ... | 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... |
658ba53fd08ad82a | javascript | 37 | Default Dark+ | const jsesc = require("jsesc");
const { escape } = require("html-escaper");
/**
* Returns a string that represents the javascript that is required to insert the Umami Analytics script
* into a webpage.
* @param {string} scriptUrl the Umami Analytics script url.
* @param {string} websiteId Website ID to use with 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... |
a98abb3185012201 | rust | 65 | GitHub Dark | pub fn odd_even_sort<T: Ord>(arr: &mut [T]) {
let len = arr.len();
if len == 0 {
return;
}
let mut sorted = false;
while !sorted {
sorted = true;
for i in (1..len - 1).step_by(2) {
if arr[i] > arr[i + 1] {
arr.swap(i, i + 1);
sort... | 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... |
2e87957de6436901 | java | 92 | 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... |
0d6ce7990ea1ebb7 | typescript | 279 | Solarized Light | /**
* @license
* Copyright 2025 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import path from 'node:path';
import * as fs from 'node:fs';
import { Writable } from 'node:stream';
import { ProxyAgent } from 'undici';
import type { CommandContext } from '../../ui/commands/types.js';
import {
getGitRepoRoot,... | 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... |
3a5ae1a5447ccaed | csharp | 120 | 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"
... |
c08f3ae0bf382f58 | python | 43 | Monokai | from abc import ABC, abstractmethod
from typing import Optional
from dataclasses import dataclass
@dataclass
class CacheContext:
node_id: str
class_type: str
cache_key_hash: str # SHA256 hex digest
@dataclass
class CacheValue:
outputs: list
ui: dict = None
class CacheProvider(ABC):
"""Abs... | 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"... |
da5112dea63c4daa | go | 60 | 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... | 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... |
56ee7c6eb70a11bb | python | 74 | Monokai | # code adapted from https://github.com/exx8/differential-diffusion
from typing_extensions import override
import torch
from comfy_api.latest import ComfyExtension, io
class DifferentialDiffusion(io.ComfyNode):
@classmethod
def define_schema(cls):
return io.Schema(
node_id="DifferentialDi... | 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... |
0f24998b180c67bd | csharp | 80 | Monokai | using System;
using System.Collections.Generic;
using System.Globalization;
namespace winPEAS.TaskScheduler
{
/// <summary>
/// Functions to provide localized strings for enumerated types and values.
/// </summary>
public static class TaskEnumGlobalizer
{
/// <summary>
/// Gets a s... | 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.",
... |
ed136a8618993a50 | go | 288 | Solarized Dark | // Copyright 2019 The etcd Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed t... | 6 | [
{
"content": "You are a code transcription assistant. When given a screenshot of code in a VS Code editor, you reproduce the exact source code shown, preserving all formatting, indentation, and syntax.",
"role": "system"
},
{
"content": "Transcribe the code from this VS Code screenshot.",
"role"... |
e086a6034a6d35aa | csharp | 21 | Monokai | // Copyright (c) Microsoft. All rights reserved.
using System.Collections.Generic;
using System.Text.Json.Nodes;
using MEAI = Microsoft.Extensions.AI;
namespace Microsoft.SemanticKernel.Connectors.CosmosNoSql;
internal interface ICosmosNoSqlMapper<TRecord>
{
/// <summary>
/// Maps from the consumer record d... | 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... |
7f9b319f9b32ea0f | typescript | 33 | Solarized Light | import { Geist, Geist_Mono } from "next/font/google"
import "./globals.css"
import { ThemeProvider } from "@/components/theme-provider"
const fontSans = Geist({
subsets: ["latin"],
variable: "--font-sans",
})
const fontMono = Geist_Mono({
subsets: ["latin"],
variable: "--font-mono",
})
export default functi... | 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... |
37e8417a2dd1d675 | cpp | 125 | One Dark Pro | #pragma once
#if defined(OS_WINDOWS) || defined(OS_MACOS) || (defined(OS_LINUX) && !defined(OS_FREEBSD))
#include <hex/providers/provider.hpp>
#include <hex/api/localization_manager.hpp>
#include <hex/ui/imgui_imhex_extensions.h>
#include <hex/ui/widgets.hpp>
#include <hex/helpers/utils.hpp>
#include <set>
#include... | 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... |
7b394ac9bde71401 | java | 134 | Default Light+ | package com.thealgorithms.matrix.utils;
import java.math.BigDecimal;
import java.util.Optional;
import java.util.function.BiFunction;
import java.util.stream.IntStream;
/**
* @author: caos321
* @date: 31 October 2021 (Sunday)
*/
public final class MatrixUtil {
private MatrixUtil() {
}
private static ... | 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"... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.