Skip to content

Instantly share code, notes, and snippets.

using DynamicData;
using DynamicData.Binding;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Logging;
using Programming.Team.AI.Core;
using Programming.Team.Business.Core;
using Programming.Team.Core;
using ReactiveUI;
using System;
<div class="panels">
@{
int index = 0;
}
<MudExpansionPanels MultiExpansion="true" >
@foreach (var position in ViewModel.Entities)
{
@if (index == 0)
{
<MudCard Class="thin-panel">
<spinningCat> Arc1, can you give me information about scriban?
<Arc1> 👾 Scriban is a powerful templating language for .NET. It uses a familiar liquid-like syntax, offering features like object access, control flow, and extensibility via custom functions. It's commonly used for code generation and text transformations.
<spinningCat> Arc1, you write code that generates latex with scriban?
<Arc1> 👾 Yes, I can generate LaTeX code using Scriban. I can define templates with placeholders for dynamic content and then populate them with data to produce the desired LaTeX output.
* pingu3 (~vm0@user/pingu) has joined
<spinningCat> Arc1, can you give me an example?
<Arc1> 👾 ``scriban 👾 \documentclass{article} 👾 \title{Generated Document} 👾 \date{ { date | date '%Y-%m-%d' } } 👾 \begin{document} 👾 \maketitle 👾 Content: {{ content }} 👾 \end{document} 👾 ` 👾 Data: { content: "Hello World!" }`
<spinningCat> Arc1,
<spinningCat> Arc1, is it similar to template string?
<Arc1> 👾 Yes, Scriban is similar to template strings in
@*@inherits ReactiveComponentBase<AddCertificateViewModel>
@if (ViewModel != null)
{
<AlertView Alert="ViewModel.Alert" />
<MudOverlay ZIndex="5" Visible="@ViewModel.IsOpen"
Style="background-color: rgba(255,255,255,.3); padding: 20px"
AutoClose="false" />
FROM dhcf:debian AS markdownworker
WORKDIR /worker/markdown
# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
python3-venv bash \
&& rm -rf /var/lib/apt/lists/*
# Copy the requirements file into the container
import os
import time
import shutil
import itertools
# Define folder paths
folder_path = "/home/spinningca-t/workers/listener/new/"
moved_folder_path = "/home/spinningca-t/workers/listener/done/"
unsupported_folder_path = "/home/spinningca-t/workers/listener/unsupported/"
#!/bin/bash
# Exit on error
set -e
command -v docker >/dev/null 2>&1 || { echo "Docker is not installed. Aborting." >&2; exit 1; }
command -v docker-compose >/dev/null 2>&1 || { echo "Docker Compose is not installed. Aborting." >&2; exit 1; }
VERSION=${VERSION:-"1.0.0"} # Use environment variable if set, otherwise default
DOCKER_REGISTRY=${DOCKER_REGISTRY:-""} # Leave empty for local use
app:
image: node:23-bookworm
container_name: nodeapp-with-openapi2
build:
context: .
dockerfile: Dockerfile.node
ports:
- "9002:9002"
volumes:
- .:/usr/src/app
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Looking for ways to speed up your queries, or scale easily with your serverless or edge functions?
// Try Prisma Accelerate: https://pris.ly/cli/accelerate-init
generator client {
provider = "prisma-client-js"
}