Aranıyor...
Python · MariaDB · Belirtilmemis

Python — app_settings.py

Python MariaDB entegrasyonlu — SQL sorguları, Fonksiyonlar, Kimlik doğrulama. Fonksiyonlar: _setting_default, get_app_setting, _get_settings, _settings_values, _set_settings. SQL sorgusu içerir.

from datetime import datetime, timezone
from decimal import Decimal, InvalidOperation, ROUND_HALF_UP

from sqlmodel import Session, select

from .config import settings
from .models import AppSetting
Python · Belirtilmemis

Python — allowed_hosts.py

Python — Fonksiyonlar. Fonksiyonlar: normalise_host, is_local_host, host_matches, host_allowed.

"""One host policy for origins and request-derived authentication links."""


def normalise_host(host: str) -> str:
    host = host.strip().lower()
    if host.startswith("[") and "]" in host:
        return host[1:host.index("]")]
    if host.count(":") == 1:
Dockerfile · Belirtilmemis

Dockerfile — Dockerfile

Dockerfile — SQL sorguları, Sistem yönetimi, Yapılandırma dosyaları. SQL sorgusu içerir.

FROM python:3.12-slim

WORKDIR /code

COPY requirements.txt .
RUN apt-get update && apt-get install -y --no-install-recommends gosu && rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir --upgrade pip==26.2.1 \
YAML · Belirtilmemis

YAML — .gitlab-ci.yml

YAML — SQL sorguları, Sistem yönetimi, Yapılandırma dosyaları. SQL sorgusu içerir.

# Runs the checks that otherwise only happen when somebody remembers to run
# them, on every push and every merge request. One job rather than three,
# because starting a runner costs more minutes than the tests themselves.

workflow:
  rules:
    - if: $CI_PIPELINE_SOURCE == "merge_request_event"
    # A push to a branch with an open merge request is already covered by
Go · PostgreSQL · Belirtilmemis

Go — modulewriter.go

Go PostgreSQL entegrasyonlu — SQL sorguları, Fonksiyonlar, Dosya işlemleri. Fonksiyonlar: ToUnexported, NewModuleWriter, WriteModule, writeBuildGoMod, writeUserPackage. SQL sorgusu içerir.

package main

import (
	"bytes"
	"encoding/json"
	"fmt"
	"go/ast"
	"go/format"
Go · Belirtilmemis

Go — installer_test.go

Go — SQL sorguları, Fonksiyonlar, Dosya işlemleri. Fonksiyonlar: TestBase64Encode, TestHumanSize, TestInstallerShellTemplate, TestWriteInstaller, extractSection. SQL sorgusu içerir.

package main

import (
	"bytes"
	"encoding/base64"
	"os"
	"os/exec"
	"path/filepath"
Go · PostgreSQL · Belirtilmemis

Go — installer.go

Go PostgreSQL entegrasyonlu — SQL sorguları, Fonksiyonlar, Dosya işlemleri. Fonksiyonlar: WriteInstaller, base64Encode, humanSize. SQL sorgusu içerir.

package main

import (
	"bytes"
	"encoding/base64"
	"fmt"
	"os"
	"path/filepath"
Go · PostgreSQL · Belirtilmemis

Go — functions.go

Go PostgreSQL entegrasyonlu — SQL sorguları, Sınıflar, Fonksiyonlar. Sınıflar: of. Fonksiyonlar: func, NewCode, getParamList, getReturnType, FuncDec. SQL sorgusu içerir.

package main

import (
	"fmt"
	"go/ast"
	"io"
	"strings"
)
Dockerfile · PostgreSQL · Belirtilmemis

Dockerfile — Dockerfile

Dockerfile PostgreSQL entegrasyonlu — SQL sorguları, Görsel işlemleri, Ağ işlemleri. SQL sorgusu içerir.

FROM golang:1.26-bookworm AS builder

# Add PostgreSQL apt repo for PG 18
RUN apt-get update && apt-get install -y curl ca-certificates gnupg lsb-release && \
    curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | gpg --dearmor -o /usr/share/keyrings/pgdg.gpg && \
    echo "deb [signed-by=/usr/share/keyrings/pgdg.gpg] http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list && \
    apt-get update && \
    apt-get install -y postgresql-server-dev-18 && \
CSS · Belirtilmemis

CSS — menu.css

CSS — Fonksiyonlar.

menu, menu label {
  position: absolute;
  top: 0;
  left: 0;
}

menu { margin: 0; }
CSS · Belirtilmemis

CSS — laetitia.css

CSS — Fonksiyonlar.

body {
  font-size: 18px;
  text-align: center;
  font-family: 'Raleway', sans-serif; 
  background-color: white;
  margin: 0;
}
YAML · Belirtilmemis

YAML — .gitlab-ci.yml

YAML — Yapılandırma dosyaları.

pages:
  stage: deploy
  script:
    - make
  artifacts:
    paths:
      - public
  rules:
JSON · Belirtilmemis

JSON — explain.json

JSON — Veritabanı bağlantıları, Ağ işlemleri, Yapılandırma dosyaları.

{
    "title" : "explain.depesz.com",

    "parser-url" : "http://127.0.0.1:15283/",

    "secret" : "|Erp--Wjgb)+eiB/|H=|V7!#+M|L{a8=J2|pd+N1=M|&pJWq|M&,f3q^XS",

    "database" : {
JSON · Belirtilmemis

JSON — explain.development.json

JSON — Veritabanı bağlantıları, Yapılandırma dosyaları.

{
    "title" : "explain.depesz.com",

    "secret" : "|Erp--Wjgb)+eiB/|H=|V7!#+M|L{a8=J2|pd+N1=M|&pJWq|M&,f3q^XS",

    "database" : {
        "dsn"      : "dbi:Pg:database=depesz_explain;host=127.0.0.1;port=5430",
        "username" : "depesz_explain",
JSON · Belirtilmemis

JSON — explain.json

JSON — Veritabanı bağlantıları, Sistem yönetimi, Yapılandırma dosyaları.

{
    "title" : "explain.localhost",

    "secret" : "probablynotimportantforephemeral",

    "database" : {
        "dsn"      : "dbi:Pg:database=depesz_explain;host=db;port=5432",
        "username" : "depesz_explain",
YAML · PostgreSQL · Belirtilmemis

YAML — docker-compose.yml

YAML PostgreSQL entegrasyonlu — Sistem yönetimi, Yapılandırma dosyaları.

version: '3'
services:
  web:
    build:
      context: ..
      dockerfile: docker/Dockerfile
    ports:
     - "3000:3000"
Dockerfile · Belirtilmemis

Dockerfile — Dockerfile

Dockerfile — Veri dönüştürme, Ağ işlemleri, Sistem yönetimi.

FROM debian:bookworm

WORKDIR /explain

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
    apt-get install -y libmojolicious-perl \
                libemail-sender-perl \
YAML · Apache-2.0

YAML — dependabot.yml

YAML — Yapılandırma dosyaları.

version: 2
updates:
  # Rust dependencies
  - package-ecosystem: "cargo"
    directory: "/"
    schedule:
      interval: "weekly"
    commit-message:
YAML · Apache-2.0

YAML — feature_request.yml

YAML — SQL sorguları, Dosya işlemleri, Form işlemleri. SQL sorgusu içerir.

name: Feature Request
description: Propose a new capability or improvement
labels: ["enhancement"]
body:
  - type: markdown
    attributes:
      value: |
        Thanks for suggesting an improvement! Please describe the problem you're trying to solve
YAML · Apache-2.0

YAML — config.yml

YAML — Ağ işlemleri, Yapılandırma dosyaları.

blank_issues_enabled: false
contact_links:
  - name: Security vulnerability
    url: https://github.com/yfedoseev/office_oxide/security/advisories/new
    about: Report a security vulnerability privately via GitHub's advisory system (see SECURITY.md)
  - name: Question / discussion
    url: https://github.com/yfedoseev/office_oxide/discussions
    about: Ask a question or start a discussion about office_oxide