<?php
use App\Http\Controllers\CommentController;
use Illuminate\Support\Facades\Route;
// The ->scoped() call forces {comment} to resolve through $post->comments,
package com.example.security;
import io.jsonwebtoken.Claims;
import io.jsonwebtoken.Jwts;
import io.jsonwebtoken.JwtException;
import io.jsonwebtoken.io.Decoders;
class TokenBucket {
constructor(capacity, refillPerSecond) {
this.capacity = capacity;
this.refillPerMs = refillPerSecond / 1000;
this.tokens = capacity;
this.lastRefill = Date.now();
import sharp from 'sharp';
export interface Variant {
name: string;
width: number;
quality: number;
package worker
import (
"context"
"errors"
"log"
const { WebSocketServer } = require('ws');
const crypto = require('crypto');
const wss = new WebSocketServer({ port: 8080 });
function broadcast(payload, except) {
{% load cache %}
<section class="dashboard">
<h1>{{ team.name }} — Overview</h1>
{% cache 3600 team_order_stats team.id stats_version %}
<div class="stat-grid">
package com.shop.orders;
import jakarta.persistence.*;
import java.math.BigDecimal;
import java.time.Instant;
import java.util.ArrayList;
from datetime import datetime
from flask_sqlalchemy import SQLAlchemy
db = SQLAlchemy()
package com.example.caching.config;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.filter.ShallowEtagHeaderFilter;
import abc
from typing import IO
class Exporter(abc.ABC):
name: str = ""
import asyncio
import time
from dataclasses import dataclass
from typing import Any, Dict