mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-24 14:50:17 +03:00
Compare commits
39
Commits
No files matched your search
@@ -2,6 +2,48 @@
|
||||
|
||||
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
||||
|
||||
## Version 2026.10.25
|
||||
|
||||
### Features
|
||||
- **json-viewer, yaml-viewer, currency-converter, geo-coordinates-converter**: support intranet mirrors (3af8e4a)
|
||||
- **gitignore-generator, gitattributes-generator**: fall back to a bundled template snapshot (81c1201)
|
||||
- **translator, remove-background, math-ocr, ocr-image, gif-to-mp4**: ship runtimes with the app (d53e745)
|
||||
- **settings**: add an offline mode that hides internet-only tools (4a80283)
|
||||
- **zpool-memo**: add localized content and recategorize (f196182)
|
||||
|
||||
### Bug fixes
|
||||
- **dns-query, gitattributes-generator**: hide dns-query offline, pin commands to the snapshot (788d4fd)
|
||||
- **explainshell, ocr-image**: honour the configured mirrors (8ec5590)
|
||||
- **countdown, cron-alarm, time-alarm**: resolve Beep.mp3 against the app base (94c0bbf)
|
||||
- **markdown-editor, unicode-formatter, pomodoro-timer**: bundle editor extensions and fonts (b536f04)
|
||||
- **visualsubnetcalc, zpool-calc**: escape user data before inserting HTML (de40fc7)
|
||||
- **scripts**: make extract-tools-desc quote matching linear (a891be1)
|
||||
- **database-builder**: quote names and passwords in generated SQL (1b8d487)
|
||||
- **random**: use crypto.getRandomValues for generated secrets (0203c23)
|
||||
- **layout**: escape every bracket and paren in footer package links (d785329)
|
||||
- **markdown**: escape backslashes in generated table cells (3872432)
|
||||
- **json-viewer**: unescape JSON strings in a single pass (9b65547)
|
||||
- **objgen**: comment detection and whitespace stripping (b688f52)
|
||||
- **docker**: serve precompressed static assets (#583) (4e5c0fd)
|
||||
|
||||
### Refactoring
|
||||
- **turndown**: remove text-node escape rules that never run (f1b20c7)
|
||||
|
||||
### Build system
|
||||
- **deps**: add the assets offline mode ships, drop unused currency and ffmpeg helpers (ea30976)
|
||||
|
||||
### I18n
|
||||
- add Traditional Chinese (zh-TW) locale (#587) (d6e478c)
|
||||
- **en, zh**: describe bundled assets, mirrors and snapshots (6241fa6)
|
||||
- **zh**: review the Simplified Chinese translation (#584) (bb00dcb)
|
||||
- rewrite Italian locale with human-quality translations (#582) (3e7f845)
|
||||
- update translations for iptables and fstab generator tools (cba443d)
|
||||
|
||||
### Documentation
|
||||
- **readme**: document offline mode and the mirror settings (b64d2a1)
|
||||
- **zpool-memo**: reformat vdev type table (e179bd5)
|
||||
- **locales**: improve zh UFW generator translations (44f1298)
|
||||
|
||||
## Version 2026.09.27
|
||||
|
||||
### Features
|
||||
|
||||
+5
-2
@@ -20,10 +20,13 @@ COPY . .
|
||||
ARG VITE_AVAILABLE_LOCALES
|
||||
ENV VITE_AVAILABLE_LOCALES=${VITE_AVAILABLE_LOCALES}
|
||||
ENV VITE_VERCEL_ENV=production
|
||||
RUN pnpm build
|
||||
# Precompress hashed assets once instead of compressing each response at runtime.
|
||||
RUN pnpm build \
|
||||
&& find dist/assets -type f \( -name '*.js' -o -name '*.mjs' -o -name '*.css' -o -name '*.wasm' \) \
|
||||
-exec gzip -9 -n -k {} +
|
||||
|
||||
# production stage
|
||||
FROM nginxinc/nginx-unprivileged:stable-alpine@sha256:4714e0b1b2577eaa1a6131d07c958b67f0eb68e6d0521e90c6e5287db8cf0bc5 AS production-stage
|
||||
FROM nginxinc/nginx-unprivileged:stable-alpine@sha256:f5116ed4606f3eb015dd4a8e28cb9b351476dc0ad4bc6e9f93b19cec130cdf03 AS production-stage
|
||||
|
||||
LABEL maintainer="ShareVB <sharevb@gmail.com>" \
|
||||
org.opencontainers.image.authors="ShareVB <sharevb@gmail.com>"
|
||||
|
||||
@@ -82,6 +82,12 @@ docker run --pull always --restart unless-stopped -p 8080:8080 sharevb/it-tools:
|
||||
|
||||
Other existing docker tags: `latest-en` (english only)
|
||||
|
||||
Container builds precompress JavaScript, CSS, and WebAssembly files in `dist/assets`.
|
||||
Nginx serves the `.gz` sidecars when clients accept gzip, including requests forwarded
|
||||
by reverse proxies, and otherwise serves the original files. Compression happens once
|
||||
at build time rather than on every request. HTML remains uncompressed so runtime
|
||||
`BASE_URL` rewriting continues to work.
|
||||
|
||||
## Use in Docker Compose file
|
||||
|
||||
```yml
|
||||
@@ -225,6 +231,45 @@ To define the default UI language, add a `default_locale` key to json:
|
||||
}
|
||||
```
|
||||
|
||||
## Offline / air-gapped deployments
|
||||
|
||||
Fonts, editor extensions, the ffmpeg core, the ONNX runtime, the Tesseract OCR engine and its English and Simplified Chinese language data ship with the app, so these never come from a third-party CDN. The large ones are only downloaded when their tool is opened, and are left out of the PWA precache.
|
||||
|
||||
On a network without internet access, add `"offline": true` to `tools-settings.json`. Tools that only work with internet are then hidden (my-ip, ip-geo-location, dns-query, dns-queries, dnsbl-checker, dns-propagation-tester, online-wiktionary, iana-whois-checker), and tools with a bundled fallback switch to it:
|
||||
|
||||
- gitignore-generator and gitattributes-generator use a template snapshot bundled at build time (also used online when GitHub can't be reached). Refresh it with `pnpm script:update:git-templates`.
|
||||
- ocr-image offers only the bundled languages.
|
||||
- JSON/YAML schema validation offers only a custom schema (pasted, or a URL you enter).
|
||||
- geo-coordinates-converter converts coordinates without showing a map.
|
||||
|
||||
Some tools work offline once you point them at an intranet mirror; without one, they are hidden in offline mode. The mirrors can also be used online:
|
||||
|
||||
```json
|
||||
{
|
||||
"offline": true,
|
||||
"transformers": { "models-url": "https://intranet.example/hf-mirror/" },
|
||||
"ocr-image": { "lang-url": "https://intranet.example/tessdata/" },
|
||||
"json-schemas": { "catalog-url": "https://intranet.example/schemastore/api/json/catalog.json" },
|
||||
"currency-converter": { "url": "https://intranet.example/currency-api/" },
|
||||
"geo-coordinates-converter": {
|
||||
"tile-url": "https://tiles.intranet.example/{z}/{x}/{y}.png",
|
||||
"tile-attribution": "© OpenStreetMap contributors"
|
||||
},
|
||||
"explainchain": { "url": "https://explainshell.intranet.example" }
|
||||
}
|
||||
```
|
||||
|
||||
| Setting | Used by | Expected content |
|
||||
| --- | --- | --- |
|
||||
| `transformers.models-url` | translator, remove-background, math-ocr | A mirror of the Hugging Face model repos with the same layout: `<url>/<org>/<model>/resolve/main/<file>`, e.g. `Xenova/opus-mt-en-fr/resolve/main/onnx/encoder_model_quantized.onnx`. Relative URLs resolve against the app. |
|
||||
| `ocr-image.lang-url` | ocr-image | A directory of `<lang>.traineddata.gz` files (the `4.0.0_best_int` variant from the `@tesseract.js-data/<lang>` npm packages). The path may contain a `{lang}` placeholder, e.g. `https://intranet.example/npm/@tesseract.js-data/{lang}/4.0.0_best_int` for a mirror of jsDelivr. |
|
||||
| `json-schemas.catalog-url` | json-viewer, yaml-viewer, json-editor, json-linter | A copy of the [SchemaStore](https://www.schemastore.org) catalog. The schema URLs listed in it must be reachable too. |
|
||||
| `currency-converter.url` | currency-converter | A mirror of the `@fawazahmed0/currency-api` npm package, serving `v1/currencies/<code>.json`. |
|
||||
| `geo-coordinates-converter.tile-url` | geo-coordinates-converter | A Leaflet tile URL template; `tile-attribution` is optional. |
|
||||
| `explainchain.url` | explainshell | A self-hosted [explainshell](https://github.com/idank/explainshell). |
|
||||
|
||||
The tools that use the [companion self-hosted services](#use-with-companion-self-hosted-docker-services) stay available in offline mode and work against intranet targets.
|
||||
|
||||
## To build using a custom default language:
|
||||
|
||||
```
|
||||
|
||||
+50
-1
@@ -690,6 +690,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: تجميل وتنسيق YAML
|
||||
description: تجميل سلسلة نصية بتسنيق YAML إلى صيغة سلسة وسهلة القراءة.
|
||||
externalAccess: قد تقوم هذه الأداة بتنزيل مخطط JSON من
|
||||
https://www.schemastore.org (أو من كتالوج المخططات المُكوّن) عند طلب
|
||||
التحقق. لا يتم إرسال أي بيانات إلى جهات خارجية.
|
||||
eta-calculator:
|
||||
title: حاسبة وقت الوصول المتوقع (ETA)
|
||||
description: حاسبة وقت الوصول المتوقع (ETA) لحساب الوقت التقريبي لانتهاء مهمة
|
||||
@@ -4962,7 +4965,7 @@ tools:
|
||||
label-source-port: "منفذ المصدر:"
|
||||
label-destination-port: "ميناء الوجهة:"
|
||||
label-chain: "سلسلة:"
|
||||
label-rule-order: "ترتيب القواعد:"
|
||||
label-rule-order: "موضع الإدراج (فارغ = إلحاق بالنهاية):"
|
||||
title-generated-iptables-command: أمر iptables المُولَّد
|
||||
tag-expression: تعبير
|
||||
tag-meaning: معنى
|
||||
@@ -7761,6 +7764,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: حدد القوالب (على سبيل المثال، node، python، vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: يولد
|
||||
snapshot-used: باستخدام لقطة القالب المجمعة من {0}.
|
||||
externalAccess: تقوم هذه الأداة بتنزيل ملف .gitignore من
|
||||
https://github.com/github/gitignore باستخدام واجهة برمجة تطبيقات GitHub.
|
||||
i-and-l-checker:
|
||||
@@ -8002,6 +8006,8 @@ tools:
|
||||
tag-replication-client: عميل النسخ المتماثل
|
||||
tag-replication-slave: خادم النسخ المتماثل
|
||||
tag-generate-sql-instructions: إنشاء تعليمات SQL
|
||||
error-oracle-password-double-quote: لا يمكن أن تحتوي كلمات مرور أوراكل على علامات اقتباس مزدوجة (""
|
||||
error-oracle-account-double-quote: لا يمكن أن تحتوي أسماء حسابات أوراكل على علامات اقتباس مزدوجة (")
|
||||
database-table-generator:
|
||||
title: مولد جداول قواعد البيانات
|
||||
description: إنشاء جداول SQL CREATE TABLE لقواعد البيانات الشائعة
|
||||
@@ -8034,6 +8040,7 @@ tools:
|
||||
placeholder-select-templates: اختر القوالب
|
||||
title-preview: معاينة
|
||||
tag-fetch-generate: جلب وإنشاء
|
||||
snapshot-used: باستخدام لقطة القالب المجمعة من {0}.
|
||||
externalAccess: تقوم هذه الأداة بتنزيل ملف .gitattributes من
|
||||
https://github.com/gitattributes/gitattributes باستخدام واجهة برمجة
|
||||
تطبيقات GitHub.
|
||||
@@ -8178,6 +8185,8 @@ tools:
|
||||
download-results-csv: تنزيل نتائج ملف CSV
|
||||
batch-lat-lng-converter: محول خطوط الطول والعرض الدفعي
|
||||
single-lat-lng-converter: محول خطوط الطول والعرض أحادي
|
||||
externalAccess: تقوم هذه الأداة بتحميل مربعات الخرائط من OpenStreetMap أو خادم
|
||||
المربعات المُكوّن؛ ويتم إرسال الإحداثيات المعروضة كطلبات مربعات.
|
||||
si-prefixes-converter:
|
||||
title: محول بادئات النظام الدولي للوحدات
|
||||
description: التحويل بين البادئات المترية
|
||||
@@ -9975,6 +9984,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: معاينة العناوين والمحتوى
|
||||
tag-truncated: مختصر
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: الكسر ← العدد العشري
|
||||
label-decimal-fraction: عدد عشري ← كسر
|
||||
label-inches: بوصات
|
||||
label-millimeters: "ملليمترات:"
|
||||
label-mode: "وضع:"
|
||||
label-decimal-places: "المنازل العشرية:"
|
||||
label-unit: "وحدة:"
|
||||
label-fraction-resolution: "حل الكسور:"
|
||||
label-decimal-value: "القيمة العشرية:"
|
||||
label-fraction: "جزء:"
|
||||
placeholder-e-g-3-16-or-2-3-16: "مثال: 3/16 أو 2 3/16"
|
||||
title-results: نتائج
|
||||
label-decimal-inches: "البوصات العشرية:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: محول الكسور العشرية
|
||||
description: تحويل الكسور إلى أعداد عشرية والعكس، بما في ذلك التحويلات بالبوصة
|
||||
والوحدات المترية.
|
||||
externalAccess: باطل
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: عام
|
||||
title-channel-tests: اختبارات القنوات
|
||||
title-bass-tests: اختبارات الصوت الجهير
|
||||
title-treble-tests: اختبارات التريبل
|
||||
title-custom-frequency: التردد المخصص
|
||||
label-frequency-hz: "التردد (هرتز):"
|
||||
tag-440hz-la: 440 هرتز / لا
|
||||
tag-sweep: مسح
|
||||
tag-white-noise: الضوضاء البيضاء
|
||||
tag-pink-noise: الضوضاء الوردية
|
||||
tag-stop: قف
|
||||
tag-left: غادر
|
||||
tag-right: يمين
|
||||
tag-play-this-frequency: قم بتشغيل هذا التردد
|
||||
title: جهاز اختبار الصوت
|
||||
description: اختبر مكبرات الصوت وسماعات الرأس بتشغيل أصوات اختبارية. اضبط مستوى
|
||||
الصوت وتحقق من وضوح الصوت.
|
||||
externalAccess: باطل
|
||||
spanCopyable:
|
||||
copy: نسخ إلى الحافظة
|
||||
copied: تم النسخ!
|
||||
|
||||
+51
-1
@@ -679,6 +679,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML prettify og format
|
||||
description: Prettify din YAML-streng til et venligt, menneskeligt læsbart format.
|
||||
externalAccess: Dette værktøj kan downloade et JSON-skema fra
|
||||
https://www.schemastore.org (eller det konfigurerede skemakatalog), når
|
||||
der anmodes om validering. Der sendes ingen data eksternt.
|
||||
eta-calculator:
|
||||
title: ETA beregner
|
||||
description: En ETA (Forventet Ankomsttid) beregner til at bestemme den
|
||||
@@ -4912,7 +4915,7 @@ tools:
|
||||
label-source-port: "Kildeport:"
|
||||
label-destination-port: "Destinationshavn:"
|
||||
label-chain: "Kæde:"
|
||||
label-rule-order: "Regelrækkefølge:"
|
||||
label-rule-order: "Indsættelsesposition (tom = tilføj sidst):"
|
||||
title-generated-iptables-command: Genereret iptables-kommando
|
||||
tag-expression: Udtryk
|
||||
tag-meaning: Mening
|
||||
@@ -7824,6 +7827,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Vælg skabeloner (f.eks. node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Frembringe
|
||||
snapshot-used: Bruger det medfølgende skabelon-snapshot fra {0}.
|
||||
externalAccess: Dette værktøj kan downloades .gitignore fra
|
||||
https://github.com/github/gitignore ved hjælp af Github API'en.
|
||||
i-and-l-checker:
|
||||
@@ -8067,6 +8071,8 @@ tools:
|
||||
tag-replication-client: REPLIKATIONSKLIENT
|
||||
tag-replication-slave: REPLIKATIONSSLAVE
|
||||
tag-generate-sql-instructions: Generer SQL-instruktioner
|
||||
error-oracle-password-double-quote: Oracle-adgangskoder må ikke indeholde dobbelte anførselstegn (")
|
||||
error-oracle-account-double-quote: Oracle-kontonavne må ikke indeholde dobbelte anførselstegn (")
|
||||
database-table-generator:
|
||||
title: Databasetabelgenerator
|
||||
description: Generer SQL CREATE TABLE til almindelige databaser
|
||||
@@ -8099,6 +8105,7 @@ tools:
|
||||
placeholder-select-templates: Vælg skabeloner
|
||||
title-preview: Forhåndsvisning
|
||||
tag-fetch-generate: Hent og generer
|
||||
snapshot-used: Bruger det medfølgende skabelon-snapshot fra {0}.
|
||||
externalAccess: Dette værktøj downloader .gitattributes fra
|
||||
https://github.com/gitattributes/gitattributes ved hjælp af Github API
|
||||
html-to-xhtml:
|
||||
@@ -8244,6 +8251,9 @@ tools:
|
||||
download-results-csv: Download resultater i CSV-format
|
||||
batch-lat-lng-converter: Batch Lat/Lng-konverter
|
||||
single-lat-lng-converter: Enkelt breddegrad/længdegradskonverter
|
||||
externalAccess: Dette værktøj indlæser kortfliser fra OpenStreetMap eller den
|
||||
konfigurerede fliseserver; de viste koordinater sendes som
|
||||
fliseforespørgsler.
|
||||
si-prefixes-converter:
|
||||
title: SI-præfikser konverter
|
||||
description: Konverter mellem metriske præfikser
|
||||
@@ -10048,6 +10058,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Forhåndsvisning af overskrifter og brødtekst
|
||||
tag-truncated: Afkortet
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Brøk → Decimal
|
||||
label-decimal-fraction: Decimal → Brøk
|
||||
label-inches: Tommer
|
||||
label-millimeters: "Millimeter:"
|
||||
label-mode: "Mode:"
|
||||
label-decimal-places: "Decimaler:"
|
||||
label-unit: "Enhed:"
|
||||
label-fraction-resolution: "Brøkopløsning:"
|
||||
label-decimal-value: "Decimalværdi:"
|
||||
label-fraction: "Brøkdel:"
|
||||
placeholder-e-g-3-16-or-2-3-16: f.eks. 3/16 eller 2 3/16
|
||||
title-results: Resultater
|
||||
label-decimal-inches: "Decimaler i tommer:"
|
||||
tag-const-mode-ref: konstant tilstand = ref
|
||||
title: Brøk Decimal Konverter
|
||||
description: Konverter brøker til decimaltal og omvendt, inklusive tommer og
|
||||
metriske konverteringer.
|
||||
externalAccess: nul
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Generel
|
||||
title-channel-tests: Kanaltests
|
||||
title-bass-tests: Bastests
|
||||
title-treble-tests: Diskanttests
|
||||
title-custom-frequency: Brugerdefineret frekvens
|
||||
label-frequency-hz: "Frekvens (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Feje
|
||||
tag-white-noise: Hvid støj
|
||||
tag-pink-noise: Lyserød støj
|
||||
tag-stop: Stop
|
||||
tag-left: Venstre
|
||||
tag-right: Højre
|
||||
tag-play-this-frequency: Afspil denne frekvens
|
||||
title: Lydtester
|
||||
description: Test dine højttalere og hovedtelefoner ved at afspille testlyde.
|
||||
Juster lydstyrken, og kontroller lyden.
|
||||
externalAccess: nul
|
||||
about:
|
||||
alltools-title: Alle {toolsCount} værktøjer
|
||||
tools:
|
||||
|
||||
+51
-1
@@ -777,6 +777,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML verschönern und formatieren
|
||||
description: Verschönere deinen YAML-String in ein menschenlesbares Format.
|
||||
externalAccess: Dieses Tool lädt bei Validierungsanforderungen möglicherweise
|
||||
ein JSON-Schema von https://www.schemastore.org (oder dem konfigurierten
|
||||
Schema-Katalog) herunter. Es werden keine Daten extern übertragen.
|
||||
eta-calculator:
|
||||
title: ETA-Rechner
|
||||
description: Ein ETA (Estimated Time of Arrival)-Rechner, um die ungefähre
|
||||
@@ -5200,7 +5203,7 @@ tools:
|
||||
label-source-port: "Quellport:"
|
||||
label-destination-port: "Zielhafen:"
|
||||
label-chain: "Kette:"
|
||||
label-rule-order: "Regelreihenfolge:"
|
||||
label-rule-order: "Einfügeposition (leer = anhängen):"
|
||||
title-generated-iptables-command: Generierter iptables-Befehl
|
||||
tag-expression: Ausdruck
|
||||
tag-meaning: Bedeutung
|
||||
@@ -8100,6 +8103,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Vorlagen auswählen (z. B. Node, Python, Vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Erzeugen
|
||||
snapshot-used: Verwendung des mitgelieferten Vorlagen-Snapshots aus {0}.
|
||||
externalAccess: Dieses Tool lädt die .gitignore-Datei von
|
||||
https://github.com/github/gitignore mithilfe der GitHub-API herunter.
|
||||
i-and-l-checker:
|
||||
@@ -8352,6 +8356,8 @@ tools:
|
||||
tag-replication-client: Replikationskunde
|
||||
tag-replication-slave: REPLIKATIONSSKLAVE
|
||||
tag-generate-sql-instructions: SQL-Anweisungen generieren
|
||||
error-oracle-password-double-quote: Oracle-Passwörter dürfen keine doppelten Anführungszeichen (") enthalten.
|
||||
error-oracle-account-double-quote: Oracle-Kontonamen dürfen keine doppelten Anführungszeichen (") enthalten.
|
||||
database-table-generator:
|
||||
title: Datenbanktabellengenerator
|
||||
description: SQL-Anweisung zum Erstellen von Tabellen für gängige Datenbanken generieren
|
||||
@@ -8384,6 +8390,7 @@ tools:
|
||||
placeholder-select-templates: Vorlagen auswählen
|
||||
title-preview: Vorschau
|
||||
tag-fetch-generate: Abrufen und Generieren
|
||||
snapshot-used: Verwendung des mitgelieferten Vorlagen-Snapshots aus {0}.
|
||||
externalAccess: Dieses Tool lädt .gitattributes-Dateien von
|
||||
https://github.com/gitattributes/gitattributes mithilfe der GitHub-API
|
||||
herunter.
|
||||
@@ -8534,6 +8541,9 @@ tools:
|
||||
download-results-csv: Ergebnisse als CSV-Datei herunterladen
|
||||
batch-lat-lng-converter: Batch-Lat/Lng-Konverter
|
||||
single-lat-lng-converter: Einzelner Breiten-/Längen-Konverter
|
||||
externalAccess: Dieses Tool lädt Kartenkacheln von OpenStreetMap oder dem
|
||||
konfigurierten Kachelserver; die angezeigten Koordinaten werden als
|
||||
Kachelanfragen gesendet.
|
||||
si-prefixes-converter:
|
||||
title: SI-Präfix-Konverter
|
||||
description: Umrechnung zwischen metrischen Präfixen
|
||||
@@ -10371,6 +10381,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Vorschau von Kopfzeilen und Textkörper
|
||||
tag-truncated: Gekürzt
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Bruch → Dezimalzahl
|
||||
label-decimal-fraction: Dezimalzahl → Bruch
|
||||
label-inches: Zoll
|
||||
label-millimeters: "Millimeter:"
|
||||
label-mode: "Modus:"
|
||||
label-decimal-places: "Dezimalstellen:"
|
||||
label-unit: "Einheit:"
|
||||
label-fraction-resolution: "Bruchteilsauflösung:"
|
||||
label-decimal-value: "Dezimalwert:"
|
||||
label-fraction: "Fraktion:"
|
||||
placeholder-e-g-3-16-or-2-3-16: z.B. 3/16 oder 2 3/16
|
||||
title-results: Ergebnisse
|
||||
label-decimal-inches: "Dezimalzoll:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: Bruch-Dezimal-Umrechner
|
||||
description: Brüche in Dezimalzahlen und umgekehrt umrechnen, einschließlich
|
||||
Zoll- und metrischer Umrechnungen.
|
||||
externalAccess: "null"
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Allgemein
|
||||
title-channel-tests: Kanaltests
|
||||
title-bass-tests: Bass-Tests
|
||||
title-treble-tests: Dreifachtests
|
||||
title-custom-frequency: Benutzerdefinierte Frequenz
|
||||
label-frequency-hz: "Frequenz (Hz):"
|
||||
tag-440hz-la: 440 Hz / La
|
||||
tag-sweep: Fegen
|
||||
tag-white-noise: Weißes Rauschen
|
||||
tag-pink-noise: Rosa Rauschen
|
||||
tag-stop: Stoppen
|
||||
tag-left: Links
|
||||
tag-right: Rechts
|
||||
tag-play-this-frequency: Spiele diese Frequenz ab
|
||||
title: Schalltester
|
||||
description: Testen Sie Ihre Lautsprecher und Kopfhörer, indem Sie Testtöne
|
||||
abspielen. Passen Sie die Lautstärke an und prüfen Sie die Klangqualität.
|
||||
externalAccess: "null"
|
||||
locale-selector:
|
||||
select-a-language: Wählen Sie eine Sprache
|
||||
collapsibleToolMenu:
|
||||
|
||||
+52
-1
@@ -438,6 +438,9 @@ tools:
|
||||
title: Ομορφοποίηση και μορφοποίηση YAML
|
||||
description: Ομορφύνετε τη συμβολοσειρά YAML σε μια φιλική, αναγνώσιμη από τον
|
||||
άνθρωπο μορφή.
|
||||
externalAccess: Αυτό το εργαλείο μπορεί να κατεβάσει ένα σχήμα JSON από το
|
||||
https://www.schemastore.org (ή τον διαμορφωμένο κατάλογο σχήματος) όταν
|
||||
ζητηθεί επικύρωση. Δεν αποστέλλονται δεδομένα εξωτερικά.
|
||||
eta-calculator:
|
||||
title: Υπολογιστής ETA
|
||||
description: Μια αριθμομηχανή ETA (Εκτιμώμενη Ώρα Άφιξης) για τον προσδιορισμό
|
||||
@@ -4560,7 +4563,7 @@ tools:
|
||||
label-source-port: "Θύρα πηγής:"
|
||||
label-destination-port: "Λιμάνι προορισμού:"
|
||||
label-chain: "Αλυσίδα:"
|
||||
label-rule-order: "Σειρά κανόνων:"
|
||||
label-rule-order: "Θέση εισαγωγής (κενό = προσθήκη στο τέλος):"
|
||||
title-generated-iptables-command: Δημιουργήθηκε εντολή iptables
|
||||
tag-expression: Εκφραση
|
||||
tag-meaning: Εννοια
|
||||
@@ -8176,6 +8179,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Επιλογή προτύπων (π.χ. node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Παράγω
|
||||
snapshot-used: Χρησιμοποιώντας το στιγμιότυπο του πακέτου προτύπου από το {0}.
|
||||
externalAccess: Αυτό το εργαλείο κατεβάζει το .gitignore από τη διεύθυνση
|
||||
https://github.com/github/gitignore χρησιμοποιώντας το Github API.
|
||||
i-and-l-checker:
|
||||
@@ -8401,6 +8405,9 @@ tools:
|
||||
tag-replication-client: ΠΕΛΑΤΗΣ ΑΝΤΙΓΡΑΦΗΣ
|
||||
tag-replication-slave: ΑΝΤΙΓΡΑΦΗ ΣΚΛΑΒΟΥ
|
||||
tag-generate-sql-instructions: Δημιουργία εντολών SQL
|
||||
error-oracle-password-double-quote: Οι κωδικοί πρόσβασης Oracle δεν μπορούν να περιέχουν διπλά εισαγωγικά (")
|
||||
error-oracle-account-double-quote: Τα ονόματα λογαριασμών Oracle δεν μπορούν να
|
||||
περιέχουν διπλά εισαγωγικά (")
|
||||
database-table-generator:
|
||||
title: Γεννήτρια πινάκων βάσης δεδομένων
|
||||
description: Δημιουργία SQL CREATE TABLE για κοινές βάσεις δεδομένων
|
||||
@@ -8433,6 +8440,7 @@ tools:
|
||||
placeholder-select-templates: Επιλογή προτύπων
|
||||
title-preview: Πρεμιέρα
|
||||
tag-fetch-generate: Ανάκτηση & Δημιουργία
|
||||
snapshot-used: Χρησιμοποιώντας το στιγμιότυπο του πακέτου προτύπου από το {0}.
|
||||
externalAccess: Αυτό το εργαλείο κατεβάζει το αρχείο .gitattributes από τη
|
||||
διεύθυνση https://github.com/gitattributes/gitattributes χρησιμοποιώντας
|
||||
το Github API.
|
||||
@@ -8582,6 +8590,9 @@ tools:
|
||||
download-results-csv: Λήψη αποτελεσμάτων σε μορφή CSV
|
||||
batch-lat-lng-converter: Μετατροπέας Παρτίδας Γεωγραφικού Πλάτους/Υγρού
|
||||
single-lat-lng-converter: Μετατροπέας μονού γεωγραφικού πλάτους/υγρού
|
||||
externalAccess: Αυτό το εργαλείο φορτώνει πλακίδια χάρτη από το OpenStreetMap ή
|
||||
τον διαμορφωμένο διακομιστή πλακιδίων. Οι συντεταγμένες που εμφανίζονται
|
||||
αποστέλλονται ως αιτήματα πλακιδίων.
|
||||
si-prefixes-converter:
|
||||
title: Μετατροπέας προθεμάτων SI
|
||||
description: Μετατροπή μεταξύ προθεμάτων μετρικών
|
||||
@@ -10415,6 +10426,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Προεπισκόπηση κεφαλίδων και σώματος
|
||||
tag-truncated: Κολοβός
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Κλάσμα → Δεκαδικό
|
||||
label-decimal-fraction: Δεκαδικό → Κλάσμα
|
||||
label-inches: Ίντσες
|
||||
label-millimeters: "Χιλιοστά:"
|
||||
label-mode: "Τρόπος:"
|
||||
label-decimal-places: "Δεκαδικά ψηφία:"
|
||||
label-unit: "Μονάδα:"
|
||||
label-fraction-resolution: "Ανάλυση κλάσματος:"
|
||||
label-decimal-value: "Δεκαδική τιμή:"
|
||||
label-fraction: "Κλάσμα:"
|
||||
placeholder-e-g-3-16-or-2-3-16: π.χ. 3/16 ή 2 3/16
|
||||
title-results: Αποτελέσματα
|
||||
label-decimal-inches: "Δεκαδικές ίντσες:"
|
||||
tag-const-mode-ref: λειτουργία const = αναφ.
|
||||
title: Μετατροπέας δεκαδικών κλασμάτων
|
||||
description: Μετατρέψτε κλάσματα σε δεκαδικά και αντίστροφα, συμπεριλαμβανομένων
|
||||
των μετατροπών σε ίντσες και μετρικά.
|
||||
externalAccess: άκυρος
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Γενικός
|
||||
title-channel-tests: Δοκιμές καναλιών
|
||||
title-bass-tests: Δοκιμές μπάσων
|
||||
title-treble-tests: Δοκιμές πρίμων
|
||||
title-custom-frequency: Προσαρμοσμένη συχνότητα
|
||||
label-frequency-hz: "Συχνότητα (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Σκούπισμα
|
||||
tag-white-noise: Λευκός Θόρυβος
|
||||
tag-pink-noise: Ροζ Θόρυβος
|
||||
tag-stop: Στάση
|
||||
tag-left: Αριστερά
|
||||
tag-right: Δικαίωμα
|
||||
tag-play-this-frequency: Αναπαραγωγή αυτής της συχνότητας
|
||||
title: Δοκιμαστής ήχου
|
||||
description: Δοκιμάστε τα ηχεία και τα ακουστικά σας αναπαράγοντας δοκιμαστικούς
|
||||
ήχους. Ρυθμίστε την ένταση και ελέγξτε την καθαρότητα του ήχου.
|
||||
externalAccess: άκυρος
|
||||
collapsibleToolMenu:
|
||||
text:
|
||||
expanding: Επέκταση...
|
||||
|
||||
+132
-20
@@ -437,6 +437,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML prettify and format
|
||||
description: Prettify your YAML string into a friendly, human-readable format.
|
||||
externalAccess: This tool may download a JSON schema from
|
||||
https://www.schemastore.org (or the configured schema catalog) when
|
||||
validation is requested. No data is sent externally.
|
||||
eta-calculator:
|
||||
title: ETA calculator
|
||||
description: An ETA (Estimated Time of Arrival) calculator to determine the
|
||||
@@ -741,8 +744,8 @@ tools:
|
||||
title: JSON prettify and format
|
||||
description: Prettify your JSON string into a friendly, human-readable format.
|
||||
externalAccess: This tool may download a JSON schema from
|
||||
https://www.schemastore.org when validation is requested. No data is send
|
||||
externally.
|
||||
https://www.schemastore.org (or the configured schema catalog) when
|
||||
validation is requested. No data is sent externally.
|
||||
docker-run-to-docker-compose-converter:
|
||||
title: Docker run to Docker compose converter
|
||||
description: Transforms "docker run" commands into docker-compose files!
|
||||
@@ -1710,7 +1713,8 @@ tools:
|
||||
title-currencies-to-countries: Currencies to Countries
|
||||
label-currency: Currency
|
||||
externalAccess: This tool downloads fresh currency data from
|
||||
https://cdn.jsdelivr.net/npm/{'@'}fawazahmed0/currency-api
|
||||
https://cdn.jsdelivr.net/npm/{'@'}fawazahmed0/currency-api (or the
|
||||
configured mirror)
|
||||
data-storage-unit-converter:
|
||||
title: Data Storage Unit converter
|
||||
description: Convert data storage or transfer units (bytes, bibytes, bits, kilobytes...)
|
||||
@@ -2649,8 +2653,8 @@ tools:
|
||||
repair-json: Repair JSON
|
||||
label-auto-height: Auto Height
|
||||
externalAccess: This tool may download a JSON schema from
|
||||
https://www.schemastore.org when validation is requested. No data is send
|
||||
externally.
|
||||
https://www.schemastore.org (or the configured schema catalog) when
|
||||
validation is requested. No data is sent externally.
|
||||
json-escaper:
|
||||
title: Json Escaper/Unescaper
|
||||
description: Escape and unescape JSON string
|
||||
@@ -2681,8 +2685,8 @@ tools:
|
||||
title-repaired-version: Auto Repaired and Formatted version
|
||||
label-auto-repair-json: "Auto Repair JSON:"
|
||||
externalAccess: This tool may download a JSON schema from
|
||||
https://www.schemastore.org when validation is requested. No data is send
|
||||
externally.
|
||||
https://www.schemastore.org (or the configured schema catalog) when
|
||||
validation is requested. No data is sent externally.
|
||||
json-size-analyzer:
|
||||
title: Json Size Analyzer
|
||||
description: Measure JSON nodes relative weights
|
||||
@@ -2969,11 +2973,13 @@ tools:
|
||||
tag-nb-processing-is-done-in-your-browser-so-be-patient-processing-can-take-a-while:
|
||||
"NB: processing is done in your browser, so be patient, processing can
|
||||
take a while"
|
||||
tag-this-tool-required-internet-connection-to-access-models: This tool required internet connection (to access models)
|
||||
tag-this-tool-required-internet-connection-to-access-models:
|
||||
This tool needs access to Hugging Face or the configured models mirror
|
||||
(to download models)
|
||||
tag-latex-result: Latex Result
|
||||
externalAccess: This tool downloads MathJaX from https://cdnjs.cloudflare.com
|
||||
and download Latex OCR recognition model (Xenova/texify) from
|
||||
https://huggingface.co/
|
||||
externalAccess: This tool downloads the LaTeX OCR recognition model
|
||||
(Xenova/texify) from https://huggingface.co/ (or the configured models
|
||||
mirror). Processing is done in your browser.
|
||||
mermaid-exporter:
|
||||
title: Mermaid exporter
|
||||
description: Convert Markdown (Mermaid) to image and allow to export to PNG, JPG & SVG
|
||||
@@ -3083,7 +3089,9 @@ tools:
|
||||
label-spaces-chars: Spaces chars
|
||||
label-word-count-no-punct: Word count (no punct)
|
||||
tag-ocr: OCR
|
||||
externalAccess: This tool downloads OCR languages models on https://cdn.jsdelivr.net
|
||||
externalAccess: English and Simplified Chinese OCR language data is included.
|
||||
Other languages are downloaded from https://cdn.jsdelivr.net (or the
|
||||
configured language data mirror).
|
||||
option43-generator:
|
||||
title: Option43 generator
|
||||
description: Generate Option43 Wifi DHCP configuration
|
||||
@@ -4430,7 +4438,7 @@ tools:
|
||||
label-source-port: "Source Port:"
|
||||
label-destination-port: "Destination Port:"
|
||||
label-chain: "Chain:"
|
||||
label-rule-order: "Rule Order:"
|
||||
label-rule-order: "Insert position (empty = append):"
|
||||
title-generated-iptables-command: Generated iptables command
|
||||
tag-expression: Expression
|
||||
tag-meaning: Meaning
|
||||
@@ -5169,6 +5177,7 @@ tools:
|
||||
RAID 0 splits data evenly across 2 or more disks without redunancy or
|
||||
fault tolerance creating one large storage space.
|
||||
categories:
|
||||
automation: Automation
|
||||
favorite-tools: Your favorite tools
|
||||
crypto: Crypto
|
||||
converter: Converter
|
||||
@@ -5199,6 +5208,27 @@ tools:
|
||||
finance: Finance
|
||||
default: Default
|
||||
toml: TOML
|
||||
current-loop-4-20ma-converter:
|
||||
title: 4-20 mA converter
|
||||
description: Convert a 4-20 mA (or 0-20 mA) current into an engineering value and back, with NAMUR NE 43 loop diagnostic.
|
||||
texts:
|
||||
signal-label: Current
|
||||
voltage-0-10v-converter:
|
||||
title: 0-10 V converter
|
||||
description: Convert a 0-10 V, 2-10 V, 0-5 V, 1-5 V or ±10 V voltage into an engineering value and back.
|
||||
texts:
|
||||
signal-label: Voltage
|
||||
analog-scaling-calculator:
|
||||
title: Analog scaling calculator
|
||||
description: Scale a raw PLC analog value (Siemens 0-27648, Schneider 0-10000, 12/15/16 bits...) into an engineering value and back.
|
||||
texts:
|
||||
signal-label: Raw value
|
||||
preset-siemens-unipolar: Siemens S7 unipolar (0 to 27648)
|
||||
preset-siemens-bipolar: Siemens S7 bipolar (-27648 to 27648)
|
||||
preset-schneider: Schneider M340/M580 (0 to 10000)
|
||||
preset-12-bits: 12 bits (0 to 4095)
|
||||
preset-15-bits: 15 bits (0 to 32767)
|
||||
preset-16-bits: 16 bits (0 to 65535)
|
||||
websocket-tester:
|
||||
title: Websocket tester
|
||||
description: Allows to test WebSocket connections
|
||||
@@ -7437,7 +7467,8 @@ tools:
|
||||
placeholder-translation-will-appear-here: Translation will appear here...
|
||||
tag-translate: Translate
|
||||
externalAccess: This tool downloads translation models
|
||||
(Xenova/opus-mt-[source]-[target]) on https://huggingface.co/
|
||||
(Xenova/opus-mt-[source]-[target]) from https://huggingface.co/ (or the
|
||||
configured models mirror). Processing is done in your browser.
|
||||
unicode-to-gsm7:
|
||||
title: Unicode to GSM-7
|
||||
description: Encode unicode text to SMS GSM-7 encoding and display related SMS send info
|
||||
@@ -7934,8 +7965,10 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Select templates (e.g. node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Generate
|
||||
externalAccess: This tool download .gitignore from
|
||||
https://github.com/github/gitignore using Github API
|
||||
snapshot-used: Using the bundled template snapshot from {0}.
|
||||
externalAccess: This tool downloads .gitignore templates from
|
||||
https://github.com/github/gitignore using the GitHub API, and falls back
|
||||
to a bundled snapshot when GitHub is unreachable.
|
||||
i-and-l-checker:
|
||||
title: I and L Checker
|
||||
description: Check a password or text with highlighting of 1, l, I, 0, O
|
||||
@@ -8151,6 +8184,8 @@ tools:
|
||||
tag-replication-client: REPLICATION CLIENT
|
||||
tag-replication-slave: REPLICATION SLAVE
|
||||
tag-generate-sql-instructions: Generate SQL Instructions
|
||||
error-oracle-password-double-quote: Oracle passwords cannot contain double quotes (")
|
||||
error-oracle-account-double-quote: Oracle account names cannot contain double quotes (")
|
||||
database-table-generator:
|
||||
title: Database Table Generator
|
||||
description: Generate SQL CREATE TABLE for common databases
|
||||
@@ -8183,8 +8218,10 @@ tools:
|
||||
placeholder-select-templates: Select templates
|
||||
title-preview: Preview
|
||||
tag-fetch-generate: Fetch & Generate
|
||||
externalAccess: This tool download .gitattributes from
|
||||
https://github.com/gitattributes/gitattributes using Github API
|
||||
snapshot-used: Using the bundled template snapshot from {0}.
|
||||
externalAccess: This tool downloads .gitattributes templates from
|
||||
https://github.com/gitattributes/gitattributes using the GitHub API, and
|
||||
falls back to a bundled snapshot when GitHub is unreachable.
|
||||
html-to-xhtml:
|
||||
title: HTML to XHTML
|
||||
description: Convert HTML to strict XHTML (XML parsable, self closing tags...)
|
||||
@@ -8326,6 +8363,8 @@ tools:
|
||||
download-results-csv: Download Results CSV
|
||||
batch-lat-lng-converter: Batch Lat/Lng Converter
|
||||
single-lat-lng-converter: Single Lat/Lng Converter
|
||||
externalAccess: This tool loads map tiles from OpenStreetMap or the configured
|
||||
tile server; the coordinates shown are sent as tile requests.
|
||||
si-prefixes-converter:
|
||||
title: SI Prefixes Converter
|
||||
description: Convert between Metric Prefixes
|
||||
@@ -9000,8 +9039,8 @@ tools:
|
||||
remove-background:
|
||||
title: Remove Image Background
|
||||
description: Remove background from an image using AI
|
||||
externalAccess: Downloads Remove Background models from HuggingFace. Processing
|
||||
is done in your browser
|
||||
externalAccess: Downloads Remove Background models from Hugging Face (or the
|
||||
configured models mirror). Processing is done in your browser.
|
||||
texts:
|
||||
label-rmbg-1-4-cpu-wasm: RMBG‑1.4 (CPU/WASM)
|
||||
label-modnet-webgpu: MODNet (WebGPU)
|
||||
@@ -10051,6 +10090,79 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Headers & Body Preview
|
||||
tag-truncated: Truncated
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Fraction → Decimal
|
||||
label-decimal-fraction: Decimal → Fraction
|
||||
label-inches: Inches
|
||||
label-millimeters: "Millimeters:"
|
||||
label-mode: "Mode:"
|
||||
label-decimal-places: "Decimal Places:"
|
||||
label-unit: "Unit:"
|
||||
label-fraction-resolution: "Fraction Resolution:"
|
||||
label-decimal-value: "Decimal Value:"
|
||||
label-fraction: "Fraction:"
|
||||
placeholder-e-g-3-16-or-2-3-16: e.g. 3/16 or 2 3/16
|
||||
title-results: Results
|
||||
label-decimal-inches: "Decimal Inches:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: Fraction Decimal Converter
|
||||
description: Convert fractions to decimals and vice versa including inches and
|
||||
metric conversions.
|
||||
externalAccess: "null"
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: General
|
||||
title-channel-tests: Channel Tests
|
||||
title-bass-tests: Bass Tests
|
||||
title-treble-tests: Treble Tests
|
||||
title-custom-frequency: Custom Frequency
|
||||
label-frequency-hz: "Frequency (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Sweep
|
||||
tag-white-noise: White Noise
|
||||
tag-pink-noise: Pink Noise
|
||||
tag-stop: Stop
|
||||
tag-left: Left
|
||||
tag-right: Right
|
||||
tag-play-this-frequency: Play this frequency
|
||||
title: Sound Tester
|
||||
description: Test your speakers and headphones by playing test sounds. Adjust
|
||||
volume and check for audio clarity.
|
||||
externalAccess: "null"
|
||||
analogSignalConverter:
|
||||
texts:
|
||||
title-input: Input
|
||||
title-parameters: Parameters
|
||||
title-output: Output
|
||||
swap-direction: Swap direction
|
||||
status-ok: In range
|
||||
copy-output: Copy the output value
|
||||
title-reference-points: Reference points
|
||||
label-signal-type: Signal type
|
||||
preset-custom: Custom
|
||||
label-engineering-range: Engineering min / max
|
||||
label-engineering-unit: Engineering unit
|
||||
placeholder-unit: Unit
|
||||
error-signal-range: The signal min must be lower than the signal max.
|
||||
error-engineering-range: The engineering min must be lower than the engineering max.
|
||||
label-engineering-value: Engineering value
|
||||
label-rounded-signal: Rounded (integer)
|
||||
status-below-range: The signal is below the range.
|
||||
status-above-range: The signal is above the range.
|
||||
status-below-live-zero: The signal is below the live zero, check for a broken wire or a faulty sensor.
|
||||
engineering-below-range: The value is below the engineering range, the signal will be out of range.
|
||||
engineering-above-range: The value is above the engineering range, the signal will be out of range.
|
||||
loop-status-failure-low: "Low failure (≤ 3.6 mA, NAMUR NE 43): broken loop, unpowered or faulty transmitter."
|
||||
loop-status-uncertain-low: "Between 3.6 and 3.8 mA: undefined zone, a failure is likely (NAMUR NE 43)."
|
||||
loop-status-under-range: "Under-range (3.8 to 4 mA): the measurement is saturated at the bottom of the range."
|
||||
loop-status-over-range: "Over-range (20 to 20.5 mA): the measurement is saturated at the top of the range."
|
||||
loop-status-uncertain-high: "Between 20.5 and 21 mA: undefined zone, a failure is likely (NAMUR NE 43)."
|
||||
loop-status-failure-high: "High failure (≥ 21 mA, NAMUR NE 43): faulty transmitter or short circuit."
|
||||
label-formula: Formula
|
||||
formula-value: value
|
||||
formula-signal: signal
|
||||
column-percent: Range
|
||||
collapsibleToolMenu:
|
||||
text:
|
||||
expanding: Expanding...
|
||||
|
||||
+51
-1
@@ -460,6 +460,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: Embellecer y formatear YAML
|
||||
description: Embellece tu cadena YAML en un formato amigable y legible para humanos.
|
||||
externalAccess: Esta herramienta puede descargar un esquema JSON de
|
||||
https://www.schemastore.org (o del catálogo de esquemas configurado)
|
||||
cuando se solicita la validación. No se envían datos externamente.
|
||||
eta-calculator:
|
||||
title: Calculadora de ETA
|
||||
description: Una calculadora de ETA (hora estimada de llegada) para determinar
|
||||
@@ -4498,7 +4501,7 @@ tools:
|
||||
label-source-port: "Puerto de origen:"
|
||||
label-destination-port: "Puerto de destino:"
|
||||
label-chain: "Cadena:"
|
||||
label-rule-order: "Orden de reglas:"
|
||||
label-rule-order: "Posición de inserción (vacío = añadir al final):"
|
||||
title-generated-iptables-command: Comando iptables generado
|
||||
tag-expression: Expresión
|
||||
tag-meaning: Significado
|
||||
@@ -8044,6 +8047,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Seleccionar plantillas (por ejemplo, node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Generar
|
||||
snapshot-used: Utilizando la instantánea de plantilla empaquetada de {0}.
|
||||
externalAccess: Esta herramienta descarga .gitignore desde
|
||||
https://github.com/github/gitignore usando la API de Github
|
||||
i-and-l-checker:
|
||||
@@ -8294,6 +8298,8 @@ tools:
|
||||
tag-replication-client: CLIENTE DE REPLICACIÓN
|
||||
tag-replication-slave: ESCLAVO DE REPLICACIÓN
|
||||
tag-generate-sql-instructions: Generar instrucciones SQL
|
||||
error-oracle-password-double-quote: Las contraseñas de Oracle no pueden contener comillas dobles (").
|
||||
error-oracle-account-double-quote: Los nombres de cuenta de Oracle no pueden contener comillas dobles (").
|
||||
database-table-generator:
|
||||
title: Generador de tablas de bases de datos
|
||||
description: Generar SQL CREATE TABLE para bases de datos comunes
|
||||
@@ -8326,6 +8332,7 @@ tools:
|
||||
placeholder-select-templates: Seleccionar plantillas
|
||||
title-preview: Avance
|
||||
tag-fetch-generate: Obtener y generar
|
||||
snapshot-used: Utilizando la instantánea de plantilla empaquetada de {0}.
|
||||
externalAccess: Esta herramienta descarga .gitattributes desde
|
||||
https://github.com/gitattributes/gitattributes usando la API de Github
|
||||
html-to-xhtml:
|
||||
@@ -8470,6 +8477,9 @@ tools:
|
||||
download-results-csv: Descargar resultados CSV
|
||||
batch-lat-lng-converter: Convertidor de lotes de latitud/longitud
|
||||
single-lat-lng-converter: Convertidor de latitud/longitud único
|
||||
externalAccess: Esta herramienta carga los mosaicos del mapa desde OpenStreetMap
|
||||
o desde el servidor de mosaicos configurado; las coordenadas que se
|
||||
muestran se envían como solicitudes de mosaicos.
|
||||
si-prefixes-converter:
|
||||
title: Convertidor de prefijos del SI
|
||||
description: Convertir entre prefijos métricos
|
||||
@@ -10296,6 +10306,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && código_de_estado_de_salto
|
||||
tag-headers-body-preview: Vista previa de encabezados y cuerpo del texto
|
||||
tag-truncated: Truncado
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Fracción → Decimal
|
||||
label-decimal-fraction: Decimal → Fracción
|
||||
label-inches: Pulgadas
|
||||
label-millimeters: "Milímetros:"
|
||||
label-mode: "Modo:"
|
||||
label-decimal-places: "Cifras decimales:"
|
||||
label-unit: "Unidad:"
|
||||
label-fraction-resolution: "Resolución fraccionaria:"
|
||||
label-decimal-value: "Valor decimal:"
|
||||
label-fraction: "Fracción:"
|
||||
placeholder-e-g-3-16-or-2-3-16: p. ej. 3/16 o 2 3/16
|
||||
title-results: Resultados
|
||||
label-decimal-inches: "Pulgadas decimales:"
|
||||
tag-const-mode-ref: const modo = ref
|
||||
title: Convertidor de fracción a decimal
|
||||
description: Convierte fracciones a decimales y viceversa, incluyendo
|
||||
conversiones entre pulgadas y el sistema métrico.
|
||||
externalAccess: nulo
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: General
|
||||
title-channel-tests: Pruebas de canal
|
||||
title-bass-tests: Pruebas de lubina
|
||||
title-treble-tests: Pruebas de triple
|
||||
title-custom-frequency: Frecuencia personalizada
|
||||
label-frequency-hz: "Frecuencia (Hz):"
|
||||
tag-440hz-la: 440 Hz / La
|
||||
tag-sweep: Barrer
|
||||
tag-white-noise: Ruido blanco
|
||||
tag-pink-noise: Ruido rosa
|
||||
tag-stop: Detener
|
||||
tag-left: Izquierda
|
||||
tag-right: Bien
|
||||
tag-play-this-frequency: Reproduce esta frecuencia
|
||||
title: Probador de sonido
|
||||
description: Prueba tus altavoces y auriculares reproduciendo sonidos de prueba.
|
||||
Ajusta el volumen y comprueba la claridad del audio.
|
||||
externalAccess: nulo
|
||||
spanCopyable:
|
||||
copy: Copiar al portapapeles
|
||||
copied: Copiado!
|
||||
|
||||
+108
-1
@@ -147,6 +147,7 @@ tools:
|
||||
label-jpeg: JPEG
|
||||
label-webp: WebP
|
||||
categories:
|
||||
automation: Automatisme
|
||||
favorite-tools: Vos outils favoris
|
||||
crypto: Cryptographie
|
||||
converter: Convertisseur
|
||||
@@ -177,6 +178,27 @@ tools:
|
||||
finance: Finance
|
||||
default: Défaut
|
||||
toml: TOML
|
||||
current-loop-4-20ma-converter:
|
||||
title: Convertisseur 4-20 mA
|
||||
description: Convertir un courant 4-20 mA (ou 0-20 mA) en valeur physique et inversement, avec le diagnostic de boucle NAMUR NE 43.
|
||||
texts:
|
||||
signal-label: Courant
|
||||
voltage-0-10v-converter:
|
||||
title: Convertisseur 0-10 V
|
||||
description: Convertir une tension 0-10 V, 2-10 V, 0-5 V, 1-5 V ou ±10 V en valeur physique et inversement.
|
||||
texts:
|
||||
signal-label: Tension
|
||||
analog-scaling-calculator:
|
||||
title: Mise à l'échelle analogique
|
||||
description: Convertir une valeur brute d'entrée analogique d'automate (Siemens 0-27648, Schneider 0-10000, 12/15/16 bits...) en valeur physique et inversement.
|
||||
texts:
|
||||
signal-label: Valeur brute
|
||||
preset-siemens-unipolar: Siemens S7 unipolaire (0 à 27648)
|
||||
preset-siemens-bipolar: Siemens S7 bipolaire (-27648 à 27648)
|
||||
preset-schneider: Schneider M340/M580 (0 à 10000)
|
||||
preset-12-bits: 12 bits (0 à 4095)
|
||||
preset-15-bits: 15 bits (0 à 32767)
|
||||
preset-16-bits: 16 bits (0 à 65535)
|
||||
token-generator:
|
||||
title: Générateur de token
|
||||
description: Génère une chaîne aléatoire avec les caractères que vous voulez,
|
||||
@@ -3328,7 +3350,7 @@ tools:
|
||||
label-prerouting: Prurotinage
|
||||
label-protocol: "Protocole :"
|
||||
label-reject: REJETER
|
||||
label-rule-order: "Ordre des règles :"
|
||||
label-rule-order: "Position d'insertion (vide = ajouter à la fin) :"
|
||||
label-source-ip: "IP de source :"
|
||||
label-source-port: "Port source :"
|
||||
label-tcp: TCP
|
||||
@@ -7720,6 +7742,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: Yaml Prettify and Format
|
||||
description: Prétifiez votre chaîne YAML dans un format amical et lisible par l'homme.
|
||||
externalAccess: Cet outil peut télécharger un schéma JSON depuis
|
||||
https://www.schemastore.org (ou le catalogue de schémas configuré) lors
|
||||
d'une demande de validation. Aucune donnée n'est transmise à l'extérieur.
|
||||
yaml-to-json-converter:
|
||||
description: Convertissez simplement Yaml en JSON avec ce convertisseur en
|
||||
direct en ligne.
|
||||
@@ -8225,6 +8250,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Sélectionnez des modèles (par exemple, node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Générer
|
||||
snapshot-used: Utilisation de l'instantané de modèle groupé de {0}.
|
||||
externalAccess: Cet outil télécharge le fichier .gitignore depuis
|
||||
https://github.com/github/gitignore via l'API GitHub.
|
||||
i-and-l-checker:
|
||||
@@ -8476,6 +8502,10 @@ tools:
|
||||
tag-replication-client: CLIENT DE RÉPLICATION
|
||||
tag-replication-slave: ESCLAVE DE LA RÉPLICATION
|
||||
tag-generate-sql-instructions: Générer des instructions SQL
|
||||
error-oracle-password-double-quote: Les mots de passe Oracle ne peuvent pas
|
||||
contenir de guillemets doubles (").
|
||||
error-oracle-account-double-quote: Les noms de comptes Oracle ne peuvent pas
|
||||
contenir de guillemets doubles (").
|
||||
database-table-generator:
|
||||
title: Générateur de tables de base de données
|
||||
description: Générer une requête SQL CREATE TABLE pour les bases de données courantes
|
||||
@@ -8508,6 +8538,7 @@ tools:
|
||||
placeholder-select-templates: Sélectionner des modèles
|
||||
title-preview: Aperçu
|
||||
tag-fetch-generate: Récupérer et générer
|
||||
snapshot-used: Utilisation de l'instantané de modèle groupé de {0}.
|
||||
externalAccess: Cet outil télécharge le fichier .gitattributes depuis
|
||||
https://github.com/gitattributes/gitattributes via l'API GitHub.
|
||||
html-to-xhtml:
|
||||
@@ -8655,6 +8686,9 @@ tools:
|
||||
download-results-csv: Télécharger les résultats au format CSV
|
||||
batch-lat-lng-converter: Convertisseur de latitude/longitude par lots
|
||||
single-lat-lng-converter: Convertisseur simple latitude/longitude
|
||||
externalAccess: Cet outil charge les tuiles cartographiques depuis OpenStreetMap
|
||||
ou le serveur de tuiles configuré ; les coordonnées affichées sont
|
||||
envoyées sous forme de requêtes de tuiles.
|
||||
si-prefixes-converter:
|
||||
title: Convertisseur de préfixes SI
|
||||
description: Convertir entre préfixes métriques
|
||||
@@ -10485,6 +10519,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Aperçu des en-têtes et du corps
|
||||
tag-truncated: Tronqué
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Fraction → Décimal
|
||||
label-decimal-fraction: Décimal → Fraction
|
||||
label-inches: Pouces
|
||||
label-millimeters: "Millimètres :"
|
||||
label-mode: "Mode:"
|
||||
label-decimal-places: "Nombre de décimales :"
|
||||
label-unit: "Unité:"
|
||||
label-fraction-resolution: "Résolution fractionnaire :"
|
||||
label-decimal-value: "Valeur décimale :"
|
||||
label-fraction: "Fraction:"
|
||||
placeholder-e-g-3-16-or-2-3-16: par exemple 3/16 ou 2 3/16
|
||||
title-results: Résultats
|
||||
label-decimal-inches: "Pouces décimaux :"
|
||||
tag-const-mode-ref: mode constant = ref
|
||||
title: Convertisseur fractionnaire décimal
|
||||
description: Convertir des fractions en décimales et vice versa, y compris les
|
||||
conversions entre les unités en pouces et en système métrique.
|
||||
externalAccess: nul
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Général
|
||||
title-channel-tests: Tests de la chaîne
|
||||
title-bass-tests: Tests de basse
|
||||
title-treble-tests: Tests de triple
|
||||
title-custom-frequency: Fréquence personnalisée
|
||||
label-frequency-hz: "Fréquence (Hz) :"
|
||||
tag-440hz-la: 440 Hz / La
|
||||
tag-sweep: Balayer
|
||||
tag-white-noise: bruit blanc
|
||||
tag-pink-noise: bruit rose
|
||||
tag-stop: Arrêt
|
||||
tag-left: Gauche
|
||||
tag-right: Droite
|
||||
tag-play-this-frequency: Jouez cette fréquence
|
||||
title: Testeur de son
|
||||
description: Testez vos haut-parleurs et votre casque en diffusant des sons de
|
||||
test. Réglez le volume et vérifiez la clarté audio.
|
||||
externalAccess: nul
|
||||
favoriteButton:
|
||||
add: Ajouter aux favoris
|
||||
remove: Retirer des favoris
|
||||
@@ -10506,6 +10580,39 @@ textareaCopyable:
|
||||
download: Télécharger
|
||||
locale-selector:
|
||||
select-a-language: Sélectionnez une langue
|
||||
analogSignalConverter:
|
||||
texts:
|
||||
title-input: Entrée
|
||||
title-parameters: Paramètres
|
||||
title-output: Sortie
|
||||
swap-direction: Inverser le sens
|
||||
status-ok: Dans la plage
|
||||
copy-output: Copier la valeur de sortie
|
||||
title-reference-points: Points de référence
|
||||
label-signal-type: Type de signal
|
||||
preset-custom: Personnalisé
|
||||
label-engineering-range: Plage physique min / max
|
||||
label-engineering-unit: Unité physique
|
||||
placeholder-unit: Unité
|
||||
error-signal-range: Le min du signal doit être inférieur au max du signal.
|
||||
error-engineering-range: Le min de la plage physique doit être inférieur au max.
|
||||
label-engineering-value: Valeur physique
|
||||
label-rounded-signal: Arrondi (entier)
|
||||
status-below-range: Le signal est sous la plage.
|
||||
status-above-range: Le signal est au-dessus de la plage.
|
||||
status-below-live-zero: Le signal est sous le zéro décalé, vérifier une rupture de fil ou un capteur en défaut.
|
||||
engineering-below-range: La valeur est sous la plage physique, le signal sera hors plage.
|
||||
engineering-above-range: La valeur est au-dessus de la plage physique, le signal sera hors plage.
|
||||
loop-status-failure-low: "Défaut bas (≤ 3,6 mA, NAMUR NE 43) : boucle coupée, transmetteur non alimenté ou en défaut."
|
||||
loop-status-uncertain-low: "Entre 3,6 et 3,8 mA : zone indéterminée, défaut probable (NAMUR NE 43)."
|
||||
loop-status-under-range: "Sous-échelle (3,8 à 4 mA) : mesure saturée en bas de plage."
|
||||
loop-status-over-range: "Sur-échelle (20 à 20,5 mA) : mesure saturée en haut de plage."
|
||||
loop-status-uncertain-high: "Entre 20,5 et 21 mA : zone indéterminée, défaut probable (NAMUR NE 43)."
|
||||
loop-status-failure-high: "Défaut haut (≥ 21 mA, NAMUR NE 43) : transmetteur en défaut ou court-circuit."
|
||||
label-formula: Formule
|
||||
formula-value: valeur
|
||||
formula-signal: signal
|
||||
column-percent: Plage
|
||||
collapsibleToolMenu:
|
||||
text:
|
||||
expanding: Réduire...
|
||||
|
||||
+1474
-1421
File diff suppressed because it is too large.
Load diff
+51
-1
@@ -449,6 +449,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML को सुंदर बनाएं और प्रारूपित करें
|
||||
description: अपनी YAML स्ट्रिंग को एक सरल, आसानी से पढ़ी जा सकने वाली प्रारूप में बदलें।
|
||||
externalAccess: जब सत्यापन का अनुरोध किया जाता है, तो यह टूल
|
||||
https://www.schemastore.org (या कॉन्फ़िगर किए गए स्कीमा कैटलॉग) से एक JSON
|
||||
स्कीमा डाउनलोड कर सकता है। कोई भी डेटा बाहरी रूप से नहीं भेजा जाता है।
|
||||
eta-calculator:
|
||||
title: ETA कैलकुलेटर
|
||||
description: किसी कार्य के अनुमानित समापन समय (ईटीए) का पता लगाने के लिए एक
|
||||
@@ -4503,7 +4506,7 @@ tools:
|
||||
label-source-port: "स्रोत पोर्ट:"
|
||||
label-destination-port: "गंतव्य बंदरगाह:"
|
||||
label-chain: "जंजीर:"
|
||||
label-rule-order: "नियम क्रम:"
|
||||
label-rule-order: "सम्मिलन स्थान (खाली = अंत में जोड़ें):"
|
||||
title-generated-iptables-command: iptables कमांड जनरेट किया गया
|
||||
tag-expression: अभिव्यक्ति
|
||||
tag-meaning: अर्थ
|
||||
@@ -8058,6 +8061,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: टेम्प्लेट चुनें (उदाहरण के लिए, नोड, पायथन, वू)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: उत्पन्न
|
||||
snapshot-used: "{0} से बंडल किए गए टेम्पलेट स्नैपशॉट का उपयोग करना।"
|
||||
externalAccess: यह टूल GitHub API का उपयोग करके
|
||||
https://github.com/github/gitignore से .gitignore फ़ाइल डाउनलोड करता है।
|
||||
i-and-l-checker:
|
||||
@@ -8280,6 +8284,8 @@ tools:
|
||||
tag-replication-client: प्रतिकृति क्लाइंट
|
||||
tag-replication-slave: प्रतिकृति गुलाम
|
||||
tag-generate-sql-instructions: SQL निर्देश उत्पन्न करें
|
||||
error-oracle-password-double-quote: ओरेकल पासवर्ड में डबल कोटेशन मार्क (") नहीं हो सकते।
|
||||
error-oracle-account-double-quote: ओरेकल खाता नामों में दोहरे उद्धरण चिह्न (") नहीं हो सकते।
|
||||
database-table-generator:
|
||||
title: डेटाबेस टेबल जनरेटर
|
||||
description: सामान्य डेटाबेस के लिए SQL CREATE TABLE फ़ंक्शन जनरेट करें
|
||||
@@ -8312,6 +8318,7 @@ tools:
|
||||
placeholder-select-templates: टेम्पलेट चुनें
|
||||
title-preview: पूर्व दर्शन
|
||||
tag-fetch-generate: फ़ेच और जनरेट
|
||||
snapshot-used: "{0} से बंडल किए गए टेम्पलेट स्नैपशॉट का उपयोग करना।"
|
||||
externalAccess: यह टूल GitHub API का उपयोग करके
|
||||
https://github.com/gitattributes/gitattributes से .gitattributes फ़ाइलें
|
||||
डाउनलोड करता है।
|
||||
@@ -8459,6 +8466,9 @@ tools:
|
||||
download-results-csv: परिणामों की CSV फ़ाइल डाउनलोड करें
|
||||
batch-lat-lng-converter: बैच अक्षांश/देशांतर कनवर्टर
|
||||
single-lat-lng-converter: सिंगल अक्षांश/देशांतर कनवर्टर
|
||||
externalAccess: यह टूल ओपनस्ट्रीटमैप या कॉन्फ़िगर किए गए टाइल सर्वर से मानचित्र
|
||||
टाइल लोड करता है; दिखाए गए निर्देशांक टाइल अनुरोधों के रूप में भेजे जाते
|
||||
हैं।
|
||||
si-prefixes-converter:
|
||||
title: एसआई उपसर्ग कनवर्टर
|
||||
description: मीट्रिक उपसर्गों के बीच रूपांतरण करें
|
||||
@@ -10221,6 +10231,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: शीर्षक और मुख्य भाग का पूर्वावलोकन
|
||||
tag-truncated: छंटनी की गई
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: भिन्न → दशमलव
|
||||
label-decimal-fraction: दशमलव → भिन्न
|
||||
label-inches: इंच
|
||||
label-millimeters: "मिलीमीटर:"
|
||||
label-mode: "तरीका:"
|
||||
label-decimal-places: "दशमलव स्थानों:"
|
||||
label-unit: "इकाई:"
|
||||
label-fraction-resolution: "अंशीय समाधान:"
|
||||
label-decimal-value: "दशमलव मान:"
|
||||
label-fraction: "अंश:"
|
||||
placeholder-e-g-3-16-or-2-3-16: उदाहरण के लिए 3/16 या 2 3/16
|
||||
title-results: परिणाम
|
||||
label-decimal-inches: "दशमलव इंच:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: भिन्न दशमलव परिवर्तक
|
||||
description: भिन्नों को दशमलव में और दशमलव को भिन्नों में परिवर्तित करें, जिसमें
|
||||
इंच और मीट्रिक रूपांतरण भी शामिल हैं।
|
||||
externalAccess: व्यर्थ
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: सामान्य
|
||||
title-channel-tests: चैनल परीक्षण
|
||||
title-bass-tests: बास परीक्षण
|
||||
title-treble-tests: तिहरा परीक्षण
|
||||
title-custom-frequency: कस्टम आवृत्ति
|
||||
label-frequency-hz: "आवृत्ति (हर्ट्ज़):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: झाडू
|
||||
tag-white-noise: श्वेत रव
|
||||
tag-pink-noise: गुलाबी शोर
|
||||
tag-stop: रुकना
|
||||
tag-left: बाएं
|
||||
tag-right: सही
|
||||
tag-play-this-frequency: इस आवृत्ति को बजाएं
|
||||
title: ध्वनि परीक्षक
|
||||
description: टेस्ट साउंड चलाकर अपने स्पीकर और हेडफ़ोन की जांच करें। वॉल्यूम
|
||||
एडजस्ट करें और ऑडियो की स्पष्टता जांचें।
|
||||
externalAccess: व्यर्थ
|
||||
collapsibleToolMenu:
|
||||
text:
|
||||
expanding: विस्तार हो रहा है...
|
||||
|
||||
+5173
-5268
File diff suppressed because it is too large.
Load diff
+46
-1
@@ -573,6 +573,8 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML 포매터
|
||||
description: YAML 문자열을 사람이 읽기 쉬운 형식으로 변환합니다.
|
||||
externalAccess: 이 도구는 유효성 검사가 요청될 때 https://www.schemastore.org(또는 구성된 스키마
|
||||
카탈로그)에서 JSON 스키마를 다운로드할 수 있습니다. 외부로 데이터가 전송되지는 않습니다.
|
||||
eta-calculator:
|
||||
title: ETA 계산기
|
||||
description: 작업 예상 종료 시각과 소요 시간을 계산합니다.
|
||||
@@ -4687,7 +4689,7 @@ tools:
|
||||
label-source-port: "소스 포트:"
|
||||
label-destination-port: "목적지 항구:"
|
||||
label-chain: "체인:"
|
||||
label-rule-order: "규칙 순서:"
|
||||
label-rule-order: "삽입 위치 (비우면 끝에 추가):"
|
||||
title-generated-iptables-command: 생성된 iptables 명령
|
||||
tag-expression: 표현
|
||||
tag-meaning: 의미
|
||||
@@ -7469,6 +7471,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: "템플릿 선택(예: node, python, vue)"
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: 생성하다
|
||||
snapshot-used: "{0}에서 제공되는 번들 템플릿 스냅샷을 사용합니다."
|
||||
externalAccess: 이 도구는 GitHub API를 사용하여 https://github.com/github/gitignore에서
|
||||
.gitignore 파일을 다운로드합니다.
|
||||
i-and-l-checker:
|
||||
@@ -7709,6 +7712,8 @@ tools:
|
||||
tag-replication-client: 복제 클라이언트
|
||||
tag-replication-slave: 복제 노예
|
||||
tag-generate-sql-instructions: SQL 명령어 생성
|
||||
error-oracle-password-double-quote: Oracle 암호에는 큰따옴표(")를 포함할 수 없습니다.
|
||||
error-oracle-account-double-quote: Oracle 계정 이름에는 큰따옴표(")를 포함할 수 없습니다.
|
||||
database-table-generator:
|
||||
title: 데이터베이스 테이블 생성기
|
||||
description: 일반적인 데이터베이스에 대한 SQL CREATE TABLE 문을 생성합니다.
|
||||
@@ -7741,6 +7746,7 @@ tools:
|
||||
placeholder-select-templates: 템플릿을 선택하세요
|
||||
title-preview: 시사
|
||||
tag-fetch-generate: 가져오기 및 생성
|
||||
snapshot-used: "{0}에서 제공되는 번들 템플릿 스냅샷을 사용합니다."
|
||||
externalAccess: 이 도구는 GitHub API를 사용하여
|
||||
https://github.com/gitattributes/gitattributes에서 .gitattributes 파일을
|
||||
다운로드합니다.
|
||||
@@ -7883,6 +7889,7 @@ tools:
|
||||
download-results-csv: 결과 CSV 다운로드
|
||||
batch-lat-lng-converter: 일괄 위도/경도 변환기
|
||||
single-lat-lng-converter: 단일 위도/경도 변환기
|
||||
externalAccess: 이 도구는 OpenStreetMap 또는 구성된 타일 서버에서 지도 타일을 불러옵니다. 표시되는 좌표는 타일 요청으로 전송됩니다.
|
||||
si-prefixes-converter:
|
||||
title: SI 접두사 변환기
|
||||
description: 미터법 접두사 간 변환
|
||||
@@ -9641,6 +9648,44 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: 헤더 및 본문 미리보기
|
||||
tag-truncated: 잘린
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: 분수 → 소수
|
||||
label-decimal-fraction: 소수 → 분수
|
||||
label-inches: 신장
|
||||
label-millimeters: "밀리미터:"
|
||||
label-mode: "방법:"
|
||||
label-decimal-places: "소수 자릿수:"
|
||||
label-unit: "단위:"
|
||||
label-fraction-resolution: "분수 분해능:"
|
||||
label-decimal-value: "소수 값:"
|
||||
label-fraction: "분수:"
|
||||
placeholder-e-g-3-16-or-2-3-16: "예: 3/16 또는 2 3/16"
|
||||
title-results: 결과
|
||||
label-decimal-inches: "소수점 단위 인치:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: 분수 소수 변환기
|
||||
description: 분수를 소수로, 소수를 분수로 변환하고, 인치와 미터법 단위 변환도 지원합니다.
|
||||
externalAccess: 널
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: 일반적인
|
||||
title-channel-tests: 채널 테스트
|
||||
title-bass-tests: 베이스 테스트
|
||||
title-treble-tests: 트리플 테스트
|
||||
title-custom-frequency: 사용자 지정 주파수
|
||||
label-frequency-hz: "주파수(Hz):"
|
||||
tag-440hz-la: 440Hz / 라
|
||||
tag-sweep: 스위프
|
||||
tag-white-noise: 백색 잡음
|
||||
tag-pink-noise: 핑크 노이즈
|
||||
tag-stop: 멈추다
|
||||
tag-left: 왼쪽
|
||||
tag-right: 오른쪽
|
||||
tag-play-this-frequency: 이 주파수를 재생하세요
|
||||
title: 사운드 테스터
|
||||
description: 스피커와 헤드폰을 테스트하려면 테스트 사운드를 재생해 보세요. 볼륨을 조절하고 음질이 양호한지 확인하십시오.
|
||||
externalAccess: 널
|
||||
about:
|
||||
alltools-title: 모든 {toolsCount}개 도구
|
||||
tools:
|
||||
|
||||
+52
-1
@@ -670,6 +670,10 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML opmaken en formatteren
|
||||
description: Verfraai je YAML-string in een vriendelijke, mensvriendelijke opmaak.
|
||||
externalAccess: Deze tool kan een JSON-schema downloaden van
|
||||
https://www.schemastore.org (of de geconfigureerde schema-catalogus)
|
||||
wanneer validatie wordt aangevraagd. Er worden geen gegevens extern
|
||||
verzonden.
|
||||
eta-calculator:
|
||||
title: ETA calculator
|
||||
description: Een ETA (Estimated Time of Arrival) calculator om de geschatte
|
||||
@@ -4973,7 +4977,7 @@ tools:
|
||||
label-source-port: "Bronpoort:"
|
||||
label-destination-port: "Bestemmingshaven:"
|
||||
label-chain: "Ketting:"
|
||||
label-rule-order: "Regelvolgorde:"
|
||||
label-rule-order: "Invoegpositie (leeg = toevoegen aan het einde):"
|
||||
title-generated-iptables-command: Gegenereerde iptables-opdracht
|
||||
tag-expression: Uitdrukking
|
||||
tag-meaning: Betekenis
|
||||
@@ -7901,6 +7905,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Selecteer sjablonen (bijv. Node, Python, Vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Genereren
|
||||
snapshot-used: Gebruikmakend van de meegeleverde sjabloonsnapshot van {0}.
|
||||
externalAccess: Deze tool downloadt het .gitignore-bestand van
|
||||
https://github.com/github/gitignore met behulp van de GitHub API.
|
||||
i-and-l-checker:
|
||||
@@ -8148,6 +8153,8 @@ tools:
|
||||
tag-replication-client: REPLICATIECLIENT
|
||||
tag-replication-slave: REPLICATIESLAAF
|
||||
tag-generate-sql-instructions: SQL-instructies genereren
|
||||
error-oracle-password-double-quote: Oracle-wachtwoorden mogen geen dubbele aanhalingstekens ("") bevatten.
|
||||
error-oracle-account-double-quote: Oracle-accountnamen mogen geen dubbele aanhalingstekens ("") bevatten.
|
||||
database-table-generator:
|
||||
title: Database tabelgenerator
|
||||
description: Genereer SQL CREATE TABLE voor veelgebruikte databases
|
||||
@@ -8180,6 +8187,7 @@ tools:
|
||||
placeholder-select-templates: Sjablonen selecteren
|
||||
title-preview: Voorbeeld
|
||||
tag-fetch-generate: Ophalen en genereren
|
||||
snapshot-used: Gebruikmakend van de meegeleverde sjabloonsnapshot van {0}.
|
||||
externalAccess: Deze tool downloadt .gitattributes-bestanden van
|
||||
https://github.com/gitattributes/gitattributes met behulp van de GitHub
|
||||
API.
|
||||
@@ -8328,6 +8336,9 @@ tools:
|
||||
download-results-csv: Resultaten downloaden als CSV-bestand
|
||||
batch-lat-lng-converter: Batch Lat/Lng-omzetter
|
||||
single-lat-lng-converter: Enkele breedte-/lengtegraadomzetter
|
||||
externalAccess: Deze tool laadt kaarttegels van OpenStreetMap of de
|
||||
geconfigureerde tegelserver; de weergegeven coördinaten worden als
|
||||
tegelverzoeken verzonden.
|
||||
si-prefixes-converter:
|
||||
title: SI-voorvoegselomzetter
|
||||
description: Omrekenen tussen metrische voorvoegsels
|
||||
@@ -10147,6 +10158,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Kopteksten en voorbeeldtekst
|
||||
tag-truncated: Afgekapt
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Breuk → Decimaal
|
||||
label-decimal-fraction: Decimaal → Breuk
|
||||
label-inches: inches
|
||||
label-millimeters: "Millimeters:"
|
||||
label-mode: "Modus:"
|
||||
label-decimal-places: "Aantal decimalen:"
|
||||
label-unit: "Eenheid:"
|
||||
label-fraction-resolution: "Fractieresolutie:"
|
||||
label-decimal-value: "Decimale waarde:"
|
||||
label-fraction: "Fractie:"
|
||||
placeholder-e-g-3-16-or-2-3-16: bijv. 3/16 of 2 3/16
|
||||
title-results: Resultaten
|
||||
label-decimal-inches: "Decimale inches:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: Breuk Decimaal Omzetter
|
||||
description: Breuken omzetten naar decimalen en omgekeerd, inclusief
|
||||
omrekeningen van inches naar het metrische systeem.
|
||||
externalAccess: "null"
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Algemeen
|
||||
title-channel-tests: Kanaaltests
|
||||
title-bass-tests: Basstests
|
||||
title-treble-tests: Drievoudige tests
|
||||
title-custom-frequency: Aangepaste frequentie
|
||||
label-frequency-hz: "Frequentie (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Vegen
|
||||
tag-white-noise: Witte ruis
|
||||
tag-pink-noise: Roze ruis
|
||||
tag-stop: Stop
|
||||
tag-left: Links
|
||||
tag-right: Rechts
|
||||
tag-play-this-frequency: Speel deze frequentie af
|
||||
title: Geluidstester
|
||||
description: Test je luidsprekers en hoofdtelefoon door testgeluiden af te
|
||||
spelen. Pas het volume aan en controleer of het geluid helder is.
|
||||
externalAccess: "null"
|
||||
about:
|
||||
alltools-title: Alle {toolsCount}-hulpmiddelen
|
||||
tools:
|
||||
|
||||
+51
-1
@@ -732,6 +732,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML forskjønning og formatering
|
||||
description: Forskjønn YAML strengene dine til et lettlest format.
|
||||
externalAccess: Dette verktøyet kan laste ned et JSON-skjema fra
|
||||
https://www.schemastore.org (eller den konfigurerte skjemakatalogen) når
|
||||
validering blir forespurt. Ingen data sendes eksternt.
|
||||
eta-calculator:
|
||||
title: ETA kalkulator
|
||||
description: En ETA (Estimert Tid for Ankomst) kalkulator for å anslå den
|
||||
@@ -4985,7 +4988,7 @@ tools:
|
||||
label-source-port: "Kildeport:"
|
||||
label-destination-port: "Destinasjonshavn:"
|
||||
label-chain: "Kjede:"
|
||||
label-rule-order: "Regelrekkefølge:"
|
||||
label-rule-order: "Innsettingsposisjon (tom = legg til på slutten):"
|
||||
title-generated-iptables-command: Genererte iptables-kommandoen
|
||||
tag-expression: Uttrykk
|
||||
tag-meaning: Betydning
|
||||
@@ -7871,6 +7874,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Velg maler (f.eks. node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Generere
|
||||
snapshot-used: Bruker det medfølgende mal-snapshotet fra {0}.
|
||||
externalAccess: Dette verktøyet laster ned .gitignore fra
|
||||
https://github.com/github/gitignore ved hjelp av Github API
|
||||
i-and-l-checker:
|
||||
@@ -8114,6 +8118,8 @@ tools:
|
||||
tag-replication-client: REPLIKASJONSKLIENT
|
||||
tag-replication-slave: REPLIKASJONSSLAVE
|
||||
tag-generate-sql-instructions: Generer SQL-instruksjoner
|
||||
error-oracle-password-double-quote: Oracle-passord kan ikke inneholde doble anførselstegn (")
|
||||
error-oracle-account-double-quote: Oracle-kontonavn kan ikke inneholde doble anførselstegn (")
|
||||
database-table-generator:
|
||||
title: Databasetabelgenerator
|
||||
description: Generer SQL CREATE TABLE for vanlige databaser
|
||||
@@ -8146,6 +8152,7 @@ tools:
|
||||
placeholder-select-templates: Velg maler
|
||||
title-preview: Forhåndsvisning
|
||||
tag-fetch-generate: Hent og generer
|
||||
snapshot-used: Bruker det medfølgende mal-snapshotet fra {0}.
|
||||
externalAccess: Dette verktøyet laster ned .gitattributes fra
|
||||
https://github.com/gitattributes/gitattributes ved hjelp av Github API.
|
||||
html-to-xhtml:
|
||||
@@ -8291,6 +8298,9 @@ tools:
|
||||
download-results-csv: Last ned resultater i CSV-format
|
||||
batch-lat-lng-converter: Batch Lat/Lng-konverter
|
||||
single-lat-lng-converter: Enkel bredde/lengde-omformer
|
||||
externalAccess: Dette verktøyet laster inn kartfliser fra OpenStreetMap eller
|
||||
den konfigurerte fliseserveren; koordinatene som vises sendes som
|
||||
fliseforespørsler.
|
||||
si-prefixes-converter:
|
||||
title: SI-prefikskonverterer
|
||||
description: Konverter mellom metriske prefikser
|
||||
@@ -10099,6 +10109,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hopp.statuskode
|
||||
tag-headers-body-preview: Forhåndsvisning av overskrifter og brødtekst
|
||||
tag-truncated: Avkortet
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Brøk → Desimaltall
|
||||
label-decimal-fraction: Desimal → Brøk
|
||||
label-inches: Tommer
|
||||
label-millimeters: "Millimeter:"
|
||||
label-mode: "Modus:"
|
||||
label-decimal-places: "Desimalplasser:"
|
||||
label-unit: "Enhet:"
|
||||
label-fraction-resolution: "Brøkdeloppløsning:"
|
||||
label-decimal-value: "Desimalverdi:"
|
||||
label-fraction: "Brøk:"
|
||||
placeholder-e-g-3-16-or-2-3-16: f.eks. 3/16 eller 2 3/16
|
||||
title-results: Resultater
|
||||
label-decimal-inches: "Desimaltommer:"
|
||||
tag-const-mode-ref: konstant modus = ref
|
||||
title: Brøk Desimalkonverter
|
||||
description: Konverter brøker til desimaltall og omvendt, inkludert tommer og
|
||||
metriske konverteringer.
|
||||
externalAccess: "null"
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: General
|
||||
title-channel-tests: Kanaltester
|
||||
title-bass-tests: Basstester
|
||||
title-treble-tests: Diskanttester
|
||||
title-custom-frequency: Tilpasset frekvens
|
||||
label-frequency-hz: "Frekvens (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Feie
|
||||
tag-white-noise: Hvit støy
|
||||
tag-pink-noise: Rosa støy
|
||||
tag-stop: Stoppe
|
||||
tag-left: Igjen
|
||||
tag-right: Høyre
|
||||
tag-play-this-frequency: Spill av denne frekvensen
|
||||
title: Lydtester
|
||||
description: Test høyttalerne og hodetelefonene dine ved å spille av testlyder.
|
||||
Juster volumet og sjekk lydkvaliteten.
|
||||
externalAccess: "null"
|
||||
spanCopyable:
|
||||
copy: Kopier til utklippstavlen
|
||||
copied: Kopiert!
|
||||
|
||||
+51
-1
@@ -451,6 +451,9 @@ tools:
|
||||
title: Upiększanie i formatowanie YAML
|
||||
description: Upiększ swój ciąg znaków YAML, tak aby był przyjazny i czytelny dla
|
||||
człowieka.
|
||||
externalAccess: To narzędzie może pobrać schemat JSON z
|
||||
https://www.schemastore.org (lub ze skonfigurowanego katalogu schematów)
|
||||
po zażądaniu walidacji. Żadne dane nie są wysyłane na zewnątrz.
|
||||
eta-calculator:
|
||||
title: Kalkulator ETA
|
||||
description: Kalkulator ETA (szacowanego czasu przybycia) umożliwiający
|
||||
@@ -4467,7 +4470,7 @@ tools:
|
||||
label-source-port: "Port źródłowy:"
|
||||
label-destination-port: "Port docelowy:"
|
||||
label-chain: "Łańcuch:"
|
||||
label-rule-order: "Kolejność zasad:"
|
||||
label-rule-order: "Pozycja wstawienia (puste = dodaj na końcu):"
|
||||
title-generated-iptables-command: Wygenerowano polecenie iptables
|
||||
tag-expression: Wyrażenie
|
||||
tag-meaning: Oznaczający
|
||||
@@ -7924,6 +7927,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Wybierz szablony (np. node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Spowodować
|
||||
snapshot-used: Korzystając z dołączonego szablonu migawki z {0}.
|
||||
externalAccess: To narzędzie pobiera .gitignore ze strony
|
||||
https://github.com/github/gitignore za pomocą interfejsu API Github
|
||||
i-and-l-checker:
|
||||
@@ -8167,6 +8171,8 @@ tools:
|
||||
tag-replication-client: KLIENT REPLIKACJI
|
||||
tag-replication-slave: PODWÓJNA REPLIKACJA
|
||||
tag-generate-sql-instructions: Generuj instrukcje SQL
|
||||
error-oracle-password-double-quote: Hasła Oracle nie mogą zawierać cudzysłowów (")
|
||||
error-oracle-account-double-quote: Nazwy kont Oracle nie mogą zawierać cudzysłowów (")
|
||||
database-table-generator:
|
||||
title: Generator tabel bazy danych
|
||||
description: Generuj polecenie SQL CREATE TABLE dla typowych baz danych
|
||||
@@ -8199,6 +8205,7 @@ tools:
|
||||
placeholder-select-templates: Wybierz szablony
|
||||
title-preview: Zapowiedź
|
||||
tag-fetch-generate: Pobierz i wygeneruj
|
||||
snapshot-used: Korzystając z dołączonego szablonu migawki z {0}.
|
||||
externalAccess: To narzędzie pobiera .gitattributes ze strony
|
||||
https://github.com/gitattributes/gitattributes za pomocą interfejsu API
|
||||
Github
|
||||
@@ -8346,6 +8353,9 @@ tools:
|
||||
download-results-csv: Pobierz wyniki w formacie CSV
|
||||
batch-lat-lng-converter: Konwerter szerokości/długości geograficznej partii
|
||||
single-lat-lng-converter: Pojedynczy konwerter szerokości geograficznej/długości geograficznej
|
||||
externalAccess: Narzędzie to ładuje kafelki mapy z OpenStreetMap lub
|
||||
skonfigurowanego serwera kafelków; wyświetlane współrzędne są wysyłane
|
||||
jako żądania kafelków.
|
||||
si-prefixes-converter:
|
||||
title: Konwerter prefiksów SI
|
||||
description: Konwersja między prefiksami metrycznymi
|
||||
@@ -10156,6 +10166,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 i kod_statusu_hopu
|
||||
tag-headers-body-preview: Podgląd nagłówków i treści
|
||||
tag-truncated: Kadłubowy
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Ułamek → Dziesiętny
|
||||
label-decimal-fraction: Dziesiętny → Ułamek
|
||||
label-inches: Cale
|
||||
label-millimeters: "Milimetry:"
|
||||
label-mode: "Tryb:"
|
||||
label-decimal-places: "Miejsca dziesiętne:"
|
||||
label-unit: "Jednostka:"
|
||||
label-fraction-resolution: "Rozdzielczość ułamkowa:"
|
||||
label-decimal-value: "Wartość dziesiętna:"
|
||||
label-fraction: "Frakcja:"
|
||||
placeholder-e-g-3-16-or-2-3-16: np. 3/16 lub 2 3/16
|
||||
title-results: Wyniki
|
||||
label-decimal-inches: "Cale dziesiętne:"
|
||||
tag-const-mode-ref: stały tryb = ref
|
||||
title: Konwerter ułamków dziesiętnych
|
||||
description: Zamień ułamki na dziesiętne i odwrotnie, w tym konwersję cali i
|
||||
jednostek metrycznych.
|
||||
externalAccess: nieważny
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Ogólny
|
||||
title-channel-tests: Testy kanałów
|
||||
title-bass-tests: Testy basowe
|
||||
title-treble-tests: Testy wysokich tonów
|
||||
title-custom-frequency: Częstotliwość niestandardowa
|
||||
label-frequency-hz: "Częstotliwość (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Zamiatać
|
||||
tag-white-noise: Biały szum
|
||||
tag-pink-noise: Różowy szum
|
||||
tag-stop: Zatrzymywać się
|
||||
tag-left: Lewy
|
||||
tag-right: Prawidłowy
|
||||
tag-play-this-frequency: Odtwórz tę częstotliwość
|
||||
title: Tester dźwięku
|
||||
description: Przetestuj głośniki i słuchawki, odtwarzając dźwięki testowe.
|
||||
Dostosuj głośność i sprawdź klarowność dźwięku.
|
||||
externalAccess: nieważny
|
||||
favoriteButton:
|
||||
remove: Usuń z ulubionych
|
||||
add: Dodaj do ulubionych
|
||||
|
||||
+51
-1
@@ -457,6 +457,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: Embelezar e formatar YAML
|
||||
description: Embeleze sua string YAML em um formato amigável e legível.
|
||||
externalAccess: Esta ferramenta pode baixar um esquema JSON de
|
||||
https://www.schemastore.org (ou do catálogo de esquemas configurado)
|
||||
quando a validação for solicitada. Nenhum dado é enviado externamente.
|
||||
eta-calculator:
|
||||
title: Calculadora de ETA
|
||||
description: Uma calculadora de ETA (Tempo Estimado de Chegada) para determinar
|
||||
@@ -4459,7 +4462,7 @@ tools:
|
||||
label-source-port: "Porta de origem:"
|
||||
label-destination-port: "Porto de destino:"
|
||||
label-chain: "Corrente:"
|
||||
label-rule-order: "Ordem das regras:"
|
||||
label-rule-order: "Posição de inserção (vazio = adicionar ao final):"
|
||||
title-generated-iptables-command: Comando iptables gerado
|
||||
tag-expression: Expressão
|
||||
tag-meaning: Significado
|
||||
@@ -7954,6 +7957,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Selecione modelos (por exemplo, node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Gerar
|
||||
snapshot-used: Usando o snapshot do modelo agrupado de {0}.
|
||||
externalAccess: Esta ferramenta baixa o arquivo .gitignore de
|
||||
https://github.com/github/gitignore usando a API do GitHub.
|
||||
i-and-l-checker:
|
||||
@@ -8201,6 +8205,8 @@ tools:
|
||||
tag-replication-client: CLIENTE DE REPLICAÇÃO
|
||||
tag-replication-slave: ESCRAVO DE REPLICAÇÃO
|
||||
tag-generate-sql-instructions: Gerar instruções SQL
|
||||
error-oracle-password-double-quote: As senhas da Oracle não podem conter aspas duplas ("").
|
||||
error-oracle-account-double-quote: Os nomes de contas Oracle não podem conter aspas duplas ("").
|
||||
database-table-generator:
|
||||
title: Gerador de tabelas de banco de dados
|
||||
description: Gere instruções SQL CREATE TABLE para bancos de dados comuns.
|
||||
@@ -8233,6 +8239,7 @@ tools:
|
||||
placeholder-select-templates: Selecione os modelos
|
||||
title-preview: Pré-visualização
|
||||
tag-fetch-generate: Buscar e gerar
|
||||
snapshot-used: Usando o snapshot do modelo agrupado de {0}.
|
||||
externalAccess: Esta ferramenta baixa arquivos .gitattributes de
|
||||
https://github.com/gitattributes/gitattributes usando a API do GitHub.
|
||||
html-to-xhtml:
|
||||
@@ -8379,6 +8386,9 @@ tools:
|
||||
download-results-csv: Baixar resultados em CSV
|
||||
batch-lat-lng-converter: Conversor de Latitude/Longitude em Lote
|
||||
single-lat-lng-converter: Conversor único de latitude/longitude
|
||||
externalAccess: Esta ferramenta carrega mosaicos de mapas do OpenStreetMap ou do
|
||||
servidor de mosaicos configurado; as coordenadas exibidas são enviadas
|
||||
como solicitações de mosaico.
|
||||
si-prefixes-converter:
|
||||
title: Conversor de prefixos SI
|
||||
description: Converter entre prefixos métricos
|
||||
@@ -10204,6 +10214,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Pré-visualização do cabeçalho e do corpo do texto
|
||||
tag-truncated: Truncado
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Fração → Decimal
|
||||
label-decimal-fraction: Decimal → Fração
|
||||
label-inches: Polegadas
|
||||
label-millimeters: "Milímetros:"
|
||||
label-mode: "Modo:"
|
||||
label-decimal-places: "Casas decimais:"
|
||||
label-unit: "Unidade:"
|
||||
label-fraction-resolution: "Resolução de frações:"
|
||||
label-decimal-value: "Valor decimal:"
|
||||
label-fraction: "Fração:"
|
||||
placeholder-e-g-3-16-or-2-3-16: "Exemplo: 3/16 ou 2 3/16"
|
||||
title-results: Resultados
|
||||
label-decimal-inches: "Polegadas decimais:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: Conversor de Frações para Decimais
|
||||
description: Converta frações em decimais e vice-versa, incluindo conversões
|
||||
entre polegadas e unidades métricas.
|
||||
externalAccess: nulo
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Em geral
|
||||
title-channel-tests: Testes de canal
|
||||
title-bass-tests: Testes de baixo
|
||||
title-treble-tests: Testes Triplos
|
||||
title-custom-frequency: Frequência personalizada
|
||||
label-frequency-hz: "Frequência (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Varrer
|
||||
tag-white-noise: Ruído branco
|
||||
tag-pink-noise: Ruído Rosa
|
||||
tag-stop: Parar
|
||||
tag-left: Esquerda
|
||||
tag-right: Certo
|
||||
tag-play-this-frequency: Reproduza esta frequência
|
||||
title: Testador de som
|
||||
description: Teste seus alto-falantes e fones de ouvido reproduzindo sons de
|
||||
teste. Ajuste o volume e verifique a clareza do áudio.
|
||||
externalAccess: nulo
|
||||
spanCopyable:
|
||||
copy: Copiar para a área de transferência
|
||||
copied: Copiado!
|
||||
|
||||
+51
-1
@@ -727,6 +727,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: Форматирование YAML
|
||||
description: Преобразуйте свою YAML-строку в удобный для чтения формат.
|
||||
externalAccess: Этот инструмент может загрузить JSON-схему с сайта
|
||||
https://www.schemastore.org (или из настроенного каталога схем) при
|
||||
запросе проверки. Данные не передаются вовне.
|
||||
eta-calculator:
|
||||
title: Калькулятор ETA
|
||||
description: Калькулятор ETA (Estimated Time of Arrival) для определения
|
||||
@@ -5671,7 +5674,7 @@ tools:
|
||||
label-source-port: "Исходный порт:"
|
||||
label-destination-port: "Порт назначения:"
|
||||
label-chain: "Цепь:"
|
||||
label-rule-order: "Порядок правил:"
|
||||
label-rule-order: "Позиция вставки (пусто = добавить в конец):"
|
||||
title-generated-iptables-command: Сгенерированная команда iptables
|
||||
tag-expression: Выражение
|
||||
tag-meaning: Значение
|
||||
@@ -7935,6 +7938,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Выберите шаблоны (например, node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Генерировать
|
||||
snapshot-used: Используется снимок шаблона из комплекта {0}.
|
||||
externalAccess: Этот инструмент загружает файл .gitignore с
|
||||
https://github.com/github/gitignore, используя API Github.
|
||||
i-and-l-checker:
|
||||
@@ -8178,6 +8182,8 @@ tools:
|
||||
tag-replication-client: КЛИЕНТ РЕПЛИКАЦИИ
|
||||
tag-replication-slave: РАБ-РЕПЛИКАЦИЯ
|
||||
tag-generate-sql-instructions: Сгенерировать инструкции SQL
|
||||
error-oracle-password-double-quote: Пароли Oracle не могут содержать двойные кавычки (")
|
||||
error-oracle-account-double-quote: Имена учетных записей Oracle не могут содержать двойные кавычки (")
|
||||
database-table-generator:
|
||||
title: Генератор таблиц базы данных
|
||||
description: Сгенерируйте SQL-запрос CREATE TABLE для распространенных баз данных.
|
||||
@@ -8210,6 +8216,7 @@ tools:
|
||||
placeholder-select-templates: Выберите шаблоны
|
||||
title-preview: Предварительный просмотр
|
||||
tag-fetch-generate: Получить и сгенерировать
|
||||
snapshot-used: Используется снимок шаблона из комплекта {0}.
|
||||
externalAccess: Этот инструмент загружает файлы .gitattributes с
|
||||
https://github.com/gitattributes/gitattributes, используя API Github.
|
||||
html-to-xhtml:
|
||||
@@ -8358,6 +8365,9 @@ tools:
|
||||
download-results-csv: Скачать результаты в формате CSV
|
||||
batch-lat-lng-converter: Пакетный конвертер широты/долготы
|
||||
single-lat-lng-converter: Конвертер широты/долготы в одном направлении
|
||||
externalAccess: Этот инструмент загружает фрагменты карты из OpenStreetMap или с
|
||||
настроенного сервера фрагментов; отображаемые координаты отправляются в
|
||||
виде запросов на получение фрагментов карты.
|
||||
si-prefixes-converter:
|
||||
title: Конвертер префиксов СИ
|
||||
description: Преобразование между метрическими префиксами
|
||||
@@ -10197,6 +10207,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Предварительный просмотр заголовков и основного текста
|
||||
tag-truncated: Усеченный
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Дробь → Десятичная дробь
|
||||
label-decimal-fraction: Десятичная дробь → Дробь
|
||||
label-inches: Дюймы
|
||||
label-millimeters: "Миллиметры:"
|
||||
label-mode: "Режим:"
|
||||
label-decimal-places: "Десятичные знаки:"
|
||||
label-unit: "Единица:"
|
||||
label-fraction-resolution: "Разрешение по дробям:"
|
||||
label-decimal-value: "Десятичное значение:"
|
||||
label-fraction: "Дробь:"
|
||||
placeholder-e-g-3-16-or-2-3-16: например, 3/16 или 2 3/16
|
||||
title-results: Результаты
|
||||
label-decimal-inches: "Десятичные дюймы:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: Конвертер дробей и десятичных чисел
|
||||
description: Преобразовывать дроби в десятичные числа и наоборот, включая
|
||||
переводы в дюймы и метрическую систему.
|
||||
externalAccess: нулевой
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Общий
|
||||
title-channel-tests: Тесты каналов
|
||||
title-bass-tests: Тесты басов
|
||||
title-treble-tests: Тесты на тройной удар
|
||||
title-custom-frequency: Пользовательская частота
|
||||
label-frequency-hz: "Частота (Гц):"
|
||||
tag-440hz-la: 440 Гц / La
|
||||
tag-sweep: Мести
|
||||
tag-white-noise: Белый шум
|
||||
tag-pink-noise: Розовый шум
|
||||
tag-stop: Останавливаться
|
||||
tag-left: Левый
|
||||
tag-right: Верно
|
||||
tag-play-this-frequency: Воспроизвести на этой частоте
|
||||
title: Тестер звука
|
||||
description: Проверьте работу колонок и наушников, воспроизведя тестовые звуки.
|
||||
Отрегулируйте громкость и проверьте чистоту звука.
|
||||
externalAccess: нулевой
|
||||
spanCopyable:
|
||||
copy: Копировать в буфер обмена
|
||||
copied: Скопировано!
|
||||
|
||||
+51
-1
@@ -650,6 +650,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: YAML güzelleştirici
|
||||
description: YAML dosyanı göze hitap eden şekilde formatla.
|
||||
externalAccess: Bu araç, doğrulama isteği geldiğinde https://www.schemastore.org
|
||||
adresinden (veya yapılandırılmış şema kataloğundan) bir JSON şeması
|
||||
indirebilir. Dışarıya hiçbir veri gönderilmez.
|
||||
eta-calculator:
|
||||
title: ETA hesaplayıcı
|
||||
description: ETA (Estimated Time of Arrival)Tahmini varış zamanı hesaplayıcı
|
||||
@@ -4705,7 +4708,7 @@ tools:
|
||||
label-source-port: "Kaynak Portu:"
|
||||
label-destination-port: "Hedef Liman:"
|
||||
label-chain: "Zincir:"
|
||||
label-rule-order: "Kural Sırası:"
|
||||
label-rule-order: "Ekleme konumu (boş = sona ekle):"
|
||||
title-generated-iptables-command: Oluşturulan iptables komutu
|
||||
tag-expression: İfade
|
||||
tag-meaning: Anlam
|
||||
@@ -7886,6 +7889,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Şablonları seçin (örneğin node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Oluştur
|
||||
snapshot-used: "{0}'dan gelen paketlenmiş şablon anlık görüntüsünü kullanıyoruz."
|
||||
externalAccess: Bu araç, Github API'sini kullanarak
|
||||
https://github.com/github/gitignore adresinden .gitignore dosyasını
|
||||
indirir.
|
||||
@@ -8135,6 +8139,8 @@ tools:
|
||||
tag-replication-client: ÇOĞALTMA İSTEMCİSİ
|
||||
tag-replication-slave: ÇOĞALTMA KÖLESİ
|
||||
tag-generate-sql-instructions: SQL Talimatları Oluştur
|
||||
error-oracle-password-double-quote: Oracle şifrelerinde çift tırnak (") kullanılamaz.
|
||||
error-oracle-account-double-quote: Oracle hesap adları çift tırnak (") içeremez.
|
||||
database-table-generator:
|
||||
title: Veritabanı Tablosu Oluşturucu
|
||||
description: Yaygın veritabanları için SQL CREATE TABLE sorgusu oluşturun.
|
||||
@@ -8167,6 +8173,7 @@ tools:
|
||||
placeholder-select-templates: Şablonları seçin
|
||||
title-preview: Önizleme
|
||||
tag-fetch-generate: Getir ve Oluştur
|
||||
snapshot-used: "{0}'dan gelen paketlenmiş şablon anlık görüntüsünü kullanıyoruz."
|
||||
externalAccess: Bu araç, Github API'sini kullanarak
|
||||
https://github.com/gitattributes/gitattributes adresinden .gitattributes
|
||||
dosyasını indirir.
|
||||
@@ -8314,6 +8321,9 @@ tools:
|
||||
download-results-csv: Sonuçları CSV olarak indir
|
||||
batch-lat-lng-converter: Toplu Enlem/Boylam Dönüştürücü
|
||||
single-lat-lng-converter: Tek Enlem/Boylam Dönüştürücü
|
||||
externalAccess: Bu araç, OpenStreetMap'ten veya yapılandırılmış karo
|
||||
sunucusundan harita karolarını yükler; gösterilen koordinatlar karo
|
||||
istekleri olarak gönderilir.
|
||||
si-prefixes-converter:
|
||||
title: SI Önekleri Dönüştürücü
|
||||
description: Metrik Ön Ekler Arasında Dönüştürme
|
||||
@@ -10144,6 +10154,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Başlıklar ve Gövde Önizlemesi
|
||||
tag-truncated: Kısaltılmış
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Kesir → Ondalık
|
||||
label-decimal-fraction: Ondalık → Kesir
|
||||
label-inches: İnç
|
||||
label-millimeters: "Milimetre:"
|
||||
label-mode: "Mod:"
|
||||
label-decimal-places: "Ondalık Basamaklar:"
|
||||
label-unit: "Birim:"
|
||||
label-fraction-resolution: "Kesir Çözünürlüğü:"
|
||||
label-decimal-value: "Ondalık Değer:"
|
||||
label-fraction: "Kesir:"
|
||||
placeholder-e-g-3-16-or-2-3-16: Örneğin 3/16 veya 2 3/16
|
||||
title-results: Sonuçlar
|
||||
label-decimal-inches: "Ondalık İnç:"
|
||||
tag-const-mode-ref: sabit mod = referans
|
||||
title: Kesirli Ondalık Sayı Dönüştürücü
|
||||
description: Kesirleri ondalık sayılara ve ondalık sayıları kesirlere
|
||||
dönüştürün; inç ve metrik birimler arasındaki dönüşümleri de içerir.
|
||||
externalAccess: hükümsüz
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Genel
|
||||
title-channel-tests: Kanal Testleri
|
||||
title-bass-tests: Bas Testleri
|
||||
title-treble-tests: Üçlü Testler
|
||||
title-custom-frequency: Özel Frekans
|
||||
label-frequency-hz: "Frekans (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Süpürmek
|
||||
tag-white-noise: Beyaz Gürültü
|
||||
tag-pink-noise: Pembe Gürültü
|
||||
tag-stop: Durmak
|
||||
tag-left: Sol
|
||||
tag-right: Sağ
|
||||
tag-play-this-frequency: Bu frekansı çalın
|
||||
title: Ses Test Cihazı
|
||||
description: Hoparlörlerinizi ve kulaklıklarınızı test etmek için test sesleri
|
||||
çalın. Ses seviyesini ayarlayın ve ses netliğini kontrol edin.
|
||||
externalAccess: hükümsüz
|
||||
about:
|
||||
alltools-title: Tüm {toolsCount} Araç
|
||||
tools:
|
||||
|
||||
+51
-1
@@ -715,6 +715,9 @@ tools:
|
||||
yaml-prettify:
|
||||
title: Форматування YAML
|
||||
description: Перетворіть свій YAML-рядок у зручний для читання формат.
|
||||
externalAccess: Цей інструмент може завантажити схему JSON з
|
||||
https://www.schemastore.org (або з каталогу налаштованих схем), коли
|
||||
запитується перевірка. Дані не надсилаються зовні.
|
||||
eta-calculator:
|
||||
title: Калькулятор ETA
|
||||
description: Калькулятор ETA (Estimated Time of Arrival) для визначення
|
||||
@@ -5642,7 +5645,7 @@ tools:
|
||||
label-source-port: "Порт джерела:"
|
||||
label-destination-port: "Порт призначення:"
|
||||
label-chain: "Ланцюг:"
|
||||
label-rule-order: "Порядок правил:"
|
||||
label-rule-order: "Позиція вставки (пусто = додати в кінець):"
|
||||
title-generated-iptables-command: Згенерована команда iptables
|
||||
tag-expression: Вираз
|
||||
tag-meaning: Значення
|
||||
@@ -7902,6 +7905,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: Виберіть шаблони (наприклад, node, python, vue)
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Згенерувати
|
||||
snapshot-used: Використовується знімок шаблону з пакета {0}.
|
||||
externalAccess: Цей інструмент можна завантажити з файлу .gitignore з
|
||||
https://github.com/github/gitignore за допомогою Github API.
|
||||
i-and-l-checker:
|
||||
@@ -8146,6 +8150,8 @@ tools:
|
||||
tag-replication-client: КЛІЄНТ РЕПЛІКАЦІЇ
|
||||
tag-replication-slave: РЕПЛІКАЦІЙНИЙ РАБ
|
||||
tag-generate-sql-instructions: Генерація SQL-інструкцій
|
||||
error-oracle-password-double-quote: Паролі Oracle не можуть містити подвійні лапки (")
|
||||
error-oracle-account-double-quote: Імена облікових записів Oracle не можуть містити подвійні лапки (")
|
||||
database-table-generator:
|
||||
title: Генератор таблиць бази даних
|
||||
description: Генерація SQL CREATE TABLE для поширених баз даних
|
||||
@@ -8178,6 +8184,7 @@ tools:
|
||||
placeholder-select-templates: Вибрати шаблони
|
||||
title-preview: Попередній перегляд
|
||||
tag-fetch-generate: Отримати та згенерувати
|
||||
snapshot-used: Використовується знімок шаблону з пакета {0}.
|
||||
externalAccess: Цей інструмент можна завантажити з файлу .gitattributes за
|
||||
посиланням https://github.com/gitattributes/gitattributes за допомогою
|
||||
Github API.
|
||||
@@ -8325,6 +8332,9 @@ tools:
|
||||
download-results-csv: Завантажити результати у форматі CSV
|
||||
batch-lat-lng-converter: Пакетний конвертер широти/мовлення
|
||||
single-lat-lng-converter: Одинарний конвертер Lat/Lng
|
||||
externalAccess: Цей інструмент завантажує тайли карти з OpenStreetMap або
|
||||
налаштованого сервера тайлів; показані координати надсилаються як запити
|
||||
тайлів.
|
||||
si-prefixes-converter:
|
||||
title: Конвертер префіксів СІ
|
||||
description: Конвертувати між метричними префіксами
|
||||
@@ -10141,6 +10151,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Попередній перегляд заголовків і основного тексту
|
||||
tag-truncated: Укорочено
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Дріб → Десятковий дріб
|
||||
label-decimal-fraction: Десятковий дріб → Дріб
|
||||
label-inches: Дюйми
|
||||
label-millimeters: "Міліметри:"
|
||||
label-mode: "Режим:"
|
||||
label-decimal-places: "Десяткові розряди:"
|
||||
label-unit: "Одиниця:"
|
||||
label-fraction-resolution: "Роздільна здатність дробів:"
|
||||
label-decimal-value: "Десяткове значення:"
|
||||
label-fraction: "Дріб:"
|
||||
placeholder-e-g-3-16-or-2-3-16: наприклад, 3/16 або 2 3/16
|
||||
title-results: Результати
|
||||
label-decimal-inches: "Десяткові дюйми:"
|
||||
tag-const-mode-ref: константний режим = посилання
|
||||
title: Конвертер десяткових дробів
|
||||
description: Перетворюйте дроби на десяткові дроби та навпаки, включаючи дюйми
|
||||
та метричні перетворення.
|
||||
externalAccess: нульовий
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Загальне
|
||||
title-channel-tests: Тести каналів
|
||||
title-bass-tests: Тести басів
|
||||
title-treble-tests: Тести високих частот
|
||||
title-custom-frequency: Користувацька частота
|
||||
label-frequency-hz: "Частота (Гц):"
|
||||
tag-440hz-la: 440 Гц / Ла
|
||||
tag-sweep: Підмітання
|
||||
tag-white-noise: Білий шум
|
||||
tag-pink-noise: Рожевий шум
|
||||
tag-stop: СТІЙ
|
||||
tag-left: Ліворуч
|
||||
tag-right: Праворуч
|
||||
tag-play-this-frequency: Відтворювати на цій частоті
|
||||
title: Звукотестер
|
||||
description: Перевірте свої динаміки та навушники, відтворивши тестові звуки.
|
||||
Відрегулюйте гучність та перевірте чіткість звуку.
|
||||
externalAccess: нульовий
|
||||
spanCopyable:
|
||||
copy: Копіювати в буфер обміну
|
||||
copied: Скопійовано!
|
||||
|
||||
+50
-1
@@ -726,6 +726,9 @@ tools:
|
||||
title: Định dạng và làm đẹp YAML
|
||||
description: Định dạng chuỗi YAML của bạn thành một định dạng dễ đọc và thân
|
||||
thiện với con người.
|
||||
externalAccess: Công cụ này có thể tải xuống lược đồ JSON từ
|
||||
https://www.schemastore.org (hoặc danh mục lược đồ đã được cấu hình) khi
|
||||
yêu cầu xác thực được gửi đi. Không có dữ liệu nào được gửi ra bên ngoài.
|
||||
eta-calculator:
|
||||
title: Máy tính ETA
|
||||
description: Một máy tính ETA (Thời gian dự kiến đến) để biết thời gian kết thúc
|
||||
@@ -4978,7 +4981,7 @@ tools:
|
||||
label-source-port: "Cổng nguồn:"
|
||||
label-destination-port: "Cảng đích:"
|
||||
label-chain: "Xích:"
|
||||
label-rule-order: "Thứ tự quy tắc:"
|
||||
label-rule-order: "Vị trí chèn (để trống = thêm vào cuối):"
|
||||
title-generated-iptables-command: Đã tạo lệnh iptables
|
||||
tag-expression: Sự biểu lộ
|
||||
tag-meaning: Nghĩa
|
||||
@@ -7868,6 +7871,7 @@ tools:
|
||||
placeholder-select-templates-e-g-node-python-vue: "Chọn mẫu (ví dụ: node, python, vue)"
|
||||
title-gitignore: .gitignore
|
||||
tag-generate: Phát ra
|
||||
snapshot-used: Sử dụng ảnh chụp mẫu được đóng gói từ {0}.
|
||||
externalAccess: Công cụ này tải xuống tệp .gitignore từ
|
||||
https://github.com/github/gitignore bằng API của Github.
|
||||
i-and-l-checker:
|
||||
@@ -8113,6 +8117,8 @@ tools:
|
||||
tag-replication-client: MÁY KHÁCH SAO CHÉP
|
||||
tag-replication-slave: NÔ LỆ SAO CHÉP
|
||||
tag-generate-sql-instructions: Tạo hướng dẫn SQL
|
||||
error-oracle-password-double-quote: Mật khẩu Oracle không được chứa dấu ngoặc kép (")
|
||||
error-oracle-account-double-quote: Tên tài khoản Oracle không được chứa dấu ngoặc kép (")
|
||||
database-table-generator:
|
||||
title: Trình tạo bảng cơ sở dữ liệu
|
||||
description: Tạo câu lệnh SQL CREATE TABLE cho các cơ sở dữ liệu thông dụng.
|
||||
@@ -8145,6 +8151,7 @@ tools:
|
||||
placeholder-select-templates: Chọn mẫu
|
||||
title-preview: Xem trước
|
||||
tag-fetch-generate: Tìm nạp & Tạo
|
||||
snapshot-used: Sử dụng ảnh chụp mẫu được đóng gói từ {0}.
|
||||
externalAccess: Công cụ này tải xuống tập tin .gitattributes từ
|
||||
https://github.com/gitattributes/gitattributes bằng API của Github.
|
||||
html-to-xhtml:
|
||||
@@ -8291,6 +8298,8 @@ tools:
|
||||
download-results-csv: Tải xuống kết quả CSV
|
||||
batch-lat-lng-converter: Bộ chuyển đổi vĩ độ/kinh độ hàng loạt
|
||||
single-lat-lng-converter: Bộ chuyển đổi vĩ độ/kinh độ đơn
|
||||
externalAccess: Công cụ này tải các ô bản đồ từ OpenStreetMap hoặc máy chủ ô bản
|
||||
đồ đã được cấu hình; tọa độ hiển thị được gửi dưới dạng yêu cầu ô bản đồ.
|
||||
si-prefixes-converter:
|
||||
title: Bộ chuyển đổi tiền tố SI
|
||||
description: Chuyển đổi giữa các tiền tố hệ mét
|
||||
@@ -10111,6 +10120,46 @@ tools:
|
||||
tag-300-hop-status-code: = 300 && hop.status_code
|
||||
tag-headers-body-preview: Xem trước tiêu đề và nội dung
|
||||
tag-truncated: bị cắt ngắn
|
||||
fraction-decimal-converter:
|
||||
texts:
|
||||
label-fraction-decimal: Phân số → Số thập phân
|
||||
label-decimal-fraction: Số thập phân → Phân số
|
||||
label-inches: Inch
|
||||
label-millimeters: "Milimét:"
|
||||
label-mode: "Cách thức:"
|
||||
label-decimal-places: "Số chữ số thập phân:"
|
||||
label-unit: "Đơn vị:"
|
||||
label-fraction-resolution: "Phân giải phân số:"
|
||||
label-decimal-value: "Giá trị thập phân:"
|
||||
label-fraction: "Phân số:"
|
||||
placeholder-e-g-3-16-or-2-3-16: "Ví dụ: 3/16 hoặc 2 3/16"
|
||||
title-results: Kết quả
|
||||
label-decimal-inches: "Inch thập phân:"
|
||||
tag-const-mode-ref: const mode = ref
|
||||
title: Bộ chuyển đổi phân số sang số thập phân
|
||||
description: Chuyển đổi phân số sang số thập phân và ngược lại, bao gồm cả
|
||||
chuyển đổi từ inch sang hệ mét.
|
||||
externalAccess: vô giá trị
|
||||
sound-tester:
|
||||
texts:
|
||||
title-general: Tổng quan
|
||||
title-channel-tests: Kiểm tra kênh
|
||||
title-bass-tests: Kiểm tra âm trầm
|
||||
title-treble-tests: Bài kiểm tra ba lần
|
||||
title-custom-frequency: Tần số tùy chỉnh
|
||||
label-frequency-hz: "Tần số (Hz):"
|
||||
tag-440hz-la: 440Hz / La
|
||||
tag-sweep: Quét
|
||||
tag-white-noise: Tiếng ồn trắng
|
||||
tag-pink-noise: Tiếng ồn hồng
|
||||
tag-stop: Dừng lại
|
||||
tag-left: Bên trái
|
||||
tag-right: Phải
|
||||
tag-play-this-frequency: Phát tần số này
|
||||
title: Máy kiểm tra âm thanh
|
||||
description: Kiểm tra loa và tai nghe bằng cách phát thử âm thanh. Điều chỉnh âm
|
||||
lượng và kiểm tra độ rõ nét của âm thanh.
|
||||
externalAccess: vô giá trị
|
||||
spanCopyable:
|
||||
copy: Sao chép vào bảng tạm
|
||||
copied: Đã sao chép!
|
||||
|
||||
+9767
File diff suppressed because it is too large.
Load diff
+3584
-3516
File diff suppressed because it is too large.
Load diff
@@ -53,6 +53,10 @@ server {
|
||||
# index.html below and is served as text/html with a 200, which the browser rejects
|
||||
# with an opaque MIME error instead of a plain 404.
|
||||
location ~ ^/(?:.*/)?assets/(?<asset>.+)$ {
|
||||
# Serve gzip sidecars when supported, including requests from reverse proxies.
|
||||
gzip_static on;
|
||||
gzip_proxied any;
|
||||
gzip_vary on;
|
||||
try_files /assets/$asset =404;
|
||||
}
|
||||
|
||||
|
||||
+12
-3
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "it-tools",
|
||||
"version": "2026.9.27",
|
||||
"version": "2026.10.25",
|
||||
"description": "Collection of handy online tools for developers, with great UX. ",
|
||||
"keywords": [
|
||||
"converter",
|
||||
@@ -37,6 +37,7 @@
|
||||
"release": "node ./scripts/release.mjs",
|
||||
"script:extract:desc": "node ./scripts/extract-tools-desc.mjs",
|
||||
"script:extract:strings": "node ./scripts/extract-tools-strings.mjs",
|
||||
"script:update:git-templates": "node ./scripts/update-git-templates.mjs",
|
||||
"script:translate-missing": "node ./scripts/translate-missings.mjs -e ./locales/en.yml -t ./locales/*.yml",
|
||||
"vue-i18n-extract": "vue-i18n-extract report --vueFiles 'src/**/*.?(ts|vue)' --languageFiles 'locales/*.yml'",
|
||||
"precommit": "pnpm install --ignore-scripts && pnpm lint:fix && pnpm typecheck"
|
||||
@@ -64,9 +65,11 @@
|
||||
"@date-fns/utc": "^2.1.1",
|
||||
"@dice-roller/rpg-dice-roller": "^5.5.1",
|
||||
"@faker-js/faker": "^10.5.0",
|
||||
"@ffmpeg/core": "0.12.10",
|
||||
"@ffmpeg/ffmpeg": "^0.12.15",
|
||||
"@ffmpeg/util": "^0.12.2",
|
||||
"@finegym/fitness-calc": "^1.0.1",
|
||||
"@fontsource/open-sans": "^5.3.0",
|
||||
"@fontsource/varela-round": "^5.3.0",
|
||||
"@fortawesome/fontawesome-svg-core": "^7.3.0",
|
||||
"@fortawesome/free-solid-svg-icons": "^7.3.0",
|
||||
"@fortawesome/vue-fontawesome": "^3.3.1",
|
||||
@@ -90,6 +93,8 @@
|
||||
"@sindresorhus/slugify": "^3.0.0",
|
||||
"@skeepit/unicode-to-gsm7": "^1.0.0",
|
||||
"@tabler/icons-vue": "^3.44.0",
|
||||
"@tesseract.js-data/chi_sim": "^1.0.0",
|
||||
"@tesseract.js-data/eng": "^1.0.0",
|
||||
"@tiptap/core": "^3.31.3",
|
||||
"@tiptap/extension-color": "^3.31.3",
|
||||
"@tiptap/extension-gapcursor": "^3.31.3",
|
||||
@@ -156,12 +161,12 @@
|
||||
"cron-parser": "5.10.0",
|
||||
"cron-validator": "^1.4.0",
|
||||
"cronstrue": "^3.24.0",
|
||||
"cropperjs": "^1.6.3",
|
||||
"cross-spawn": "^7.0.6",
|
||||
"crypto-es": "^3.1.3",
|
||||
"csstoxpath": "^2.0.0",
|
||||
"curlconverter": "^4.12.0",
|
||||
"currency-codes-ts": "^3.0.0",
|
||||
"currency-exchanger-js": "^1.0.4",
|
||||
"damerau-levenshtein": "^1.0.8",
|
||||
"data-guardian": "^1.1.4",
|
||||
"date-fns": "^4.4.0",
|
||||
@@ -183,6 +188,7 @@
|
||||
"dom-to-image-more": "^3.10.0",
|
||||
"dompurify": "^3.4.16",
|
||||
"duration-fns": "^3.0.2",
|
||||
"echarts": "^6.1.0",
|
||||
"email-bounce-parser-browser": "^1.1.0",
|
||||
"email-normalizer": "^1.0.0",
|
||||
"emojilib": "^4.0.3",
|
||||
@@ -319,6 +325,7 @@
|
||||
"postal-mime": "^2.7.5",
|
||||
"potrace": "^2.1.8",
|
||||
"pp-qr-code": "^0.6.4",
|
||||
"prettier": "^3.9.9",
|
||||
"pretty-ms": "^9.3.0",
|
||||
"proj4": "^2.20.9",
|
||||
"proj4-list": "^1.0.4",
|
||||
@@ -343,6 +350,7 @@
|
||||
"safe-license-list": "^0.1.2",
|
||||
"sandybox": "^1.1.2",
|
||||
"sanitize-html": "^2.17.7",
|
||||
"screenfull": "^5.2.0",
|
||||
"shamirs-secret-sharing": "^2.0.1",
|
||||
"shiki": "1.29.2",
|
||||
"silly-password-generator": "^1.0.29",
|
||||
@@ -360,6 +368,7 @@
|
||||
"swagger-ui-dist": "^5.32.8",
|
||||
"swap-case": "^3.0.3",
|
||||
"tesseract.js": "^7.0.0",
|
||||
"tesseract.js-core": "7.0.0",
|
||||
"tick-time": "^1.0.1",
|
||||
"tidy-url": "^1.18.3",
|
||||
"title-case": "^4.3.2",
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
diff --git a/dist/src/shell/webParser.js b/dist/src/shell/webParser.js
|
||||
index 1b3bab1a4789e926fbe07786188d1dcddf655489..39ac6d3a8f4f5ac007d4dc1e2da272e2cc5b9088 100644
|
||||
--- a/dist/src/shell/webParser.js
|
||||
+++ b/dist/src/shell/webParser.js
|
||||
@@ -2,13 +2,17 @@
|
||||
import Parser from "web-tree-sitter";
|
||||
// NOTE: top-level await requires Safari 15+
|
||||
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await#browser_compatibility
|
||||
+// The wasm files are served next to the app (it-tools ships them in public/). Resolve them
|
||||
+// against the document's <base href> rather than the domain root, so the app also works
|
||||
+// when it is served from a subfolder.
|
||||
+const appBase = document.querySelector("base")?.href ?? new URL("/", location.href).href;
|
||||
await Parser.init({
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
locateFile(scriptName, scriptDirectory) {
|
||||
- return "/" + scriptName;
|
||||
+ return new URL(scriptName, appBase).href;
|
||||
},
|
||||
});
|
||||
-const Bash = await Parser.Language.load("/tree-sitter-bash.wasm");
|
||||
+const Bash = await Parser.Language.load(new URL("tree-sitter-bash.wasm", appBase).href);
|
||||
const parser = new Parser();
|
||||
parser.setLanguage(Bash);
|
||||
export default parser;
|
||||
Generated
+98
-38
@@ -197,6 +197,7 @@ overrides:
|
||||
xlsx: https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz
|
||||
|
||||
patchedDependencies:
|
||||
curlconverter@4.12.0: b40c0006cd2bef89a2724de5f8450081db44a9ab7eae38d4ed93538c40843c9d
|
||||
esm-potrace-wasm: a60b9e91d34bbc890f0296bd36e7e761e00b4142552591150b6e65975bbab79e
|
||||
node-forge@1.4.0: 557e3967816806d38c1c671a270da461ac5eeb4e4db6e7826fc462977f4e1760
|
||||
run-pace: 5633db584ff11c2424d8f7bcb08af1037e77559654a35fa9d4093da1ef8b744d
|
||||
@@ -271,15 +272,21 @@ importers:
|
||||
'@faker-js/faker':
|
||||
specifier: ^10.5.0
|
||||
version: 10.5.0
|
||||
'@ffmpeg/core':
|
||||
specifier: 0.12.10
|
||||
version: 0.12.10
|
||||
'@ffmpeg/ffmpeg':
|
||||
specifier: ^0.12.15
|
||||
version: 0.12.15
|
||||
'@ffmpeg/util':
|
||||
specifier: ^0.12.2
|
||||
version: 0.12.2
|
||||
'@finegym/fitness-calc':
|
||||
specifier: ^1.0.1
|
||||
version: 1.0.1
|
||||
'@fontsource/open-sans':
|
||||
specifier: ^5.3.0
|
||||
version: 5.3.0
|
||||
'@fontsource/varela-round':
|
||||
specifier: ^5.3.0
|
||||
version: 5.3.0
|
||||
'@fortawesome/fontawesome-svg-core':
|
||||
specifier: ^7.3.0
|
||||
version: 7.3.0
|
||||
@@ -349,6 +356,12 @@ importers:
|
||||
'@tabler/icons-vue':
|
||||
specifier: ^3.44.0
|
||||
version: 3.44.0(vue@3.5.39(typescript@6.0.3))
|
||||
'@tesseract.js-data/chi_sim':
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
'@tesseract.js-data/eng':
|
||||
specifier: ^1.0.0
|
||||
version: 1.0.0
|
||||
'@tiptap/core':
|
||||
specifier: ^3.31.3
|
||||
version: 3.31.3(@tiptap/pm@3.31.3)
|
||||
@@ -547,6 +560,9 @@ importers:
|
||||
cronstrue:
|
||||
specifier: ^3.24.0
|
||||
version: 3.24.0
|
||||
cropperjs:
|
||||
specifier: ^1.6.3
|
||||
version: 1.6.3
|
||||
cross-spawn:
|
||||
specifier: ^7.0.6
|
||||
version: 7.0.6
|
||||
@@ -558,13 +574,10 @@ importers:
|
||||
version: 2.0.0
|
||||
curlconverter:
|
||||
specifier: ^4.12.0
|
||||
version: 4.12.0
|
||||
version: 4.12.0(patch_hash=b40c0006cd2bef89a2724de5f8450081db44a9ab7eae38d4ed93538c40843c9d)
|
||||
currency-codes-ts:
|
||||
specifier: ^3.0.0
|
||||
version: 3.0.0
|
||||
currency-exchanger-js:
|
||||
specifier: ^1.0.4
|
||||
version: 1.0.4
|
||||
damerau-levenshtein:
|
||||
specifier: ^1.0.8
|
||||
version: 1.0.8
|
||||
@@ -628,6 +641,9 @@ importers:
|
||||
duration-fns:
|
||||
specifier: ^3.0.2
|
||||
version: 3.0.2
|
||||
echarts:
|
||||
specifier: ^6.1.0
|
||||
version: 6.1.0
|
||||
email-bounce-parser-browser:
|
||||
specifier: ^1.1.0
|
||||
version: 1.1.0
|
||||
@@ -1036,6 +1052,9 @@ importers:
|
||||
pp-qr-code:
|
||||
specifier: ^0.6.4
|
||||
version: 0.6.4
|
||||
prettier:
|
||||
specifier: ^3.9.9
|
||||
version: 3.9.9
|
||||
pretty-ms:
|
||||
specifier: ^9.3.0
|
||||
version: 9.3.0
|
||||
@@ -1108,6 +1127,9 @@ importers:
|
||||
sanitize-html:
|
||||
specifier: ^2.17.7
|
||||
version: 2.17.7
|
||||
screenfull:
|
||||
specifier: ^5.2.0
|
||||
version: 5.2.0
|
||||
shamirs-secret-sharing:
|
||||
specifier: ^2.0.1
|
||||
version: 2.0.1
|
||||
@@ -1159,6 +1181,9 @@ importers:
|
||||
tesseract.js:
|
||||
specifier: ^7.0.0
|
||||
version: 7.0.0
|
||||
tesseract.js-core:
|
||||
specifier: 7.0.0
|
||||
version: 7.0.0
|
||||
tick-time:
|
||||
specifier: ^1.0.1
|
||||
version: 1.0.1
|
||||
@@ -2512,6 +2537,10 @@ packages:
|
||||
resolution: {integrity: sha512-bsxD8WLS5lIj7aaoCx1YJkktqYj5vlBUE6HWzu2Q51ksrGJ0H737ECCKlFU7Yf8Br45z9t99frBp/J7kzbMPAg==}
|
||||
engines: {node: ^20.19.0 || ^22.13.0 || ^23.5.0 || >=24.0.0, npm: '>=10'}
|
||||
|
||||
'@ffmpeg/core@0.12.10':
|
||||
resolution: {integrity: sha512-dzNplnn2Nxle2c2i2rrDhqcB19q9cglCkWnoMTDN9Q9l3PvdjZWd1HfSPjCNWc/p8Q3CT+Es9fWOR0UhAeYQZA==}
|
||||
engines: {node: '>=16.x'}
|
||||
|
||||
'@ffmpeg/ffmpeg@0.12.15':
|
||||
resolution: {integrity: sha512-1C8Obr4GsN3xw+/1Ww6PFM84wSQAGsdoTuTWPOj2OizsRDLT4CXTaVjPhkw6ARyDus1B9X/L2LiXHqYYsGnRFw==}
|
||||
engines: {node: '>=18.x'}
|
||||
@@ -2520,10 +2549,6 @@ packages:
|
||||
resolution: {integrity: sha512-k9vJQNBGTxE5AhYDtOYR5rO5fKsspbg51gbcwtbkw2lCdoIILzklulcjJfIDwrtn7XhDeF2M+THwJ2FGrLeV6A==}
|
||||
engines: {node: '>=16.x'}
|
||||
|
||||
'@ffmpeg/util@0.12.2':
|
||||
resolution: {integrity: sha512-ouyoW+4JB7WxjeZ2y6KpRvB+dLp7Cp4ro8z0HIVpZVCM7AwFlHa0c4R8Y/a4M3wMqATpYKhC7lSFHQ0T11MEDw==}
|
||||
engines: {node: '>=18.x'}
|
||||
|
||||
'@finegym/fitness-calc@1.0.1':
|
||||
resolution: {integrity: sha512-Y22BfugFqWskeB7xbsUjTLD9sfqrMqL6ht2ChLrdRPNbkqdlKz5Sgsq8SJBDlh2EYThDOxSZeeuxK8oJymxHXw==}
|
||||
|
||||
@@ -2536,6 +2561,12 @@ packages:
|
||||
'@floating-ui/utils@0.2.11':
|
||||
resolution: {integrity: sha512-RiB/yIh78pcIxl6lLMG0CgBXAZ2Y0eVHqMPYugu+9U0AeT6YBeiJpf7lbdJNIugFP5SIjwNRgo4DhR1Qxi26Gg==}
|
||||
|
||||
'@fontsource/open-sans@5.3.0':
|
||||
resolution: {integrity: sha512-V1bdMlGNyZrJwzrdusshMOw2YR0aqYDL7kOo9dkxUEKl8dFv66A9HLckOOXl572sG/7ohhDQrCrTFGSn9LZcSw==}
|
||||
|
||||
'@fontsource/varela-round@5.3.0':
|
||||
resolution: {integrity: sha512-g+A+D+L4jFceYaD7NsejZNLDejU4sKdhqsKo6BqLO5X+YriSmPJtUe9RnP2o5kGo1/nSnrGUHvVL8N3t8Djatw==}
|
||||
|
||||
'@fortawesome/fontawesome-common-types@7.3.0':
|
||||
resolution: {integrity: sha512-X/vND0Y1l9fVJ9O79UgtZnXSpz4aNF3bXlDxiJAEAm6kgeSftp9wjjBPgqzazJV8YlmxfRoeXNfSCJ48sf/Hhw==}
|
||||
engines: {node: '>=6'}
|
||||
@@ -4423,6 +4454,12 @@ packages:
|
||||
'@tabler/icons@3.44.0':
|
||||
resolution: {integrity: sha512-Wn0AOZG9sg0L+bjfMqq4eNhC6pQjIrk94LvvWYNYkY8KH8wC3YILRzQlrnVJc4FUeMxH/AK97QsYCX35H3LndA==}
|
||||
|
||||
'@tesseract.js-data/chi_sim@1.0.0':
|
||||
resolution: {integrity: sha512-iuErURkPbECDUazgsLn/r3c+tU2y5o5S/w14d0A/YiagfsjYyZKgTo75RUpsGJ311qtu0dIX4hqnXAAjmqf2CA==}
|
||||
|
||||
'@tesseract.js-data/eng@1.0.0':
|
||||
resolution: {integrity: sha512-mbTumm6KQPUHyzTPQaF3ObXYnx0SqqfV2nabqFVQBwD6Kl7PhGSLSzOlfFTWy0P3BjghaSKA2W9GB19Jk+ZcTg==}
|
||||
|
||||
'@thaunknown/thirty-two@1.0.5':
|
||||
resolution: {integrity: sha512-Q53KyCXweV1CS62EfqtPDqfpksn5keQ59PGqzzkK+g8Vif1jB4inoBCcs/BUSdsqddhE3G+2Fn+4RX3S6RqT0A==}
|
||||
engines: {node: '>=0.2.6'}
|
||||
@@ -6269,12 +6306,12 @@ packages:
|
||||
resolution: {integrity: sha512-t/Ji3Ur2c/pzhIAWNwC0ftl3JAE4dLfCjAdZoTZXmPDZwcispnS1PaMcMS4OmIIXyIVouAz+yw+mfQiE3hz5OQ==}
|
||||
hasBin: true
|
||||
|
||||
cropperjs@1.6.3:
|
||||
resolution: {integrity: sha512-BRb0PRIzjbfM5n+i6L2D85pSbXI/w6cnnwb9W9cRKgAmbiP+OjDeq+Irhd86IujZDXm/7JWECfscllFIdrlmfw==}
|
||||
|
||||
cross-fetch-ponyfill@1.0.3:
|
||||
resolution: {integrity: sha512-uOBkDhUAGAbx/FEzNKkOfx3w57H8xReBBXoZvUnOKTI0FW0Xvrj3GrYv2iZXUqlffC1LMGfQzhmBM/ke+6eTDA==}
|
||||
|
||||
cross-fetch@3.2.0:
|
||||
resolution: {integrity: sha512-Q+xVJLoGOeIMXZmbUK4HYk+69cQH6LudR0Vu/pRm2YlU/hDV9CiS0gKUMaWY5f2NeUH9C1nV3bsTlCo0FsTV1Q==}
|
||||
|
||||
cross-spawn@7.0.6:
|
||||
resolution: {integrity: sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==}
|
||||
engines: {node: '>= 8'}
|
||||
@@ -6351,9 +6388,6 @@ packages:
|
||||
resolution: {integrity: sha512-ZJeCpq5uY2t8dDl4xdF15shkp5o8jrHcD4lHftK/O8j8xTHlXg0E5YhpZbRJvnLRaKe+JQh1/q1AI9Wc2Dl3Nw==}
|
||||
engines: {node: '>=14'}
|
||||
|
||||
currency-exchanger-js@1.0.4:
|
||||
resolution: {integrity: sha512-znd30Ueuf3IFTwNEuSy45uBEZZXJIUG9Z4Cpym5VxSxafx/CazPCRx5NMrqOFE2ZYPXezo7FfJLa8SuES3PnYw==}
|
||||
|
||||
cytoscape-cose-bilkent@4.1.0:
|
||||
resolution: {integrity: sha512-wgQlVIUJF13Quxiv5e1gstZ08rnZj2XaLHGoFMYXz7SkNfCDOOteKBE6SYRfA9WxxI/iBc3ajfDoc6hb/MRAHQ==}
|
||||
peerDependencies:
|
||||
@@ -6824,6 +6858,9 @@ packages:
|
||||
ecc-jsbn@0.1.2:
|
||||
resolution: {integrity: sha512-eh9O+hwRHNbG4BLTjEl3nw044CkGm5X6LoaCf7LPp7UU8Qrt47JYNi6nPX8xjW97TKGKm1ouctg0QSpZe9qrnw==}
|
||||
|
||||
echarts@6.1.0:
|
||||
resolution: {integrity: sha512-q0yaFPggC9FUdsWH4blavRWFmxdrIodbkoKNAjJudAI6CA9gNPxHtV2RcZNEepZVlk4yvBYkOkbk6HIVpIyHZA==}
|
||||
|
||||
editorconfig@1.0.7:
|
||||
resolution: {integrity: sha512-e0GOtq/aTQhVdNyDU9e02+wz9oDDM+SIOQxWME2QRjzRX5yyLAuHDE+0aE8vHb9XRC8XD37eO2u57+F09JqFhw==}
|
||||
engines: {node: '>=14'}
|
||||
@@ -7764,9 +7801,6 @@ packages:
|
||||
resolution: {integrity: sha512-IKXpvIzjnC9XTAUbVBcMfGS0EPaIXtW6v+zr+RRp+hqULEpo0owZax6wyRwPOJbWbzjYspQwusTsfVr0ifh4uQ==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
idb-keyval@6.2.6:
|
||||
resolution: {integrity: sha512-FY64UEhw+5liMzMQ1R9Mw6AF0+wyBrg1CIA1z4CjI/EvT5ty/SvQcWZgd8s9sgaNhX10Y8UzScTh89tEAls5nA==}
|
||||
|
||||
idb-keyval@6.3.0:
|
||||
resolution: {integrity: sha512-um+2dgAWmYsu615EXpWVwSmapJhON0G43t3Ka/EVaohzPQXSMqKEqeDK/oIW3Ow+BXaF2PvSc+oBTFp793A5Ow==}
|
||||
|
||||
@@ -9846,6 +9880,11 @@ packages:
|
||||
resolution: {integrity: sha512-0XL2hreherEEvUy0fiaGEfN/ioXFV+JpImqIzQjxk6iBg4jQ2ARKqvC4+BmRD8w/pnpD+lbxvh0Ub+z7yBEjvA==}
|
||||
hasBin: true
|
||||
|
||||
prettier@3.9.9:
|
||||
resolution: {integrity: sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg==}
|
||||
engines: {node: '>=14'}
|
||||
hasBin: true
|
||||
|
||||
pretty-bytes@5.6.0:
|
||||
resolution: {integrity: sha512-FFw039TmrBqFK8ma/7OL3sDz/VytdtJr044/QUJtH0wK9lb9jLq9tJyIxUwtQJHwar2BqtiA4iCWSwo9JLkzFg==}
|
||||
engines: {node: '>=6'}
|
||||
@@ -10319,6 +10358,10 @@ packages:
|
||||
resolution: {integrity: sha512-eflK8wEtyOE6+hsaRVPxvUKYCpRgzLqDTb8krvAsRIwOGlHoSgYLgBXoubGgLd2fT41/OUYdb48v4k4WWHQurA==}
|
||||
engines: {node: '>= 10.13.0'}
|
||||
|
||||
screenfull@5.2.0:
|
||||
resolution: {integrity: sha512-9BakfsO2aUQN2K9Fdbj87RJIEZ82Q9IGim7FqM5OsebfoFC6ZHXgDq/KvniuLTPdeM8wY2o6Dj3WQ7KeQCj3cA==}
|
||||
engines: {node: '>=0.10.0'}
|
||||
|
||||
scule@1.3.0:
|
||||
resolution: {integrity: sha512-6FtHJEvt+pVMIB9IBY+IcCJ6Z5f1iQnytgyfKMhDKgmzYG+TeH/wx1y3l27rshSbLiSanrR9ffZDrEsmjlQF2g==}
|
||||
|
||||
@@ -10916,6 +10959,9 @@ packages:
|
||||
ts-toolbelt@9.6.0:
|
||||
resolution: {integrity: sha512-nsZd8ZeNUzukXPlJmTBwUAuABDe/9qtVDelJeT/qW0ow3ZS3BsQJtNkan1802aM9Uf68/Y8ljw86Hu0h5IUW3w==}
|
||||
|
||||
tslib@2.3.0:
|
||||
resolution: {integrity: sha512-N82ooyxVNm6h1riLCoyS9e3fuJ3AMG2zIZs2Gd1ATcSFjSA23Q0fzjjZeh0jbJvWVDZ0cJT8yaNNaaXHzueNjg==}
|
||||
|
||||
tslib@2.7.0:
|
||||
resolution: {integrity: sha512-gLXCKdN1/j47AiHiOkJN69hJmcbGTHI0ImLmbYLHykhgeN0jVGola9yVjFgzCUklsZQMW55o+dW7IXv3RCXDzA==}
|
||||
|
||||
@@ -11969,6 +12015,9 @@ packages:
|
||||
zod@4.1.11:
|
||||
resolution: {integrity: sha512-WPsqwxITS2tzx1bzhIKsEs19ABD5vmCVa4xBo2tq/SrV4RNZtfws1EnCWQXM6yh8bD08a1idvkB5MZSBiZsjwg==}
|
||||
|
||||
zrender@6.1.0:
|
||||
resolution: {integrity: sha512-oEGMDB6pOP2S6OwRR4PdVv610zrjnA3Bh+JnSG12fYJlBKjtNAoEb5fSUoCOOINlH96I2fU38/A2UpRKs67xYQ==}
|
||||
|
||||
zwitch@2.0.4:
|
||||
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
|
||||
|
||||
@@ -13249,14 +13298,14 @@ snapshots:
|
||||
|
||||
'@faker-js/faker@10.5.0': {}
|
||||
|
||||
'@ffmpeg/core@0.12.10': {}
|
||||
|
||||
'@ffmpeg/ffmpeg@0.12.15':
|
||||
dependencies:
|
||||
'@ffmpeg/types': 0.12.4
|
||||
|
||||
'@ffmpeg/types@0.12.4': {}
|
||||
|
||||
'@ffmpeg/util@0.12.2': {}
|
||||
|
||||
'@finegym/fitness-calc@1.0.1': {}
|
||||
|
||||
'@floating-ui/core@1.7.5':
|
||||
@@ -13270,6 +13319,10 @@ snapshots:
|
||||
|
||||
'@floating-ui/utils@0.2.11': {}
|
||||
|
||||
'@fontsource/open-sans@5.3.0': {}
|
||||
|
||||
'@fontsource/varela-round@5.3.0': {}
|
||||
|
||||
'@fortawesome/fontawesome-common-types@7.3.0': {}
|
||||
|
||||
'@fortawesome/fontawesome-svg-core@7.3.0':
|
||||
@@ -14973,6 +15026,10 @@ snapshots:
|
||||
|
||||
'@tabler/icons@3.44.0': {}
|
||||
|
||||
'@tesseract.js-data/chi_sim@1.0.0': {}
|
||||
|
||||
'@tesseract.js-data/eng@1.0.0': {}
|
||||
|
||||
'@thaunknown/thirty-two@1.0.5':
|
||||
dependencies:
|
||||
uint8-util: 2.2.6
|
||||
@@ -17013,17 +17070,13 @@ snapshots:
|
||||
|
||||
cronstrue@3.24.0: {}
|
||||
|
||||
cropperjs@1.6.3: {}
|
||||
|
||||
cross-fetch-ponyfill@1.0.3:
|
||||
dependencies:
|
||||
abort-controller: 3.0.0
|
||||
node-fetch: 3.3.2
|
||||
|
||||
cross-fetch@3.2.0:
|
||||
dependencies:
|
||||
node-fetch: 2.7.0
|
||||
transitivePeerDependencies:
|
||||
- encoding
|
||||
|
||||
cross-spawn@7.0.6:
|
||||
dependencies:
|
||||
path-key: 3.1.1
|
||||
@@ -17106,7 +17159,7 @@ snapshots:
|
||||
|
||||
csstype@3.2.3: {}
|
||||
|
||||
curlconverter@4.12.0:
|
||||
curlconverter@4.12.0(patch_hash=b40c0006cd2bef89a2724de5f8450081db44a9ab7eae38d4ed93538c40843c9d):
|
||||
dependencies:
|
||||
jsesc: 3.1.0
|
||||
lossless-json: 4.3.0
|
||||
@@ -17119,12 +17172,6 @@ snapshots:
|
||||
dependencies:
|
||||
lodash-es: 4.18.1
|
||||
|
||||
currency-exchanger-js@1.0.4:
|
||||
dependencies:
|
||||
cross-fetch: 3.2.0
|
||||
transitivePeerDependencies:
|
||||
- encoding
|
||||
|
||||
cytoscape-cose-bilkent@4.1.0(cytoscape@3.34.0):
|
||||
dependencies:
|
||||
cose-base: 1.0.3
|
||||
@@ -17626,6 +17673,11 @@ snapshots:
|
||||
jsbn: 0.1.1
|
||||
safer-buffer: 2.1.2
|
||||
|
||||
echarts@6.1.0:
|
||||
dependencies:
|
||||
tslib: 2.3.0
|
||||
zrender: 6.1.0
|
||||
|
||||
editorconfig@1.0.7:
|
||||
dependencies:
|
||||
'@one-ini/wasm': 0.1.1
|
||||
@@ -18768,8 +18820,6 @@ snapshots:
|
||||
dependencies:
|
||||
safer-buffer: 2.1.2
|
||||
|
||||
idb-keyval@6.2.6: {}
|
||||
|
||||
idb-keyval@6.3.0: {}
|
||||
|
||||
idb@7.1.1: {}
|
||||
@@ -20827,6 +20877,8 @@ snapshots:
|
||||
|
||||
prepin@1.0.3: {}
|
||||
|
||||
prettier@3.9.9: {}
|
||||
|
||||
pretty-bytes@5.6.0: {}
|
||||
|
||||
pretty-bytes@6.1.1: {}
|
||||
@@ -21412,6 +21464,8 @@ snapshots:
|
||||
ajv-formats: 2.1.1(ajv@8.20.0)
|
||||
ajv-keywords: 5.1.0(ajv@8.20.0)
|
||||
|
||||
screenfull@5.2.0: {}
|
||||
|
||||
scule@1.3.0: {}
|
||||
|
||||
section-matter@1.0.0:
|
||||
@@ -22003,7 +22057,7 @@ snapshots:
|
||||
tesseract.js@7.0.0:
|
||||
dependencies:
|
||||
bmp-js: 0.1.0
|
||||
idb-keyval: 6.2.6
|
||||
idb-keyval: 6.3.0
|
||||
is-url: 1.2.4
|
||||
node-fetch: 2.7.0
|
||||
opencollective-postinstall: 2.0.3
|
||||
@@ -22155,6 +22209,8 @@ snapshots:
|
||||
|
||||
ts-toolbelt@9.6.0: {}
|
||||
|
||||
tslib@2.3.0: {}
|
||||
|
||||
tslib@2.7.0: {}
|
||||
|
||||
tslib@2.8.1: {}
|
||||
@@ -23380,6 +23436,10 @@ snapshots:
|
||||
|
||||
zod@4.1.11: {}
|
||||
|
||||
zrender@6.1.0:
|
||||
dependencies:
|
||||
tslib: 2.3.0
|
||||
|
||||
zwitch@2.0.4: {}
|
||||
|
||||
zx@8.8.5: {}
|
||||
|
||||
@@ -23,6 +23,7 @@ patchedDependencies:
|
||||
node-forge@1.4.0: patches/node-forge@1.4.0.patch
|
||||
esm-potrace-wasm: patches/esm-potrace-wasm.patch
|
||||
run-pace: patches/run-pace.patch
|
||||
curlconverter@4.12.0: patches/curlconverter@4.12.0.patch
|
||||
|
||||
# pnpm 11 requires an explicit decision for every dependency build script.
|
||||
# true = script is needed (native binaries / functional postinstall)
|
||||
|
||||
@@ -0,0 +1,41 @@
|
||||
class PinkNoiseProcessor extends AudioWorkletProcessor {
|
||||
b0 = 0;
|
||||
b1 = 0;
|
||||
b2 = 0;
|
||||
b3 = 0;
|
||||
b4 = 0;
|
||||
b5 = 0;
|
||||
b6 = 0;
|
||||
|
||||
process(inputs, outputs) {
|
||||
const output = outputs[0];
|
||||
|
||||
for (const channel of output) {
|
||||
for (let i = 0; i < channel.length; i++) {
|
||||
const white = Math.random() * 2 - 1;
|
||||
|
||||
this.b0 = 0.99886 * this.b0 + white * 0.0555179;
|
||||
|
||||
this.b1 = 0.99332 * this.b1 + white * 0.0750759;
|
||||
|
||||
this.b2 = 0.969 * this.b2 + white * 0.153852;
|
||||
|
||||
this.b3 = 0.8665 * this.b3 + white * 0.3104856;
|
||||
|
||||
this.b4 = 0.55 * this.b4 + white * 0.5329522;
|
||||
|
||||
this.b5 = -0.7616 * this.b5 - white * 0.016898;
|
||||
|
||||
let pink = this.b0 + this.b1 + this.b2 + this.b3 + this.b4 + this.b5 + this.b6 + white * 0.5362;
|
||||
|
||||
this.b6 = white * 0.115926;
|
||||
|
||||
channel[i] = pink * 0.11;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('pink-noise-processor', PinkNoiseProcessor);
|
||||
@@ -0,0 +1,36 @@
|
||||
class SweepProcessor extends AudioWorkletProcessor {
|
||||
phase = 0;
|
||||
position = 0;
|
||||
|
||||
startFreq = 20;
|
||||
endFreq = 20000;
|
||||
duration = 10;
|
||||
|
||||
process(inputs, outputs) {
|
||||
const output = outputs[0];
|
||||
|
||||
const totalSamples = sampleRate * this.duration;
|
||||
|
||||
for (const channel of output) {
|
||||
for (let i = 0; i < channel.length; i++) {
|
||||
const progress = this.position / totalSamples;
|
||||
|
||||
const freq = this.startFreq * Math.pow(this.endFreq / this.startFreq, progress);
|
||||
|
||||
channel[i] = Math.sin(this.phase) * 0.2;
|
||||
|
||||
this.phase += (2 * Math.PI * freq) / sampleRate;
|
||||
|
||||
this.position++;
|
||||
}
|
||||
}
|
||||
|
||||
if (this.position >= totalSamples) {
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('sweep-processor', SweepProcessor);
|
||||
@@ -0,0 +1,49 @@
|
||||
class ToneProcessor extends AudioWorkletProcessor {
|
||||
static get parameterDescriptors() {
|
||||
return [
|
||||
{
|
||||
name: 'frequency',
|
||||
defaultValue: 440,
|
||||
minValue: 20,
|
||||
maxValue: 20000,
|
||||
},
|
||||
{
|
||||
name: 'gain',
|
||||
defaultValue: 0.2,
|
||||
minValue: 0,
|
||||
maxValue: 1,
|
||||
},
|
||||
];
|
||||
}
|
||||
|
||||
phase = 0;
|
||||
|
||||
process(inputs, outputs, parameters) {
|
||||
const output = outputs[0];
|
||||
|
||||
const frequencies = parameters.frequency;
|
||||
const gains = parameters.gain;
|
||||
|
||||
for (let channel = 0; channel < output.length; channel++) {
|
||||
const data = output[channel];
|
||||
|
||||
for (let i = 0; i < data.length; i++) {
|
||||
const frequency = frequencies.length > 1 ? frequencies[i] : frequencies[0];
|
||||
|
||||
const gain = gains.length > 1 ? gains[i] : gains[0];
|
||||
|
||||
data[i] = Math.sin(this.phase) * gain;
|
||||
|
||||
this.phase += (2 * Math.PI * frequency) / sampleRate;
|
||||
|
||||
if (this.phase > Math.PI * 2) {
|
||||
this.phase -= Math.PI * 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('tone-processor', ToneProcessor);
|
||||
@@ -0,0 +1,15 @@
|
||||
class WhiteNoiseProcessor extends AudioWorkletProcessor {
|
||||
process(inputs, outputs) {
|
||||
const output = outputs[0];
|
||||
|
||||
for (const channel of output) {
|
||||
for (let i = 0; i < channel.length; i++) {
|
||||
channel[i] = Math.random() * 2 - 1;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
registerProcessor('white-noise-processor', WhiteNoiseProcessor);
|
||||
@@ -33,7 +33,7 @@ function escapeHtml(text) {
|
||||
'"': '"',
|
||||
"'": '''
|
||||
};
|
||||
return text.replace(/[&<>"']/g, char => map[char]);
|
||||
return String(text).replace(/[&<>"']/g, char => map[char]);
|
||||
}
|
||||
|
||||
// Helper function to generate HTML table from table data array
|
||||
@@ -1139,7 +1139,7 @@ function reset() {
|
||||
let rootNetwork = get_network($('#network').val(), $('#netsize').val())
|
||||
let rootCidr = rootNetwork + '/' + $('#netsize').val()
|
||||
if (cidrInput !== rootCidr) {
|
||||
show_warning_modal('<div>Your network input is not on a network boundary for this network size. It has been automatically changed:</div><div class="font-monospace pt-2">' + $('#network').val() + ' -> ' + rootNetwork + '</div>')
|
||||
show_warning_modal('<div>Your network input is not on a network boundary for this network size. It has been automatically changed:</div><div class="font-monospace pt-2">' + escapeHtml($('#network').val()) + ' -> ' + escapeHtml(rootNetwork) + '</div>')
|
||||
$('#network').val(rootNetwork)
|
||||
cidrInput = $('#network').val() + '/' + $('#netsize').val()
|
||||
}
|
||||
@@ -1264,6 +1264,13 @@ function addRowTree(subnetTree, depth, maxDepth, operatingMode) {
|
||||
}
|
||||
|
||||
function addRow(network, netSize, colspan, note, notesWidth, color, operatingMode) {
|
||||
// The subnet map can come from a shareable URL or an imported config, so escape everything that lands in HTML
|
||||
const rawNetwork = network
|
||||
network = escapeHtml(network)
|
||||
note = escapeHtml(note)
|
||||
if (!/^#[0-9a-f]{3,8}$/i.test(color)) {
|
||||
color = ''
|
||||
}
|
||||
let addressFirst = ip2int(network)
|
||||
let addressLast = subnet_last_address(addressFirst, netSize)
|
||||
let usableFirst = subnet_usable_first(addressFirst, netSize, operatingMode)
|
||||
@@ -1317,10 +1324,10 @@ function addRow(network, netSize, colspan, note, notesWidth, color, operatingMod
|
||||
// DONE: If the subnet address (without the mask) matches a larger subnet address
|
||||
// in the heirarchy that is a signal to add more join buttons to that row, since they start at the top row and
|
||||
// via rowspan extend downward.
|
||||
let matchingNetworkList = get_matching_network_list(network, subnetMap).slice(1)
|
||||
let matchingNetworkList = get_matching_network_list(rawNetwork, subnetMap).slice(1)
|
||||
for (const i in matchingNetworkList) {
|
||||
let matchingNetwork = matchingNetworkList[i]
|
||||
let networkChildrenCount = count_network_children(matchingNetwork, subnetMap, [])
|
||||
let networkChildrenCount = count_network_children(matchingNetworkList[i], subnetMap, [])
|
||||
let matchingNetwork = escapeHtml(matchingNetworkList[i])
|
||||
newRow += ' <td aria-label="' + matchingNetwork + ' Join" rowspan="' + networkChildrenCount + '" colspan="1" class="join rotate" data-subnet="' + matchingNetwork + '" data-mutate-verb="join"><span>/' + matchingNetwork.split('/')[1] + '</span></td>\n'
|
||||
}
|
||||
}
|
||||
@@ -2281,7 +2288,7 @@ $('#btn_auto_allocate').on('click', function() {
|
||||
if (subnetRequests.errors) {
|
||||
let errorHtml = '<div class="alert alert-danger"><strong>Subnet Requirements Errors:</strong><ul class="mb-0">';
|
||||
for (const error of subnetRequests.errors) {
|
||||
errorHtml += `<li>${error}</li>`;
|
||||
errorHtml += `<li>${escapeHtml(error)}</li>`;
|
||||
}
|
||||
errorHtml += '</ul></div>';
|
||||
$('#allocation_results').html(errorHtml);
|
||||
@@ -2464,7 +2471,7 @@ $('#btn_auto_allocate').on('click', function() {
|
||||
if (allocations.length > 0) {
|
||||
resultsHtml += '<div class="alert alert-success"><h6>Allocated Subnets:</h6><ul class="mb-0">';
|
||||
for (const alloc of allocations) {
|
||||
resultsHtml += `<li><strong>${alloc.name}:</strong> ${alloc.cidr}</li>`;
|
||||
resultsHtml += `<li><strong>${escapeHtml(alloc.name)}:</strong> ${escapeHtml(alloc.cidr)}</li>`;
|
||||
}
|
||||
resultsHtml += '</ul></div>';
|
||||
|
||||
@@ -2557,7 +2564,7 @@ $('#btn_auto_allocate').on('click', function() {
|
||||
if (allocationErrors.length > 0) {
|
||||
resultsHtml += '<div class="alert alert-danger"><h6>Errors:</h6><ul class="mb-0">';
|
||||
for (const error of allocationErrors) {
|
||||
resultsHtml += `<li>${error}</li>`;
|
||||
resultsHtml += `<li>${escapeHtml(error)}</li>`;
|
||||
}
|
||||
resultsHtml += '</ul></div>';
|
||||
}
|
||||
@@ -2565,7 +2572,7 @@ $('#btn_auto_allocate').on('click', function() {
|
||||
$('#allocation_results').html(resultsHtml);
|
||||
} catch (error) {
|
||||
console.error('Auto-allocation error:', error);
|
||||
$('#allocation_results').html('<div class="alert alert-danger">An error occurred during allocation: ' + error.message + '</div>');
|
||||
$('#allocation_results').html('<div class="alert alert-danger">An error occurred during allocation: ' + escapeHtml(error.message) + '</div>');
|
||||
}
|
||||
}, 100);
|
||||
});
|
||||
@@ -2665,14 +2672,14 @@ $('#btn_validate_alignment').on('click', function() {
|
||||
if (issues.length > 0) {
|
||||
resultsHtml += '<div class="alert alert-danger"><h6>Issues Found:</h6><ul class="mb-0">';
|
||||
for (const issue of issues) {
|
||||
resultsHtml += `<li>${issue}</li>`;
|
||||
resultsHtml += `<li>${escapeHtml(issue)}</li>`;
|
||||
}
|
||||
resultsHtml += '</ul></div>';
|
||||
}
|
||||
if (warnings.length > 0) {
|
||||
resultsHtml += '<div class="alert alert-warning"><h6>Gaps Detected:</h6><ul class="mb-0">';
|
||||
for (const warning of warnings) {
|
||||
resultsHtml += `<li>${warning}</li>`;
|
||||
resultsHtml += `<li>${escapeHtml(warning)}</li>`;
|
||||
}
|
||||
resultsHtml += '</ul></div>';
|
||||
}
|
||||
|
||||
@@ -1255,9 +1255,9 @@ $(document).ready(function() {
|
||||
$("input#add_vdev").val("");
|
||||
|
||||
if (new_vdev_type == "mirror") {
|
||||
$("td#status").html(new_vdev_width + "-way mirror added");
|
||||
$("td#status").text(new_vdev_width + "-way mirror added");
|
||||
} else {
|
||||
$("td#status").html(new_vdev_width + "-wide " + new_vdev_type.toUpperCase() + " added");
|
||||
$("td#status").text(new_vdev_width + "-wide " + new_vdev_type.toUpperCase() + " added");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -11,29 +11,37 @@ if (fs.existsSync(localesFile)) {
|
||||
localesData = yaml.parse(fs.readFileSync(localesFile, 'utf-8')) || {};
|
||||
}
|
||||
|
||||
// Single-quoted JS string that may contain escaped quotes. `[^'\\]|\\.` cannot overlap, so it cannot backtrack exponentially.
|
||||
const quotedValue = (key) => new RegExp(`\\b${key}: '((?:[^'\\\\]|\\\\.)*)'`);
|
||||
// Decode JS string escapes (\n, \x27, \u00e9, \u{1F600}, \') the way the JS parser would
|
||||
const JS_ESCAPES = { n: '\n', r: '\r', t: '\t', b: '\b', f: '\f', v: '\v', 0: '\0' };
|
||||
const unescapeValue = (value) =>
|
||||
value.replace(/\\(?:u\{([\da-fA-F]+)\}|u([\da-fA-F]{4})|x([\da-fA-F]{2})|(.))/g, (_, codePoint, u4, x2, char) =>
|
||||
char === undefined ? String.fromCodePoint(Number.parseInt(codePoint ?? u4 ?? x2, 16)) : (JS_ESCAPES[char] ?? char));
|
||||
|
||||
function processFile(filePath) {
|
||||
const parentDir = path.basename(path.dirname(filePath)); // Get parent directory name
|
||||
const originalContent = fs.readFileSync(filePath, 'utf-8');
|
||||
|
||||
// Extract existing name and description values
|
||||
const nameMatch = originalContent.match(/name: '(.*?)'/);
|
||||
const descriptionMatch = originalContent.match(/description: '(.*?)'/);
|
||||
const externAccessDescriptionMatch = originalContent.match(/externAccessDescription: '(.*?)'/);
|
||||
const nameMatch = originalContent.match(quotedValue('name'));
|
||||
const descriptionMatch = originalContent.match(quotedValue('description'));
|
||||
const externAccessDescriptionMatch = originalContent.match(quotedValue('externAccessDescription'));
|
||||
|
||||
if (!nameMatch || !descriptionMatch) {
|
||||
console.warn(`Skipping ${filePath}: Unable to extract name or description.`);
|
||||
return;
|
||||
}
|
||||
|
||||
const nameValue = nameMatch[1];
|
||||
const descriptionValue = descriptionMatch[1];
|
||||
const externAccessDescriptionValue = externAccessDescriptionMatch ? externAccessDescriptionMatch[1] : null;
|
||||
const nameValue = unescapeValue(nameMatch[1]);
|
||||
const descriptionValue = unescapeValue(descriptionMatch[1]);
|
||||
const externAccessDescriptionValue = externAccessDescriptionMatch ? unescapeValue(externAccessDescriptionMatch[1]) : null;
|
||||
|
||||
// Modify name and description to use the translate function
|
||||
const transformedContent = originalContent
|
||||
.replace(/name: '((?:[^']+|(?<=\\)')+)'/, `name: t('tools.${parentDir}.title')`)
|
||||
.replace(/description: '((?:[^']+|(?<=\\)')+)'/, `description: t('tools.${parentDir}.description')`)
|
||||
.replace(/externAccessDescription: '((?:[^']+|(?<=\\)')+)'/, `externAccessDescription: t('tools.${parentDir}.externalAccess')`);
|
||||
.replace(quotedValue('name'), `name: t('tools.${parentDir}.title')`)
|
||||
.replace(quotedValue('description'), `description: t('tools.${parentDir}.description')`)
|
||||
.replace(quotedValue('externAccessDescription'), `externAccessDescription: t('tools.${parentDir}.externalAccess')`);
|
||||
|
||||
fs.writeFileSync(filePath, `import { translate as t } from '@/plugins/i18n.plugin';\n${transformedContent}`, 'utf-8');
|
||||
console.log(`Transformed: ${filePath}`);
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
// Downloads every template of github/gitignore and alexkaratarakis/gitattributes into JSON snapshots that the
|
||||
// gitignore and gitattributes generators fall back to when offline or when GitHub can't be reached.
|
||||
// Usage: pnpm script:update:git-templates (set GITHUB_TOKEN to avoid the unauthenticated API rate limit)
|
||||
import fs from 'node:fs/promises';
|
||||
|
||||
const sources = [
|
||||
{
|
||||
repository: 'github/gitignore',
|
||||
ref: 'main',
|
||||
extension: '.gitignore',
|
||||
output: 'src/tools/gitignore-generator/gitignore-templates.json',
|
||||
},
|
||||
{
|
||||
repository: 'alexkaratarakis/gitattributes',
|
||||
ref: 'master',
|
||||
extension: '.gitattributes',
|
||||
output: 'src/tools/gitattributes-generator/gitattributes-templates.json',
|
||||
},
|
||||
];
|
||||
|
||||
const CONCURRENCY = 8;
|
||||
|
||||
const apiHeaders = {
|
||||
Accept: 'application/vnd.github+json',
|
||||
...(process.env.GITHUB_TOKEN ? { Authorization: `Bearer ${process.env.GITHUB_TOKEN}` } : {}),
|
||||
};
|
||||
|
||||
async function fetchOk(url, init) {
|
||||
const response = await fetch(url, init);
|
||||
if (!response.ok) {
|
||||
throw new Error(`${url}: ${response.status} ${response.statusText}`);
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
async function snapshot({ repository, ref, extension, output }) {
|
||||
const commit = await (
|
||||
await fetchOk(`https://api.github.com/repos/${repository}/commits/${ref}`, { headers: apiHeaders })
|
||||
).json();
|
||||
const tree = await (
|
||||
await fetchOk(`https://api.github.com/repos/${repository}/git/trees/${commit.sha}?recursive=true`, {
|
||||
headers: apiHeaders,
|
||||
})
|
||||
).json();
|
||||
if (tree.truncated) {
|
||||
throw new Error(`${repository}: tree listing is truncated`);
|
||||
}
|
||||
|
||||
// Same name derivation as the tools: the path without its extension, skipping a bare root dotfile
|
||||
const names = tree.tree
|
||||
.filter(({ type, path }) => type === 'blob' && path.endsWith(extension))
|
||||
.map(({ path }) => path.slice(0, -extension.length))
|
||||
.filter(Boolean)
|
||||
.sort((a, b) => a.localeCompare(b));
|
||||
|
||||
const templates = {};
|
||||
for (let i = 0; i < names.length; i += CONCURRENCY) {
|
||||
const batch = names.slice(i, i + CONCURRENCY);
|
||||
const contents = await Promise.all(
|
||||
batch.map(async (name) =>
|
||||
(await fetchOk(`https://raw.githubusercontent.com/${repository}/${commit.sha}/${name}${extension}`)).text(),
|
||||
),
|
||||
);
|
||||
batch.forEach((name, index) => (templates[name] = contents[index]));
|
||||
}
|
||||
|
||||
const data = { repository, ref, commit: commit.sha, date: commit.commit.committer.date, templates };
|
||||
await fs.writeFile(output, `${JSON.stringify(data, null, 2)}\n`);
|
||||
const size = (await fs.stat(output)).size;
|
||||
console.log(`${output}: ${names.length} templates from ${repository}@${commit.sha.slice(0, 7)} (${size} bytes)`);
|
||||
}
|
||||
|
||||
for (const source of sources) {
|
||||
await snapshot(source);
|
||||
}
|
||||
@@ -0,0 +1,135 @@
|
||||
<script setup lang="ts">
|
||||
import { useThemeVars } from 'naive-ui';
|
||||
import { formatSignalNumber } from '@/utils/analog-signal';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
min: number;
|
||||
max: number;
|
||||
value: number;
|
||||
unit?: string;
|
||||
status?: 'ok' | 'warning' | 'error';
|
||||
}>(),
|
||||
{
|
||||
unit: '',
|
||||
status: 'ok',
|
||||
},
|
||||
);
|
||||
|
||||
const themeVars = useThemeVars();
|
||||
|
||||
const isValid = computed(() => Number.isFinite(props.min) && Number.isFinite(props.max) && props.min !== props.max);
|
||||
|
||||
// Position in the range, in percent; may go outside of 0-100 when the value is out of range.
|
||||
const percent = computed(() =>
|
||||
isValid.value && Number.isFinite(props.value)
|
||||
? ((props.value - props.min) / (props.max - props.min)) * 100
|
||||
: Number.NaN,
|
||||
);
|
||||
const clampedPercent = computed(() => (Number.isFinite(percent.value) ? Math.min(100, Math.max(0, percent.value)) : 0));
|
||||
const isOutOfRange = computed(() => percent.value < 0 || percent.value > 100);
|
||||
|
||||
const fillColor = computed(
|
||||
() =>
|
||||
({
|
||||
ok: themeVars.value.primaryColor,
|
||||
warning: themeVars.value.warningColor,
|
||||
error: themeVars.value.errorColor,
|
||||
})[props.status],
|
||||
);
|
||||
|
||||
const withUnit = (value: number) => `${formatSignalNumber(value)}${props.unit ? ` ${props.unit}` : ''}`;
|
||||
const middle = computed(() => (props.min + props.max) / 2);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="analog-gauge" :class="{ 'out-of-range': isOutOfRange }" data-test-id="gauge">
|
||||
<div class="scale">
|
||||
<span>{{ withUnit(max) }}</span>
|
||||
<span>{{ withUnit(middle) }}</span>
|
||||
<span>{{ withUnit(min) }}</span>
|
||||
</div>
|
||||
|
||||
<div class="tube" role="meter" :aria-valuemin="min" :aria-valuemax="max" :aria-valuenow="value">
|
||||
<div class="fill" :style="{ height: `${clampedPercent}%`, backgroundColor: fillColor }" />
|
||||
<div class="tick" style="bottom: 25%" />
|
||||
<div class="tick" style="bottom: 50%" />
|
||||
<div class="tick" style="bottom: 75%" />
|
||||
</div>
|
||||
|
||||
<div class="marker-track">
|
||||
<div v-if="Number.isFinite(percent)" class="marker" :style="{ bottom: `${clampedPercent}%`, color: fillColor }">
|
||||
◄ {{ formatSignalNumber(percent, 1) }} %
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="less">
|
||||
.analog-gauge {
|
||||
display: flex;
|
||||
align-items: stretch;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
height: 200px;
|
||||
margin: 16px 0;
|
||||
|
||||
.scale {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
align-items: flex-end;
|
||||
font-size: 12px;
|
||||
opacity: 0.7;
|
||||
white-space: nowrap;
|
||||
// Labels sit on the top, middle and bottom lines of the tube
|
||||
margin: -8px 0;
|
||||
}
|
||||
|
||||
.tube {
|
||||
position: relative;
|
||||
width: 28px;
|
||||
border-radius: 6px;
|
||||
overflow: hidden;
|
||||
background-color: v-bind('themeVars.buttonColor2');
|
||||
border: 1px solid v-bind('themeVars.borderColor');
|
||||
|
||||
.fill {
|
||||
position: absolute;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
transition:
|
||||
height 0.25s ease-out,
|
||||
background-color 0.25s;
|
||||
}
|
||||
|
||||
.tick {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 8px;
|
||||
height: 1px;
|
||||
background-color: v-bind('themeVars.textColor3');
|
||||
}
|
||||
}
|
||||
|
||||
.marker-track {
|
||||
position: relative;
|
||||
width: 72px;
|
||||
|
||||
.marker {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
transform: translateY(50%);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
transition: bottom 0.25s ease-out;
|
||||
}
|
||||
}
|
||||
|
||||
&.out-of-range .tube {
|
||||
border-color: v-bind('fillColor');
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,468 @@
|
||||
<script setup lang="ts">
|
||||
import { useStorage } from '@vueuse/core';
|
||||
import { useThemeVars } from 'naive-ui';
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import AnalogGauge from './AnalogGauge.vue';
|
||||
import { useCopy } from '@/composable/copy';
|
||||
import {
|
||||
type SignalRange,
|
||||
formatSignalNumber,
|
||||
getCurrentLoopStatus,
|
||||
getLinearTransform,
|
||||
getSignalRangeStatus,
|
||||
scaleValue,
|
||||
} from '@/utils/analog-signal';
|
||||
|
||||
export interface SignalPreset {
|
||||
label: string;
|
||||
min: number;
|
||||
max: number;
|
||||
}
|
||||
|
||||
type Direction = 'signal-to-value' | 'value-to-signal';
|
||||
type Side = 'signal' | 'engineering';
|
||||
interface SideStatus {
|
||||
type: 'ok' | 'warning' | 'error';
|
||||
message: string;
|
||||
}
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
storageKey: string;
|
||||
signalLabel: string;
|
||||
signalUnit?: string;
|
||||
presets: SignalPreset[];
|
||||
defaultEngineering?: SignalRange & { unit: string };
|
||||
// The signal is an integer register (raw PLC value): also show the rounded value.
|
||||
integerSignal?: boolean;
|
||||
// Apply the NAMUR NE 43 diagnostic when the signal range is 4-20 mA.
|
||||
currentLoopDiagnostic?: boolean;
|
||||
}>(),
|
||||
{
|
||||
signalUnit: '',
|
||||
defaultEngineering: () => ({ min: 0, max: 100, unit: '%' }),
|
||||
integerSignal: false,
|
||||
currentLoopDiagnostic: false,
|
||||
},
|
||||
);
|
||||
|
||||
const { t, locale } = useI18n();
|
||||
const themeVars = useThemeVars();
|
||||
|
||||
const defaultPreset = props.presets[0] ?? { label: '', min: 0, max: 10 };
|
||||
|
||||
const signalMin = useStorage<number | null>(`${props.storageKey}:signal-min`, defaultPreset.min);
|
||||
const signalMax = useStorage<number | null>(`${props.storageKey}:signal-max`, defaultPreset.max);
|
||||
const engineeringMin = useStorage<number | null>(`${props.storageKey}:engineering-min`, props.defaultEngineering.min);
|
||||
const engineeringMax = useStorage<number | null>(`${props.storageKey}:engineering-max`, props.defaultEngineering.max);
|
||||
const engineeringUnit = useStorage(`${props.storageKey}:engineering-unit`, props.defaultEngineering.unit);
|
||||
const direction = useStorage<Direction>(`${props.storageKey}:direction`, 'signal-to-value');
|
||||
|
||||
const toNumber = (value: number | null | undefined) => (typeof value === 'number' ? value : Number.NaN);
|
||||
|
||||
const signalRange = computed<SignalRange>(() => ({ min: toNumber(signalMin.value), max: toNumber(signalMax.value) }));
|
||||
const engineeringRange = computed<SignalRange>(() => ({
|
||||
min: toNumber(engineeringMin.value),
|
||||
max: toNumber(engineeringMax.value),
|
||||
}));
|
||||
const rangeOf = (side: Side) => (side === 'signal' ? signalRange.value : engineeringRange.value);
|
||||
const unitOf = (side: Side) => (side === 'signal' ? props.signalUnit : engineeringUnit.value);
|
||||
const labelOf = (side: Side) =>
|
||||
side === 'signal' ? props.signalLabel : t('analogSignalConverter.texts.label-engineering-value');
|
||||
|
||||
const inputSide = computed<Side>(() => (direction.value === 'signal-to-value' ? 'signal' : 'engineering'));
|
||||
const outputSide = computed<Side>(() => (direction.value === 'signal-to-value' ? 'engineering' : 'signal'));
|
||||
|
||||
const midpoint = ({ min, max }: SignalRange) => (min + max) / 2;
|
||||
const inputValue = ref<number | null>(midpoint(rangeOf(inputSide.value)));
|
||||
|
||||
// Min must be strictly lower than max: an inverted range is almost always a typo.
|
||||
const isRangeValid = (range: SignalRange) =>
|
||||
Number.isFinite(range.min) && Number.isFinite(range.max) && range.min < range.max;
|
||||
|
||||
const isSignalRangeInvalid = computed(() => !isRangeValid(signalRange.value));
|
||||
const isEngineeringRangeInvalid = computed(() => !isRangeValid(engineeringRange.value));
|
||||
|
||||
const rangesError = computed(() => {
|
||||
if (!isRangeValid(signalRange.value)) {
|
||||
return t('analogSignalConverter.texts.error-signal-range');
|
||||
}
|
||||
if (!isRangeValid(engineeringRange.value)) {
|
||||
return t('analogSignalConverter.texts.error-engineering-range');
|
||||
}
|
||||
return '';
|
||||
});
|
||||
|
||||
const outputValue = computed(() => {
|
||||
const value = toNumber(inputValue.value);
|
||||
if (rangesError.value || !Number.isFinite(value)) {
|
||||
return Number.NaN;
|
||||
}
|
||||
return scaleValue({ value, from: rangeOf(inputSide.value), to: rangeOf(outputSide.value) });
|
||||
});
|
||||
|
||||
const valueOf = (side: Side) => (side === inputSide.value ? toNumber(inputValue.value) : outputValue.value);
|
||||
|
||||
// Swapping keeps the current operating point: the output becomes the new input.
|
||||
function swapDirection() {
|
||||
const previousOutput = outputValue.value;
|
||||
direction.value = direction.value === 'signal-to-value' ? 'value-to-signal' : 'signal-to-value';
|
||||
inputValue.value = Number.isFinite(previousOutput)
|
||||
? Number(formatSignalNumber(previousOutput))
|
||||
: midpoint(rangeOf(inputSide.value));
|
||||
}
|
||||
|
||||
const CUSTOM_PRESET = 'custom';
|
||||
const presetOptions = computed(() => [
|
||||
...props.presets.map(({ label }, index) => ({ label, value: String(index) })),
|
||||
{ label: t('analogSignalConverter.texts.preset-custom'), value: CUSTOM_PRESET },
|
||||
]);
|
||||
|
||||
const selectedPreset = computed({
|
||||
get() {
|
||||
const index = props.presets.findIndex(({ min, max }) => min === signalMin.value && max === signalMax.value);
|
||||
return index === -1 ? CUSTOM_PRESET : String(index);
|
||||
},
|
||||
set(value: string) {
|
||||
const preset = props.presets[Number(value)];
|
||||
if (preset) {
|
||||
signalMin.value = preset.min;
|
||||
signalMax.value = preset.max;
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
const isCurrentLoop = computed(
|
||||
() => props.currentLoopDiagnostic && signalRange.value.min === 4 && signalRange.value.max === 20,
|
||||
);
|
||||
|
||||
function getSignalStatus(value: number): SideStatus {
|
||||
if (isCurrentLoop.value) {
|
||||
const status = getCurrentLoopStatus(value);
|
||||
if (status === 'ok') {
|
||||
return { type: 'ok', message: t('analogSignalConverter.texts.status-ok') };
|
||||
}
|
||||
return {
|
||||
type: status.startsWith('failure') ? 'error' : 'warning',
|
||||
message: t(`analogSignalConverter.texts.loop-status-${status}`),
|
||||
};
|
||||
}
|
||||
|
||||
const status = getSignalRangeStatus({ value, range: signalRange.value });
|
||||
if (status === 'ok') {
|
||||
return { type: 'ok', message: t('analogSignalConverter.texts.status-ok') };
|
||||
}
|
||||
// A live zero (e.g. 2-10 V) lets a value under the minimum reveal a broken wire.
|
||||
const hasLiveZero = Math.min(signalRange.value.min, signalRange.value.max) > 0;
|
||||
return {
|
||||
type: 'warning',
|
||||
message:
|
||||
status === 'below-range' && hasLiveZero
|
||||
? t('analogSignalConverter.texts.status-below-live-zero')
|
||||
: t(`analogSignalConverter.texts.status-${status}`),
|
||||
};
|
||||
}
|
||||
|
||||
function getEngineeringStatus(value: number): SideStatus {
|
||||
const status = getSignalRangeStatus({ value, range: engineeringRange.value });
|
||||
return status === 'ok'
|
||||
? { type: 'ok', message: t('analogSignalConverter.texts.status-ok') }
|
||||
: { type: 'warning', message: t(`analogSignalConverter.texts.engineering-${status}`) };
|
||||
}
|
||||
|
||||
function statusOf(side: Side): SideStatus | null {
|
||||
const value = valueOf(side);
|
||||
if (rangesError.value || !Number.isFinite(value)) {
|
||||
return null;
|
||||
}
|
||||
return side === 'signal' ? getSignalStatus(value) : getEngineeringStatus(value);
|
||||
}
|
||||
|
||||
const inputStatus = computed(() => statusOf(inputSide.value));
|
||||
const outputStatus = computed(() => statusOf(outputSide.value));
|
||||
|
||||
const formatWithUnit = (value: number, unit: string) =>
|
||||
Number.isFinite(value) ? `${formatSignalNumber(value)}${unit ? ` ${unit}` : ''}` : '';
|
||||
const withUnit = (label: string, unit: string) => (unit ? `${label} (${unit})` : label);
|
||||
|
||||
const outputText = computed(() => formatWithUnit(outputValue.value, unitOf(outputSide.value)));
|
||||
const roundedOutputText = computed(() =>
|
||||
props.integerSignal && outputSide.value === 'signal' && Number.isFinite(outputValue.value)
|
||||
? formatWithUnit(Math.round(outputValue.value), props.signalUnit)
|
||||
: '',
|
||||
);
|
||||
const { copy: copyOutput } = useCopy({ source: () => formatSignalNumber(outputValue.value) });
|
||||
|
||||
// Significant digits rather than decimals: Siemens gains such as 100 / 27648 are tiny.
|
||||
const formatCoefficient = (value: number) => String(Number(value.toPrecision(10)));
|
||||
|
||||
const formula = computed(() => {
|
||||
if (rangesError.value) {
|
||||
return '';
|
||||
}
|
||||
const { gain, offset } = getLinearTransform({ from: rangeOf(inputSide.value), to: rangeOf(outputSide.value) });
|
||||
const names = {
|
||||
signal: t('analogSignalConverter.texts.formula-signal'),
|
||||
engineering: t('analogSignalConverter.texts.formula-value'),
|
||||
};
|
||||
const product = `${names[outputSide.value]} = ${formatCoefficient(gain)} × ${names[inputSide.value]}`;
|
||||
return formatCoefficient(offset) === '0'
|
||||
? product
|
||||
: `${product} ${offset < 0 ? '-' : '+'} ${formatCoefficient(Math.abs(offset))}`;
|
||||
});
|
||||
|
||||
const referencePoints = computed(() => {
|
||||
if (rangesError.value) {
|
||||
return [];
|
||||
}
|
||||
return [0, 25, 50, 75, 100].map((percent) => {
|
||||
const signal = scaleValue({ value: percent, from: { min: 0, max: 100 }, to: signalRange.value });
|
||||
const value = scaleValue({ value: percent, from: { min: 0, max: 100 }, to: engineeringRange.value });
|
||||
return {
|
||||
percent: `${percent} %`,
|
||||
signal: formatWithUnit(props.integerSignal ? Math.round(signal) : signal, props.signalUnit),
|
||||
value: formatWithUnit(value, engineeringUnit.value),
|
||||
};
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div flex flex-col gap-3>
|
||||
<div class="converter-columns">
|
||||
<!-- Input -->
|
||||
<c-card class="column" :title="t('analogSignalConverter.texts.title-input')">
|
||||
<div class="side-label">
|
||||
{{ withUnit(labelOf(inputSide), unitOf(inputSide)) }}
|
||||
</div>
|
||||
<n-input-number-i18n v-model:value="inputValue" size="large" data-test-id="converter-input" />
|
||||
|
||||
<AnalogGauge
|
||||
v-if="!rangesError"
|
||||
:min="rangeOf(inputSide).min"
|
||||
:max="rangeOf(inputSide).max"
|
||||
:value="valueOf(inputSide)"
|
||||
:unit="unitOf(inputSide)"
|
||||
:status="inputStatus?.type"
|
||||
data-test-id="input-gauge"
|
||||
/>
|
||||
|
||||
<div v-if="inputStatus" class="status" :class="inputStatus.type" data-test-id="input-status">
|
||||
<icon-mdi-check-circle v-if="inputStatus.type === 'ok'" />
|
||||
<icon-mdi-alert v-else />
|
||||
<span>{{ inputStatus.message }}</span>
|
||||
</div>
|
||||
</c-card>
|
||||
|
||||
<!-- Parameters -->
|
||||
<c-card class="column" :title="t('analogSignalConverter.texts.title-parameters')">
|
||||
<!-- c-select keeps the label it was mounted with: remount it when the language changes -->
|
||||
<c-select
|
||||
:key="locale"
|
||||
v-model:value="selectedPreset"
|
||||
:options="presetOptions"
|
||||
:label="t('analogSignalConverter.texts.label-signal-type')"
|
||||
data-test-id="signal-preset"
|
||||
/>
|
||||
|
||||
<div class="side-label" mt-3>
|
||||
{{ withUnit(`${signalLabel} min / max`, signalUnit) }}
|
||||
</div>
|
||||
<div flex gap-2>
|
||||
<n-input-number-i18n
|
||||
v-model:value="signalMin"
|
||||
:status="isSignalRangeInvalid ? 'error' : undefined"
|
||||
flex-1
|
||||
:show-button="false"
|
||||
data-test-id="signal-min"
|
||||
/>
|
||||
<n-input-number-i18n
|
||||
v-model:value="signalMax"
|
||||
:status="isSignalRangeInvalid ? 'error' : undefined"
|
||||
flex-1
|
||||
:show-button="false"
|
||||
data-test-id="signal-max"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="swap" my-4>
|
||||
<c-button
|
||||
round
|
||||
:title="t('analogSignalConverter.texts.swap-direction')"
|
||||
data-test-id="swap-direction"
|
||||
@click="swapDirection"
|
||||
>
|
||||
<icon-mdi-swap-horizontal text-20px />
|
||||
<span ml-2>{{ t('analogSignalConverter.texts.swap-direction') }}</span>
|
||||
</c-button>
|
||||
</div>
|
||||
|
||||
<div class="side-label">
|
||||
{{ t('analogSignalConverter.texts.label-engineering-range') }}
|
||||
</div>
|
||||
<div flex gap-2>
|
||||
<n-input-number-i18n
|
||||
v-model:value="engineeringMin"
|
||||
:status="isEngineeringRangeInvalid ? 'error' : undefined"
|
||||
flex-1
|
||||
:show-button="false"
|
||||
data-test-id="engineering-min"
|
||||
/>
|
||||
<n-input-number-i18n
|
||||
v-model:value="engineeringMax"
|
||||
:status="isEngineeringRangeInvalid ? 'error' : undefined"
|
||||
flex-1
|
||||
:show-button="false"
|
||||
data-test-id="engineering-max"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<c-input-text
|
||||
v-model:value="engineeringUnit"
|
||||
:label="t('analogSignalConverter.texts.label-engineering-unit')"
|
||||
:placeholder="t('analogSignalConverter.texts.placeholder-unit')"
|
||||
mt-3
|
||||
data-test-id="engineering-unit"
|
||||
/>
|
||||
|
||||
<c-alert v-if="rangesError" type="error" mt-3>
|
||||
{{ rangesError }}
|
||||
</c-alert>
|
||||
|
||||
<input-copyable
|
||||
v-else
|
||||
:label="t('analogSignalConverter.texts.label-formula')"
|
||||
:value="formula"
|
||||
mt-3
|
||||
data-test-id="formula"
|
||||
/>
|
||||
</c-card>
|
||||
|
||||
<!-- Output -->
|
||||
<c-card class="column" :title="t('analogSignalConverter.texts.title-output')">
|
||||
<div class="side-label">
|
||||
{{ withUnit(labelOf(outputSide), unitOf(outputSide)) }}
|
||||
</div>
|
||||
<div class="output-value">
|
||||
<span data-test-id="converter-output">{{ outputText || '—' }}</span>
|
||||
<c-button
|
||||
v-if="outputText"
|
||||
variant="text"
|
||||
circle
|
||||
:title="t('analogSignalConverter.texts.copy-output')"
|
||||
@click="copyOutput()"
|
||||
>
|
||||
<icon-mdi-content-copy />
|
||||
</c-button>
|
||||
</div>
|
||||
<div v-if="roundedOutputText" class="rounded-output" data-test-id="converter-output-rounded">
|
||||
{{ t('analogSignalConverter.texts.label-rounded-signal') }} : {{ roundedOutputText }}
|
||||
</div>
|
||||
|
||||
<AnalogGauge
|
||||
v-if="!rangesError"
|
||||
:min="rangeOf(outputSide).min"
|
||||
:max="rangeOf(outputSide).max"
|
||||
:value="outputValue"
|
||||
:unit="unitOf(outputSide)"
|
||||
:status="outputStatus?.type"
|
||||
data-test-id="output-gauge"
|
||||
/>
|
||||
|
||||
<div v-if="outputStatus" class="status" :class="outputStatus.type" data-test-id="output-status">
|
||||
<icon-mdi-check-circle v-if="outputStatus.type === 'ok'" />
|
||||
<icon-mdi-alert v-else />
|
||||
<span>{{ outputStatus.message }}</span>
|
||||
</div>
|
||||
</c-card>
|
||||
</div>
|
||||
|
||||
<c-card v-if="!rangesError" :title="t('analogSignalConverter.texts.title-reference-points')">
|
||||
<n-table size="small" data-test-id="reference-points">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>{{ t('analogSignalConverter.texts.column-percent') }}</th>
|
||||
<th>{{ signalLabel }}</th>
|
||||
<th>{{ t('analogSignalConverter.texts.label-engineering-value') }}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr v-for="point of referencePoints" :key="point.percent">
|
||||
<td>{{ point.percent }}</td>
|
||||
<td>{{ point.signal }}</td>
|
||||
<td>{{ point.value }}</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</n-table>
|
||||
</c-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped lang="less">
|
||||
.converter-columns {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1.2fr 1fr;
|
||||
gap: 12px;
|
||||
align-items: stretch;
|
||||
|
||||
// Narrow screens: input, parameters and output stacked
|
||||
@media (max-width: 900px) {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.column {
|
||||
min-width: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.side-label {
|
||||
font-size: 13px;
|
||||
opacity: 0.75;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.swap {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.output-value {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 4px;
|
||||
min-height: 40px;
|
||||
font-size: 28px;
|
||||
font-weight: 600;
|
||||
word-break: break-all;
|
||||
}
|
||||
|
||||
.rounded-output {
|
||||
text-align: center;
|
||||
font-size: 13px;
|
||||
opacity: 0.75;
|
||||
}
|
||||
|
||||
.status {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 6px;
|
||||
font-size: 13px;
|
||||
line-height: 1.4;
|
||||
|
||||
svg {
|
||||
flex-shrink: 0;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
&.ok {
|
||||
color: v-bind('themeVars.successColor');
|
||||
}
|
||||
&.warning {
|
||||
color: v-bind('themeVars.warningColor');
|
||||
}
|
||||
&.error {
|
||||
color: v-bind('themeVars.errorColor');
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -0,0 +1,53 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
for (const viewport of [
|
||||
{ width: 320, height: 568 },
|
||||
{ width: 667, height: 375 },
|
||||
{ width: 1280, height: 720 },
|
||||
]) {
|
||||
test.describe(`Language menu at ${viewport.width}x${viewport.height}`, () => {
|
||||
test.use({ viewport });
|
||||
|
||||
test('scrolls to the last language without scrolling the page or dismissing the menu', async ({ page }) => {
|
||||
await page.goto('/');
|
||||
|
||||
if (viewport.width <= 700) {
|
||||
await page.getByRole('button', { name: 'Toggle menu', exact: true }).click();
|
||||
}
|
||||
|
||||
await page.getByRole('button', { name: 'Language', exact: true }).click();
|
||||
|
||||
const menu = page.locator('.n-dropdown-menu');
|
||||
await expect(menu).toBeVisible();
|
||||
await menu.evaluate(async (element) => {
|
||||
await Promise.all(element.getAnimations().map((animation) => animation.finished));
|
||||
});
|
||||
const bounds = await menu.boundingBox();
|
||||
expect(bounds).not.toBeNull();
|
||||
expect(bounds!.y).toBeGreaterThanOrEqual(0);
|
||||
expect(bounds!.y + bounds!.height).toBeLessThanOrEqual(viewport.height);
|
||||
|
||||
const pageScroll = await page.evaluate(() => window.scrollY);
|
||||
// Move directly: locator.hover() may scroll the page to align a teleported menu.
|
||||
await page.mouse.move(bounds!.x + bounds!.width / 2, bounds!.y + bounds!.height / 2);
|
||||
const lastLanguage = menu.getByText('繁體中文', { exact: true });
|
||||
await expect(async () => {
|
||||
await page.mouse.wheel(0, 300);
|
||||
await expect(lastLanguage).toBeInViewport({ ratio: 1, timeout: 500 });
|
||||
}).toPass({ timeout: 10_000 });
|
||||
await expect(menu).toBeVisible();
|
||||
expect(await page.evaluate(() => window.scrollY)).toBe(pageScroll);
|
||||
|
||||
// A second gesture at the boundary must not chain to the page either.
|
||||
await page.mouse.wheel(0, 500);
|
||||
await page.evaluate(
|
||||
() => new Promise<void>((resolve) => requestAnimationFrame(() => requestAnimationFrame(() => resolve()))),
|
||||
);
|
||||
await expect(menu).toBeVisible();
|
||||
expect(await page.evaluate(() => window.scrollY)).toBe(pageScroll);
|
||||
await lastLanguage.click();
|
||||
await expect(menu).not.toBeVisible();
|
||||
await expect(page.getByRole('button', { name: '語言', exact: true })).toBeVisible();
|
||||
});
|
||||
});
|
||||
}
|
||||
@@ -35,6 +35,7 @@ const localesLong: Record<string, string> = {
|
||||
uk: 'Українська',
|
||||
ko: '한국인',
|
||||
zh: '中文',
|
||||
'zh-TW': '繁體中文',
|
||||
vi: 'Tiếng Việt',
|
||||
ar: 'عربي',
|
||||
hi: 'हिन्दी',
|
||||
@@ -60,6 +61,23 @@ function onLanguageSelect(key: string) {
|
||||
locale.value = key;
|
||||
}
|
||||
|
||||
// Keep wheel gestures inside the menu even in engines without overscroll-behavior.
|
||||
function containLanguageMenuScroll(event: WheelEvent) {
|
||||
if (event.ctrlKey) {
|
||||
return;
|
||||
}
|
||||
const scroller = (event.currentTarget as HTMLElement).querySelector('.n-scrollbar-container');
|
||||
if (!scroller) {
|
||||
return;
|
||||
}
|
||||
if (
|
||||
(event.deltaY < 0 && scroller.scrollTop <= 0) ||
|
||||
(event.deltaY > 0 && scroller.scrollTop + scroller.clientHeight >= scroller.scrollHeight - 1)
|
||||
) {
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
|
||||
const themeOptions = computed(() => [
|
||||
{
|
||||
key: 'auto',
|
||||
@@ -119,13 +137,33 @@ function closeMenuOnSmallScreen() {
|
||||
</c-button>
|
||||
</n-dropdown>
|
||||
|
||||
<n-dropdown :options="languageOptions" trigger="click" @select="onLanguageSelect">
|
||||
<n-dropdown
|
||||
class="language-dropdown"
|
||||
:options="languageOptions"
|
||||
trigger="click"
|
||||
scrollable
|
||||
@select="onLanguageSelect"
|
||||
@wheel="containLanguageMenuScroll"
|
||||
>
|
||||
<c-button circle variant="text" :aria-label="t('home.nav.language', 'Language')">
|
||||
<n-icon size="25" :component="IconLanguage" />
|
||||
</c-button>
|
||||
</n-dropdown>
|
||||
</template>
|
||||
|
||||
<style lang="less">
|
||||
// The menu is teleported outside this component. Keep it within the viewport,
|
||||
// with room for its trigger whether the popover opens above or below it.
|
||||
.language-dropdown {
|
||||
max-height: min(400px, calc(50vh - 24px));
|
||||
max-height: min(400px, calc(50dvh - 24px));
|
||||
|
||||
.n-scrollbar-container {
|
||||
overscroll-behavior-y: contain;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.n-button {
|
||||
&:not(:last-child) {
|
||||
|
||||
@@ -62,7 +62,7 @@ const toolTitle = computed<string>(() => t(`tools.${i18nKey.value}.title`, Strin
|
||||
const toolDescription = computed<string>(() => t(`tools.${i18nKey.value}.description`, String(route.meta.description)));
|
||||
const toolFooter = computed<string>(() => {
|
||||
const createLink = (linkText: string, url: string) => {
|
||||
return `[${linkText.replace('[', '\\[').replace(']', '\\]')}](${url.replace('(', '%28').replace(')', '%29')})`;
|
||||
return `[${linkText.replace(/[\\[\]]/g, '\\$&')}](${url.replace(/\(/g, '%28').replace(/\)/g, '%29')})`;
|
||||
};
|
||||
let footer = t(`tools.${i18nKey.value}.footer`, String(route.meta.footer));
|
||||
if (footer === 'undefined') {
|
||||
|
||||
+11
-2
@@ -1,8 +1,17 @@
|
||||
import { appBaseUrl as base } from '@/utils/base-url';
|
||||
import type { ToolsSettings } from '@/utils/tools-settings';
|
||||
|
||||
export { type ToolsSettings, getToolsSettingString } from '@/utils/tools-settings';
|
||||
|
||||
// Optional per-deployment settings. Lives in its own top-level-await module so the
|
||||
// fetch runs concurrently with the config fetches in src/tools/index.ts (sibling async
|
||||
// module subgraphs evaluate in parallel) instead of serially after them.
|
||||
export const toolsSettings: Record<string, Record<string, any> | any> = await fetch(`${base}tools-settings.json`)
|
||||
.then((response) => (response.ok ? (response.json() as Promise<Record<string, Record<string, any> | any>>) : {}))
|
||||
export const toolsSettings: ToolsSettings = await fetch(`${base}tools-settings.json`)
|
||||
.then((response) => (response.ok ? (response.json() as Promise<ToolsSettings>) : {}))
|
||||
.catch(() => ({}));
|
||||
|
||||
/**
|
||||
* `"offline": true` in tools-settings.json marks a deployment without internet access (an air-gapped intranet).
|
||||
* Tools that only work with internet are hidden, and tools with a bundled or mirrored fallback switch to it.
|
||||
*/
|
||||
export const isOfflineMode = toolsSettings.offline === true;
|
||||
@@ -0,0 +1,39 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test.describe('Tool - Analog scaling calculator', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/analog-scaling-calculator');
|
||||
});
|
||||
|
||||
test('Has correct title', async ({ page }) => {
|
||||
await expect(page).toHaveTitle('Analog scaling calculator - IT Tools');
|
||||
});
|
||||
|
||||
test('Scales a Siemens raw value', async ({ page }) => {
|
||||
await page.getByTestId('converter-input').locator('input').fill('20736');
|
||||
await page.getByTestId('converter-input').locator('input').press('Enter');
|
||||
await expect(page.getByTestId('converter-output')).toHaveText('75 %');
|
||||
await expect(page.getByTestId('formula').locator('input')).toHaveValue('value = 0.003616898148 × signal');
|
||||
});
|
||||
|
||||
test('Gives the rounded raw value in the other direction', async ({ page }) => {
|
||||
await page.getByTestId('swap-direction').click();
|
||||
await page.getByTestId('converter-input').locator('input').fill('33.3');
|
||||
await page.getByTestId('converter-input').locator('input').press('Enter');
|
||||
await expect(page.getByTestId('converter-output')).toHaveText('9206.784');
|
||||
await expect(page.getByTestId('converter-output-rounded')).toContainText('9207');
|
||||
});
|
||||
|
||||
test('Rejects a range whose min is not lower than its max', async ({ page }) => {
|
||||
const min = page.getByTestId('engineering-min').locator('input');
|
||||
await min.fill('200');
|
||||
await min.press('Enter');
|
||||
await expect(page.getByText('The engineering min must be lower than the engineering max.')).toBeVisible();
|
||||
await expect(page.getByTestId('converter-output')).toHaveText('—');
|
||||
await expect(page.getByTestId('output-gauge')).toHaveCount(0);
|
||||
|
||||
await min.fill('-50');
|
||||
await min.press('Enter');
|
||||
await expect(page.getByTestId('converter-output')).not.toHaveText('—');
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,25 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import AnalogSignalConverter from '@/components/AnalogSignalConverter.vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const presets = computed(() => [
|
||||
{ label: t('tools.analog-scaling-calculator.texts.preset-siemens-unipolar'), min: 0, max: 27648 },
|
||||
{ label: t('tools.analog-scaling-calculator.texts.preset-siemens-bipolar'), min: -27648, max: 27648 },
|
||||
{ label: t('tools.analog-scaling-calculator.texts.preset-schneider'), min: 0, max: 10000 },
|
||||
{ label: t('tools.analog-scaling-calculator.texts.preset-12-bits'), min: 0, max: 4095 },
|
||||
{ label: t('tools.analog-scaling-calculator.texts.preset-15-bits'), min: 0, max: 32767 },
|
||||
{ label: t('tools.analog-scaling-calculator.texts.preset-16-bits'), min: 0, max: 65535 },
|
||||
]);
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AnalogSignalConverter
|
||||
storage-key="analog-scaling-calculator"
|
||||
:signal-label="t('tools.analog-scaling-calculator.texts.signal-label')"
|
||||
:presets="presets"
|
||||
:default-engineering="{ min: 0, max: 100, unit: '%' }"
|
||||
integer-signal
|
||||
/>
|
||||
</template>
|
||||
@@ -0,0 +1,25 @@
|
||||
import { defineTool } from '../tool';
|
||||
import { translate as t } from '@/plugins/i18n.plugin';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: t('tools.analog-scaling-calculator.title'),
|
||||
path: '/analog-scaling-calculator',
|
||||
description: t('tools.analog-scaling-calculator.description'),
|
||||
keywords: [
|
||||
'analog',
|
||||
'scaling',
|
||||
'raw',
|
||||
'plc',
|
||||
'siemens',
|
||||
'27648',
|
||||
'schneider',
|
||||
'norm_x',
|
||||
'scale_x',
|
||||
'engineering',
|
||||
'unit',
|
||||
],
|
||||
component: () => import('./analog-scaling-calculator.vue'),
|
||||
icon: defineAsyncComponent(() => import('@vicons/tabler/es/AdjustmentsHorizontal')),
|
||||
createdAt: new Date('2026-11-03'),
|
||||
category: 'Automation',
|
||||
});
|
||||
@@ -6,7 +6,7 @@ import { randIntFromInterval } from '@/utils/random';
|
||||
const { t } = useI18n();
|
||||
|
||||
const [coinFlip, refreshCoinFlip] = computedRefreshable(() => ({
|
||||
coin: randIntFromInterval(0, 10) % 2 === 0 ? 'Heads' : 'Tails',
|
||||
coin: randIntFromInterval(0, 1) === 0 ? 'Heads' : 'Tails',
|
||||
dt: Date.now(),
|
||||
}));
|
||||
</script>
|
||||
|
||||
@@ -3,6 +3,7 @@ import { useI18n } from 'vue-i18n';
|
||||
import { Countdown } from 'vue3-flip-countdown';
|
||||
import { add, format } from 'date-fns';
|
||||
import { useQueryParam } from '@/composable/queryParams';
|
||||
import { appBaseUrl as base } from '@/utils/base-url';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -181,7 +182,7 @@ const isEnded = computed(() => status.value === 'ended');
|
||||
</div>
|
||||
</c-card>
|
||||
|
||||
<audio ref="audio" loop src="/Beep.mp3" />
|
||||
<audio ref="audio" loop :src="`${base}Beep.mp3`" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -4,6 +4,7 @@ import { Countdown } from 'vue3-flip-countdown';
|
||||
import { CronExpressionParser } from 'cron-parser';
|
||||
import { format } from 'date-fns';
|
||||
import { useQueryParam } from '@/composable/queryParams';
|
||||
import { appBaseUrl as base } from '@/utils/base-url';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -166,7 +167,7 @@ const isEnded = computed(() => status.value === 'ended');
|
||||
</div>
|
||||
</c-card>
|
||||
|
||||
<audio ref="audio" loop src="/Beep.mp3" />
|
||||
<audio ref="audio" loop :src="`${base}Beep.mp3`" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { code, countries, country } from 'currency-codes-ts';
|
||||
import converter from 'currency-exchanger-js';
|
||||
import { DEFAULT_CURRENCY_API_URL, convertWithRates, fetchCurrencyRates } from './currency-rates';
|
||||
import moneysData from './moneys.json';
|
||||
import { useQueryParam, useQueryParamOrStorage } from '@/composable/queryParams';
|
||||
import { getToolsSettingString, toolsSettings } from '@/tools-settings';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -21,21 +22,19 @@ const currentCurrency = useQueryParamOrStorage<string>({
|
||||
const amount = useQueryParam({ tool: 'currency-conv', name: 'amount', defaultValue: 1 });
|
||||
const currentDatetime = ref(Date.now());
|
||||
|
||||
// An intranet mirror of the currency-api files, configured in tools-settings.json
|
||||
const currencyApiUrl = getToolsSettingString(toolsSettings, 'currency-converter', 'url') || DEFAULT_CURRENCY_API_URL;
|
||||
|
||||
const convertedCurrencies = computedAsync<Record<string, number>>(async () => {
|
||||
const currentCurrencyValue = currentCurrency.value;
|
||||
const currentDatetimeValue = currentDatetime.value;
|
||||
const amountValue = amount.value;
|
||||
const otherCurrenciesValues = otherCurrencies.value;
|
||||
|
||||
// Always the latest rates: currency-exchanger-js, used before, ignored the date too. One fetch covers all targets.
|
||||
const rates = await fetchCurrencyRates(currencyApiUrl, currentCurrencyValue);
|
||||
let result = {};
|
||||
for (const targetCurrency of otherCurrenciesValues) {
|
||||
const value = await converter.convertOnDate(
|
||||
amountValue,
|
||||
currentCurrencyValue,
|
||||
targetCurrency.name,
|
||||
new Date(currentDatetimeValue),
|
||||
);
|
||||
result = { ...result, [targetCurrency.name]: value };
|
||||
result = { ...result, [targetCurrency.name]: convertWithRates(rates, amountValue, targetCurrency.name) };
|
||||
}
|
||||
return result;
|
||||
});
|
||||
|
||||
@@ -1,4 +0,0 @@
|
||||
declare module 'currency-exchanger-js' {
|
||||
export function convertOnDate(value: number, fromCurrency: string, toCurrency: string, inputDate: Date): number;
|
||||
export function convert(value: number, fromCurrency: string, toCurrency: string): number;
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
import { describe, expect, it, vi } from 'vitest';
|
||||
import { DEFAULT_CURRENCY_API_URL, convertWithRates, currencyRatesUrl, fetchCurrencyRates } from './currency-rates';
|
||||
|
||||
describe('currency-rates', () => {
|
||||
it('builds the jsDelivr URL by default', () => {
|
||||
expect(currencyRatesUrl(DEFAULT_CURRENCY_API_URL, ' EUR ')).to.equal(
|
||||
'https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/v1/currencies/eur.json',
|
||||
);
|
||||
});
|
||||
|
||||
it('builds mirror URLs with or without a trailing slash', () => {
|
||||
expect(currencyRatesUrl('https://intranet.example/currency-api/', 'usd')).to.equal(
|
||||
'https://intranet.example/currency-api/v1/currencies/usd.json',
|
||||
);
|
||||
expect(currencyRatesUrl('https://intranet.example/currency-api', 'usd')).to.equal(
|
||||
'https://intranet.example/currency-api/v1/currencies/usd.json',
|
||||
);
|
||||
});
|
||||
|
||||
it('fetches the rates of the base currency and converts with them', async () => {
|
||||
const fetchFn = vi.fn<(url: string) => Promise<Response>>(
|
||||
async () => new Response(JSON.stringify({ date: '2026-10-04', eur: { usd: 1.1, sek: 11.5 } })),
|
||||
);
|
||||
|
||||
const rates = await fetchCurrencyRates('https://intranet.example/currency-api/', 'EUR', fetchFn);
|
||||
|
||||
expect(fetchFn).toHaveBeenCalledWith('https://intranet.example/currency-api/v1/currencies/eur.json');
|
||||
expect(convertWithRates(rates, 2, 'USD')).to.equal(2.2);
|
||||
expect(convertWithRates(rates, 2, 'xyz')).toBeNaN();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,26 @@
|
||||
// Exchange rates from https://github.com/fawazahmed0/exchange-api, read the way currency-exchanger-js did, but from a
|
||||
// configurable base URL so an intranet mirror of the package's file layout can be used instead of jsDelivr.
|
||||
|
||||
/** Root of the @fawazahmed0/currency-api package; it serves `v1/currencies/<code>.json` with the latest rates */
|
||||
export const DEFAULT_CURRENCY_API_URL = 'https://cdn.jsdelivr.net/npm/@fawazahmed0/currency-api@latest/';
|
||||
|
||||
export function currencyRatesUrl(baseUrl: string, currency: string) {
|
||||
const base = baseUrl.endsWith('/') ? baseUrl : `${baseUrl}/`;
|
||||
return `${base}v1/currencies/${currency.trim().toLowerCase()}.json`;
|
||||
}
|
||||
|
||||
/** Rates of one unit of `currency` in every other currency, keyed by lowercase currency code */
|
||||
export async function fetchCurrencyRates(
|
||||
baseUrl: string,
|
||||
currency: string,
|
||||
fetchFn: (url: string) => Promise<Response> = fetch,
|
||||
): Promise<Record<string, number>> {
|
||||
const response = await fetchFn(currencyRatesUrl(baseUrl, currency));
|
||||
const data = await response.json();
|
||||
return data[currency.trim().toLowerCase()];
|
||||
}
|
||||
|
||||
/** `amount` of the base currency converted with `rates` (NaN when the target currency is unknown, like before) */
|
||||
export function convertWithRates(rates: Record<string, number>, amount: number, toCurrency: string) {
|
||||
return amount * rates[toCurrency.trim().toLowerCase()];
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
import { defineTool } from '../tool';
|
||||
import { getToolsSettingString } from '@/utils/tools-settings';
|
||||
import { translate as t } from '@/plugins/i18n.plugin';
|
||||
|
||||
export const tool = defineTool({
|
||||
@@ -11,4 +12,5 @@ export const tool = defineTool({
|
||||
createdAt: new Date('2024-08-15'),
|
||||
category: 'Data',
|
||||
externAccessDescription: t('tools.currency-converter.externalAccess'),
|
||||
requiresInternet: (settings) => !getToolsSettingString(settings, 'currency-converter', 'url'),
|
||||
});
|
||||
@@ -0,0 +1,37 @@
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test.describe('Tool - 4-20 mA converter', () => {
|
||||
test.beforeEach(async ({ page }) => {
|
||||
await page.goto('/current-loop-4-20ma-converter');
|
||||
});
|
||||
|
||||
test('Has correct title', async ({ page }) => {
|
||||
await expect(page).toHaveTitle('4-20 mA converter - IT Tools');
|
||||
});
|
||||
|
||||
test('Converts a current into an engineering value', async ({ page }) => {
|
||||
await page.getByTestId('converter-input').locator('input').fill('8');
|
||||
await page.getByTestId('converter-input').locator('input').press('Enter');
|
||||
await expect(page.getByTestId('converter-output')).toHaveText('2.5 bar');
|
||||
await expect(page.getByTestId('input-status')).toContainText('In range');
|
||||
});
|
||||
|
||||
test('Swaps the direction and keeps the operating point', async ({ page }) => {
|
||||
await page.getByTestId('converter-input').locator('input').fill('16');
|
||||
await page.getByTestId('converter-input').locator('input').press('Enter');
|
||||
await expect(page.getByTestId('converter-output')).toHaveText('7.5 bar');
|
||||
|
||||
await page.getByTestId('swap-direction').click();
|
||||
await expect(page.getByTestId('converter-input').locator('input')).toHaveValue('7.5');
|
||||
await expect(page.getByTestId('converter-output')).toHaveText('16 mA');
|
||||
await expect(page.getByTestId('formula').locator('input')).toHaveValue('signal = 1.6 × value + 4');
|
||||
|
||||
await page.getByTestId('swap-direction').click();
|
||||
});
|
||||
|
||||
test('Reports a NAMUR NE 43 loop failure', async ({ page }) => {
|
||||
await page.getByTestId('converter-input').locator('input').fill('2');
|
||||
await page.getByTestId('converter-input').locator('input').press('Enter');
|
||||
await expect(page.getByTestId('input-status')).toContainText('Low failure');
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,22 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import AnalogSignalConverter from '@/components/AnalogSignalConverter.vue';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const presets = [
|
||||
{ label: '4-20 mA', min: 4, max: 20 },
|
||||
{ label: '0-20 mA', min: 0, max: 20 },
|
||||
];
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<AnalogSignalConverter
|
||||
storage-key="current-loop-4-20ma-converter"
|
||||
:signal-label="t('tools.current-loop-4-20ma-converter.texts.signal-label')"
|
||||
signal-unit="mA"
|
||||
:presets="presets"
|
||||
:default-engineering="{ min: 0, max: 10, unit: 'bar' }"
|
||||
current-loop-diagnostic
|
||||
/>
|
||||
</template>
|
||||
@@ -0,0 +1,26 @@
|
||||
import { defineTool } from '../tool';
|
||||
import { translate as t } from '@/plugins/i18n.plugin';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: t('tools.current-loop-4-20ma-converter.title'),
|
||||
path: '/current-loop-4-20ma-converter',
|
||||
description: t('tools.current-loop-4-20ma-converter.description'),
|
||||
keywords: [
|
||||
'4-20',
|
||||
'ma',
|
||||
'milliampere',
|
||||
'current',
|
||||
'loop',
|
||||
'analog',
|
||||
'sensor',
|
||||
'transmitter',
|
||||
'namur',
|
||||
'ne43',
|
||||
'plc',
|
||||
'scaling',
|
||||
],
|
||||
component: () => import('./current-loop-4-20ma-converter.vue'),
|
||||
icon: defineAsyncComponent(() => import('@vicons/tabler/es/Gauge')),
|
||||
createdAt: new Date('2026-11-03'),
|
||||
category: 'Automation',
|
||||
});
|
||||
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useQueryParamOrStorage } from '@/composable/queryParams';
|
||||
import { multiRandFromArray } from '@/utils/random';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -13,12 +14,41 @@ const password = ref('');
|
||||
const permissions = ref<string[]>([]);
|
||||
const sqlOutput = ref('');
|
||||
|
||||
// Oracle quoted identifiers and passwords cannot contain `"`, and there is no way to escape it
|
||||
const accountError = computed(() =>
|
||||
dbType.value === 'oracle' && account.value.includes('"')
|
||||
? t('tools.database-builder.texts.error-oracle-account-double-quote')
|
||||
: undefined,
|
||||
);
|
||||
const passwordError = computed(() =>
|
||||
dbType.value === 'oracle' && password.value.includes('"')
|
||||
? t('tools.database-builder.texts.error-oracle-password-double-quote')
|
||||
: undefined,
|
||||
);
|
||||
|
||||
function generateRandomPassword(length = 12) {
|
||||
const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*';
|
||||
return Array.from({ length }, () => chars[Math.floor(Math.random() * chars.length)]).join('');
|
||||
return multiRandFromArray([...chars], length).join('');
|
||||
}
|
||||
|
||||
// Quote user input so a quote, backtick or bracket cannot end the literal or identifier early
|
||||
const sqlString = (value: string) => `'${value.replace(/'/g, "''")}'`;
|
||||
// E'' treats backslashes as escapes whatever standard_conforming_strings is set to
|
||||
const pgString = (value: string) =>
|
||||
value.includes('\\') ? `E'${value.replace(/\\/g, '\\\\').replace(/'/g, "''")}'` : sqlString(value);
|
||||
const mysqlString = (value: string) => `'${value.replace(/\\/g, '\\\\').replace(/'/g, "''")}'`;
|
||||
const mysqlIdentifier = (value: string) => `\`${value.replace(/`/g, '``')}\``;
|
||||
const pgIdentifier = (value: string) => `"${value.replace(/"/g, '""')}"`;
|
||||
const sqlServerIdentifier = (value: string) => `[${value.replace(/]/g, ']]')}]`;
|
||||
// Quoting makes Oracle names case-sensitive, so plain names stay unquoted (names with `"` are rejected by accountError)
|
||||
const oracleIdentifier = (value: string) => (/^[A-Za-z][\w$#]*$/.test(value) ? value : `"${value}"`);
|
||||
const sqlComment = (value: string) => value.replace(/[\r\n]+/g, ' ');
|
||||
|
||||
function generateSQL() {
|
||||
if (accountError.value || passwordError.value) {
|
||||
sqlOutput.value = '';
|
||||
return;
|
||||
}
|
||||
const pwd = password.value || generateRandomPassword();
|
||||
const perms = permissions.value.length > 0 ? permissions.value.join(', ') : 'ALL PRIVILEGES';
|
||||
|
||||
@@ -27,44 +57,44 @@ function generateSQL() {
|
||||
switch (dbType.value) {
|
||||
case 'mysql':
|
||||
sql = `
|
||||
CREATE DATABASE IF NOT EXISTS \`${dbName.value}\`;
|
||||
CREATE USER IF NOT EXISTS '${account.value}'@'${serverAddress.value || '%'}' IDENTIFIED BY '${pwd}';
|
||||
GRANT ${perms} ON \`${dbName.value}\`.* TO '${account.value}'@'${serverAddress.value || '%'}';
|
||||
CREATE DATABASE IF NOT EXISTS ${mysqlIdentifier(dbName.value)};
|
||||
CREATE USER IF NOT EXISTS ${mysqlString(account.value)}@${mysqlString(serverAddress.value || '%')} IDENTIFIED BY ${mysqlString(pwd)};
|
||||
GRANT ${perms} ON ${mysqlIdentifier(dbName.value)}.* TO ${mysqlString(account.value)}@${mysqlString(serverAddress.value || '%')};
|
||||
FLUSH PRIVILEGES;
|
||||
`.trim();
|
||||
break;
|
||||
|
||||
case 'postgresql':
|
||||
sql = `
|
||||
CREATE DATABASE "${dbName.value}";
|
||||
CREATE ROLE "${account.value}" LOGIN PASSWORD '${pwd}';
|
||||
GRANT ${perms} ON DATABASE "${dbName.value}" TO "${account.value}";
|
||||
CREATE DATABASE ${pgIdentifier(dbName.value)};
|
||||
CREATE ROLE ${pgIdentifier(account.value)} LOGIN PASSWORD ${pgString(pwd)};
|
||||
GRANT ${perms} ON DATABASE ${pgIdentifier(dbName.value)} TO ${pgIdentifier(account.value)};
|
||||
`.trim();
|
||||
break;
|
||||
|
||||
case 'sqlserver':
|
||||
sql = `
|
||||
CREATE DATABASE [${dbName.value}];
|
||||
CREATE LOGIN [${account.value}] WITH PASSWORD = '${pwd}';
|
||||
USE [${dbName.value}];
|
||||
CREATE USER [${account.value}] FOR LOGIN [${account.value}];
|
||||
GRANT ${perms} TO [${account.value}];
|
||||
CREATE DATABASE ${sqlServerIdentifier(dbName.value)};
|
||||
CREATE LOGIN ${sqlServerIdentifier(account.value)} WITH PASSWORD = ${sqlString(pwd)};
|
||||
USE ${sqlServerIdentifier(dbName.value)};
|
||||
CREATE USER ${sqlServerIdentifier(account.value)} FOR LOGIN ${sqlServerIdentifier(account.value)};
|
||||
GRANT ${perms} TO ${sqlServerIdentifier(account.value)};
|
||||
`.trim();
|
||||
break;
|
||||
|
||||
case 'oracle':
|
||||
sql = `
|
||||
CREATE USER ${account.value} IDENTIFIED BY "${pwd}";
|
||||
GRANT ${perms} TO ${account.value};
|
||||
CREATE USER ${oracleIdentifier(account.value)} IDENTIFIED BY "${pwd}";
|
||||
GRANT ${perms} TO ${oracleIdentifier(account.value)};
|
||||
-- Oracle typically uses schemas; adjust database creation as needed
|
||||
-- for quota, you may want: ALTER USER ${account.value} QUOTA UNLIMITED ON USERS;
|
||||
-- for quota, you may want: ALTER USER ${sqlComment(oracleIdentifier(account.value))} QUOTA UNLIMITED ON USERS;
|
||||
`.trim();
|
||||
break;
|
||||
|
||||
case 'sqlite':
|
||||
sql = `
|
||||
-- SQLite does not support user management or GRANT statements.
|
||||
-- Database is created as a file: ${dbName.value}.db
|
||||
-- Database is created as a file: ${sqlComment(dbName.value)}.db
|
||||
-- Permissions are handled at the OS/file system level.
|
||||
`.trim();
|
||||
break;
|
||||
@@ -98,11 +128,20 @@ GRANT ${perms} TO ${account.value};
|
||||
<NInput v-model:value="serverAddress" :placeholder="t('tools.database-builder.texts.placeholder-127-0-0-1')" />
|
||||
</NFormItem>
|
||||
|
||||
<NFormItem :label="t('tools.database-builder.texts.label-account')">
|
||||
<NFormItem
|
||||
:label="t('tools.database-builder.texts.label-account')"
|
||||
:feedback="accountError"
|
||||
:validation-status="accountError ? 'error' : undefined"
|
||||
>
|
||||
<NInput v-model:value="account" :placeholder="t('tools.database-builder.texts.placeholder-test')" />
|
||||
</NFormItem>
|
||||
|
||||
<NFormItem :label="t('tools.database-builder.texts.label-password-leave-empty-to-generate')" label-width="auto">
|
||||
<NFormItem
|
||||
:label="t('tools.database-builder.texts.label-password-leave-empty-to-generate')"
|
||||
label-width="auto"
|
||||
:feedback="passwordError"
|
||||
:validation-status="passwordError ? 'error' : undefined"
|
||||
>
|
||||
<NInput
|
||||
v-model:value="password"
|
||||
type="password"
|
||||
|
||||
@@ -11,4 +11,5 @@ export const tool = defineTool({
|
||||
createdAt: new Date('2026-05-11'),
|
||||
category: 'Forensic',
|
||||
externAccessDescription: t('tools.dns-propagation-tester.externalAccess'),
|
||||
requiresInternet: true,
|
||||
});
|
||||
@@ -11,4 +11,5 @@ export const tool = defineTool({
|
||||
createdAt: new Date('2024-08-15'),
|
||||
category: 'Network',
|
||||
externAccessDescription: t('tools.dns-queries.externalAccess'),
|
||||
requiresInternet: true,
|
||||
});
|
||||
@@ -28,4 +28,5 @@ export const tool = defineTool({
|
||||
category: 'Network',
|
||||
externAccessDescription:
|
||||
"This tool resolves DNS records for a given domain using Cloudflare's DNS over HTTPS API (https://cloudflare-dns.com). It resolves WhoIs throught RDAP API (https://rdap.org).",
|
||||
requiresInternet: true,
|
||||
});
|
||||
@@ -11,4 +11,5 @@ export const tool = defineTool({
|
||||
createdAt: new Date('2025-08-15'),
|
||||
category: 'Network',
|
||||
externAccessDescription: t('tools.dnsbl-checker.externalAccess'),
|
||||
requiresInternet: true,
|
||||
});
|
||||
@@ -4,14 +4,6 @@ import type { SpineItem } from 'epubjs/types/section';
|
||||
import TurndownService from 'turndown';
|
||||
import { gfm as addGFM } from '@guyplusplus/turndown-plugin-gfm';
|
||||
|
||||
function escapeMarkdown(text: string) {
|
||||
return text
|
||||
.replace(/\\/g, '\\\\') // escape backslash first
|
||||
.replace(/([*_#>|`])/g, '\\$1') // escape common markdown symbols
|
||||
.replace(/([\[\]\(\)])/g, '\\$1') // escape brackets and parentheses
|
||||
.replace(/\|/g, '\\|'); // escape table pipes
|
||||
}
|
||||
|
||||
interface SpineItems {
|
||||
items: SpineItem[];
|
||||
get(href: string | undefined): Section;
|
||||
@@ -20,14 +12,6 @@ export async function extractTextAndMetaFromEPUB(file: File, format: 'text' | 'm
|
||||
let turndownService: TurndownService;
|
||||
if (format === 'markdown') {
|
||||
turndownService = new TurndownService();
|
||||
turndownService.addRule('escapeText', {
|
||||
filter(node) {
|
||||
return node.nodeType === 3; // text nodes
|
||||
},
|
||||
replacement(content) {
|
||||
return escapeMarkdown(content);
|
||||
},
|
||||
});
|
||||
addGFM(turndownService);
|
||||
turndownService.addRule('normalizedHeading', {
|
||||
filter: ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'],
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { useITStorage, useQueryParam } from '@/composable/queryParams';
|
||||
import { getToolsSettingString, isOfflineMode, toolsSettings } from '@/tools-settings';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const command = useQueryParam({ tool: 'explainshell', name: 'command', defaultValue: '' });
|
||||
const explainshellUrl = useITStorage('explainchain:url', 'https://explainshell.com');
|
||||
// Offline, the deployment's self-hosted instance is the only one reachable (the tool is hidden without it), so it
|
||||
// overrides any URL the browser stored earlier.
|
||||
const fixedExplainshellUrl = isOfflineMode ? getToolsSettingString(toolsSettings, 'explainchain', 'url') : '';
|
||||
const explainshellUrl = fixedExplainshellUrl
|
||||
? ref(fixedExplainshellUrl)
|
||||
: useITStorage('explainchain:url', 'https://explainshell.com');
|
||||
|
||||
const iframeUrl = ref('');
|
||||
function openExplain() {
|
||||
@@ -16,7 +22,7 @@ function openExplain() {
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<details mb-1>
|
||||
<details v-if="!fixedExplainshellUrl" mb-1>
|
||||
<summary>{{ t('tools.explainshell.texts.tag-explain-shell-configuration') }}</summary>
|
||||
<n-card>
|
||||
<c-input-text
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { translate as t } from '@/plugins/i18n.plugin';
|
||||
import { defineTool } from '../tool';
|
||||
import { getToolsSettingString } from '@/utils/tools-settings';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: t('tools.explainshell.title'),
|
||||
@@ -11,4 +12,5 @@ export const tool = defineTool({
|
||||
createdAt: new Date('2026-01-30'),
|
||||
category: 'Data',
|
||||
externAccessDescription: t('tools.explainshell.externalAccess'),
|
||||
requiresInternet: (settings) => !getToolsSettingString(settings, 'explainchain', 'url'),
|
||||
});
|
||||
@@ -0,0 +1,201 @@
|
||||
<template>
|
||||
<div>
|
||||
<n-form label-placement="left" label-width="120px">
|
||||
<n-space>
|
||||
<n-form-item :label="t('tools.fraction-decimal-converter.texts.label-mode')">
|
||||
<n-select v-model:value="mode" :options="modeOptions" style="width: 180px" />
|
||||
</n-form-item>
|
||||
|
||||
<n-form-item :label="t('tools.fraction-decimal-converter.texts.label-decimal-places')">
|
||||
<n-input-number v-model:value="decimalPlaces" :min="0" :max="8" style="width: 80px" />
|
||||
</n-form-item>
|
||||
|
||||
<template v-if="mode === 'decimalToFraction'">
|
||||
<n-form-item :label="t('tools.fraction-decimal-converter.texts.label-unit')">
|
||||
<n-select v-model:value="decimalUnit" :options="unitOptions" style="width: 120px" />
|
||||
</n-form-item>
|
||||
<n-form-item
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-fraction-resolution')"
|
||||
label-width="140px"
|
||||
>
|
||||
<n-select v-model:value="maxDenominator" :options="denominatorOptions" style="width: 180px" />
|
||||
</n-form-item>
|
||||
</template>
|
||||
</n-space>
|
||||
|
||||
<n-form-item
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-decimal-value')"
|
||||
v-if="mode === 'decimalToFraction'"
|
||||
>
|
||||
<n-input-number v-model:value="decimalInput" style="width: 100%" />
|
||||
</n-form-item>
|
||||
|
||||
<n-form-item
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-fraction')"
|
||||
v-if="mode === 'fractionToDecimal'"
|
||||
>
|
||||
<n-input
|
||||
v-model:value="fractionInput"
|
||||
:placeholder="t('tools.fraction-decimal-converter.texts.placeholder-e-g-3-16-or-2-3-16')"
|
||||
/>
|
||||
</n-form-item>
|
||||
</n-form>
|
||||
|
||||
<n-card :title="t('tools.fraction-decimal-converter.texts.title-results')">
|
||||
<template v-if="mode === 'fractionToDecimal'">
|
||||
<input-copyable
|
||||
:value="decimalInches"
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-decimal-inches')"
|
||||
label-position="left"
|
||||
label-width="120px"
|
||||
mb-1
|
||||
/>
|
||||
<input-copyable
|
||||
:value="millimeters"
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-millimeters')"
|
||||
label-position="left"
|
||||
label-width="120px"
|
||||
mb-1
|
||||
/>
|
||||
</template>
|
||||
|
||||
<template v-else>
|
||||
<input-copyable
|
||||
:value="fractionResult"
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-fraction')"
|
||||
label-position="left"
|
||||
label-width="120px"
|
||||
mb-1
|
||||
/>
|
||||
<input-copyable
|
||||
:value="decimalInchesReverse"
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-decimal-inches')"
|
||||
label-position="left"
|
||||
label-width="120px"
|
||||
mb-1
|
||||
/>
|
||||
<input-copyable
|
||||
:value="millimetersReverse"
|
||||
:label="t('tools.fraction-decimal-converter.texts.label-millimeters')"
|
||||
label-position="left"
|
||||
label-width="120px"
|
||||
mb-1
|
||||
/>
|
||||
</template>
|
||||
</n-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
const { t } = useI18n();
|
||||
|
||||
const mode = ref<'fractionToDecimal' | 'decimalToFraction'>('fractionToDecimal');
|
||||
|
||||
const fractionInput = ref('3/16');
|
||||
const decimalInput = ref<number | null>(0.1875);
|
||||
const decimalUnit = ref<'in' | 'mm'>('in');
|
||||
|
||||
const decimalPlaces = ref(4);
|
||||
const maxDenominator = ref(64);
|
||||
|
||||
const modeOptions = [
|
||||
{
|
||||
label: t('tools.fraction-decimal-converter.texts.label-fraction-decimal'),
|
||||
value: 'fractionToDecimal',
|
||||
},
|
||||
{
|
||||
label: t('tools.fraction-decimal-converter.texts.label-decimal-fraction'),
|
||||
value: 'decimalToFraction',
|
||||
},
|
||||
];
|
||||
|
||||
const unitOptions = [
|
||||
{
|
||||
label: t('tools.fraction-decimal-converter.texts.label-inches'),
|
||||
value: 'in',
|
||||
},
|
||||
{
|
||||
label: t('tools.fraction-decimal-converter.texts.label-millimeters'),
|
||||
value: 'mm',
|
||||
},
|
||||
];
|
||||
|
||||
const denominatorOptions = [16, 32, 64, 128].map((v) => ({
|
||||
label: `1/${v}`,
|
||||
value: v,
|
||||
}));
|
||||
|
||||
function parseFraction(value: string): number {
|
||||
value = value.trim();
|
||||
|
||||
if (!value) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
if (value.includes(' ')) {
|
||||
const [wholePart, fractionPart] = value.split(' ');
|
||||
|
||||
const [n, d] = fractionPart.split('/').map(Number);
|
||||
|
||||
return Number(wholePart) + n / d;
|
||||
}
|
||||
|
||||
if (value.includes('/')) {
|
||||
const [n, d] = value.split('/').map(Number);
|
||||
return n / d;
|
||||
}
|
||||
|
||||
return Number(value);
|
||||
}
|
||||
|
||||
function gcd(a: number, b: number): number {
|
||||
return b === 0 ? a : gcd(b, a % b);
|
||||
}
|
||||
|
||||
function decimalToMixedFraction(value: number, maxDenom: number): string {
|
||||
const whole = Math.floor(value);
|
||||
|
||||
const remainder = value - whole;
|
||||
|
||||
let numerator = Math.round(remainder * maxDenom);
|
||||
let denominator = maxDenom;
|
||||
|
||||
if (numerator === 0) {
|
||||
return String(whole);
|
||||
}
|
||||
|
||||
if (numerator === denominator) {
|
||||
return String(whole + 1);
|
||||
}
|
||||
|
||||
const divisor = gcd(numerator, denominator);
|
||||
|
||||
numerator /= divisor;
|
||||
denominator /= divisor;
|
||||
|
||||
if (whole > 0) {
|
||||
return `${whole} ${numerator}/${denominator}`;
|
||||
}
|
||||
|
||||
return `${numerator}/${denominator}`;
|
||||
}
|
||||
|
||||
const inches = computed(() => parseFraction(fractionInput.value));
|
||||
|
||||
const decimalInches = computed(() => inches.value.toFixed(decimalPlaces.value));
|
||||
|
||||
const millimeters = computed(() => (inches.value * 25.4).toFixed(decimalPlaces.value));
|
||||
|
||||
const sourceInches = computed(() => {
|
||||
const value = decimalInput.value ?? 0;
|
||||
|
||||
return decimalUnit.value === 'mm' ? value / 25.4 : value;
|
||||
});
|
||||
|
||||
const fractionResult = computed(() => decimalToMixedFraction(sourceInches.value, maxDenominator.value));
|
||||
|
||||
const decimalInchesReverse = computed(() => sourceInches.value.toFixed(decimalPlaces.value));
|
||||
|
||||
const millimetersReverse = computed(() => (sourceInches.value * 25.4).toFixed(decimalPlaces.value));
|
||||
</script>
|
||||
@@ -0,0 +1,13 @@
|
||||
import { translate as t } from '@/plugins/i18n.plugin';
|
||||
import { defineTool } from '../tool';
|
||||
|
||||
export const tool = defineTool({
|
||||
name: t('tools.fraction-decimal-converter.title'),
|
||||
path: '/fraction-decimal-converter',
|
||||
description: t('tools.fraction-decimal-converter.description'),
|
||||
keywords: ['fraction', 'decimal', 'inches', 'metric', 'mm', 'length', 'converter'],
|
||||
component: () => import('./fraction-decimal-converter.vue'),
|
||||
icon: defineAsyncComponent(() => import('@vicons/tabler/es/MathSymbols')),
|
||||
createdAt: new Date('2026-10-30'),
|
||||
category: 'Maths',
|
||||
});
|
||||
@@ -36,40 +36,41 @@ const fileSystems = [
|
||||
'swap',
|
||||
];
|
||||
|
||||
// `key` maps to `tools.fstab-generator.options.<key>` in this tool's locales/*.yml files.
|
||||
const defaultOptions = [
|
||||
{ value: 'defaults', description: 'Standard mount options (rw, suid, dev, exec, auto, nouser, async).' },
|
||||
{ value: 'noatime', description: 'Prevents access time updates for better performance.' },
|
||||
{ value: 'nodiratime', description: 'Prevents directory access time updates.' },
|
||||
{ value: 'relatime', description: 'Updates access time only when modified or accessed after reboot.' },
|
||||
{ value: 'ro', description: 'Mount filesystem as read-only.' },
|
||||
{ value: 'rw', description: 'Mount filesystem as read/write.' },
|
||||
{ value: 'sync', description: 'Writes synchronously for better integrity.' },
|
||||
{ value: 'async', description: 'Writes asynchronously for better performance.' },
|
||||
{ value: 'user', description: 'Allow normal users to mount the filesystem.' },
|
||||
{ value: 'nouser', description: 'Only root can mount.' },
|
||||
{ value: 'exec', description: 'Allows execution of binaries.' },
|
||||
{ value: 'noexec', description: 'Disables execution of binaries (security measure).' },
|
||||
{ value: 'errors=remount-ro', description: 'Remount as read-only upon errors.' },
|
||||
{ value: 'auto', description: 'Mount automatically at boot.' },
|
||||
{ value: 'noauto', description: 'Requires manual mount.' },
|
||||
{ value: 'dev', description: 'Interpret character or block special devices on the file system.' },
|
||||
{ value: 'nodev', description: 'Do not interpret character or block special devices on the file system.' },
|
||||
{ value: 'suid', description: 'Permit the operation of suid, and sgid bits.' },
|
||||
{ value: 'nosuid', description: 'Block the operation of suid, and sgid bits.' },
|
||||
{ value: 'defaults', key: 'defaults' },
|
||||
{ value: 'noatime', key: 'noatime' },
|
||||
{ value: 'nodiratime', key: 'nodiratime' },
|
||||
{ value: 'relatime', key: 'relatime' },
|
||||
{ value: 'ro', key: 'ro' },
|
||||
{ value: 'rw', key: 'rw' },
|
||||
{ value: 'sync', key: 'sync' },
|
||||
{ value: 'async', key: 'async' },
|
||||
{ value: 'user', key: 'user' },
|
||||
{ value: 'nouser', key: 'nouser' },
|
||||
{ value: 'exec', key: 'exec' },
|
||||
{ value: 'noexec', key: 'noexec' },
|
||||
{ value: 'errors=remount-ro', key: 'errors-remount-ro' },
|
||||
{ value: 'auto', key: 'auto' },
|
||||
{ value: 'noauto', key: 'noauto' },
|
||||
{ value: 'dev', key: 'dev' },
|
||||
{ value: 'nodev', key: 'nodev' },
|
||||
{ value: 'suid', key: 'suid' },
|
||||
{ value: 'nosuid', key: 'nosuid' },
|
||||
];
|
||||
|
||||
const nfsOptions = [
|
||||
{ value: 'vers=3', description: 'Use NFS protocol version 3.' },
|
||||
{ value: 'soft', description: 'Fail after timeout if server is unreachable.' },
|
||||
{ value: 'hard', description: 'Retry indefinitely if server is unreachable.' },
|
||||
{ value: 'rsize=8192,wsize=8192', description: 'Tunable read/write buffer sizes.' },
|
||||
{ value: 'vers=3', key: 'vers3' },
|
||||
{ value: 'soft', key: 'soft' },
|
||||
{ value: 'hard', key: 'hard' },
|
||||
{ value: 'rsize=8192,wsize=8192', key: 'rsize8192-wsize8192' },
|
||||
];
|
||||
|
||||
const cifsOptions = [{ value: 'sec=ntlm', description: 'Use NTLM security protocol.' }];
|
||||
const cifsOptions = [{ value: 'sec=ntlm', key: 'sec-ntlm' }];
|
||||
|
||||
const tmpfsOptions = [
|
||||
{ value: 'size=512M', description: 'Define tmpfs size limit.' },
|
||||
{ value: 'mode=1777', description: 'Set permissions on tmpfs mount.' },
|
||||
{ value: 'size=512M', key: 'size512m' },
|
||||
{ value: 'mode=1777', key: 'mode1777' },
|
||||
];
|
||||
|
||||
const filesystemOptions = computed(() => {
|
||||
@@ -133,7 +134,12 @@ const fstabLine = computed(() => {
|
||||
)
|
||||
"
|
||||
multiple
|
||||
:options="filesystemOptions.map((o) => ({ value: o.value, label: `${o.description} (${o.value})` }))"
|
||||
:options="
|
||||
filesystemOptions.map((o) => ({
|
||||
value: o.value,
|
||||
label: `${t('tools.fstab-generator.options.' + o.key)} (${o.value})`,
|
||||
}))
|
||||
"
|
||||
/>
|
||||
</NFormItem>
|
||||
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
tools:
|
||||
fstab-generator:
|
||||
options:
|
||||
defaults: Standard mount options (rw, suid, dev, exec, auto, nouser, async).
|
||||
noatime: Prevents access time updates for better performance.
|
||||
nodiratime: Prevents directory access time updates.
|
||||
relatime: Updates access time only when modified or accessed after reboot.
|
||||
ro: Mount filesystem as read-only.
|
||||
rw: Mount filesystem as read/write.
|
||||
sync: Writes synchronously for better integrity.
|
||||
async: Writes asynchronously for better performance.
|
||||
user: Allow normal users to mount the filesystem.
|
||||
nouser: Only root can mount.
|
||||
exec: Allows execution of binaries.
|
||||
noexec: Disables execution of binaries (security measure).
|
||||
errors-remount-ro: Remount as read-only upon errors.
|
||||
auto: Mount automatically at boot.
|
||||
noauto: Requires manual mount.
|
||||
dev: Interpret character or block special devices on the file system.
|
||||
nodev: Do not interpret character or block special devices on the file system.
|
||||
suid: Permit the operation of suid, and sgid bits.
|
||||
nosuid: Block the operation of suid, and sgid bits.
|
||||
vers3: Use NFS protocol version 3.
|
||||
soft: Fail after timeout if server is unreachable.
|
||||
hard: Retry indefinitely if server is unreachable.
|
||||
rsize8192-wsize8192: Tunable read/write buffer sizes.
|
||||
sec-ntlm: Use NTLM security protocol.
|
||||
size512m: Define tmpfs size limit.
|
||||
mode1777: Set permissions on tmpfs mount.
|
||||
@@ -0,0 +1,29 @@
|
||||
tools:
|
||||
fstab-generator:
|
||||
options:
|
||||
defaults: 標準掛載選項(rw, suid, dev, exec, auto, nouser, async)。
|
||||
noatime: 不更新訪問時間,以提升效能。
|
||||
nodiratime: 不更新目錄的訪問時間。
|
||||
relatime: 僅在檔案被修改或重啟後訪問時才更新訪問時間。
|
||||
ro: 以只讀方式掛載檔案系統。
|
||||
rw: 以讀寫方式掛載檔案系統。
|
||||
sync: 同步寫入,以提升資料完整性。
|
||||
async: 非同步寫入,以提升效能。
|
||||
user: 允許普通使用者掛載該檔案系統。
|
||||
nouser: 僅 root 可以掛載。
|
||||
exec: 允許執行二進位制檔案。
|
||||
noexec: 禁止執行二進位制檔案(安全措施)。
|
||||
errors-remount-ro: 發生錯誤時以只讀方式重新掛載。
|
||||
auto: 開機時自動掛載。
|
||||
noauto: 需要手動掛載。
|
||||
dev: 解析檔案系統上的字元裝置或塊裝置。
|
||||
nodev: 不解析檔案系統上的字元裝置或塊裝置。
|
||||
suid: 允許 suid 和 sgid 位的生效。
|
||||
nosuid: 阻止 suid 和 sgid 位的生效。
|
||||
vers3: 使用 NFS 協議版本 3。
|
||||
soft: 伺服器不可達時逾時後失敗。
|
||||
hard: 伺服器不可達時無限重試。
|
||||
rsize8192-wsize8192: 可調的讀寫緩衝區大小。
|
||||
sec-ntlm: 使用 NTLM 安全協議。
|
||||
size512m: 定義 tmpfs 大小限制。
|
||||
mode1777: 設定 tmpfs 掛載點的權限。
|
||||
@@ -0,0 +1,29 @@
|
||||
tools:
|
||||
fstab-generator:
|
||||
options:
|
||||
defaults: 标准挂载选项(rw, suid, dev, exec, auto, nouser, async)。
|
||||
noatime: 不更新访问时间,以提升性能。
|
||||
nodiratime: 不更新目录的访问时间。
|
||||
relatime: 仅在文件被修改或重启后访问时才更新访问时间。
|
||||
ro: 以只读方式挂载文件系统。
|
||||
rw: 以读写方式挂载文件系统。
|
||||
sync: 同步写入,以提升数据完整性。
|
||||
async: 异步写入,以提升性能。
|
||||
user: 允许普通用户挂载该文件系统。
|
||||
nouser: 仅 root 可以挂载。
|
||||
exec: 允许执行二进制文件。
|
||||
noexec: 禁止执行二进制文件(安全措施)。
|
||||
errors-remount-ro: 发生错误时以只读方式重新挂载。
|
||||
auto: 开机时自动挂载。
|
||||
noauto: 需要手动挂载。
|
||||
dev: 解析文件系统上的字符设备或块设备。
|
||||
nodev: 不解析文件系统上的字符设备或块设备。
|
||||
suid: 允许 suid 和 sgid 位的生效。
|
||||
nosuid: 阻止 suid 和 sgid 位的生效。
|
||||
vers3: 使用 NFS 协议版本 3。
|
||||
soft: 服务器不可达时超时后失败。
|
||||
hard: 服务器不可达时无限重试。
|
||||
rsize8192-wsize8192: 可调的读写缓冲区大小。
|
||||
sec-ntlm: 使用 NTLM 安全协议。
|
||||
size512m: 定义 tmpfs 大小限制。
|
||||
mode1777: 设置 tmpfs 挂载点的权限。
|
||||
@@ -5,6 +5,7 @@ import { flatten } from 'flatten-anything';
|
||||
import { convertFrom } from './geo-coordinates-converter.service';
|
||||
import { objectArrayToData } from '@/utils/objectarray.export';
|
||||
import { useQueryParam, useQueryParamOrStorage } from '@/composable/queryParams';
|
||||
import { getToolsSettingString, isOfflineMode, toolsSettings } from '@/tools-settings';
|
||||
import proj4 from 'proj4';
|
||||
|
||||
import L from 'leaflet';
|
||||
@@ -150,10 +151,16 @@ const utm = reactive({
|
||||
northing: 5411932,
|
||||
});
|
||||
|
||||
// Map tiles come from tools-settings.json `"geo-coordinates-converter": { "tile-url": "..." }` (an intranet tile
|
||||
// server) or OpenStreetMap; offline without a tile server there is no map at all, the conversions still work.
|
||||
const tileUrl = getToolsSettingString(toolsSettings, 'geo-coordinates-converter', 'tile-url');
|
||||
const tileAttribution = getToolsSettingString(toolsSettings, 'geo-coordinates-converter', 'tile-attribution');
|
||||
const showMap = !isOfflineMode || tileUrl !== '';
|
||||
|
||||
const mapRef = ref<HTMLElement | null>(null);
|
||||
watch(mapRef, () => initMap());
|
||||
let map: L.Map;
|
||||
let marker: L.Marker;
|
||||
let map: L.Map | undefined;
|
||||
let marker: L.Marker | undefined;
|
||||
|
||||
// -----------------------------
|
||||
// HELPERS
|
||||
@@ -238,16 +245,20 @@ function initMap() {
|
||||
}
|
||||
map = L.map(mapRef.value).setView([decimal.lat, decimal.lng], 13);
|
||||
|
||||
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
||||
L.tileLayer(tileUrl || 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
|
||||
attribution: tileUrl
|
||||
? tileAttribution
|
||||
: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors',
|
||||
referrerPolicy: 'strict-origin-when-cross-origin',
|
||||
crossOrigin: true,
|
||||
// CORS-mode tile requests would fail against an intranet tile server that sends no CORS headers
|
||||
crossOrigin: !tileUrl,
|
||||
}).addTo(map);
|
||||
|
||||
marker = L.marker([decimal.lat, decimal.lng], { draggable: true }).addTo(map);
|
||||
const mapMarker = L.marker([decimal.lat, decimal.lng], { draggable: true }).addTo(map);
|
||||
marker = mapMarker;
|
||||
|
||||
marker.on('dragend', () => {
|
||||
const pos = marker.getLatLng();
|
||||
mapMarker.on('dragend', () => {
|
||||
const pos = mapMarker.getLatLng();
|
||||
decimal.lat = Number.parseFloat(pos.lat.toFixed(6));
|
||||
decimal.lng = Number.parseFloat(pos.lng.toFixed(6));
|
||||
decimal.latDir = pos.lat >= 0 ? 'N' : 'S';
|
||||
@@ -270,8 +281,8 @@ onMounted(() => {
|
||||
});
|
||||
|
||||
function updateMarker() {
|
||||
marker.setLatLng([decimal.lat, decimal.lng]);
|
||||
map.setView([decimal.lat, decimal.lng]);
|
||||
marker?.setLatLng([decimal.lat, decimal.lng]);
|
||||
map?.setView([decimal.lat, decimal.lng]);
|
||||
}
|
||||
</script>
|
||||
|
||||
@@ -359,7 +370,7 @@ function updateMarker() {
|
||||
</n-form>
|
||||
</n-card>
|
||||
|
||||
<div ref="mapRef" style="height: 400px; width: 100%; border-radius: 8px; overflow: hidden" />
|
||||
<div v-if="showMap" ref="mapRef" style="height: 400px; width: 100%; border-radius: 8px; overflow: hidden" />
|
||||
</n-tab-pane>
|
||||
<n-tab-pane name="proj" :tab="t('tools.geo-coordinates-converter.texts.decimal-projections')">
|
||||
<n-radio-group v-model:value="sourceSystem" mb-2>
|
||||
|
||||
@@ -10,5 +10,5 @@ export const tool = defineTool({
|
||||
icon: defineAsyncComponent(() => import('@tabler/icons-vue/dist/esm/icons/IconWorldPin.mjs')),
|
||||
createdAt: new Date('2026-01-09'),
|
||||
category: 'Converters',
|
||||
externAccessDescription: 'This tool access OpenStreetMap to display the World map using the Leaflet library.',
|
||||
externAccessDescription: t('tools.geo-coordinates-converter.externalAccess'),
|
||||
});
|
||||
@@ -4,8 +4,9 @@ import { ref } from 'vue';
|
||||
import { FFmpeg } from '@ffmpeg/ffmpeg';
|
||||
|
||||
import ffmpegClassWorkerUrl from '@ffmpeg/ffmpeg/worker?worker&url';
|
||||
|
||||
import { toBlobURL } from '@ffmpeg/util';
|
||||
// Shipped with the app (single-threaded ESM build). The worker above is a module worker, so it `import()`s the core.
|
||||
import ffmpegCoreUrl from '@ffmpeg/core?url';
|
||||
import ffmpegWasmUrl from '@ffmpeg/core/wasm?url';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -22,11 +23,9 @@ const loop = ref(5);
|
||||
|
||||
async function loadFFmpeg() {
|
||||
if (!ffmpeg.loaded) {
|
||||
const baseURL = 'https://cdn.jsdelivr.net/npm/@ffmpeg/core@0.12.10/dist/esm';
|
||||
|
||||
await ffmpeg.load({
|
||||
coreURL: await toBlobURL(`${baseURL}/ffmpeg-core.js`, 'text/javascript'),
|
||||
wasmURL: await toBlobURL(`${baseURL}/ffmpeg-core.wasm`, 'application/wasm'),
|
||||
coreURL: ffmpegCoreUrl,
|
||||
wasmURL: ffmpegWasmUrl,
|
||||
classWorkerURL: ffmpegClassWorkerUrl,
|
||||
});
|
||||
}
|
||||
|
||||
@@ -10,6 +10,4 @@ export const tool = defineTool({
|
||||
icon: defineAsyncComponent(() => import('@vicons/tabler/es/VideoPlus')),
|
||||
createdAt: new Date('2026-03-15'),
|
||||
category: 'Images',
|
||||
externalHTMLContent:
|
||||
'Download FFMPEG from https://cdn.jsdelivr.net/npm/@ffmpeg/core@0.12.10. All processing done in your browser.',
|
||||
});
|
||||
@@ -2,93 +2,79 @@
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import { onMounted } from 'vue';
|
||||
import { useLocalStorage } from '@vueuse/core';
|
||||
import {
|
||||
type GitTemplatesSnapshot,
|
||||
type GitTemplatesSource,
|
||||
loadTemplate,
|
||||
loadTemplateNames,
|
||||
snapshotDay,
|
||||
} from '../gitignore-generator/git-templates';
|
||||
import { isOfflineMode } from '@/tools-settings';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const options = useLocalStorage<{ label: string; value: string }[]>('gitattr-gen:opts2', []);
|
||||
const selected = ref<string[]>([]);
|
||||
const output = ref<string>('');
|
||||
// Where each template in `output` came from: the live branch, or the snapshot commit when the snapshot was used
|
||||
const outputUrls = ref<string[]>([]);
|
||||
|
||||
// Timestamp cache to allow refresh after X hours
|
||||
const lastFetched = useLocalStorage<number>('gitattr-gen:ts', 0);
|
||||
const CACHE_TTL = 1000 * 60 * 60 * 24; // 24h
|
||||
|
||||
// Commit date of the bundled snapshot, shown when templates come from it (offline mode or GitHub unreachable)
|
||||
const snapshotDate = ref('');
|
||||
|
||||
const source: GitTemplatesSource = {
|
||||
repository: 'alexkaratarakis/gitattributes',
|
||||
ref: 'master',
|
||||
extension: '.gitattributes',
|
||||
loadSnapshot: () => import('./gitattributes-templates.json').then((m) => m.default as GitTemplatesSnapshot),
|
||||
};
|
||||
|
||||
async function loadOptions() {
|
||||
const now = Date.now();
|
||||
const isStale = !options.value.length || now - lastFetched.value > CACHE_TTL;
|
||||
|
||||
if (!isStale) {
|
||||
if (!isStale && !isOfflineMode) {
|
||||
// Use cached options
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const res = await fetch(
|
||||
'https://api.github.com/repos/alexkaratarakis/gitattributes/git/trees/master?recursive=true',
|
||||
);
|
||||
const files = await res.json();
|
||||
options.value = files.tree
|
||||
.filter((f: any) => f.path.endsWith('.gitattributes'))
|
||||
.map((f: any) => f.path.replace('.gitattributes', ''))
|
||||
.filter(Boolean)
|
||||
.map((name: string) => ({
|
||||
label: name,
|
||||
value: name,
|
||||
}));
|
||||
const { names, snapshot } = await loadTemplateNames(source, { offline: isOfflineMode });
|
||||
options.value = names.map((name: string) => ({
|
||||
label: name,
|
||||
value: name,
|
||||
}));
|
||||
if (snapshot) {
|
||||
snapshotDate.value = snapshotDay(snapshot);
|
||||
} else {
|
||||
lastFetched.value = now;
|
||||
} catch {
|
||||
if (!options.value?.length) {
|
||||
options.value = [
|
||||
'ActionScript',
|
||||
'Ada',
|
||||
'Ballerina',
|
||||
'C++',
|
||||
'CSharp',
|
||||
'Common',
|
||||
'Delphi',
|
||||
'Drupal',
|
||||
'Fortran',
|
||||
'Fountain',
|
||||
'Go',
|
||||
'Java',
|
||||
'Lua',
|
||||
'Matlab',
|
||||
'ObjectiveC',
|
||||
'Pascal',
|
||||
'Perl',
|
||||
'Python',
|
||||
'R',
|
||||
'Rails',
|
||||
'Servoy',
|
||||
'VisualStudio',
|
||||
'Web',
|
||||
].map((name) => ({
|
||||
label: name,
|
||||
value: name,
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
async function generateOutput() {
|
||||
let gitattributes = '';
|
||||
const urls: string[] = [];
|
||||
for (const lang of selected.value) {
|
||||
const url = `https://raw.githubusercontent.com/alexkaratarakis/gitattributes/master/${lang}.gitattributes`;
|
||||
const res = await fetch(url);
|
||||
const text = await res.text();
|
||||
gitattributes += `${gitattributes ? '\n\n' : ''}# === .gitattributes for ${lang} (${url}) ===\n\n${text}`;
|
||||
const { content, url, snapshot } = await loadTemplate(source, lang, { offline: isOfflineMode });
|
||||
if (snapshot) {
|
||||
snapshotDate.value = snapshotDay(snapshot);
|
||||
}
|
||||
urls.push(url);
|
||||
gitattributes += `${gitattributes ? '\n\n' : ''}# === .gitattributes for ${lang} (${url}) ===\n\n${content}`;
|
||||
}
|
||||
output.value = gitattributes;
|
||||
outputUrls.value = urls;
|
||||
}
|
||||
|
||||
// Multi-command generation
|
||||
// Multi-command generation, downloading the same files as the generated preview
|
||||
const commands = computed(() => {
|
||||
if (!selected.value.length) {
|
||||
if (!outputUrls.value.length) {
|
||||
return { curl: '', wget: '', powershell: '', cmd: '' };
|
||||
}
|
||||
const urls = selected.value
|
||||
.map((lang) => `https://raw.githubusercontent.com/alexkaratarakis/gitattributes/master/${lang}.gitattributes`)
|
||||
.join(' ');
|
||||
const urls = outputUrls.value.join(' ');
|
||||
return {
|
||||
curl: `curl ${urls} > .gitattributes`,
|
||||
wget: `wget ${urls} -O .gitattributes`,
|
||||
@@ -111,6 +97,9 @@ onMounted(loadOptions);
|
||||
:options="options"
|
||||
/>
|
||||
</n-form-item>
|
||||
<n-p v-if="snapshotDate" op-70>
|
||||
{{ t('tools.gitattributes-generator.texts.snapshot-used', [snapshotDate]) }}
|
||||
</n-p>
|
||||
<n-space justify="center" mb-2>
|
||||
<NButton type="primary" :disabled="!selected.length" @click="generateOutput">
|
||||
{{ t('tools.gitattributes-generator.texts.tag-fetch-generate') }}
|
||||
@@ -120,7 +109,8 @@ onMounted(loadOptions);
|
||||
<textarea-copyable :value="output" language="bash" download-file-name=".gitattributes" />
|
||||
</c-card>
|
||||
|
||||
<NTabs v-if="output" type="line" animated>
|
||||
<!-- The download commands fetch from GitHub, which an offline deployment can't reach -->
|
||||
<NTabs v-if="output && !isOfflineMode" type="line" animated>
|
||||
<NTabPane name="curl" tab="Curl">
|
||||
<textarea-copyable :value="commands.curl" word-wrap />
|
||||
</NTabPane>
|
||||
|
||||
@@ -0,0 +1,49 @@
|
||||
{
|
||||
"repository": "alexkaratarakis/gitattributes",
|
||||
"ref": "master",
|
||||
"commit": "2c20a14833a5ab196c7fc3effcc72ef4e895f4d4",
|
||||
"date": "2026-07-22T18:17:24Z",
|
||||
"templates": {
|
||||
"ActionScript": "# Adobe Flash authoring file\n*.fla text\n\n# ActionScript file\n*.as text\n\n# Flash XML file\n*.xml text\n\n# Treat .swf and .swc as binary\n# https://stackoverflow.com/q/1529178\n\n# Compiled Flash file\n*.swf binary -crlf -diff -merge\n\n# Compiled Flash Library/Script\n*.swc binary -crlf -diff -merge\n\n# ActionScript Communication file\n*.asc text\n\n# Flash JavaScript file\n*.jsfl text\n",
|
||||
"Ada": "# Handle line endings automatically for files detected as text\n# and leave all files detected as binary untouched.\n* text=auto\n\n# Ada files\n*.ada text diff=ada\n*.adb text diff=ada\n*.ads text diff=ada\n\n# GNAT Project files (syntax similar to Ada)\n*.gpr linguist-language=Ada\n",
|
||||
"C++": "# Sources\n*.c text diff=cpp\n*.cc text diff=cpp\n*.cxx text diff=cpp\n*.cpp text diff=cpp\n*.cpi text diff=cpp\n*.c++ text diff=cpp\n*.hpp text diff=cpp\n*.h text diff=cpp\n*.h++ text diff=cpp\n*.hh text diff=cpp\n\n# Compiled Object files\n*.slo binary\n*.lo binary\n*.o binary\n*.obj binary\n\n# Precompiled Headers\n*.gch binary\n*.pch binary\n\n# Compiled Dynamic libraries\n*.so binary\n*.dylib binary\n*.dll binary\n\n# Compiled Static libraries\n*.lai binary\n*.la binary\n*.a binary\n*.lib binary\n\n# Executables\n*.exe binary\n*.out binary\n*.app binary\n",
|
||||
"Common": "# Common settings that generally should always be used with your language specific settings\n\n# Auto detect text files and perform LF normalization\n* text=auto\n\n#\n# The above will handle all files NOT found below\n#\n\n# Documents\n*.bibtex text diff=bibtex\n*.doc diff=astextplain\n*.DOC diff=astextplain\n*.docx diff=astextplain\n*.DOCX diff=astextplain\n*.dot diff=astextplain\n*.DOT diff=astextplain\n*.pdf diff=astextplain\n*.PDF diff=astextplain\n*.rtf diff=astextplain\n*.RTF diff=astextplain\n*.md text diff=markdown\n*.mdx text diff=markdown\n*.tex text diff=tex\n*.adoc text\n*.textile text\n*.mustache text\n*.csv text eol=crlf\n*.tab text\n*.tsv text\n*.txt text\n*.sql text\n*.epub diff=astextplain\n\n# Graphics\n*.png binary\n*.jpg binary\n*.jpeg binary\n*.gif binary\n*.tif binary\n*.tiff binary\n*.ico binary\n# SVG treated as text by default.\n*.svg text\n# If you want to treat it as binary,\n# use the following line instead.\n# *.svg binary\n*.eps binary\n\n# Scripts\n*.bash text eol=lf\n*.fish text eol=lf\n*.ksh text eol=lf\n*.sh text eol=lf\n*.zsh text eol=lf\n# These are explicitly windows files and should use crlf\n*.bat text eol=crlf\n*.cmd text eol=crlf\n*.ps1 text eol=crlf\n\n# Serialisation\n*.json text\n*.toml text\n*.xml text\n*.yaml text\n*.yml text\n\n# Archives\n*.7z binary\n*.bz binary\n*.bz2 binary\n*.bzip2 binary\n*.gz binary\n*.lz binary\n*.lzma binary\n*.rar binary\n*.tar binary\n*.taz binary\n*.tbz binary\n*.tbz2 binary\n*.tgz binary\n*.tlz binary\n*.txz binary\n*.xz binary\n*.Z binary\n*.zip binary\n*.zst binary\n\n# Text files where line endings should be preserved\n*.patch -text\n\n#\n# Exclude files from exporting\n#\n\n.gitattributes export-ignore\n.gitignore export-ignore\n.gitkeep export-ignore\n",
|
||||
"community/Ballerina": "# Handle line endings automatically for files detected as text\n# and leave all files detected as binary untouched.\n* text=auto\n\n#\n# The above will handle all files NOT found below\n#\n# These files are text and should be normalized (Convert crlf => lf)\n*.bal text\n*.bash text eol=lf\n*.css text diff=css\n*.df text\n*.htm text diff=html\n*.html text diff=html\n*.js text\n*.mjs text\n*.cjs text\n*.json text\n*.properties text\n*.sh text eol=lf\n*.tld text\n*.txt text\n*.tag text\n*.tagx text\n*.xml text\n*.yml text\n\n# These files are binary and should be left untouched\n# (binary is a macro for -text -diff)\n*.balx binary\n*.dll binary\n*.ear binary\n*.gif binary\n*.ico binary\n*.jpg binary\n*.jpeg binary\n*.png binary\n*.so binary\n",
|
||||
"community/Flutter": "# Auto detect text files and perform LF normalization\n* text=auto\n\n# Always perform LF normalization\n*.dart text\n*.gradle text\n*.html text\n*.java text\n*.json text\n*.md text\n*.py text\n*.sh text\n*.txt text\n*.xml text\n*.yaml text\n\n# Make sure that these Windows files always have CRLF line endings at checkout\n*.bat text eol=crlf\n*.ps1 text eol=crlf\n*.rc text eol=crlf\n*.sln text eol=crlf\n*.props text eol=crlf\n*.vcxproj text eol=crlf\n*.vcxproj.filters text eol=crlf\n# Including templates\n*.sln.tmpl text eol=crlf\n*.props.tmpl text eol=crlf\n*.vcxproj.tmpl text eol=crlf\n\n# Never perform LF normalization\n*.ico binary\n*.jar binary\n*.png binary\n*.zip binary\n*.ttf binary\n*.otf binary\n",
|
||||
"community/Fountain": "# Handle line endings automatically for files detected as text\n# and leave all files detected as binary untouched.\n* text=auto\n\n# Fountain files\n*.fountain text diff=fountain\n*.pdf binary\n*.fdx text\n",
|
||||
"community/FSharp": "# Auto detect text files and perform LF normalization\n* text=auto\n\n*.fs text diff=fsharp\n*.fsx text diff=fsharp\n*.sln text eol=crlf\n*.fsproj text eol=crlf\n",
|
||||
"community/Hashicorp": "# HachiCorp Configuration Language\n*.hcl eol=lf\n\n# Terraform\n*.tf text eol=lf\n*.tf.json text eol=lf\n*.tfvars text eol=lf\n\n# Vagrant\nVagrantfile text eol=lf\n",
|
||||
"community/sql": "# Basic .gitattributes for sql files\n\n*.sql linguist-detectable=true\n*.sql linguist-language=sql\n",
|
||||
"CSharp": "# Auto detect text files and perform LF normalization\n* text=auto\n\n*.cs text diff=csharp\n*.cshtml text diff=html\n*.csx text diff=csharp\n*.sln text eol=crlf\n*.slnx text eol=crlf\n*.csproj text eol=crlf\n",
|
||||
"Delphi": "#\n# Project files\n#\n\n# Delphi form module\n*.dfm text\n\n# Delphi project options file\n*.dof text\n\n# Desktop configuration\n*.dsk binary\n\n#\n# General\n#\n\n# Text file\n*.txt text\n\n# Gettext Portable Object\n*.po binary\n\n# Backup\n*.bak binary\n\n# Config file\n*.cfg text\n\n# Compiled Help File - contains html. See also package chm\n*.chm binary\n\n# Comma Separated Values text file format\n*.csv text eol=crlf\n\n# Directly executable program\n*.exe binary\n\n# Help file\n*.hlp binary\n\n# Initialization file\n*.ini text\n\n# OpenDocument text document\n*.odt text\n\n# Portable Document Format\n*.pdf binary\n\n# PostScript\n*.ps text\n\n# Rich Text Format text file\n*.rtf text\n\n#\n# Image\n#\n\n# Portable network graphic\n*.png binary\n\n# Bitmap\n*.bmp binary\n\n# Icon\n*.ico binary\n\n# Pixmap\n*.xpm binary\n\n# Portable pixmap\n*.ppm binary\n\n# Portable graymap\n*.pgm binary\n\n# Portable bitmap\n*.pbm binary\n\n# Lossy graphics file\n*.jpg binary\n\n#\n# XML\n#\n\n*.xml text\n*.dtd text\n*.xsd text\n*.xsl text\n\n#\n# Web\n#\n\n# Hypertext Markup Language\n*.html text diff=html\n\n# Cascading style sheet\n*.css text diff=css\n\n#\n# Archive\n#\n\n# tape archive\n*.tar binary\n\n# archive file\n*.zip binary\n\n#\n# Database\n#\n\n# Database file\n*.dbf binary\n\n# Multiple index file\n*.mdx binary\n\n#\n# Spreadsheet\n#\n\n# OpenOffice.org Calc spreadsheet File Format\n*.ods binary\n\n# Microsoft Excel File Format\n*.xls binary\n\n# Microsoft Office Open XML Excel File Format\n*.xlsx binary\n",
|
||||
"Drupal": "# Drupal git normalization\n# @see https://www.kernel.org/pub/software/scm/git/docs/gitattributes.html\n# @see https://www.drupal.org/node/1542048\n\n# Normally these settings would be done with macro attributes for improved\n# readability and easier maintenance. However macros can only be defined at the\n# repository root directory. Drupal avoids making any assumptions about where it\n# is installed.\n\n# Define text file attributes.\n# - Treat them as text.\n# - Ensure no CRLF line-endings, neither on checkout nor on checkin.\n# - Detect whitespace errors.\n# - Exposed by default in `git diff --color` on the CLI.\n# - Validate with `git diff --check`.\n# - Deny applying with `git apply --whitespace=error-all`.\n# - Fix automatically with `git apply --whitespace=fix`.\n\n*.bash text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.config text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.css text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.dist text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.engine text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.html text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=html\n*.inc text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.install text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.js text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.mjs text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.cjs text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.json text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.lock text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.map text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.md text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.module text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.php text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.po text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.profile text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.script text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.sh text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.sql text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.svg text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.theme text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2 diff=php\n*.twig text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.txt text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.xml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n*.yml text eol=lf whitespace=blank-at-eol,-blank-at-eof,-space-before-tab,tab-in-indent,tabwidth=2\n\n# Define binary file attributes.\n# - Do not treat them as text.\n# - Include binary diff in patches instead of \"binary files differ.\"\n*.eot -text diff\n*.exe -text diff\n*.gif -text diff\n*.gz -text diff\n*.ico -text diff\n*.jpeg -text diff\n*.jpg -text diff\n*.otf -text diff\n*.phar -text diff\n*.png -text diff\n*.svgz -text diff\n*.ttf -text diff\n*.woff -text diff\n*.woff2 -text diff\n",
|
||||
"DyalogAPL": "# Basic .gitattributes for a Dyalog APL repo.\n# This template includes MiServer\n\n# Source files\n# ============\n*.apl? linguist-language=APL\n*.dyalog linguist-language=APL\n*.dyapp linguist-language=APL\n*.mipage linguist-language=APL\n\n# Config and log files\n# ====================\n.dcfg linguist-language=JSON5\n.dlf linguist-language=JSON5\n",
|
||||
"Elixir": "# Handle line endings automatically for files detected as text\n# and leave all files detected as binary untouched.\n* text=auto\n\n# Elixir files\n*.ex diff=elixir\n*.exs diff=elixir\n",
|
||||
"Fortran": "# Handle line endings automatically for files detected as text\n# and leave all files detected as binary untouched.\n* text=auto\n\n# Fortran files\n*.f text diff=fortran\n*.for text diff=fortran\n*.f90 text diff=fortran\n*.f95 text diff=fortran\n*.f03 text diff=fortran\n",
|
||||
"Global/DevContainer": "# Fix syntax highlighting on GitHub to allow comments\n.devcontainer.json linguist-language=JSON-with-Comments\ndevcontainer.json linguist-language=JSON-with-Comments\n",
|
||||
"Global/VisualStudio": "###############################################################################\n# Set default behavior to automatically normalize line endings.\n###############################################################################\n* text=auto\n\n###############################################################################\n# Set the merge driver for project and solution files\n#\n# Merging from the command prompt will add diff markers to the files if there\n# are conflicts (Merging from VS is not affected by the settings below, in VS\n# the diff markers are never inserted). Diff markers may cause the following\n# file extensions to fail to load in VS. An alternative would be to treat\n# these files as binary and thus will always conflict and require user\n# intervention with every merge. To do so, just comment the entries below and\n# uncomment the group further below\n###############################################################################\n\n*.sln text eol=crlf\n*.csproj text eol=crlf\n*.vbproj text eol=crlf\n*.vcxproj text eol=crlf\n*.vcproj text eol=crlf\n*.dbproj text eol=crlf\n*.fsproj text eol=crlf\n*.lsproj text eol=crlf\n*.wixproj text eol=crlf\n*.modelproj text eol=crlf\n*.sqlproj text eol=crlf\n*.wwaproj text eol=crlf\n\n*.xproj text eol=crlf\n*.props text eol=crlf\n*.filters text eol=crlf\n*.vcxitems text eol=crlf\n\n\n#*.sln merge=binary\n#*.csproj merge=binary\n#*.vbproj merge=binary\n#*.vcxproj merge=binary\n#*.vcproj merge=binary\n#*.dbproj merge=binary\n#*.fsproj merge=binary\n#*.lsproj merge=binary\n#*.wixproj merge=binary\n#*.modelproj merge=binary\n#*.sqlproj merge=binary\n#*.wwaproj merge=binary\n\n#*.xproj merge=binary\n#*.props merge=binary\n#*.filters merge=binary\n#*.vcxitems merge=binary\n",
|
||||
"Global/VisualStudioCode": "# Fix syntax highlighting on GitHub to allow comments\n.vscode/*.json linguist-language=JSON-with-Comments\n",
|
||||
"Go": "# Treat all Go files in this repo as binary, with no git magic updating\n# line endings. Windows users contributing to Go will need to use a\n# modern version of git and editors capable of LF line endings.\n\n*.go -text diff=golang\n",
|
||||
"Java": "# Java sources\n*.java text diff=java\n*.kt text diff=kotlin\n*.groovy text diff=java\n*.scala text diff=java\n*.gradle text diff=java\n*.gradle.kts text diff=kotlin\n\n# These files are text and should be normalized (Convert crlf => lf)\n*.css text diff=css\n*.scss text diff=css\n*.sass text\n*.df text\n*.htm text diff=html\n*.html text diff=html\n*.js text\n*.mjs text\n*.cjs text\n*.jsp text\n*.jspf text\n*.jspx text\n*.properties text\n*.tld text\n*.tag text\n*.tagx text\n*.xml text\n\n# These files are binary and should be left untouched\n# (binary is a macro for -text -diff)\n*.class binary\n*.dll binary\n*.ear binary\n*.jar binary\n*.so binary\n*.war binary\n*.jks binary\n\n# Common build-tool wrapper scripts ('.cmd' versions are handled by 'Common.gitattributes')\nmvnw text eol=lf\ngradlew text eol=lf\n\n# These are explicitly windows files and should use crlf\n*.bat text eol=crlf\n",
|
||||
"Lua": "# Basic .gitattributes for a Lua repo.\n\n# Source files\n# ============\n*.lua text\n\n# Luadoc output\n# =============\n*.html text diff=html\n*.css text diff=css\n",
|
||||
"Markdown": "# Apply override to all files in the directory\n*.md linguist-detectable\n",
|
||||
"Mathematica": "# Basic .gitattributes for a Mathematica repo.\n\n# Source files\n# Caution: *.m also matches Matlab files.\n# ============\n*.nb text diff=mathematica\n*.wls text diff=mathematica\n*.wl text diff=mathematica\n*.m text diff=mathematica\n\n# Test files\n# ==========\n*.wlt text diff=mathematica\n*.mt text diff=mathematica\n\n# Binary files\n# ============\n*.mx binary\n",
|
||||
"Matlab": "# Basic .gitattributes for a MATLAB repo.\n# This template includes Simulink and MuPAD extensions, in addition\n# to the MATLAB extensions.\n\n# Source files\n# ============\n*.m text diff=matlab\n*.mu text diff=matlab\n\n# Caution: *.m also matches Mathematica packages.\n\n# Binary files\n# ============\n*.p binary\n*.mex* binary\n*.fig binary\n*.mat binary\n*.mdl binary\n*.slx binary\n*.mdlp binary\n*.slxp binary\n*.sldd binary\n*.mltbx binary\n*.mlappinstall binary\n*.mlpkginstall binary\n*.mn binary\n",
|
||||
"MicrosoftShell": "\n# Basic .gitattributes for a Microsoft Shell repo.\n\n# Source files\n# ============\n*.msh text eol=crlf\n*.msh1 text eol=crlf\n*.msh2 text eol=crlf\n*.mshxml text eol=crlf\n*.msh1xml text eol=crlf\n*.msh2xml text eol=crlf\n*.mcf text eol=crlf\n",
|
||||
"ObjectiveC": "# compare .pbxproj files as binary and always merge as union\n*.pbxproj binary -merge=union\n*.m text diff=objc\n",
|
||||
"Pascal": "# Lazarus Project Information file (stored in XML; contains project-specific settings)\n*.lpi text\n\n# Lazarus Program file; contains Pascal source of main program\n*.lpr text\n\n# Lazarus Form file; contains configuration information for all objects on a form\n# (stored in a Lazarus-specific format; the actions are described by Pascal source code in a corresponding *.pas file)\n*.lfm text\n\n# Unit with Pascal code (typically for a form stored in a corresponding *.lfm file)\n*.pas text diff=pascal\n\n# Pascal code\n*.p text diff=pascal\n*.pp text diff=pascal\n\n# Lazarus Resource file (this is a generated file; not to be confused with a Windows resource file).\n*.lrs text\n\n# Compiled unit, symbols part.\n*.ppu binary\n\n# (1) Compiled unit, code part.\n# (2) Compiled code from other compilers (e.g. gcc)\n*.o binary\n\n# Object resource, automatically generated from {$R} directive.\n*.or text\n\n# (1) Compiled unit, code part for smartlinking (on some platforms)\n# (2) Compiled code from other compilers (e.g. gcc) linked into a static library\n*.a binary\n\n# Lazarus package information file. (stored in XML; contains package-specific settings)\n*.lpk text\n\n# Include file\n*.inc text\n\n# Lazarus Project Session file. See Project Options -> Save session information in\n*.lps text\n\n# Lazarus Resourcestring table created when saving a lfm file and i18n is enabled. It contains the TTranslateString properties of the lfm.\n*.lrt text\n\n# Resourcestring table created by the compiler for every unit with a resourcestring section.\n*.rst text\n\n# Resourcestring table in JSON format created by FPC 2.7.1 for units with resourcestring section.\n*.rsj text\n\n# Compilation session for a project\n*.compiled text\n\n# Resource file\n*.res text\n\n# Lazarus resource form file\n*.rc text\n\n# Icon file\n*.ico binary\n",
|
||||
"Perl": "# Basic .gitattributes for a perl repo.\n\n# Source files\n# ============\n*.pl text diff=perl\n*.pm text diff=perl\n",
|
||||
"PHP": "# Auto detect text files and perform LF normalization\n* text=auto\n\n# PHP files\n*.php text eol=lf diff=php\n*.phpt text eol=lf diff=php\n*.phtml text eol=lf diff=html\n*.twig text eol=lf\n*.phar binary\n\n# Configuration\nphpcs.xml text eol=lf\nphpunit.xml text eol=lf\nphpstan.neon text eol=lf\npsalm.xml text eol=lf\n",
|
||||
"PowerShell": "# Basic .gitattributes for a PowerShell repo.\n\n# Source files\n# ============\n*.ps1 text eol=crlf\n*.ps1x text eol=crlf\n*.psm1 text eol=crlf\n*.psd1 text eol=crlf\n*.ps1xml text eol=crlf\n*.pssc text eol=crlf\n*.psrc text eol=crlf\n*.cdxml text eol=crlf\n",
|
||||
"Python": "# Basic .gitattributes for a python repo.\n\n# Source files\n# ============\n*.pxd text diff=python\n*.py text diff=python\n*.py3 text diff=python\n*.pyw text diff=python\n*.pyx text diff=python\n*.pyz text diff=python\n*.pyi text diff=python\n\n# Binary files\n# ============\n*.db binary\n*.p binary\n*.pkl binary\n*.pickle binary\n*.pyc binary export-ignore\n*.pyo binary export-ignore\n*.pyd binary\n\n# Jupyter notebook\n*.ipynb text eol=lf\n\n# Note: .db, .p, and .pkl files are associated\n# with the python modules ``pickle``, ``dbm.*``,\n# ``shelve``, ``marshal``, ``anydbm``, & ``bsddb``\n# (among others).\n",
|
||||
"R": "# Basic .gitattributes for a R repo.\n\n# Source files\n# ============\n*.Rdata binary\n*.RData binary\n*.rda binary\n*.rdb binary\n*.rds binary\n*.Rd text\n*.Rdx binary\n*.Rmd\t text\n*.R \t text\n*.Rproj text\n*.[Rr]md linguist-detectable\n",
|
||||
"Rails": "# These settings are for Ruby On Rails project\n#\n#\n# Define a dummy ours merge strategy with:\n#\n# $ git config --global merge.ours.driver true\nschema.rb merge=ours diff=ruby\n",
|
||||
"Rust": "# Auto detect text files and perform normalization\n* text=auto\n\n*.rs text diff=rust\n*.toml text diff=toml\nCargo.lock text\n",
|
||||
"Servoy": "# Auto detect text files and perform LF normalization\n* text=auto\n\n*.frm -text\n*.val -text\n*.tbl -text\n*.rel -text\n*.obj -text\n*.dbi -text\n*.sec -text\n*.css text diff=css\n*.js eol=lf\n*.mjs eol=lf\n*.cjs eol=lf\n",
|
||||
"Swift": "# Swift gitattributes\n*.pbxproj merge=union\n*.swift text diff=swift\n",
|
||||
"TinaCMS": "# https://tina.io/\n.tina/__generated__/ linguist-generated\n",
|
||||
"Unity": "# Define macros (only works in top-level gitattributes files)\n[attr]lfs filter=lfs diff=lfs merge=lfs -text\n[attr]unity-json eol=lf linguist-language=json\n[attr]unity-yaml merge=unityyamlmerge eol=lf linguist-language=yaml\n\n# Optionally collapse Unity YAML files on GitHub diffs\n# [attr]unity-yaml merge=unityyamlmerge text linguist-language=yaml linguist-generated\n\n# Unity source files\n*.cginc text\n*.compute text linguist-language=hlsl\n*.cs text diff=csharp\n*.hlsl text linguist-language=hlsl\n*.raytrace text linguist-language=hlsl\n*.shader text\n\n# Unity JSON files\n*.asmdef unity-json\n*.asmref unity-json\n*.index unity-json\n*.inputactions unity-json\n*.shadergraph unity-json\n*.shadersubgraph unity-json\n\n# Unity UI Toolkit files\n*.tss text diff=css linguist-language=css\n*.uss text diff=css linguist-language=css\n*.uxml text linguist-language=xml linguist-detectable\n\n# Unity YAML files\n*.anim unity-yaml\n*.asset unity-yaml\n*.brush unity-yaml\n*.controller unity-yaml\n*.flare unity-yaml\n*.fontsettings unity-yaml\n*.giparams unity-yaml\n*.guiskin unity-yaml\n*.lighting unity-yaml\n*.mask unity-yaml\n*.mat unity-yaml\n*.meta unity-yaml\n*.mixer unity-yaml\n*.overrideController unity-yaml\n*.playable unity-yaml\n*.prefab unity-yaml\n*.preset unity-yaml\n*.renderTexture unity-yaml\n*.scenetemplate unity-yaml\n*.shadervariants unity-yaml\n*.signal unity-yaml\n*.spriteatlas unity-yaml\n*.spriteatlasv2 unity-yaml\n*.terrainlayer unity-yaml\n*.unity unity-yaml\n\n# \"physic\" for 3D but \"physics\" for 2D\n*.physicMaterial unity-yaml\n*.physicsMaterial2D unity-yaml\n\n# Exclude from GitHub stats and diffs: third-party plugins, packages lock file\nAssets/Plugins/** linguist-generated\nPackages/packages-lock.json linguist-generated\n\n# Unity LFS\n*.cubemap lfs\n*.unitypackage lfs\n\n# 3D models\n*.3dm lfs\n*.3ds lfs\n*.blend lfs\n*.blend1 lfs\n*.c4d lfs\n*.collada lfs\n*.dae lfs\n*.dxf lfs\n*.FBX lfs\n*.fbx lfs\n*.jas lfs\n*.lws lfs\n*.lxo lfs\n*.ma lfs\n*.max lfs\n*.mb lfs\n*.obj lfs\n*.ply lfs\n*.skp lfs\n*.stl lfs\n*.ztl lfs\n\n# Audio\n*.aif lfs\n*.aiff lfs\n*.it lfs\n*.mod lfs\n*.mp3 lfs\n*.ogg lfs\n*.s3m lfs\n*.wav lfs\n*.xm lfs\n\n# Video\n*.asf lfs\n*.avi lfs\n*.flv lfs\n*.mov lfs\n*.mp4 lfs\n*.mpeg lfs\n*.mpg lfs\n*.ogv lfs\n*.wmv lfs\n\n# Images\n*.bmp lfs\n*.exr lfs\n*.gif lfs\n*.hdr lfs\n*.iff lfs\n*.jpeg lfs\n*.jpg lfs\n*.pict lfs\n*.png lfs\n*.psd lfs\n*.tga lfs\n*.tif lfs\n*.tiff lfs\n*.webp lfs\n\n# Compressed Archive\n*.7z lfs\n*.bz2 lfs\n*.gz lfs\n*.rar lfs\n*.tar lfs\n*.zip lfs\n\n# Compiled Dynamic Library\n*.dll lfs\n*.pdb lfs\n*.so lfs\n\n# Fonts\n*.otf lfs\n*.ttf lfs\n\n# Executable/Installer\n*.apk lfs\n*.exe lfs\n\n# Documents\n*.pdf lfs\n\n# ETC\n*.a lfs\n*.reason lfs\n*.rns lfs\n\n# Spine export file for Unity\n*.skel.bytes lfs\n\n# Exceptions for .asset files such as lightning pre-baking\nLightingData.asset binary\n",
|
||||
"Vim": "# Basic .gitattributes for a Vim repo.\n# Vim on Linux works with LF only, Vim on Windows works with both LF and CRLF\n\n# Source files\n# ============\n*.vim text eol=lf\n.vimrc text eol=lf\n.gvimrc text eol=lf\n",
|
||||
"Web": "## GITATTRIBUTES FOR WEB PROJECTS\n#\n# These settings are for any web project.\n#\n# Details per file setting:\n# text These files should be normalized (i.e. convert CRLF to LF).\n# binary These files are binary and should be left untouched.\n#\n# Note that binary is a macro for -text -diff.\n######################################################################\n\n# Auto detect\n## Handle line endings automatically for files detected as\n## text and leave all files detected as binary untouched.\n## This will handle all files NOT defined below.\n* text=auto\n\n# Source code\n*.bash text eol=lf\n*.bat text eol=crlf\n*.cmd text eol=crlf\n*.coffee text\n*.css text diff=css\n*.htm text diff=html\n*.html text diff=html\n*.inc text\n*.ini text\n*.js text\n*.mjs text\n*.cjs text\n*.json text\n*.jsx text\n*.less text\n*.ls text\n*.map text -diff\n*.od text\n*.onlydata text\n*.php text diff=php\n*.pl text\n*.ps1 text eol=crlf\n*.py text diff=python\n*.rb text diff=ruby\n*.sass text\n*.scm text\n*.scss text diff=css\n*.sh text eol=lf\n.husky/* text eol=lf\n*.sql text\n*.styl text\n*.tag text\n*.ts text\n*.tsx text\n*.xml text\n*.xhtml text diff=html\n\n# Docker\nDockerfile text\n\n# Documentation\n*.ipynb text eol=lf\n*.markdown text diff=markdown\n*.md text diff=markdown\n*.mdwn text diff=markdown\n*.mdown text diff=markdown\n*.mkd text diff=markdown\n*.mkdn text diff=markdown\n*.mdtxt text\n*.mdtext text\n*.txt text\nAUTHORS text\nCHANGELOG text\nCHANGES text\nCONTRIBUTING text\nCOPYING text\ncopyright text\n*COPYRIGHT* text\nINSTALL text\nlicense text\nLICENSE text\nNEWS text\nreadme text\n*README* text\nTODO text\n\n# Templates\n*.dot text\n*.ejs text\n*.erb text\n*.haml text\n*.handlebars text\n*.hbs text\n*.hbt text\n*.jade text\n*.latte text\n*.mustache text\n*.njk text\n*.phtml text\n*.svelte text\n*.tmpl text\n*.tpl text\n*.twig text\n*.vue text\n\n# Configs\n*.cnf text\n*.conf text\n*.config text\n.editorconfig text\n*.env text\n.gitattributes text\n.gitconfig text\n.htaccess text\n*.lock text -diff\npackage.json text eol=lf\npackage-lock.json text eol=lf -diff\npnpm-lock.yaml text eol=lf -diff\n.prettierrc text\nyarn.lock text -diff\n*.toml text\n*.yaml text\n*.yml text\nbrowserslist text\nMakefile text\nmakefile text\n# Fixes syntax highlighting on GitHub to allow comments\ntsconfig.json linguist-language=JSON-with-Comments\n\n# Heroku\nProcfile text\n\n# Graphics\n*.ai binary\n*.bmp binary\n*.eps binary\n*.gif binary\n*.gifv binary\n*.ico binary\n*.jng binary\n*.jp2 binary\n*.jpg binary\n*.jpeg binary\n*.jpx binary\n*.jxr binary\n*.pdf binary\n*.png binary\n*.psb binary\n*.psd binary\n# SVG treated as an asset (binary) by default.\n*.svg text\n# If you want to treat it as binary,\n# use the following line instead.\n# *.svg binary\n*.svgz binary\n*.tif binary\n*.tiff binary\n*.wbmp binary\n*.webp binary\n\n# Audio\n*.kar binary\n*.m4a binary\n*.mid binary\n*.midi binary\n*.mp3 binary\n*.ogg binary\n*.ra binary\n\n# Video\n*.3gpp binary\n*.3gp binary\n*.as binary\n*.asf binary\n*.asx binary\n*.avi binary\n*.fla binary\n*.flv binary\n*.m4v binary\n*.mng binary\n*.mov binary\n*.mp4 binary\n*.mpeg binary\n*.mpg binary\n*.ogv binary\n*.swc binary\n*.swf binary\n*.webm binary\n\n# Archives\n*.7z binary\n*.gz binary\n*.jar binary\n*.rar binary\n*.tar binaryLine truncated
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,103 @@
|
||||
import { describe, expect, it, vi } from 'vitest';
|
||||
import { type GitTemplatesSnapshot, type GitTemplatesSource, loadTemplate, loadTemplateNames } from './git-templates';
|
||||
|
||||
const snapshot: GitTemplatesSnapshot = {
|
||||
repository: 'github/gitignore',
|
||||
ref: 'main',
|
||||
commit: 'abc123',
|
||||
date: '2026-10-02T20:59:38Z',
|
||||
templates: { Node: 'node_modules/\n', 'Global/macOS': '.DS_Store\n' },
|
||||
};
|
||||
|
||||
function makeSource() {
|
||||
const loadSnapshot = vi.fn<() => Promise<GitTemplatesSnapshot>>(async () => snapshot);
|
||||
const source: GitTemplatesSource = {
|
||||
repository: 'github/gitignore',
|
||||
ref: 'main',
|
||||
extension: '.gitignore',
|
||||
loadSnapshot,
|
||||
};
|
||||
return { source, loadSnapshot };
|
||||
}
|
||||
|
||||
type Fetch = (url: string) => Promise<Response>;
|
||||
|
||||
const okJson = (body: unknown) => async () => new Response(JSON.stringify(body));
|
||||
const failing = async (): Promise<Response> => {
|
||||
throw new TypeError('Failed to fetch');
|
||||
};
|
||||
|
||||
describe('git-templates', () => {
|
||||
describe('loadTemplateNames', () => {
|
||||
it('lists live templates without loading the snapshot when online', async () => {
|
||||
const { source, loadSnapshot } = makeSource();
|
||||
const fetchFn = vi.fn<Fetch>(
|
||||
okJson({ tree: [{ path: 'Node.gitignore' }, { path: 'README.md' }, { path: 'Global/Vim.gitignore' }] }),
|
||||
);
|
||||
|
||||
expect(await loadTemplateNames(source, { offline: false, fetchFn })).to.deep.equal({
|
||||
names: ['Node', 'Global/Vim'],
|
||||
});
|
||||
expect(fetchFn).toHaveBeenCalledWith(
|
||||
'https://api.github.com/repos/github/gitignore/git/trees/main?recursive=true',
|
||||
);
|
||||
expect(loadSnapshot).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('uses the snapshot, without any request, when offline', async () => {
|
||||
const { source } = makeSource();
|
||||
const fetchFn = vi.fn<Fetch>(failing);
|
||||
|
||||
expect(await loadTemplateNames(source, { offline: true, fetchFn })).to.deep.equal({
|
||||
names: ['Node', 'Global/macOS'],
|
||||
snapshot,
|
||||
});
|
||||
expect(fetchFn).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('falls back to the snapshot when the request fails or is rejected', async () => {
|
||||
const { source } = makeSource();
|
||||
|
||||
expect((await loadTemplateNames(source, { offline: false, fetchFn: failing })).snapshot).to.equal(snapshot);
|
||||
const rateLimited = async () => new Response('{"message":"API rate limit exceeded"}', { status: 403 });
|
||||
expect((await loadTemplateNames(source, { offline: false, fetchFn: rateLimited })).snapshot).to.equal(snapshot);
|
||||
});
|
||||
});
|
||||
|
||||
describe('loadTemplate', () => {
|
||||
it('fetches the live template when online', async () => {
|
||||
const { source } = makeSource();
|
||||
const fetchFn = vi.fn<Fetch>(async () => new Response('live\n'));
|
||||
|
||||
expect(await loadTemplate(source, 'Node', { offline: false, fetchFn })).to.deep.equal({
|
||||
content: 'live\n',
|
||||
url: 'https://raw.githubusercontent.com/github/gitignore/main/Node.gitignore',
|
||||
});
|
||||
});
|
||||
|
||||
it('reads the snapshot, pinned to its commit, when offline or when the fetch fails', async () => {
|
||||
const { source } = makeSource();
|
||||
const expected = {
|
||||
content: '.DS_Store\n',
|
||||
url: 'https://raw.githubusercontent.com/github/gitignore/abc123/Global/macOS.gitignore',
|
||||
snapshot,
|
||||
};
|
||||
const fetchFn = vi.fn<Fetch>(failing);
|
||||
|
||||
expect(await loadTemplate(source, 'Global/macOS', { offline: true, fetchFn })).to.deep.equal(expected);
|
||||
expect(fetchFn).not.toHaveBeenCalled();
|
||||
expect(await loadTemplate(source, 'Global/macOS', { offline: false, fetchFn })).to.deep.equal(expected);
|
||||
const notFound = async () => new Response('404: Not Found', { status: 404 });
|
||||
expect(await loadTemplate(source, 'Global/macOS', { offline: false, fetchFn: notFound })).to.deep.equal(expected);
|
||||
});
|
||||
|
||||
it('rethrows the live error when the snapshot does not have the template either', async () => {
|
||||
const { source } = makeSource();
|
||||
|
||||
await expect(loadTemplate(source, 'Unknown', { offline: false, fetchFn: failing })).rejects.toThrow(
|
||||
'Failed to fetch',
|
||||
);
|
||||
await expect(loadTemplate(source, 'Unknown', { offline: true })).rejects.toThrow('Unknown template: Unknown');
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,102 @@
|
||||
// Template loading shared by the gitignore and gitattributes generators: live from GitHub, with a bundled snapshot
|
||||
// (generated by scripts/update-git-templates.mjs) used in offline mode or whenever GitHub can't be reached.
|
||||
|
||||
export interface GitTemplatesSnapshot {
|
||||
repository: string;
|
||||
ref: string;
|
||||
commit: string;
|
||||
date: string;
|
||||
templates: Record<string, string>;
|
||||
}
|
||||
|
||||
export interface GitTemplatesSource {
|
||||
/** GitHub `owner/repo` */
|
||||
repository: string;
|
||||
/** Branch the live templates are read from */
|
||||
ref: string;
|
||||
/** Template file extension, e.g. `.gitignore` */
|
||||
extension: string;
|
||||
/** Lazily loads the bundled snapshot, so it stays out of the bundle until needed */
|
||||
loadSnapshot: () => Promise<GitTemplatesSnapshot>;
|
||||
}
|
||||
|
||||
type Fetch = (url: string) => Promise<Response>;
|
||||
|
||||
export function liveTemplateUrl({ repository, ref, extension }: GitTemplatesSource, name: string) {
|
||||
return `https://raw.githubusercontent.com/${repository}/${ref}/${name}${extension}`;
|
||||
}
|
||||
|
||||
async function fetchOk(fetchFn: Fetch, url: string) {
|
||||
const response = await fetchFn(url);
|
||||
if (!response.ok) {
|
||||
throw new Error(`${url}: ${response.status} ${response.statusText}`);
|
||||
}
|
||||
return response;
|
||||
}
|
||||
|
||||
/** Template names (paths without extension) from a GitHub recursive tree listing */
|
||||
export function templateNamesFromTree(tree: { path: string }[], extension: string) {
|
||||
return tree
|
||||
.filter(({ path }) => path.endsWith(extension))
|
||||
.map(({ path }) => path.slice(0, -extension.length))
|
||||
.filter(Boolean);
|
||||
}
|
||||
|
||||
/** Snapshot commit date as YYYY-MM-DD, for display */
|
||||
export function snapshotDay(snapshot: GitTemplatesSnapshot) {
|
||||
return snapshot.date.slice(0, 10);
|
||||
}
|
||||
|
||||
/**
|
||||
* Lists the available templates: live from the GitHub API, or from the snapshot when `offline` or when the live
|
||||
* listing fails. `snapshot` is set when the snapshot was used.
|
||||
*/
|
||||
export async function loadTemplateNames(
|
||||
source: GitTemplatesSource,
|
||||
{ offline, fetchFn = fetch }: { offline: boolean; fetchFn?: Fetch },
|
||||
): Promise<{ names: string[]; snapshot?: GitTemplatesSnapshot }> {
|
||||
if (!offline) {
|
||||
try {
|
||||
const response = await fetchOk(
|
||||
fetchFn,
|
||||
`https://api.github.com/repos/${source.repository}/git/trees/${source.ref}?recursive=true`,
|
||||
);
|
||||
const { tree } = await response.json();
|
||||
const names = templateNamesFromTree(tree, source.extension);
|
||||
if (names.length) {
|
||||
return { names };
|
||||
}
|
||||
} catch {}
|
||||
}
|
||||
const snapshot = await source.loadSnapshot();
|
||||
return { names: Object.keys(snapshot.templates), snapshot };
|
||||
}
|
||||
|
||||
/**
|
||||
* Fetches one template live, or reads it from the snapshot when `offline` or when the live fetch fails.
|
||||
* `url` is where the content comes from (pinned to the snapshot commit when the snapshot was used).
|
||||
*/
|
||||
export async function loadTemplate(
|
||||
source: GitTemplatesSource,
|
||||
name: string,
|
||||
{ offline, fetchFn = fetch }: { offline: boolean; fetchFn?: Fetch },
|
||||
): Promise<{ content: string; url: string; snapshot?: GitTemplatesSnapshot }> {
|
||||
let liveError: unknown;
|
||||
if (!offline) {
|
||||
const url = liveTemplateUrl(source, name);
|
||||
try {
|
||||
return { content: await (await fetchOk(fetchFn, url)).text(), url };
|
||||
} catch (e) {
|
||||
liveError = e;
|
||||
}
|
||||
}
|
||||
const snapshot = await source.loadSnapshot();
|
||||
if (!Object.hasOwn(snapshot.templates, name)) {
|
||||
throw liveError ?? new Error(`Unknown template: ${name}`);
|
||||
}
|
||||
return {
|
||||
content: snapshot.templates[name],
|
||||
url: `https://raw.githubusercontent.com/${source.repository}/${snapshot.commit}/${name}${source.extension}`,
|
||||
snapshot,
|
||||
};
|
||||
}
|
||||
@@ -1,5 +1,13 @@
|
||||
<script setup lang="ts">
|
||||
import { useI18n } from 'vue-i18n';
|
||||
import {
|
||||
type GitTemplatesSnapshot,
|
||||
type GitTemplatesSource,
|
||||
loadTemplate,
|
||||
loadTemplateNames,
|
||||
snapshotDay,
|
||||
} from './git-templates';
|
||||
import { isOfflineMode } from '@/tools-settings';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -13,45 +21,34 @@ const loading = ref(false);
|
||||
const lastFetched = useLocalStorage<number>('gitignore-gen:ts', 0);
|
||||
const CACHE_TTL = 1000 * 60 * 60 * 24; // 24h
|
||||
|
||||
// Commit date of the bundled snapshot, shown when templates come from it (offline mode or GitHub unreachable)
|
||||
const snapshotDate = ref('');
|
||||
|
||||
const source: GitTemplatesSource = {
|
||||
repository: 'github/gitignore',
|
||||
ref: 'main',
|
||||
extension: '.gitignore',
|
||||
loadSnapshot: () => import('./gitignore-templates.json').then((m) => m.default as GitTemplatesSnapshot),
|
||||
};
|
||||
|
||||
async function loadOptions() {
|
||||
const now = Date.now();
|
||||
const isStale = !options.value.length || now - lastFetched.value > CACHE_TTL;
|
||||
|
||||
if (!isStale) {
|
||||
if (!isStale && !isOfflineMode) {
|
||||
// Use cached options
|
||||
return;
|
||||
}
|
||||
|
||||
try {
|
||||
const res = await fetch('https://api.github.com/repos/github/gitignore/git/trees/main?recursive=true');
|
||||
const files = await res.json();
|
||||
options.value = files.tree
|
||||
.filter((f: any) => f.path.endsWith('.gitignore'))
|
||||
.map((f: any) => f.path.replace('.gitignore', ''))
|
||||
.filter(Boolean)
|
||||
.map((name: string) => ({
|
||||
label: name,
|
||||
value: name,
|
||||
}));
|
||||
const { names, snapshot } = await loadTemplateNames(source, { offline: isOfflineMode });
|
||||
options.value = names.map((name: string) => ({
|
||||
label: name,
|
||||
value: name,
|
||||
}));
|
||||
if (snapshot) {
|
||||
snapshotDate.value = snapshotDay(snapshot);
|
||||
} else {
|
||||
lastFetched.value = now;
|
||||
} catch {
|
||||
if (!options.value?.length) {
|
||||
options.value = [
|
||||
'C++',
|
||||
'CMake',
|
||||
'Dotnet',
|
||||
'Node',
|
||||
'Java',
|
||||
'Swift',
|
||||
'Symfony',
|
||||
'Python',
|
||||
'VisualStudio',
|
||||
'WordPress',
|
||||
].map((name) => ({
|
||||
label: name,
|
||||
value: name,
|
||||
}));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -65,10 +62,11 @@ async function generateGitignore() {
|
||||
try {
|
||||
let gitignores = '';
|
||||
for (const lang of selected.value) {
|
||||
const url = `https://raw.githubusercontent.com/github/gitignore/main/${lang}.gitignore`;
|
||||
const res = await fetch(url);
|
||||
const text = await res.text();
|
||||
gitignores += `${gitignores ? '\n\n' : ''}# === .gitignore for ${lang} (${url}) ===\n\n${text}`;
|
||||
const { content, url, snapshot } = await loadTemplate(source, lang, { offline: isOfflineMode });
|
||||
if (snapshot) {
|
||||
snapshotDate.value = snapshotDay(snapshot);
|
||||
}
|
||||
gitignores += `${gitignores ? '\n\n' : ''}# === .gitignore for ${lang} (${url}) ===\n\n${content}`;
|
||||
}
|
||||
output.value = gitignores;
|
||||
} catch (err: any) {
|
||||
@@ -92,6 +90,9 @@ onMounted(loadOptions);
|
||||
style="width: 100%"
|
||||
:disable="!options"
|
||||
/>
|
||||
<n-p v-if="snapshotDate" mt-1 op-70>
|
||||
{{ t('tools.gitignore-generator.texts.snapshot-used', [snapshotDate]) }}
|
||||
</n-p>
|
||||
|
||||
<n-space justify="center">
|
||||
<NButton
|
||||
|
||||
@@ -0,0 +1,320 @@
|
||||
{
|
||||
"repository": "github/gitignore",
|
||||
"ref": "main",
|
||||
"commit": "0e5d690153ca3da8a4a1aef2d053406f408f531c",
|
||||
"date": "2026-10-02T20:59:38Z",
|
||||
"templates": {
|
||||
"Actionscript": "# Build and Release Folders\nbin-debug/\nbin-release/\n[Oo]bj/\n[Bb]in/\n\n# Other files and folders\n.settings/\n\n# Executables\n*.swf\n*.air\n*.ipa\n*.apk\n\n# Project files, i.e. `.project`, `.actionScriptProperties` and `.flexProperties`\n# should NOT be excluded as they contain compiler settings and other important\n# information for Eclipse / Flash Builder.\n",
|
||||
"Ada": "# Object file\n*.o\n\n# Ada Library Information\n*.ali\n",
|
||||
"AdventureGameStudio": "# Built things\n_Debug/\nCompiled/\n\n# AudioCache can be rebuilt from sources\nAudioCache/\n\n# Lockfile\n_OpenInEditor.lock\n\n# User settings\nGame.agf.user\n*.crm.user\n\n# Backups\nGame.agf.bak\nbackup_acsprset.spr\n\n# Memory dumps\n*.dmp\n\n# Temporary files\n# temporarily created during sprite or room background compression\n~aclzw.tmp\n# temporary, main game data, before getting packed into exe\ngame28.dta\n# temporary build of the game before being moved to Compiled/ folder\n*.exe\n\n# Log files\nwarnings.log\n",
|
||||
"Agda": "*.agdai\n**/MAlonzo/**\n",
|
||||
"Android": "# Gradle files\n.gradle/\nbuild/\n.kotlin/\n\n# Local configuration file (sdk path, etc)\nlocal.properties\n\n# Log/OS Files\n*.log\n\n# Android Studio generated files and folders\ncaptures/\n.externalNativeBuild/\n.cxx/\n*.aab\n*.apk\noutput-metadata.json\n\n# IntelliJ\n*.iml\n.idea/\nmisc.xml\ndeploymentTargetDropDown.xml\nrender.experimental.xml\n\n# Keystore files\n*.jks\n*.keystore\n\n# Google Services (e.g. APIs or Firebase)\ngoogle-services.json\n\n# Android Profiling\n*.hprof\n",
|
||||
"Angular": "# Angular specific\n/dist/\n/out-tsc/\n/tmp/\n/coverage/\n/e2e/test-output/\n/.angular/\n.angular/\n\n# Node modules and dependency files\n/node_modules/\n/package-lock.json\n/yarn.lock\n\n# Environment files\n/.env\n\n# Angular CLI and build artefacts\n/.angular-cli.json\n/.ng/\n\n# TypeScript cache\n*.tsbuildinfo\n\n# Logs\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n",
|
||||
"AppceleratorTitanium": "# Build folder and log file\nbuild/\nbuild.log\n",
|
||||
"AppEngine": "# Google App Engine generated folder\nappengine-generated/\n",
|
||||
"ArchLinuxPackages": "*.tar\n*.tar.*\n*.jar\n*.exe\n*.msi\n*.deb\n*.zip\n*.tgz\n*.log\n*.log.*\n*.sig\n\npkg/\nsrc/\n",
|
||||
"Autotools": "# http://www.gnu.org/software/automake\n\nMakefile.in\n/ar-lib\n/mdate-sh\n/py-compile\n/test-driver\n/ylwrap\n.deps/\n.dirstamp\n\n# http://www.gnu.org/software/autoconf\n\nautom4te.cache\n/autoscan.log\n/autoscan-*.log\n/aclocal.m4\n/compile\n/config.cache\n/config.guess\n/config.h.in\n/config.log\n/config.status\n/config.sub\n/configure\n/configure.scan\n/depcomp\n/install-sh\n/missing\n/stamp-h1\n\n# https://www.gnu.org/software/libtool/\n\n/libtool\n/ltmain.sh\n.libs/\n\n# http://www.gnu.org/software/texinfo\n\n/texinfo.tex\n\n# http://www.gnu.org/software/m4/\n\nm4/libtool.m4\nm4/ltoptions.m4\nm4/ltsugar.m4\nm4/ltversion.m4\nm4/lt~obsolete.m4\n\n# Generated Makefile\n# (meta build system like autotools,\n# can automatically generate from config.status script\n# (which is called by configure script))\nMakefile\n",
|
||||
"Ballerina": "# generated files\ntarget/\ngenerated/\n\n# dependencies\nDependencies.toml\n\n# config files\nConfig.toml\n# the config files used for testing, Uncomment the following line if you want to commit the test config files\n#!**/tests/Config.toml\n",
|
||||
"bun": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# database\n*.sqlite\n\n# package-json\npackage-json.lock\n\n# bun deploy file\nnode_modules.bun\n\n# Diagnostic reports (https://nodejs.org/api/report.html)\nreport.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n*.lcov\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# TypeScript v1 declaration files\ntypings/\n\n# TypeScript cache\n*.tsbuildinfo\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Microbundle cache\n.rpt2_cache/\n.rts2_cache_cjs/\n.rts2_cache_es/\n.rts2_cache_umd/\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variables file\n.env\n.env.test\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n\n# Next.js build output\n.next\n\n# Nuxt.js build / generate output\n.nuxt\ndist\n\n# Gatsby files\n.cache/\n# Comment in the public line in if your project uses Gatsby and *not* Next.js\n# https://nextjs.org/blog/next-9-1#public-directory-support\n# public\n\n# vuepress build output\n.vuepress/dist\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# TernJS port file\n.tern-port\n",
|
||||
"C": "# Prerequisites\n*.d\n\n# Object files\n*.o\n*.ko\n*.obj\n*.elf\n\n# Linker output\n*.ilk\n*.map\n*.exp\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Libraries\n*.lib\n*.a\n*.la\n*.lo\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n*.i*86\n*.x86_64\n*.hex\n\n# Debug files\n*.dSYM/\n*.su\n*.idb\n*.pdb\n\n# Kernel Module Compile Results\n*.mod*\n*.cmd\n.tmp_versions/\nmodules.order\nModule.symvers\nMkfile.old\ndkms.conf\n\n# debug information files\n*.dwo\n",
|
||||
"C++": "# Prerequisites\n*.d\n\n# Compiled Object files\n*.slo\n*.lo\n*.o\n*.obj\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Linker files\n*.ilk\n\n# Debugger Files\n*.pdb\n\n# Compiled Dynamic libraries\n*.so\n*.dylib\n*.dll\n*.so.*\n\n# Fortran module files\n*.mod\n*.smod\n\n# Compiled Static libraries\n*.lai\n*.la\n*.a\n*.lib\n\n# Executables\n*.exe\n*.out\n*.app\n\n# Build directories\nbuild/\nBuild/\nbuild-*/\n\n# CMake generated files\nCMakeFiles/\nCMakeCache.txt\ncmake_install.cmake\nMakefile\ninstall_manifest.txt\ncompile_commands.json\n\n# Temporary files\n*.tmp\n*.log\n*.bak\n*.swp\n\n# vcpkg\nvcpkg_installed/\n\n# debug information files\n*.dwo\n\n# test output & cache\nTesting/\n.cache/\n",
|
||||
"CakePHP": "# CakePHP 3\n\n/vendor/*\n/config/app.php\n\n/tmp/cache/models/*\n!/tmp/cache/models/empty\n/tmp/cache/persistent/*\n!/tmp/cache/persistent/empty\n/tmp/cache/views/*\n!/tmp/cache/views/empty\n/tmp/sessions/*\n!/tmp/sessions/empty\n/tmp/tests/*\n!/tmp/tests/empty\n\n/logs/*\n!/logs/empty\n\n# CakePHP 2\n\n/app/tmp/*\n/app/Config/core.php\n/app/Config/database.php\n/vendors/*\n",
|
||||
"CFWheels": "# unpacked plugin folders\nplugins/**/*\n\n# files directory where uploads go\nfiles\n\n# DBMigrate plugin: generated SQL\ndb/sql\n\n# AssetBundler plugin: generated bundles\njavascripts/bundles\nstylesheets/bundles\n",
|
||||
"ChefCookbook": ".vagrant\n/cookbooks\n\n# Bundler\nbin/*\n.bundle/*\n\n.kitchen/\n.kitchen.local.yml\n",
|
||||
"Clojure": "Leiningen.gitignore",
|
||||
"CMake": "CMakeLists.txt.user\nCMakeCache.txt\nCMakeFiles\nCMakeScripts\nTesting\nMakefile\ncmake_install.cmake\ninstall_manifest.txt\ncompile_commands.json\nCTestTestfile.cmake\n_deps\nCMakeUserPresets.json\n\n# CLion\n# JetBrains specific template is maintained in a separate JetBrains.gitignore that can\n# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore\n# and can be added to the global gitignore or merged into this file. For a more nuclear\n# option (not recommended) you can uncomment the following to ignore the entire idea folder.\n#cmake-build-*\n",
|
||||
"CodeIgniter": "*/config/development\n*/logs/log-*.php\n!*/logs/index.html\n*/cache/*\n!system/cache/*\n!*/cache/index.html\n!*/cache/.htaccess\n\nuser_guide_src/build/*\nuser_guide_src/cilexer/build/*\nuser_guide_src/cilexer/dist/*\nuser_guide_src/cilexer/pycilexer.egg-info/*\n\n#codeigniter 3\napplication/logs/*\n!application/logs/index.html\n!application/logs/.htaccess\n/vendor/\n",
|
||||
"CommonLisp": "*.FASL\n*.fasl\n*.lisp-temp\n*.dfsl\n*.pfsl\n*.d64fsl\n*.p64fsl\n*.lx64fsl\n*.lx32fsl\n*.dx64fsl\n*.dx32fsl\n*.fx64fsl\n*.fx32fsl\n*.sx64fsl\n*.sx32fsl\n*.wx64fsl\n*.wx32fsl\n",
|
||||
"community/Alteryx": "# gitignore template for Alteryx Designer\n# website: https://www.alteryx.com/\n# website: https://help.alteryx.com/current/designer/alteryx-file-types\n\n# Alteryx Data Files\n*.yxdb\n*.cydb\n*.cyidx\n*.rptx\n*.vvf\n*.aws\n\n# Alteryx Special Files\n*.yxwv\n*.yxft\n*.yxbe\n*.bak\n*.pcxml\n*.log\n*.bin\n*.yxlang\nCASS.ini\n\n# Alteryx License Files\n*.yxlc\n*.slc\n*.cylc\n*.alc\n*.gzlc\n\n## gitignore reference sites\n# https://git-scm.com/book/en/v2/Git-Basics-Recording-Changes-to-the-Repository#_ignoring\n# https://git-scm.com/docs/gitignore\n# https://help.github.com/articles/ignoring-files/\n\n## Useful knowledge from stackoverflow\n# Even if you haven't tracked the files so far, git seems to be able to \"know\" about them even after you add them to .gitignore.\n# WARNING: First commit your current changes, or you will lose them.\n# Then run the following commands from the top folder of your git repo:\n# git rm -r --cached .\n# git add .\n# git commit -m \"fixed untracked files\"\n\n# author: Kacper Ksieski",
|
||||
"community/AltiumDesigner": "# For PCBs designed using Altium Designer\n# Website: https://www.altium.com/altium-designer/\n\n# Directories containing cache data\nHistory\n__Previews\n\n# Directories containing logs and generated outputs\nProject\\ Logs*\nProject\\ Outputs*\n\n# Misc files generated by altium\ndebug.log\nStatus\\ Report.txt\n*.PcbDoc.htm\n*.SchDocPreview\n*.PcbDocPreview\n\n# Lock files sometimes left behind\n.~lock.*\n",
|
||||
"community/AutoIt": "# Compiled Scripts\n*.a3x\n\n# Tidy Auto-Generated Backups\nBackup/*\n\n# Au3Stripper Auto-Generated Files\n*_stripped.au3\n",
|
||||
"community/AutomationStudio": "# gitignore template for B&R Automation Studio (AS) 4\n# website: https://www.br-automation.com/en-us/products/software/automation-software/automation-studio/\n\n# AS temporary directories\nBinaries/\nDiagnosis/\nTemp/\nTempObjects/\n\n# AS transfer files\n*artransfer.br\n*arTrsfmode.nv\n\n# 'ignored' directory\nignored/\n\n# ARNC0ext\n*arnc0ext.br\n\n# AS File types\n*.bak\n*.isopen\n*.orig\n*.log\n*.asar\n*.csvlog*\n*.set\n!**/Physical/**/*.set\n\n# RevInfo variables\n*RevInfo.var\n",
|
||||
"community/AWS/CDK": "# CDK asset staging directory.\n# For more information about AWS-CDK, see https://docs.aws.amazon.com/cdk/\n.cdk.staging/\ncdk.out/\n",
|
||||
"community/AWS/SAM": "# gitignore template for AWS Serverless Application Model project\n# website: https://docs.aws.amazon.com/serverless-application-model\n\n# Ignore build folder\n.aws-sam/\n",
|
||||
"community/B4X": "**/Objects\n**/AutoBackups\n*.meta\n",
|
||||
"community/Bazel": "# gitignore template for Bazel build system\n# website: https://bazel.build/\n\n# Ignore all bazel-* symlinks. There is no full list since this can change\n# based on the name of the directory bazel is cloned into.\n/bazel-*\n\n# Directories for the Bazel IntelliJ plugin containing the generated\n# IntelliJ project files and plugin configuration. Separate directories are\n# for the IntelliJ, Android Studio and CLion versions of the plugin.\n/.ijwb/\n/.aswb/\n/.clwb/\n",
|
||||
"community/Beef": "build/\nrecovery/\nBeefSpace_User.toml\n",
|
||||
"community/BoxLang/ColdBox": "# Servelet Ignores\nWEB-INF\n\n# Engines + Database + CBFS + Secrets\n.tmp/**\n.env\n.engine/**\n.cbfs/**\n\n# Logs + Test Results\nlogs/**\ntests/results/**\n\n## Ignored Dependencies\n/boxlang_modules/*\neffective-pom.xml\n/coldbox/**\n/testbox/**\n/modules/**\n/lib/java/**\n\n# NPM JS Assets (If applicable)\n**/node_modules/*\nnpm-debug.log\nyarn-error.log\n",
|
||||
"community/CFML/ColdBox": "# Servelet Ignores\nWEB-INF\n\n# Engines + Database + CBFS + Secrets\n.tmp/**\n.env\n.engine/**\n.cbfs/**\n\n# Logs + Test Results\nlogs/**\ntests/results/**\n\n## Ignored Dependencies\neffective-pom.xml\n/coldbox/**\n/testbox/**\n/modules/**\n/lib/java/**\n\n# NPM JS Assets (If applicable)\n**/node_modules/*\nnpm-debug.log\nyarn-error.log\n",
|
||||
"community/DotNet/core": "*.swp\n*.*~\nproject.lock.json\n.DS_Store\n*.pyc\nnupkg/\n\n# Visual Studio Code\n.vscode\n\n# Rider\n.idea\n\n# User-specific files\n*.suo\n*.user\n*.userosscache\n*.sln.docstates\n\n# Build results\n[Dd]ebug/\n[Dd]ebugPublic/\n[Rr]elease/\n[Rr]eleases/\nx64/\nx86/\nbuild/\nbld/\n[Bb]in/\n[Oo]bj/\n[Oo]ut/\nmsbuild.log\nmsbuild.err\nmsbuild.wrn\n\n# Visual Studio 2015\n.vs/\n\n",
|
||||
"community/DotNet/InforCMS": "# gitignore template for InforCRM (formerly SalesLogix)\n# website: https://www.infor.com/product-summary/cx/infor-crm/\n#\n# Recommended: VisualStudio.gitignore\n\n# Ignore model files that are auto-generated\nModelIndex.xml\nExportedFiles.xml\n\n# Ignore deployment files\n[Mm]odel/[Dd]eployment\n\n# Force include portal SupportFiles\n!Model/Portal/*/SupportFiles/[Bb]in/\n!Model/Portal/PortalTemplates/*/SupportFiles/[Bb]in\n",
|
||||
"community/DotNet/Kentico": "# gitignore template for using Kentico CMS\n# website: http://www.kentico.com/\n#\n# Recommended template: VisualStudio.gitignore\n\n# Include some Kentico folders excluded by Visual Studio rules\n!CMS/CMSAdminControls/*/\n!CMS/CMSModules/System/*/\n!CMS/App_Data/CIRepository/**\n\n# Kentico temporary/environment files\nCMS/App_Data/AzureCache\nCMS/App_Data/AzureTemp\nCMS/App_Data/CMSModules/DeviceProfile/logFiftyOne.txt\nCMS/App_Data/CMSModules/DeviceProfiles/logFiftyOne.txt\nCMS/App_Data/CMSModules/WebFarm/webfarm.sync\nCMS/App_Data/CMSTemp\nCMS/App_Data/Persistent\nCMS/CMSSiteUtils/Export\nCMS/CMSSiteUtils/Import\n\n# Ignore all smart search indexes, but not the other system folder contents\nCMS/App_Data/CMSModules/SmartSearch/**\n!CMS/App_Data/CMSModules/SmartSearch/*/\n!CMS/App_Data/CMSModules/SmartSearch/_StopWords/**\n!CMS/App_Data/CMSModules/SmartSearch/_Synonyms/**\n\n## Kentico Starter Sites\n# Starter site resource Files\nCMS/App_Data/DancingGoat\n\n# Starter site web templates\nCMS/App_Data/Templates/CommunitySite\nCMS/App_Data/Templates/CorporateSite\nCMS/App_Data/Templates/DancingGoat\nCMS/App_Data/Templates/EcommerceSite\nCMS/App_Data/Templates/IntranetPortal\nCMS/App_Data/Templates/PersonalSite\n\n# Starter site app themes\nCMS/App_Themes/CommunitySite\nCMS/App_Themes/CorporateSite\nCMS/App_Themes/EcommerceSite\nCMS/App_Themes/IntranetPortal*\nCMS/App_Themes/PersonalSite\n\n# Starter site ASPX templates\nCMS/CMSTemplates/CorporateSite\n\n# Starter site media libraries\nCMS/CommunitySite\nCMS/CorporateSite\nCMS/DancingGoat\nCMS/EcommerceSite\nCMS/IntranetPortal\nCMS/PersonalSite\n\n## Project specific ignores\n# Sensitive settings\nAppSettings.config\nConnectionStrings.config\n\n# Project media libraries (recommend shared file storage)\n# e.g. CMS/{SiteCodeName}\n",
|
||||
"community/DotNet/Umbraco": "## Ignore Umbraco files/folders generated for each instance\n##\n## Get latest from https://github.com/github/gitignore/blob/main/Umbraco.gitignore\n\n# Note: VisualStudio gitignore rules may also be relevant\n\n# Umbraco\n# Ignore unimportant folders generated by Umbraco\n**/App_Data/Logs/\n**/App_Data/[Pp]review/\n**/App_Data/TEMP/\n**/App_Data/NuGetBackup/\n\n# Ignore Umbraco content cache file\n**/App_Data/umbraco.config\n\n## this [Uu]mbraco/ folder should be created by cmd like `Install-Package UmbracoCms -Version 8.5.3`\n## you can find your Umbraco version in your Web.config. (i.e. <add key=\"Umbraco.Core.ConfigurationStatus\" value=\"8.5.3\" />)\n## Uncomment this line if you think it fits the way you work on your project.\n## **/[Uu]mbraco/\n\n## The [Mm]edia/ folder contains content. Content may vary by environment and should therefore not be added to source control.\n## Uncomment this line if you think it fits the way you work on your project.\n## **/[Mm]edia/\n\n# Don't ignore Umbraco packages (VisualStudio.gitignore mistakes this for a NuGet packages folder)\n# Make sure to include details from VisualStudio.gitignore BEFORE this\n!**/App_Data/[Pp]ackages/*\n!**/[Uu]mbraco/[Dd]eveloper/[Pp]ackages/*\n!**/[Uu]mbraco/[Vv]iews/[Pp]ackages/*\n\n# ImageProcessor DiskCache\n**/App_Data/cache/\n\n# Ignore the Models Builder models out of date flag\n**/ood.flag\n\n# NEW for version 9 .Net 5 (Core)\n#ignore umbraco backoffice assest from wwwroot\n**/wwwroot/umbraco/\n\n# SQLite files\n*.sqlite.db*\n\n#ignore umbraco data/views/settings\n**/umbraco/*\n\n#include default location for modelsbuilder output\n!**/umbraco/models\n\n#include default location for packages\n!**/umbraco/Data/packages\n",
|
||||
"community/Dotter": "# local files are for host-specific overrides\n.dotter/local.toml\n\n# ignore caches\n.dotter/cache.toml\n.dotter/cache\n",
|
||||
"community/Elixir/Phoenix": "# gitignore template for Phoenix projects\n# website: http://www.phoenixframework.org/\n#\n# Recommended template: Elixir.gitignore\n\n# Temporary files\n/tmp\n\n# Static artifacts\n/node_modules\n/assets/node_modules\n\n# Since we are building assets from web/static,\n# we ignore priv/static. You may want to comment\n# this depending on your deployment strategy.\n/priv/static/\n\n# Installer-related files\n/installer/_build\n/installer/tmp\n/installer/doc\n/installer/deps\n",
|
||||
"community/embedded/AtmelStudio": "## Ignore Atmel Studio temporary files and build results\n# https://www.microchip.com/mplab/avr-support/atmel-studio-7\n\n# Atmel Studio is powered by an older version of Visual Studio,\n# so most of the project and solution files are the same as VS files,\n# only prefixed by an `at`.\n\n#Build Directories\n[Dd]ebug/\n[Rr]elease/\n\n#Build Results\n*.o\n*.d\n*.eep\n*.elf\n*.hex\n*.map\n*.srec\n\n#User Specific Files\n*.atsuo\n",
|
||||
"community/embedded/esp-idf": "# gitignore template for esp-idf, the official development framework for ESP32\n# https://github.com/espressif/esp-idf\n\nbuild/\nsdkconfig\nsdkconfig.old\n",
|
||||
"community/embedded/IAR_EWARM": "# gitignore template for the IAR EWARM\n# website: https://www.iar.com/knowledge/support/technical-notes/ide/which-files-should-be-version-controlled/\n\n# Some tools will put the EWARM files\n# under a subdirectory with the same name\n# as the configuration.\n# Example\n# EWARM/Config1/Obj /List /Exe\n# EWARM/Config2/Obj /List /Exe\nEWARM/**/Obj\nEWARM/**/List\nEWARM/**/Exe\n\n# Autogenerated project files\n*.dep\n*.ewt\n\n# Autogenerated folder for debugger\nEWARM/settings\n",
|
||||
"community/embedded/Microchip_MPLAB_X_IDE": "#=============================================================================\n# Microchip MPLAB X IDE .gitignore file.\n#\n# MPLABX: https://www.microchip.com/en-us/tools-resources/develop/mplab-x-ide\n#\n# MPLABX Version Control:-\n# https://developerhelp.microchip.com/xwiki/bin/view/software-tools/ides/x/version-control/working-with-version-control/\n#-----------------------------------------------------------------------------\n\n# MPLAB X (NetBeans) Project files\n**/*.X/nbproject/private/\n**/*.X/nbproject/Makefile-*\n**/*.X/nbproject/Package-*\n!**/*.X/nbproject/*.xml\n\n# MPLAB X Generated Files and Build Output\n**/*.X/.generated_files/\n**/*.X/build/\n**/*.X/dist/\n**/*.X/debug/\n\n# MPLAB Code Configurator (MCC)\n**/*.X/mcc_generated_files/\n**/*.X/mcc-manifest-*.yml\n\n#-----------------------------------------------------------------------------\n\n",
|
||||
"community/embedded/uVision": "# git ignore file for Keil µVision Project\n\n# µVision 5 and µVision 4 Project screen layout file\n*.uvguix.*\n*.uvgui.*\n\n# Listing Files\n*.i\n*.lst\n*.m51\n*.m66\n*.map\n\n# Object Files\n*.axf\n*.b[0-2][0-9]\n*.b3[0-1]\n*.bak\n*.build_log.htm\n*.crf\n*.d\n*.dep\n*.elf\n*.htm\n*.iex\n*.lnp\n*.o\n*.obj\n*.sbr\n\n# Firmware Files\n*.bin\n*.h86\n*.hex\n\n# Build Files\n.bat\n\n# Debugger Files\n.ini\n\n# JLink Files\nJLinkLog.txt\n\n# Other Files\n",
|
||||
"community/Exercism": "# gitignore template for Exercism project\n# website: https://exercism.io/\n\n# Ignore .exercism folder which contain sensitive data\n.exercism\n",
|
||||
"community/FreeCAD": "# FreeCAD backup and temporary files\n*.FC.lock\n*.bak\n*.FCBak\n*.tmp",
|
||||
"community/GNOME/GNOMEShellExtension": "# Ignored files for GNOME extension git repository\n\n*.zip\n",
|
||||
"community/Golang/Go.AllowList": "# Allowlisting gitignore template for GO projects prevents us\n# from adding various unwanted local files, such as generated\n# files, developer configurations or IDE-specific files etc.\n#\n# Recommended: Go.AllowList.gitignore\n\n# Ignore everything\n*\n\n# But not these files...\n!/.gitignore\n\n!*.go\n!go.sum\n!go.mod\n\n!README.md\n!LICENSE\n\n# !Makefile\n\n# ...even if they are in subdirectories\n!*/\n",
|
||||
"community/Golang/Hugo": "# Generated files by hugo\n/public/\n/resources/_gen/\n/assets/jsconfig.json\nhugo_stats.json\n\n# Executable may be added to repository\nhugo.exe\nhugo.darwin\nhugo.linux\n\n# Temporary lock file while building\n/.hugo_build.lock\n",
|
||||
"community/Gretl": "# gitignore template for Gretl\n# website: http://gretl.sourceforge.net/\n\n# Auto-generated log file is overwritten whenever you start a new session\nsession.inp\n\n# Auto-generated temporary string code table\nstring_table.txt\n",
|
||||
"community/Hexo": "# gitignore template for Hexo sites\n# website: https://hexo.io/\n# Recommended: Node.gitignore\n\n# Ignore generated directory\npublic/\n\n# Ignore temp files\ntmp/\n.tmp*\n\n# additional files\ndb.json\n.deploy*/\n",
|
||||
"community/HOL": "*Script\n\n# Holmake generated files\n*Theory.sig\n*Theory.sml\n*.uo\n*.ui\n\n# Holmake auxiliary files\n.hollogs\n.HOLMK\n",
|
||||
"community/Java/JBoss4": "# gitignore for JBoss v4 projects\n\n/server/all/data\n/server/all/log\n/server/all/tmp\n/server/all/work\n/server/default/data\n/server/default/log\n/server/default/tmp\n/server/default/work\n/server/minimal/data\n/server/minimal/log\n/server/minimal/tmp\n/server/minimal/work\n\n# Note:\n# there may be other directories that contain *.xml.failed or *.war.failed files\n/server/default/deploy/*.xml.failed\n/server/default/deploy/*.war.failed\n",
|
||||
"community/Java/JBoss6": "# gitignore for JBoss v6 projects\n#\n# Note: to ensure empty directories remain part of the repository, like\n# `/server/minimal/lib`, you should add an empty `.gitignore` or `.gitkeep` file\n# to the directory - otherwise you may have issues when starting the service.\n\n/server/all/data\n/server/all/log\n/server/all/tmp\n/server/all/work\n/server/default/data\n/server/default/log\n/server/default/tmp\n/server/default/work\n/server/minimal/data\n/server/minimal/log\n/server/minimal/tmp\n/server/minimal/work\n/server/jbossweb-standalone/data\n/server/jbossweb-standalone/log\n/server/jbossweb-standalone/tmp\n/server/jbossweb-standalone/work\n/server/standard/data\n/server/standard/log\n/server/standard/tmp\n/server/standard/work\n/server/default/deploy/*.jar.failed\n/server/default/deploy/*.jar.dodeploy\n/server/default/deploy/*.xml.failed\n/server/default/deploy/*.xml.dodeploy\n/server/default/deploy/*.war.failed\n/server/default/deploy/*.war.dodeploy\n\n",
|
||||
"community/JavaScript/Cordova": "# gitignore template for the Cordova framework\n# website: https://cordova.apache.org/\n#\n# Recommended template: Node.gitignore\n\n# App platform binaries and built files\n/platforms\n\n# Optional to ignore plugin Git clones\n#/plugins\n",
|
||||
"community/JavaScript/Expo": "# .gitignore template for Expo\n# website: https://expo.dev/\n# docs: https://docs.expo.dev/workflow/expo-cli/\n#\n# Rationale:\n# node_modules/ is always ignored\n# .expo/, .expo-shared/ are Expo’s local state and project-settings cache (see docs)\n# Metro caches/logs are *.expo, *.tunnel, *.cache, *.tmp, *.log\n\n# Node modules\nnode_modules/\n\n# Expo local state and caches\n# runtime state (Metro bundler, dev-client data, tunnels)\n.expo/\n# shared project settings (app.json edits, etc.)\n.expo-shared/\n\n# Metro bundler caches/logs\n# generic Expo temp files\n*.expo\n# Expo DevTools tunnels\n*.tunnel\n# Metro cache folder\n*.cache\n# temp files created during bundling\n*.tmp\n# build or Metro logs\n*.log\n\n# Environment variables\n.env\n.env.local\n.env.*.local\n\n# Package manager logs\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n",
|
||||
"community/JavaScript/Meteor": "# gitignore template for the Meteor framework\n# website: https://www.meteor.com/\n#\n# Recommended template: Node.gitignore\n\n# protect api keys in setting json\nsettings-production.json\nsettings.json\n\n# protect your mup.json settings\nmup.json\nmup.js\n",
|
||||
"community/JavaScript/NWjs": "# gitignore template for NW.js projects\n# website: https://nwjs.io/\n\n# Seen in standard and sdk versions\ncredits.html\nlocales/\nlibEGL.dll\nlibGLEv2.dll\nnode.dll\nnw.dll\nnw.exe\nnatives_blob.bin\nnw_100_percent.pak\nnw_200_percent.pak\nnw_elf.dll\nsnapshot_blob.bin\nresources.pak\n\n# Seen only in standard\nd3dcompiler_47.dll\nffmpeg.dll\nicudtl.dat\n\n# Seen only in sdk\npnacl/\nchromedriver.exe\nnacl_irt_x86_64.nexe\nnwjc.exe\npayload.exe\n",
|
||||
"community/JavaScript/Vue": "# gitignore template for Vue.js projects\n#\n# Recommended template: Node.gitignore\n\n# TODO: where does this rule come from?\ndocs/_book\n\n# TODO: where does this rule come from?\ntest/\n",
|
||||
"community/LensStudio": "# gitignore template for LensStudio\n# website: https://lensstudio.snapchat.com/\n\n# macOS/IDE #\n.DS_Store\n.idea\n\n# js #\nnode_modules\nyarn.lock\n\n# Python #\n__pycache__/\n*.py[cod]\n*$py.class\n[Bb]ackup*\n",
|
||||
"community/libogc": "# Ignore build directories\nbuild/\n\n# Ignore Wii-specific metadata files\nmeta.xml\nicon.png\n\n\n# Ignore editor or IDE-specific files\n.vscode/\n.idea/\n*.sublime-project\n*.sublime-workspace\n\n# Ignore backup or temporary files\n*~\n*.bak\n*.swp\n*.tmp\n\n# Ignore log files\n*.log\n\n# Ignore libraries and dependencies\nlib/\ndeps/\nobj/\n\n# Ignore operating system-specific files\n$RECYCLE.BIN/\n.Trash-1000/\n.Spotlight-V100/\n.fseventsd/\n.DS_Store\n\n# Prerequisites\n*.d\n\n# Object files\n*.o\n*.ko\n*.obj\n*.elf\n*.o\n*.bin\n\n# Linker output\n*.ilk\n*.map\n*.exp\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Libraries\n*.lib\n*.a\n*.la\n*.lo\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n*.i*86\n*.x86_64\n*.hex\n*.dol\n*.elf\n\n# Debug files\n*.dSYM/\n*.su\n*.idb\n*.pdb\n\n# Kernel Module Compile Results\n*.mod*\n*.cmd\n.tmp_versions/\nmodules.order\nModule.symvers\nMkfile.old\ndkms.conf\n",
|
||||
"community/Linux/Flatpak": ".flatpak-builder\nbuilddir\nrepo\n",
|
||||
"community/Linux/Snap": "# gitginore template for creating Snap packages\n# website: https://snapcraft.io/\n\nparts/\nprime/\nstage/\n*.snap\n\n# Snapcraft global state tracking data(automatically generated)\n# https://forum.snapcraft.io/t/location-to-save-global-state/768\n/snap/.snapcraft/\n\n# Source archive packed by `snapcraft cleanbuild` before pushing to the LXD container\n/*_source.tar.bz2\n",
|
||||
"community/Logtalk": "# gitignore template for LogTalk, a programming language that builds upon Prolog\n# website: https://logtalk.org/\n\n# Logtalk temporary file directories\n.lgt_tmp/\nlgt_tmp/\n\n# Logtalk default unit testing and doclet results and logs directories\nlogtalk_tester_logs/\nlogtalk_doclet_logs/\n\n# backend Prolog compiler temporary files\n.pl-history\n*.out\n*.xwam\n*.qo\n*.ql\n*.itf\n*.po\n",
|
||||
"community/MetaTrader5": "# MetaTrader 5 and MQL5 gitignore template\n# Project homepage: https://www.metatrader5.com/en\n\n# Compiled MQL5 executables (binaries)\n# These are generated from .mq5 source files and should not be committed.\n*.ex5\n# For MQL4 compatibility if you also manage MT4 projects in a similar structure\n*.ex4\n\n# Log files\n# Terminal logs, strategy tester logs, and custom logs from Print() functions.\n*.log\n# Strategy Tester logs\n*.slog\n\n# Strategy Tester specific files\n# History data, optimization results, and temporary files used by the tester.\n# FXT files (history data for testing)\n*.fxt\n# History data files (can be large)\n*.hst\n# Initialization files (often generated by tester or EAs)\n*.ini\n# Data files (various purposes, often temporary)\n*.dat\n# CSV export files (e.g., from tester reports)\n*.csv\n# Journal files (tester journal)\n*.jrn\n\n# Market Watch sets and profiles\n# User-specific lists of symbols in Market Watch, and terminal profiles.\n# Market Watch symbol sets\n*.set\n# Chart templates\n*.tpl\n# Chart settings files (can be generated when saving templates or profiles)\n*.chr\n\n# External libraries (DLLs)\n# If you use custom DLLs, you might want to ignore them if they are built separately\n# and not part of your MQL5 source code repository.\n*.dll\n\n# User-specific configuration and credentials\n# Files containing sensitive information or local user settings.\n# Environment variables (e.g., for Python integration credentials)\n.env\n# Configuration files (if not meant to be shared)\n*.cfg\n# Be careful: if you have config JSONs you *do* want to commit, add specific exceptions.\n*.json\n# Example: !config.json (to include config.json but ignore other *.json)\n\n# Temporary files and backup files generated by MetaEditor\n# Temporary files (e.g., ~MyScript.mq5)\n*.~*\n# Backup files (e.g., MyScript.mq5.bak)\n*.bak\n*.mqh.bak\n*.mq5.bak\n\n# MetaEditor project files\n# Project files for MetaEditor workspaces.\n.mqproj\n\n# Python specific ignores (if you also keep Python scripts or Jupyter notebooks in this repository)\n# These are relevant if your Git repo root is higher up (e.g., the terminal folder itself)\n# or if you mix Python code within your MQL5 structure.\n# Python compiled bytecode cache\n__pycache__/\n# Jupyter Notebook checkpoints\n.ipynb_checkpoints/\n# Python compiled files\n*.pyc\n# Python dynamic modules\n*.pyd\n",
|
||||
"community/Move": "# Generated by Move\n# will have compiled files\nbuild/\n\n# Remove possibly saving credentials to the git repository\n.aptos/\n",
|
||||
"community/NasaSpecsIntact": "# gitignore template for Nasa SpecsIntact (SI)\n# Website: https://specsintact.ksc.nasa.gov/\n#\n# Recommended:\n# MicrosoftOffice.gitignore\n#\n\n# SpecsIntact (SI) Locking file; this would lock everyone out.\n*.se$\n\n# SI Reports; auto-generated. They do not belong in the repository\n# as they will be re-created exactly when using a specific checkout point.\n*.RPT\nADDRVER.*\nBRKTVER.*\nDUPEREF.*\nREFVER.*\nSECTVER.*\nSUBMVER.*\nTTLDIFFS.*\n\n# SpecsIntact files that change a lot and don't actually affect SI\n# PULL.TBL is an auto-generated file to help speed SI loading.\nPULL.TBL\npulltbl.bck\n\n# Tailoring information.\n# Keep tailor.tag; it is a list of tailoring options in SI.\n\n# JOB.OTL informs SI where a spec section came from.\n# Keeping the old one isn't useful in git.\nJOB.OTL.OLD\n\n# OneNote TOC Files; SI Work Directories may be installed in a location co-located with OneNote\n# notebooks, and if so, OneNote will litter the SI folder with these.\n*.onetoc*\n\n# Log files, typically tagfix or other auto generated logs that aren't useful\n# outside of the user that made them and clutter up the index.\n*.log\n",
|
||||
"community/Obsidian/NotesAndCoreConfiguration": "# Excludes Obsidian workspace cache and plugins. All notes and core obsidian\n# configuration files are tracked by Git.\n\n# The current application UI state (DOM layout, recently-opened files, etc.) is\n# stored in these files (separate for desktop and mobile) so you can resume\n# your session seamlessly after a restart. If you want to track UI state, use\n# the Workspaces core plugin instead of relying on these files.\n.obsidian/workspace.json\n.obsidian/workspace-mobile.json\n\n# Obsidian plugins are stored under .obsidian/plugins/$plugin_name. They\n# contain metadata (manifest.json), application code (main.js), stylesheets\n# (styles.css), and user-configuration data (data.json).\n# We want to exclude all plugin-related files, so we can exclude everything\n# under this directory.\n.obsidian/plugins/**/*\n",
|
||||
"community/Obsidian/NotesAndExtendedConfiguration": "# Excludes Obsidian workspace cache and plugin code, but retains plugin\n# configuration. All notes and user-controlled configuration files are tracked\n# by Git.\n#\n# \t\t\t\t!!! WARNING !!!\n#\n# Community plugins may store sensitive secrets in their data.json files. By\n# including these files, those secrets may be tracked in your Git repository.\n#\n# To ignore configurations for specific plugins, add a line like this after the\n# contents of this file (order is important):\n# .obsidian/plugins/{{plugin_name}}/data.json\n#\n# Alternatively, ensure that you are treating your entire Git repository as\n# sensitive data, since it may contain secrets, or may have contained them in\n# past commits. Understand your threat profile, and make the decision\n# appropriate for yourself. If in doubt, err on the side of not including\n# plugin configuration. Use one of the alternative gitignore files instead:\n# * NotesOnly.gitignore\n# * NotesAndCoreConfiguration.gitignore\n\n# The current application UI state (DOM layout, recently-opened files, etc.) is\n# stored in these files (separate for desktop and mobile) so you can resume\n# your session seamlessly after a restart. If you want to track UI state, use\n# the Workspaces core plugin instead of relying on these files.\n.obsidian/workspace.json\n.obsidian/workspace-mobile.json\n\n# Obsidian plugins are stored under .obsidian/plugins/$plugin_name. They\n# contain metadata (manifest.json), application code (main.js), stylesheets\n# (styles.css), and user-configuration data (data.json).\n# We only want to track data.json, so we:\n# 1. exclude everything that the plugin folders contain,\n# 2. unignore data.json in the plugin folders\n.obsidian/plugins/*/**\n!.obsidian/plugins/*/data.json\n",
|
||||
"community/Obsidian/NotesOnly": "# Excludes all Obsidian-related configuration. All notes are tracked by Git.\n\n# All Obsidian configuration and runtime state is stored here\n.obsidian/**/*\n",
|
||||
"community/OpenSSL": "# OpenSSL-related files best not committed\n\n## Certificate Authority\n*.ca\n\n## Certificate\n*.crt\n\n## Certificate Sign Request\n*.csr\n\n## Certificate\n*.der\n\n## Key database file\n*.kdb\n\n## OSCP request data\n*.org\n\n## PKCS #12\n*.p12\n\n## PEM-encoded certificate data\n*.pem\n\n## Random number seed\n*.rnd\n\n## SSLeay data\n*.ssleay\n\n## S/MIME message\n*.smime\n",
|
||||
"community/OpenTofu": "# Local .terraform directories\n**/.terraform/*\n\n# .tfstate files\n*.tfstate\n*.tfstate.*\n\n# Crash log files\ncrash.log\ncrash.*.log\n\n# Exclude all .tfvars files, which are likely to contain sensitive data, such as\n# password, private keys, and other secrets. These should not be part of version\n# control as they are data points which are potentially sensitive and subject\n# to change depending on the environment.\n*.tfvars\n*.tfvars.json\n\n# Ignore override files as they are usually used to override resources locally and so\n# are not checked in\noverride.tf\noverride.tofu\noverride.tf.json\noverride.tofu.json\n*_override.tf\n*_override.tofu\n*_override.tf.json\n*_override.tofu.json\n\n# Ignore transient lock info files created by tofu apply\n.terraform.tfstate.lock.info\n\n# Include override files you do wish to add to version control using negated pattern\n# !example_override.tf\n# !example_override.tofu\n\n# Include tfplan files to ignore the plan output of command: tofu plan -out=tfplan\n# example: *tfplan*\n\n# Ignore CLI configuration files\n.terraformrc\nterraform.rc\n",
|
||||
"community/PHP/Bitrix": "# gitignore template for 1C-Bitrix, a PHP-based CMS\n# website: https://www.1c-bitrix.ru\n\n#Exclude all of core files\n/bitrix/*\n\n#But not the templates and non bitrix components\n!/bitrix/templates\n!/bitrix/components\n/bitrix/components/bitrix\n\n#Exclude bitrix gadgets\n!/bitrix/gadgets\n/bitrix/gadgets/bitrix\n\n#User can use that directory to store some stuff, but it's not really recommended, just use /local instead of this\n!/bitrix/php_interface/\n\n#Exclude database configs\n/bitrix/php_interface/dbconn.php\n\n#Exclude default file storage directory\n/upload/\n",
|
||||
"community/PHP/CodeSniffer": "# gitignore for the PHP Codesniffer framework\n# website: https://github.com/squizlabs/PHP_CodeSniffer\n#\n# Recommended template: PHP.gitignore\n\n/wpcs/*\n",
|
||||
"community/PHP/Drupal7": "# gitignore template for Drupal 7 projects\n#\n# It is recommended that you use `Drupal.gitignore` as this is the latest version\n\n# Ignore configuration files that may contain sensitive information.\nsites/*/*settings*.php\nsites/example.sites.php\n\n# Ignore paths that contain generated content.\nfiles/\nsites/*/files\nsites/*/private\nsites/*/translations\n\n# Ignore default text files\nrobots.txt\n/CHANGELOG.txt\n/COPYRIGHT.txt\n/INSTALL*.txt\n/LICENSE.txt\n/MAINTAINERS.txt\n/UPGRADE.txt\n/README.txt\nsites/README.txt\nsites/all/libraries/README.txt\nsites/all/modules/README.txt\nsites/all/themes/README.txt\n\n# Ignore everything but the \"sites\" folder ( for non core developer )\n.htaccess\nweb.config\nauthorize.php\ncron.php\nindex.php\ninstall.php\nupdate.php\nxmlrpc.php\n/includes\n/misc\n/modules\n/profiles\n/scripts\n/themes\n",
|
||||
"community/PHP/Jigsaw": "# gitignore template for Jigsaw Static Site Generator\n#\n# website - https://jigsaw.tighten.co\n\n# Ignore build folder\nbuild_*\n",
|
||||
"community/PHP/Magento1": "# gitignore template for Magento v1 projects\n#\n# It is recommended that you use `Magento.gitignore` as this is the latest version\n\n/PATCH_*.sh\n\n/app/etc/local.xml\n\n/media/*\n!/media/.htaccess\n\n!/media/customer\n/media/customer/*\n!/media/customer/.htaccess\n\n!/media/dhl\n/media/dhl/*\n!/media/dhl/logo.jpg\n\n!/media/downloadable\n/media/downloadable/*\n!/media/downloadable/.htaccess\n\n!/media/xmlconnect\n/media/xmlconnect/*\n\n!/media/xmlconnect/custom\n/media/xmlconnect/custom/*\n!/media/xmlconnect/custom/ok.gif\n\n!/media/xmlconnect/original\n/media/xmlconnect/original/*\n!/media/xmlconnect/original/ok.gif\n\n!/media/xmlconnect/system\n/media/xmlconnect/system/*\n!/media/xmlconnect/system/ok.gif\n\n/var/*\n!/var/.htaccess\n\n!/var/package\n/var/package/*\n!/var/package/*.xml\n\n",
|
||||
"community/PHP/Magento2": "/sitemap\n/sitemap.xml\n/pub/sitemap\n/pub/sitemap.xml\n/app/config_sandbox\n/app/etc/config.php\n/app/etc/env.php\n/app/code/Magento/TestModule*\n/lib/internal/flex/uploader/.actionScriptProperties\n/lib/internal/flex/uploader/.flexProperties\n/lib/internal/flex/uploader/.project\n/lib/internal/flex/uploader/.settings\n/lib/internal/flex/varien/.actionScriptProperties\n/lib/internal/flex/varien/.flexLibProperties\n/lib/internal/flex/varien/.project\n/lib/internal/flex/varien/.settings\n/.grunt\n/.php_cs.cache\n/grunt-config.json\n/dev/tools/grunt/configs/local-themes.js\n\n/pub/media/*.*\n!/pub/media/.htaccess\n/pub/media/attribute/*\n!/pub/media/attribute/.htaccess\n/pub/media/analytics/*\n/pub/media/catalog/*\n!/pub/media/catalog/.htaccess\n/pub/media/customer/*\n!/pub/media/customer/.htaccess\n/pub/media/downloadable/*\n!/pub/media/downloadable/.htaccess\n/pub/media/favicon/*\n/pub/media/import/*\n!/pub/media/import/.htaccess\n/pub/media/logo/*\n/pub/media/theme/*\n/pub/media/theme_customization/*\n!/pub/media/theme_customization/.htaccess\n/pub/media/wysiwyg/*\n!/pub/media/wysiwyg/.htaccess\n/pub/media/tmp/*\n!/pub/media/tmp/.htaccess\n/pub/media/captcha/*\n!/pub/media/captcha/.htaccess\n/pub/static/*\n!/pub/static/.htaccess\n\n/var/*\n!/var/.htaccess\n/vendor/*\n!/vendor/.htaccess\n/generated/*\n!/generated/.htaccess\n",
|
||||
"community/PHP/Pimcore": "# gitignore template for Pimcore CMS\n\n# pimcore source files\n/pimcore\n\n# asset files\n/website/var/assets/*\n\n# backups\n/website/var/backup/*\n\n# file cache\n/website/var/cache/*\n\n# generated PHP classes, keep definition files (.psf)\n/website/var/classes/Object*\n!/website/var/classes/objectbricks\n\n# various configuration files\n/website/var/config/system.xml\n/website/var/config/cache.xml\n/website/var/config/robots.txt\n/website/var/config/Geo*\n/website/var/config/object/*\n/website/var/config/portal/*\n/website/var/config/sqlreport/*\n\n# sent e-mail log files\n/website/var/email/*\n\n# log files\n/website/var/log/*.log\n\n# serialized recyclebin files\n/website/var/recyclebin/*\n\n# search plugin\n/website/var/search/*\n\n# various temp files\n/website/var/system/*\n/website/var/tmp/*\n\n# serialized version files\n/website/var/versions/asset/*\n/website/var/versions/document/*\n/website/var/versions/object/*\n\n# user profile images\n/website/var/user-image/*\n\n# keep .dummy files\n!.dummy\n",
|
||||
"community/PHP/ThinkPHP": "# gitignore template for ThinkPHP v3.2.3\n# website: http://www.thinkphp.cn/\n\n# Logs and Cache files\n/Application/Runtime/\n\n# Common configure file\n/Application/Common/Conf/config.php",
|
||||
"community/Puppet": "# gitignore template for Puppet modules\n# website: https://forge.puppet.com/\n\n# Built packages\npkg/*\n\n# Should run on multiple platforms so don't check in\nGemfile.lock\n\n# Tests\nspec/fixtures/*\ncoverage/*\n\n# Third-party\nvendor/*\n.bundle/*\n",
|
||||
"community/Python/JupyterNotebooks": "# gitignore template for Jupyter Notebooks\n# website: http://jupyter.org/\n\n.ipynb_checkpoints\n*/.ipynb_checkpoints/*\n\n# IPython\nprofile_default/\nipython_config.py\n\n# Jupyter lab virtual documents\n# https://jupyterlab-lsp.readthedocs.io/en/2.x/Configuring.html#virtual_documents_dir\n.virtual_documents/\n\n# Remove previous ipynb_checkpoints\n# git rm -r .ipynb_checkpoints/\n",
|
||||
"community/Python/Nikola": "# gitignore template for Nikola static site generator\n# website: https://getnikola.com/\n\n.doit.db\n*.py[cod]\ncache/\noutput/\n",
|
||||
"community/Racket": "# gitignore template for the Racket language\n# website: http://www.racket-lang.org/\n\n# DrRacket autosave files\n*.rkt~\n*.rkt.bak\n\\#*.rkt#\n\\#*.rkt#*#\n\n# Compiled racket bytecode\ncompiled/\n*.zo\n\n# Dependency tracking files\n*.dep\n",
|
||||
"community/Red": "# gitignore template for Red programming language\n# website: http://www.red-lang.org/\n\n# Red Compiled code\n*.red\n\n# Libraries\ncrush.dll\ncrush.dylib\ncrush.so\n\n# Files generated during test\nquick-test/quick-test.log\nquick-test/runnable/\nsystem/tests/source/units/auto-tests/\ntests/source/units/auto-tests/\n",
|
||||
"community/ROS2": "install/\nlog/\nbuild/\n\n# Ignore generated docs\n*.dox\n*.wikidoc\n\n# eclipse stuff\n.project\n.cproject\n\n# qcreator stuff\nCMakeLists.txt.user\n\nsrv/_*.py\n*.pcd\n*.pyc\nqtcreator-*\n*.user\n\n*~\n\n# Emacs\n.#*\n\n# Colcon custom files\nCOLCON_IGNORE\nAMENT_IGNORE\n",
|
||||
"community/SPFx": "#SharePoint Framework (SPFx)\n# Logs\nlogs\n*.log\nnpm-debug.log*\n\n# Dependency directories\nnode_modules\n\n# Build generated files\ndist\nlib\nsolution\ntemp\n*.sppkg\n\n# Coverage directory used by tools like istanbul\ncoverage\n\n# OSX\n.DS_Store\n\n# Visual Studio files\n.ntvs_analysis.dat\n.vs\nbin\nobj\n\n# Resx Generated Code\n*.resx.ts\n\n# Styles Generated Code\n*.scss.ts\n",
|
||||
"community/Splunk": "# gitignore template for Splunk apps\n# documentation: http://docs.splunk.com/Documentation/Splunk/6.2.3/admin/Defaultmetaconf\n\n# Splunk local meta file\nlocal.meta\n\n# Splunk local folder\nlocal\n",
|
||||
"community/Strapi": "############################\n# OS X\n############################\n\n.DS_Store\n.AppleDouble\n.LSOverride\nIcon\n.Spotlight-V100\n.Trashes\n._*\n\n\n############################\n# Linux\n############################\n\n*~\n\n\n############################\n# Windows\n############################\n\nThumbs.db\nehthumbs.db\nDesktop.ini\n$RECYCLE.BIN/\n*.cab\n*.msi\n*.msm\n*.msp\n\n\n############################\n# Packages\n############################\n\n*.7z\n*.csv\n*.dat\n*.dmg\n*.gz\n*.iso\n*.jar\n*.rar\n*.tar\n*.zip\n*.com\n*.class\n*.dll\n*.exe\n*.o\n*.seed\n*.so\n*.swo\n*.swp\n*.swn\n*.swm\n*.out\n*.pid\n\n\n############################\n# Logs and databases\n############################\n\n.tmp\n*.log\n*.sql\n*.sqlite\n\n\n############################\n# Misc.\n############################\n\n*#\n.idea\nnbproject\n.vscode/\n\n\n############################\n# Node.js\n############################\n\nlib-cov\nlcov.info\npids\nlogs\nresults\nbuild\nnode_modules\n.node_history\npackage-lock.json\n**/package-lock.json\n!docs/package-lock.json\n*.heapsnapshot\n\n\n############################\n# Tests\n############################\n\ntestApp\ncoverage\ncypress/screenshots\ncypress/videos\n\n\n############################\n# Documentation\n############################\n\ndist\n\n############################\n# Builds\n############################\n\npackages/strapi-generate-new/files/public/\n\n############################\n# Example app\n############################\n\n.dev\n# *.cache\n\n############################\n# Visual Studio Code\n############################\n\nfront-workspace.code-workspace\n",
|
||||
"community/Tauri": "# Tauri\n# https://tauri.app/\n#\n# Recommended: Rust.gitignore\n\n# Rust compilation output\n# https://doc.rust-lang.org/cargo/guide/build-cache.html\ntarget/\n\n# WiX Toolset cache (Windows MSI installer builds)\n# https://v2.tauri.app/distribute/windows-installer/\nWixTools/\n",
|
||||
"community/Terragrunt": "# Ignore the default terragrunt cache directory\n# https://terragrunt.gruntwork.io/docs/features/caching/\n.terragrunt-cache\n",
|
||||
"community/Toit": ".packages\n*_pb.toit\n",
|
||||
"community/UiPath": "# gitignore template for RPA development using UiPath Studio\n# website: https://www.uipath.com/product/studio\n#\n# Recommended: n/a\n\n# Ignore folders that could cause issues if accidentally tracked\n**/.local/**\n**/.settings/**\n**/.objects/**\n**/.tmh/**\n**/*.log\n",
|
||||
"community/UTAU": "# Adobe Audition\n*.pkf\n\n# UTAU Engines\n*.ctspec\n*.d4c\n*.dio\n*.frc\n*.frt\n*.frq\n*.harvest\n*.lessaudio\n*.llsm\n*.mrq\n*.pitchtier\n*.platinum\n*.pmk\n*.sc.npz\n*.star\n*.uspec\n*.vs4ufrq\n\n# UTAU related tools\n$read\n*.setParam-Scache\n*.lbp\n*.lbp.caches/*\n\n# OpenUtau\nerrors.txt\n\n# Deepvocal\n*.DVModel\n*-log.txt\nSKC\nSKI\nSKC_1\nSKC_2\n*.sksd\n\n# VocalSharp\n*.scep\n*.vssf\n*.vsdx\n*.vsdxindex\n\n# Binary Archive\n*.7z\n*.zip\n*.rar\n*.exe\n\n",
|
||||
"community/V": "*.exe\n*.o\n*.so\n*.tmp.c\n*.exp\n*.ilk\n*.pdb\n*.dll\n*.lib\n*.bak\n*.out\n",
|
||||
"community/Xilinx": "# gitignore template for Xilinx Vivado Design Suite\n# website: https://www.xilinx.com/support/download.html\n\n# [home]\n*.jou\n*.log\n*.debug\n*.str\n*.zip\n*.tmp\n*.rst\n*.os\n*.js\n*.pb\n*.dcp\n*.hwdef\n*.vds\n*.veo\n*.wdf\n*.vdi\n*.dmp\n*.rpx\n*.rpt\n*_stub.v\n*_stub.vhdl\n*_funcsim.v\n*_funcsim.vhdl\n.project\n\n# [dir]\n*.cache\n.metadata\n*.data\n*.ipdefs\n.Xil\n*.sdk\n*.hw\n*.ip_user_files\n\n### IP synth\n*_synth_*\n\n.jobs\n\n### project synth\n*/*.runs/synth*/*.xml\n*/*.runs/synth*/*.txt\n*/*.runs/synth*/*.sh\n*/*.runs/synth*/*.tcl\n*/*.runs/synth*/*.bat\n*/*.runs/synth*/*.xdc\n!*/*.runs/synth*/*utilization*.rpt\n\n*.runs/synth*/*.xml\n*.runs/synth*/*.txt\n*.runs/synth*/*.sh\n*.runs/synth*/*.tcl\n*.runs/synth*/*.bat\n*.runs/synth*/*.xdc\n!*.runs/synth*/*utilization*.rpt\n\n### project impl\n*/*.runs/impl*/*.xml\n*/*.runs/impl*/*.html\n*/*.runs/impl*/*.txt\n*/*.runs/impl*/*.sh\n*/*.runs/impl*/*.tcl\n*/*.runs/impl*/*.bat\n!*/*.runs/impl*/*utilization*.rpt\n\n*.runs/impl*/*.xml\n*.runs/impl*/*.html\n*.runs/impl*/*.txt\n*.runs/impl*/*.sh\n*.runs/impl*/*.tcl\n*.runs/impl*/*.bat\n!*.runs/impl*/*utilization*.rpt\n\n### block design\n*/*/bd/*/hdl\n*/*/*/bd/*/hdl\n\n*/*/bd/*/*.xdc\n*/*/*/bd/*/*.xdc\n\n*/*/bd/*/ip/*/*.xdc\n*/*/*/bd/*/ip/*/*.xdc\n\n*/*/bd/*/ip/*/*/\n*/*/*/bd/*/ip/*/*/\n\n*/*/bd/*/ip/*/*.vhd\n*/*/*/bd/*/ip/*/*.vhd\n\n*/*/bd/*/ip/*/*.xml\n*/*/*/bd/*/ip/*/*.xml\n\n*.c\n*.h\n*.vho\n*.html\n*/*/bd/*/ip/*/*.tcl\n*/*/*/bd/*/ip/*/*.tcl\nhw_handoff\nipshared\n",
|
||||
"Composer": "composer.phar\n/vendor/\n\n# Commit your application's lock file https://getcomposer.org/doc/01-basic-usage.md#commit-your-composer-lock-file-to-version-control\n# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file\n# composer.lock\n",
|
||||
"Concrete5": "# ignore the error log and .htaccess and others\nerror_log\n.htaccess\n\n# concrete5 5.6 specific\n\nconfig/site.php\nfiles/cache/*\nfiles/tmp/*\n\n# concrete5 5.7 specific\n\n# ignore everything but the index.html\n/application/files/*\n!/application/files/index.html\n\n# ignore updates folder\n/updates/*\n\n# ignore sitemap.xml\n/sitemap.xml\n",
|
||||
"Coq": ".*.aux\n.*.d\n*.a\n*.cma\n*.cmi\n*.cmo\n*.cmx\n*.cmxa\n*.cmxs\n*.glob\n*.ml.d\n*.ml4.d\n*.mlg.d\n*.mli.d\n*.mllib.d\n*.mlpack.d\n*.native\n*.o\n*.v.d\n*.vio\n*.vo\n*.vok\n*.vos\n.coq-native\n.csdp.cache\n.lia.cache\n.nia.cache\n.nlia.cache\n.nra.cache\ncsdp.cache\nlia.cache\nnia.cache\nnlia.cache\nnra.cache\nnative_compute_profile_*.data\n\n# generated timing files\n*.timing.diff\n*.v.after-timing\n*.v.before-timing\n*.v.timing\ntime-of-build-after.log\ntime-of-build-before.log\ntime-of-build-both.log\ntime-of-build-pretty.log\n",
|
||||
"CraftCMS": "# Craft 2 Storage (https://craftcms.com/support/craft-storage-gitignore)\n# not necessary for Craft 3 (https://github.com/craftcms/craft/issues/26)\n/craft/storage/*\n!/craft/storage/rebrand\n",
|
||||
"CUDA": "*.i\n*.ii\n*.gpu\n*.ptx\n*.cubin\n*.fatbin\n",
|
||||
"D": "# Compiled Object files\n*.o\n*.obj\n\n# Compiled Dynamic libraries\n*.so\n*.dylib\n*.dll\n\n# Compiled Static libraries\n*.a\n*.lib\n\n# Executables\n*.exe\n\n# DUB\n.dub\ndocs.json\n__dummy.html\ndocs/\n\n# Code coverage\n*.lst\n",
|
||||
"Dart": "# See https://www.dartlang.org/guides/libraries/private-files\n\n# Files and directories created by pub\n.dart_tool/\n.packages\nbuild/\n# If you're building an application, you may want to check-in your pubspec.lock\npubspec.lock\n\n# Directory created by dartdoc\n# If you don't generate documentation locally you can remove this line.\ndoc/api/\n\n# dotenv environment variables file\n.env*\n\n# Avoid committing generated Javascript files:\n*.dart.js\n# Produced by the --dump-info flag.\n*.info.json\n# When generated by dart2js. Don't specify *.js if your\n# project includes source files written in JavaScript.\n*.js\n*.js_\n*.js.deps\n*.js.map\n\n.flutter-plugins\n.flutter-plugins-dependencies\n",
|
||||
"Delphi": "# Uncomment these types if you want even more clean repository. But be careful.\n# It can make harm to an existing project source. Read explanations below.\n#\n# Resource files are binaries containing manifest, project icon and version info.\n# They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files.\n#*.res\n#\n# Type library file (binary). In old Delphi versions it should be stored.\n# Since Delphi 2009 it is produced from .ridl file and can safely be ignored.\n#*.tlb\n#\n# Diagram Portfolio file. Used by the diagram editor up to Delphi 7.\n# Uncomment this if you are not using diagrams or use newer Delphi version.\n#*.ddp\n#\n# Visual LiveBindings file. Added in Delphi XE2.\n# Uncomment this if you are not using LiveBindings Designer.\n#*.vlb\n#\n# Deployment Manager configuration file for your project. Added in Delphi XE2.\n# Uncomment this if it is not mobile development and you do not use remote debug feature.\n#*.deployproj\n#\n# C++ object files produced when C/C++ Output file generation is configured.\n# Uncomment this if you are not using external objects (zlib library for example).\n#*.obj\n#\n\n# Default Delphi compiler directories\n# Content of this directories are generated with each Compile/Construct of a project.\n# Most of the time, files here have not there place in a code repository.\n#Win32/\n#Win64/\n#OSX64/\n#OSXARM64/\n#Android/\n#Android64/\n#iOSDevice64/\n#Linux64/\n\n# Delphi compiler-generated binaries (safe to delete)\n*.exe\n*.dll\n*.bpl\n*.bpi\n*.dcp\n*.so\n*.apk\n*.drc\n*.map\n*.dres\n*.rsm\n*.tds\n*.dcu\n*.lib\n*.a\n*.o\n*.ocx\n\n# Delphi autogenerated files (duplicated info)\n*.cfg\n*.hpp\n*Resource.rc\n\n# Delphi local files (user-specific info)\n*.local\n*.identcache\n*.projdata\n*.tvsconfig\n*.dsk\n*.dsv\n\n# Delphi history and backups\n__history/\n__recovery/\n*.~*\n\n# Castalia statistics file (since XE7 Castalia is distributed with Delphi)\n*.stat\n",
|
||||
"Deno": "# Deno\n# https://deno.com/\n\n# Cache directory (when using project-local DENO_DIR)\n# https://docs.deno.com/runtime/fundamentals/setup/#deno_dir\n.deno/\n\n# Coverage reports\n# https://docs.deno.com/runtime/reference/cli/coverage/\ncoverage/\n*.lcov\n",
|
||||
"DM": "*.dmb\n*.rsc\n*.int\n*.lk\n*.zip\n",
|
||||
"Dotnet": "## A streamlined .gitignore for modern .NET projects\n## including temporary files, build results, and\n## files generated by popular .NET tools. If you are\n## developing with Visual Studio, the VS .gitignore\n## https://github.com/github/gitignore/blob/main/VisualStudio.gitignore\n## has more thorough IDE-specific entries.\n##\n## Get latest from https://github.com/github/gitignore/blob/main/Dotnet.gitignore\n\n# Build results\n[Dd]ebug/\n[Dd]ebugPublic/\n[Rr]elease/\n[Rr]eleases/\nx64/\nx86/\n[Ww][Ii][Nn]32/\n[Aa][Rr][Mm]/\n[Aa][Rr][Mm]64/\nbld/\n[Bb]in/\n[Oo]bj/\n[Ll]og/\n[Ll]ogs/\n\n# .NET Core\nproject.lock.json\nproject.fragment.lock.json\nartifacts/\n\n# ASP.NET Scaffolding\nScaffoldingReadMe.txt\n\n# NuGet Packages\n*.nupkg\n# NuGet Symbol Packages\n*.snupkg\n\n# dotenv environment variables file\n.env\n\n# Others\n~$*\n*~\nCodeCoverage/\n\n# MSBuild Binary and Structured Log\n*.binlog\n\n# MSTest test Results\n[Tt]est[Rr]esult*/\n[Bb]uild[Ll]og.*\n\n# NUnit\n*.VisualState.xml\nTestResult.xml\nnunit-*.xml\n",
|
||||
"Drupal": "# gitignore template for Drupal 8 projects\n#\n# earlier versions of Drupal are tracked in `community/PHP/`\n#\n# follows official upstream conventions:\n# https://www.drupal.org/docs/develop/using-composer\n\n# Ignore configuration files that may contain sensitive information\n/web/sites/*/*settings*.php\n/web/sites/*/*services*.yml\n\n# Ignore paths that may contain user-generated content\n/web/sites/*/files\n/web/sites/*/public\n/web/sites/*/private\n/web/sites/*/files-public\n/web/sites/*/files-private\n\n# Ignore paths that may contain temporary files\n/web/sites/*/translations\n/web/sites/*/tmp\n/web/sites/*/cache\n\n# Ignore drupal core (if not versioning drupal sources)\n/web/vendor\n/web/core\n/web/modules/README.txt\n/web/modules/contrib\n/web/profiles/README.txt\n/web/profiles/contrib\n/web/sites/development.services.yml\n/web/sites/example.settings.local.php\n/web/sites/example.sites.php\n/web/sites/README.txt\n/web/themes/README.txt\n/web/themes/contrib\n/web/.csslintrc\n/web/.editorconfig\n/web/.eslintignore\n/web/.eslintrc.json\n/web/.gitattributes\n/web/.htaccess\n/web/.ht.router.php\n/web/autoload.php\n/web/composer.json\n/web/composer.lock\n/web/example.gitignore\n/web/index.php\n/web/INSTALL.txt\n/web/LICENSE.txt\n/web/README.txt\n/web/robots.txt\n/web/update.php\n/web/web.config\n\n# Ignore vendor dependencies and scripts\n/vendor\n/composer.phar\n/composer\n/robo.phar\n/robo\n/drush.phar\n/drush\n/drupal.phar\n/drupal\n",
|
||||
"Eagle": "# Ignore list for Eagle, a PCB layout tool\n\n# Backup files\n*.s#?\n*.b#?\n*.l#?\n*.b$?\n*.s$?\n*.l$?\n\n# Eagle project file\n# It contains a serial number and references to the file structure\n# on your computer.\n# comment the following line if you want to have your project file included.\neagle.epf\n\n# Autorouter files\n*.pro\n*.job\n\n# CAM files\n*.$$$\n*.cmp\n*.ly2\n*.l15\n*.sol\n*.plc\n*.stc\n*.sts\n*.crc\n*.crs\n\n*.dri\n*.drl\n*.gpi\n*.pls\n*.ger\n*.xln\n\n*.drd\n*.drd.*\n\n*.s#*\n*.b#*\n\n*.info\n\n*.eps\n\n# file locks introduced since 7.x\n*.lck\n",
|
||||
"ecu.test": "# gitignore template for ecu.test workspaces - by tracetronic https://tracetronic.com\n# website: https://www.ecu-test.com\n# * all directories are related to the default directories, please adapt the .gitignore if you use customized directories\n\n# Dynamic workspace settings\n# * We don't recommend to ignore the .workspace directory, because of important\n# * project specific settings\n# * local user settings\n.workspace/ETdrive.xml\n.workspace/favorites.xml\n.workspace/filters.xml\n.workspace/generators.xml\n.workspace/history.xml\n.workspace/parallelExecution.xml\n.workspace/signalviewer.xml\n.workspace/signalViewerHistory.json\n.workspace/signalviewer2layout.xml\n.workspace/testeditor.xml\n.workspace/tooladapter.xml\n.workspace/view.xml\n# optional, if your process depends on this file remove exclusion\n.workspace/attributeLists.xml\n.workspace/interactiveexecution.xml\n.workspace/protocol.xml\n.workspace/pythonlibrary.xml\n# deprecated, support for older versions\n.workspace/traceexplorer.xml\n\n# Custom file formats and test dependencies\n# * you can manage your artifacts also with test.guide (https://www.test-guide.info) and reference them via Playbooks\n*.arxml\n*.a2l\n*.dbc\n*.hex\n*.s19\n[tT]estdata\n[tT]estdaten\n\n# Test results and test execution related content\n# * Git is not intended to store and provide test results for all iterations\n# * We recommend to use test.guide (https://www.test-guide.info) for the test report management\nTestReports\n\n# Report generators and templates\n# * if you want to provide (f.e.) your own report generators exclude the directory here and ignore only the unnecessary subdirectories\nTemplates\n\n# optional, default for external Python libraries\nPyLibs\n\n# Exclude large binary artifacts\n# * you can manage your artifacts also with test.guide (https://www.test-guide.info) and reference them via Playbooks\nOffline-FIUs\nOffline-Models\nOffline-SGBDs\n*.exe\n*.msi\n*.zip\n*.7z\n\n# Exclude default and custom temporary directories\nBackup_*\n\n# Python bytecode and cache files\n__pycache__/\n*.py[cod]\n",
|
||||
"Elisp": "# Compiled\n*.elc\n\n# Packaging\n.cask/\n.eask/\n.eldev/\n.keg/\n\n# Built distribution\ndist/\n\n# Backup files\n*~\n\n# Undo-tree save-files\n*.~undo-tree\n",
|
||||
"Elixir": "/_build\n/cover\n/deps\n/doc\n/.fetch\nerl_crash.dump\n*.ez\n*.beam\n/config/*.secret.exs\n.elixir_ls/\n",
|
||||
"Elm": "# elm-package generated files\nelm-stuff\n# elm-repl generated files\nrepl-temp-*\n",
|
||||
"EPiServer": "######################\n## EPiServer Files\n######################\n*License.config\n",
|
||||
"Erlang": ".eunit\n*.o\n*.beam\n*.plt\nerl_crash.dump\n.concrete/DEV_MODE\n\n# rebar 2.x\n.rebar\nrel/example_project\nebin/*.beam\ndeps\n\n# rebar 3\n.rebar3\n_build/\n_checkouts/\n",
|
||||
"ExpressionEngine": ".DS_Store\n\n# Images\nimages/avatars/\nimages/captchas/\nimages/smileys/\nimages/member_photos/\nimages/signature_attachments/\nimages/pm_attachments/\n\n# For security do not publish the following files\nsystem/expressionengine/config/database.php\nsystem/expressionengine/config/config.php\n\n# Caches\nsized/\nthumbs/\n_thumbs/\n*/expressionengine/cache/*\n",
|
||||
"ExtJs": ".architect\nbootstrap.css\nbootstrap.js\nbootstrap.json\nbootstrap.jsonp\nbuild/\nclassic.json\nclassic.jsonp\next/\nmodern.json\nmodern.jsonp\nresources/sass/.sass-cache/\nresources/.arch-internal-preview.css\n.arch-internal-preview.css\n",
|
||||
"Fancy": "*.rbc\n*.fyc\n",
|
||||
"Finale": "*.bak\n*.db\n*.avi\n*.pdf\n*.ps\n*.mid\n*.midi\n*.mp3\n*.aif\n*.wav\n# Some versions of Finale have a bug and randomly save extra copies of\n# the music source as \"<Filename> copy.mus\"\n*copy.mus\n",
|
||||
"Firebase": "# Firebase build and deployment files\n/firebase-debug.log\n/firebase-debug.*.log\n.firebaserc\n\n# Firebase Hosting\n/firebase.json\n*.cache\nhosting/.cache\n\n# Firebase Functions\n/functions/node_modules/\n/functions/.env\n/functions/package-lock.json\n\n# Firebase Emulators\n/firebase-*.zip\n/.firebase/\n/emulator-ui/\n\n# Logs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n\n# Environment files (local configs)\n/.env.*\n",
|
||||
"FlaxEngine": "# Ignore Flax project files\nBinaries/\nCache/\nLogs/\nOutput/\nScreenshots/\n*.HotReload.*\n\n# Ignore Visual Studio project files (generated locally)\n*.csproj\n*.sln\n\n# Ignore thumbnails created by Windows\nThumbs.db\n\n# Ignore files built by Visual Studio\n*.obj\n*.exe\n*.pdb\n*.user\n*.aps\n*.pch\n*.vspscc\n*_i.c\n*_p.c\n*.ncb\n*.suo\n*.tlb\n*.tlh\n*.bak\n*.cache\n*.ilk\n*.log\n[Bb]in\n[Dd]ebug*/\n*.lib\n*.sbr\nobj/\n[Rr]elease*/\n_ReSharper*/\n[Tt]est[Rr]esult*\n.vs/\n\n# Ignore Nuget packages folder\npackages/\n",
|
||||
"Flutter": "# Miscellaneous\n*.class\n*.lock\n*.log\n*.pyc\n*.swp\n.buildlog/\n.history\n\n\n\n# Flutter repo-specific\n/bin/cache/\n/bin/internal/bootstrap.bat\n/bin/internal/bootstrap.sh\n/bin/mingit/\n/dev/benchmarks/mega_gallery/\n/dev/bots/.recipe_deps\n/dev/bots/android_tools/\n/dev/devicelab/ABresults*.json\n/dev/docs/doc/\n/dev/docs/flutter.docs.zip\n/dev/docs/lib/\n/dev/docs/pubspec.yaml\n/dev/integration_tests/**/xcuserdata\n/dev/integration_tests/**/Pods\n/packages/flutter/coverage/\nversion\nanalysis_benchmark.json\n\n# packages file containing multi-root paths\n.packages.generated\n\n# Flutter/Dart/Pub related\n**/doc/api/\n.dart_tool/\n.flutter-plugins\n.flutter-plugins-dependencies\n**/generated_plugin_registrant.dart\n.packages\n.pub-preload-cache/\n.pub/\nbuild/\nflutter_*.png\nlinked_*.ds\nunlinked.ds\nunlinked_spec.ds\n\n# Android related\n**/android/**/gradle-wrapper.jar\n.gradle/\n**/android/captures/\n**/android/gradlew\n**/android/gradlew.bat\n**/android/local.properties\n**/android/**/GeneratedPluginRegistrant.java\n**/android/key.properties\n*.jks\n\n# iOS/XCode related\n**/ios/**/*.mode1v3\n**/ios/**/*.mode2v3\n**/ios/**/*.moved-aside\n**/ios/**/*.pbxuser\n**/ios/**/*.perspectivev3\n**/ios/**/*sync/\n**/ios/**/.sconsign.dblite\n**/ios/**/.tags*\n**/ios/**/.vagrant/\n**/ios/**/DerivedData/\n**/ios/**/Icon?\n**/ios/**/Pods/\n**/ios/**/.symlinks/\n**/ios/**/profile\n**/ios/**/xcuserdata\n**/ios/.generated/\n**/ios/Flutter/.last_build_id\n**/ios/Flutter/App.framework\n**/ios/Flutter/Flutter.framework\n**/ios/Flutter/Flutter.podspec\n**/ios/Flutter/Generated.xcconfig\n**/ios/Flutter/ephemeral\n**/ios/Flutter/app.flx\n**/ios/Flutter/app.zip\n**/ios/Flutter/flutter_assets/\n**/ios/Flutter/flutter_export_environment.sh\n**/ios/ServiceDefinitions.json\n**/ios/Runner/GeneratedPluginRegistrant.*\n\n# macOS\n**/Flutter/ephemeral/\n**/Pods/\n**/macos/Flutter/GeneratedPluginRegistrant.swift\n**/macos/Flutter/ephemeral\n**/xcuserdata/\n\n# Windows\n**/windows/flutter/generated_plugin_registrant.cc\n**/windows/flutter/generated_plugin_registrant.h\n**/windows/flutter/generated_plugins.cmake\n\n# Linux\n**/linux/flutter/generated_plugin_registrant.cc\n**/linux/flutter/generated_plugin_registrant.h\n**/linux/flutter/generated_plugins.cmake\n\n# Coverage\ncoverage/\n\n# Symbols\napp.*.symbols\n\n# Exceptions to above rules.\n!**/ios/**/default.mode1v3\n!**/ios/**/default.mode2v3\n!**/ios/**/default.pbxuser\n!**/ios/**/default.perspectivev3\n!/packages/flutter_tools/test/data/dart_dependencies_test/**/.packages\n!/dev/ci/**/Gemfile.lock",
|
||||
"ForceDotCom": ".project\n.settings\nsalesforce.schema\nReferenced Packages\n",
|
||||
"Fortran": "C++.gitignore",
|
||||
"FuelPHP": "# the composer package lock file and install directory\n# Commit your application's lock file http://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file\n# You may choose to ignore a library lock file http://getcomposer.org/doc/02-libraries.md#lock-file\n# /composer.lock\n/fuel/vendor\n\n# the fuelphp document\n/docs/\n\n# you may install these packages with `oil package`.\n# http://fuelphp.com/docs/packages/oil/package.html\n# /fuel/packages/auth/\n# /fuel/packages/email/\n# /fuel/packages/oil/\n# /fuel/packages/orm/\n# /fuel/packages/parser/\n\n# dynamically generated files\n/fuel/app/logs/*/*/*\n/fuel/app/cache/*/*\n/fuel/app/config/crypt.php\n",
|
||||
"Gcov": "# gcc coverage testing tool files\n\n*.gcno\n*.gcda\n*.gcov\n",
|
||||
"GitBook": "# Node rules:\n## Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n## Dependency directory\n## Commenting this out is preferred by some people, see\n## https://docs.npmjs.com/misc/faq#should-i-check-my-node_modules-folder-into-git\nnode_modules\n\n# Book build output\n_book\n\n# eBook build output\n*.epub\n*.mobi\n*.pdf\n",
|
||||
"GitHubPages": "# This .gitignore is appropriate for repositories deployed to GitHub Pages and using\n# a Gemfile as specified at https://github.com/github/pages-gem#conventional\n\n# Basic Jekyll gitignores (synchronize to Jekyll.gitignore)\n_site/\n.sass-cache/\n.jekyll-cache/\n.jekyll-metadata\n\n# Additional Ruby/bundler ignore for when you run: bundle install\n/vendor\n\n# Specific ignore for GitHub Pages\n# GitHub Pages will always use its own deployed version of pages-gem\n# This means GitHub Pages will NOT use your Gemfile.lock and therefore it is\n# counterproductive to check this file into the repository.\n# Details at https://github.com/github/pages-gem/issues/768\nGemfile.lock\n",
|
||||
"Gleam": "*.beam\n*.ez\n/build\nerl_crash.dump\n",
|
||||
"Global/Agents": "# AI agents and assistants\n#\n# Some common agent instruction and project configuration files are listed\n# below as commented-out examples. They are often intentionally committed and\n# shared with a team, so only uncomment them if they are local-only in your\n# project.\n\n# GEMINI.md\n# WARP.md\n# CRUSH.md\n# QWEN.md\n\n# OpenAI Codex\n# AGENTS.md\n# .codex/\n\n# Aider\n.aider.input.history\n.aider.chat.history.md\n.aider.llm.history\n.aider.tags.cache.v*\n# .aiderignore\n\n# Claude Code\n.claude/*.local.json\n.claude/**/*.log\nCLAUDE.local.md\n# .claude/\n\n# Gemini CLI\ngemini-debug.log\n.gemini-clipboard/\n# .gemini/\n\n# Cursor AI\n# .cursorrules\n# .cursor/\n# .cursor.json\n# .cursor-settings.yaml\n\n# Continue\n# .continue/\n# .continuerc.json\n\n# Cline\n# .cline/\n# .clinerules\n# cline.json\n\n# Other agent/editor project config\n# .warp/\n# .crush/\n# .codeium/\n# .deepseek/\n# .amazon-codewhisperer/\n# .tabnineignore\n# .tabnine/\n\n# GitHub Copilot\n# .github/copilot-instructions.md\n\n# Windsurf Editor\n# .windsurfrules\n# .windsurf/\n\n# Replit AI Development\n# .replit\n# replit.nix\n",
|
||||
"Global/AL": ".vscode/*\n!.vscode/settings.json\n!.vscode/tasks.json\n!.vscode/launch.json\n!.vscode/extensions.json\n*.code-workspace\n\n# Local History for Visual Studio Code\n.history/\n*.app\n.snapshots/*\n",
|
||||
"Global/Anjuta": "# Local configuration folder and symbol database\n/.anjuta/\n/.anjuta_sym_db.db\n",
|
||||
"Global/Ansible": "# The default root path for Ansible config files on the controller\n.ansible/\n\n# Retry files generated for failed Ansible playbook runs\n*.retry\n",
|
||||
"Global/Archives": "# It's better to unpack these files and commit the raw source because\n# git has its own built in compression methods.\n*.7z\n*.jar\n*.rar\n*.zip\n*.gz\n*.gzip\n*.tgz\n*.bzip\n*.bzip2\n*.bz2\n*.xz\n*.lzma\n*.cab\n*.xar\n*.zst\n*.tzst\n\n# Packing-only formats\n*.iso\n*.tar\n\n# Package management formats\n*.dmg\n*.xpi\n*.gem\n*.egg\n*.deb\n*.rpm\n*.msi\n*.msm\n*.msp\n*.txz\n",
|
||||
"Global/Backup": "# Generic backup files\n*.bak\n*.back\n*.backup\n\n# Norton Ghost backup files\n*.gho\n\n# Generic original files\n*.ori\n*.orig\n*.original\n\n# Generic temporary files\n*.tmp\n*.temp\n*.temporary\n",
|
||||
"Global/Bazaar": ".bzr/\n.bzrignore\n",
|
||||
"Global/BricxCC": "# Bricx Command Center IDE\n# http://bricxcc.sourceforge.net\n*.bak\n*.sym\n",
|
||||
"Global/Calabash": "# Calabash / Cucumber\nrerun/\nreports/\nscreenshots/\nscreenshot*.png\ntest-servers/\n\n# bundler\n.bundle\nvendor\n",
|
||||
"Global/Cloud9": "# Cloud9 IDE - http://c9.io\n.c9revisions\n.c9\n",
|
||||
"Global/CodeKit": "# General CodeKit files to ignore\nconfig.codekit\nconfig.codekit3\n/min\n",
|
||||
"Global/Cursor": ".cursorignore\n.cursorindexingignore\n",
|
||||
"Global/CVS": "/CVS/*\n**/CVS/*\n.cvsignore\n*/.cvsignore\n",
|
||||
"Global/DartEditor": ".project\n.buildlog\n",
|
||||
"Global/Diff": "*.patch\n*.diff\n",
|
||||
"Global/Dreamweaver": "# DW Dreamweaver added files\n_notes\n_compareTemp\nconfigs/\ndwsync.xml\ndw_php_codehinting.config\n*.mno\n",
|
||||
"Global/Dropbox": "# Dropbox settings and caches\n.dropbox\n.dropbox.attr\n.dropbox.cache\n",
|
||||
"Global/Eclipse": ".metadata\nbin/\ntmp/\n*.tmp\n*.bak\n*.swp\n*~.nib\nlocal.properties\n.settings/\n.loadpath\n.recommenders\n\n# External tool builders\n.externalToolBuilders/\n\n# Locally stored \"Eclipse launch configurations\"\n*.launch\n\n# PyDev specific (Python IDE for Eclipse)\n*.pydevproject\n\n# CDT-specific (C/C++ Development Tooling)\n.cproject\n\n# CDT- autotools\n.autotools\n\n# Java annotation processor (APT)\n.factorypath\n\n# PDT-specific (PHP Development Tools)\n.buildpath\n\n# sbteclipse plugin\n.target\n\n# Tern plugin\n.tern-project\n\n# TeXlipse plugin\n.texlipse\n\n# STS (Spring Tool Suite)\n.springBeans\n\n# Code Recommenders\n.recommenders/\n\n# Annotation Processing\n.apt_generated/\n.apt_generated_tests/\n\n# Scala IDE specific (Scala & Java development for Eclipse)\n.cache-main\n.scala_dependencies\n.worksheet\n\n# Uncomment this line if you wish to ignore the project description file.\n# Typically, this file would be tracked if it contains build/dependency configurations:\n#.project\n",
|
||||
"Global/EiffelStudio": "# The compilation directory\nEIFGENs\n",
|
||||
"Global/Emacs": "# -*- mode: gitignore; -*-\n*~\n\\#*\\#\n/.emacs.desktop\n/.emacs.desktop.lock\n*.elc\nauto-save-list\ntramp\n.\\#*\n\n# Org-mode\n.org-id-locations\n*_archive\n\n# flymake-mode\n*_flymake.*\n\n# eshell files\n/eshell/history\n/eshell/lastdir\n\n# elpa packages\n/elpa/\n\n# reftex files\n*.rel\n\n# AUCTeX auto folder\n/auto/\n\n# cask packages\n.cask/\ndist/\n\n# Flycheck\nflycheck_*.el\n\n# server auth directory\n/server/\n\n# projectiles files\n.projectile\n\n# directory configuration\n.dir-locals.el\n\n# network security\n/network-security.data\n\n# undo-tree\n*.~undo-tree~\n",
|
||||
"Global/Ensime": "# Ensime specific\n.ensime\n.ensime_cache/\n.ensime_lucene/\n",
|
||||
"Global/Espresso": "*.esproj\n",
|
||||
"Global/FlexBuilder": "bin/\nbin-debug/\nbin-release/\n",
|
||||
"Global/GPG": "secring.*\n\n",
|
||||
"Global/Images": "# JPEG\n*.jpg\n*.jpeg\n*.jpe\n*.jif\n*.jfif\n*.jfi\n\n# JPEG 2000\n*.jp2\n*.j2k\n*.jpf\n*.jpx\n*.jpm\n*.mj2\n\n# JPEG XR\n*.jxr\n*.hdp\n*.wdp\n\n# Graphics Interchange Format\n*.gif\n\n# RAW\n*.raw\n\n# Web P\n*.webp\n\n# Portable Network Graphics\n*.png\n\n# Animated Portable Network Graphics\n*.apng\n\n# Multiple-image Network Graphics\n*.mng\n\n# Tagged Image File Format\n*.tiff\n*.tif\n\n# Scalable Vector Graphics\n*.svg\n*.svgz\n\n# Portable Document Format\n*.pdf\n\n# X BitMap\n*.xbm\n\n# BMP\n*.bmp\n*.dib\n\n# ICO\n*.ico\n\n# 3D Images\n*.3dm\n*.max\n",
|
||||
"Global/JDeveloper": "# default application storage directory used by the IDE Performance Cache feature\n.data/\n\n# used for ADF styles caching\ntemp/\n\n# default output directories\nclasses/\ndeploy/\njavadoc/\n\n# lock file, a part of Oracle Credential Store Framework\ncwallet.sso.lck",
|
||||
"Global/JEnv": "# JEnv local Java version configuration file\n.java-version\n\n# Used by previous versions of JEnv\n.jenv-version\n",
|
||||
"Global/JetBrains": "# Covers JetBrains IDEs: IntelliJ, GoLand, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider\n# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839\n\n# User-specific stuff\n.idea/**/workspace.xml\n.idea/**/tasks.xml\n.idea/**/usage.statistics.xml\n.idea/**/dictionaries\n.idea/**/shelf\n\n# AWS User-specific\n.idea/**/aws.xml\n\n# Generated files\n.idea/**/contentModel.xml\n\n# Sensitive or high-churn files\n.idea/**/dataSources/\n.idea/**/dataSources.ids\n.idea/**/dataSources.local.xml\n.idea/**/sqlDataSources.xml\n.idea/**/dynamic.xml\n.idea/**/uiDesigner.xml\n.idea/**/dbnavigator.xml\n\n# Gradle\n.idea/**/gradle.xml\n.idea/**/libraries\n\n# Gradle and Maven with auto-import\n# When using Gradle or Maven with auto-import, you should exclude module files,\n# since they will be recreated, and may cause churn. Uncomment if using\n# auto-import.\n# .idea/artifacts\n# .idea/compiler.xml\n# .idea/jarRepositories.xml\n# .idea/modules.xml\n# .idea/*.iml\n# .idea/modules\n# *.iml\n# *.ipr\n\n# CMake\ncmake-build-*/\n\n# Mongo Explorer plugin\n.idea/**/mongoSettings.xml\n\n# File-based project format\n*.iws\n\n# IntelliJ\nout/\n\n# mpeltonen/sbt-idea plugin\n.idea_modules/\n\n# JIRA plugin\natlassian-ide-plugin.xml\n\n# Cursive Clojure plugin\n.idea/replstate.xml\n\n# SonarLint plugin\n.idea/sonarlint/\n# see https://community.sonarsource.com/t/is-the-file-idea-idea-idea-sonarlint-xml-intended-to-be-under-source-control/121119\n.idea/sonarlint.xml\n\n# Crashlytics plugin (for Android Studio and IntelliJ)\ncom_crashlytics_export_strings.xml\ncrashlytics.properties\ncrashlytics-build.properties\nfabric.properties\n\n# Editor-based HTTP Client\n.idea/httpRequests\nhttp-client.private.env.json\n\n# Android studio 3.1+ serialized cache file\n.idea/caches/build_file_checksums.ser\n\n# Apifox Helper cache\n.idea/.cache/.Apifox_Helper\n.idea/ApifoxUploaderProjectSetting.xml\n\n# Github Copilot persisted session migrations, see: https://github.com/microsoft/copilot-intellij-feedback/issues/712#issuecomment-3322062215\n.idea/**/copilot.data.migration.*.xml\n",
|
||||
"Global/Kate": "# Swap Files #\n.*.kate-swp\n.swp.*\n",
|
||||
"Global/KDevelop4": "*.kdev4\n.kdev4/\n",
|
||||
"Global/Lazarus": "# Lazarus compiler-generated binaries (safe to delete)\n*.exe\n*.dll\n*.so\n*.dylib\n*.lrs\n*.res\n*.compiled\n*.dbg\n*.ppu\n*.o\n*.or\n*.a\n\n# Lazarus autogenerated files (duplicated info)\n*.rst\n*.rsj\n*.lrt\n\n# Lazarus local files (user-specific info)\n*.lps\n\n# Lazarus backups and unit output folders.\n# These can be changed by user in Lazarus/project options.\nbackup/\n*.bak\nlib/\n\n# Application bundle for Mac OS\n*.app/\n",
|
||||
"Global/Lefthook": "# https://lefthook.dev/configuration/#config-file-name\n/.lefthook-local.json\n/.lefthook-local.toml\n/.lefthook-local.yaml\n/.lefthook-local.yml\n/lefthook-local.json\n/lefthook-local.toml\n/lefthook-local.yaml\n/lefthook-local.yml\n/.config/lefthook-local.json\n/.config/lefthook-local.toml\n/.config/lefthook-local.yaml\n/.config/lefthook-local.yml\n\n# https://lefthook.dev/configuration/source_dir_local.html\n/.lefthook-local/\n",
|
||||
"Global/LibreOffice": "# LibreOffice locks\n.~lock.*#\n",
|
||||
"Global/Linux": "*~\n\n# temporary files which can be created if a process still has a handle open of a deleted file\n.fuse_hidden*\n\n# Metadata left by Dolphin file manager, which comes with KDE Plasma\n.directory\n\n# Linux trash folder which might appear on any partition or disk\n.Trash-*\n\n# .nfs files are created when an open file is removed but is still being accessed\n.nfs*\n\n# Log files created by default by the nohup command\nnohup.out\n",
|
||||
"Global/LyX": "# Ignore LyX backup and autosave files\n# http://www.lyx.org/\n*.lyx~\n*.lyx#\n",
|
||||
"Global/macOS": "# General\n.DS_Store\n.localized\n__MACOSX/\n.AppleDouble\n.LSOverride\nIcon[\r]\n\n# Resource forks\n._*\n\n# Files and directories that might appear in the root of a volume\n.DocumentRevisions-V100\n.fseventsd\n.Spotlight-V100\n.TemporaryItems\n.Trashes\n.VolumeIcon.icns\n.com.apple.timemachine.donotpresent\n.com.apple.timemachine.supported\n.PKInstallSandboxManager\n.PKInstallSandboxManager-SystemSoftware\n.hotfiles.btree\n.vol\n.file\n.disk_label*\nlost+found\n.HFS+ Private Directory Data[\r]\n\n# Directories potentially created on remote AFP share\n.AppleDB\n.AppleDesktop\nNetwork Trash Folder\nTemporary Items\n.apdisk\n\n# Mac OS 6 to 9\nDesktop DB\nDesktop DF\nTheFindByContentFolder\nTheVolumeSettingsFolder\n.FBCIndex\n.FBCSemaphoreFile\n.FBCLockFolder\n\n# Quota system\n.quota.group\n.quota.user\n.quota.ops.group\n.quota.ops.user\n\n# TimeMachine\nBackups.backupdb\n.MobileBackups\n.MobileBackups.trash\nMobileBackups.trash\ntmbootpicker.efi\n",
|
||||
"Global/MATLAB": "# Autosave files\n*.asv\n*.m~\n*.autosave\n*.slx.r*\n*.mdl.r*\n*.bak\n\n# Derived content-obscured files\n*.p\n\n# Compiled MEX files\n*.mex*\n\n# Packaged app and toolbox files\n*.mlappinstall\n*.mltbx\n\n# Deployable archives\n*.ctf\n\n# Generated helpsearch folders\nhelpsearch*/\n\n# Code generation folders\nslprj/\nsccprj/\ncodegen/\n\n# Cache files\n*.slxc\n\n# Cloud based storage dotfile\n.MATLABDriveTag\n",
|
||||
"Global/Mercurial": ".hg/\n.hgignore\n.hgsigs\n.hgsub\n.hgsubstate\n.hgtags\n",
|
||||
"Global/Metals": "# Metals (Scala Language Server)\n# Reference: https://scalameta.org/metals/docs/editors/vscode#files-and-directories-to-include-in-your-gitignore\n.metals/\n.bloop/\n.ammonite/\nmetals.sbt\n",
|
||||
"Global/MicrosoftOffice": "*.tmp\n\n# Word temporary\n~$*.doc*\n~$*.dot*\n\n# Word Auto Backup File\nBackup of *.doc*\n\n# Excel temporary\n~$*.xls*\n\n# Excel Backup File\n*.xlk\n\n# PowerPoint temporary\n~$*.ppt*\n\n# Visio autosave temporary files\n*.~vsd*\n",
|
||||
"Global/mise": "# https://mise.jdx.dev/configuration.html\n# https://mise.jdx.dev/configuration/environments.html\n.mise.*.local.toml\n.mise.local.toml\nmise.*.local.toml\nmise.local.toml\n.mise/*.local.toml\nmise/*.local.toml\n\n# https://mise.jdx.dev/dev-tools/mise-lock.html#local-lockfiles\n# https://mise.jdx.dev/dev-tools/mise-lock.html#environment-specific-lockfiles\nmise.local.lock\nmise.*.local.lock\n\n# https://mise.jdx.dev/configuration.html#tool-versions\n#.tool-versions\n",
|
||||
"Global/Momentics": "# Built files\nx86/\narm/\narm-p/\ntranslations/*.qm\n\n# IDE settings\n.settings/\n",
|
||||
"Global/MonoDevelop": "#User Specific\n*.userprefs\n*.usertasks\n\n#Mono Project Files\n*.pidb\n*.resources\ntest-results/\n",
|
||||
"Global/NetBeans": "**/nbproject/private/\n**/nbproject/Makefile-*.mk\n**/nbproject/Package-*.bash\nbuild/\nnbbuild/\ndist/\nnbdist/\n.nb-gradle/\n",
|
||||
"Global/Ninja": ".ninja_deps\n.ninja_log\n",
|
||||
"Global/NotepadPP": "# Notepad++ backups #\r\n*.bak\r\n",
|
||||
"Global/Octave": "MATLAB.gitignore",
|
||||
"Global/OhMyOpenAgent": ".sisyphus/*\n!.sisyphus/rules/\n",
|
||||
"Global/Otto": ".otto/\n",
|
||||
"Global/Patch": "*.orig\n*.rej\n",
|
||||
"Global/PlatformIO": ".pio\n.pioenvs\n.piolibdeps\n.vscode/.browse.c_cpp.db*\n.vscode/c_cpp_properties.json\n.vscode/launch.json\n",
|
||||
"Global/PSoCCreator": "# Project Settings\n*.cywrk.*\n*.cyprj.*\n\n# Generated Assets and Resources\nDebug/\nRelease/\nExport/\n*/codegentemp\n*/Generated_Source\n*_datasheet.pdf\n*_timing.html\n*.cycdx\n*.cyfit\n*.rpt\n*.svd\n*.log\n*.zip\n",
|
||||
"Global/PuTTY": "# Private key\n*.ppk\n",
|
||||
"Global/Redcar": ".redcar\n",
|
||||
"Global/Redis": "# Ignore redis binary dump (dump.rdb) files\n\n*.rdb\n",
|
||||
"Global/SBT": "# Simple Build Tool\n# http://www.scala-sbt.org/release/docs/Getting-Started/Directories.html#configuring-version-control\n\ndist/*\ntarget/\nlib_managed/\nsrc_managed/\nproject/boot/\nproject/plugins/project/\n.history\n.cache\n.lib/\n.bsp/\n",
|
||||
"Global/SlickEdit": "# SlickEdit workspace and project files are ignored by default because\n# typically they are considered to be developer-specific and not part of a\n# project.\n*.vpw\n*.vpj\n\n# SlickEdit workspace history and tag files always contain user-specific\n# data so they should not be stored in a repository.\n*.vpwhistu\n*.vpwhist\n*.vtg\n",
|
||||
"Global/Stata": "# .gitignore file for git projects containing Stata files\n# Commercial statistical software: http://www.stata.com\n\n# Stata dataset and output files\n*.dta\n*.gph\n*.log\n*.smcl\n*.stpr\n*.stsem\n~*.stswp\n\n# Graphic export files from Stata\n# Stata command graph export: http://www.stata.com/manuals14/g-2graphexport.pdf\n#\n# You may add graphic export files to your .gitignore. However you should be\n# aware that this will exclude all image files from this main directory\n# and subdirectories.\n# *.ps\n# *.eps\n# *.wmf\n# *.emf\n# *.pdf\n# *.png\n# *.tif\n",
|
||||
"Global/STM32CubeIDE": "# STM32CubeIDE specific files\n\n# Project-specific settings. Ignore it if developers have different preferences.\n# However, if you want all team members to use the same code formatting and settings, \n# consider including the .settings folder in the repository.\n\n# /.settings/\n\n# Ignore Eclipse-based IDE launch configurations.\n# Uncomment if you want each developer to have their own unique debug configurations.\n#*.launch\n\n# Ignore any JLink-related files (debug configurations).\n# Uncomment if you want each developer to have their own unique debug configurations.\n#*.jlink\n\n# Ignore log files generated by the IDE.\n# These are not necessary for version control.\n*.log\n\n# Build files\n\n# Ignore build output directories.\n# These are not needed in the repository as they are generated during the build process.\nDebug/\nRelease/\n\n# Ignore common binary and object files generated during compilation.\n# They should not be included in the repository as they are build artifacts.\n*.elf\n*.map\n*.bin\n*.hex\n*.srec\n*.lst\n*.o\n*.d\n*.a\n*.su\n*.crl\n\n#TouchGFX files (in case your project has touchGFX)\nTouchGFX/generated\nTouchGFX/build\nTouchGFX/simulator/msvs/.vs\n\n# Backup files\n\n# Ignore temporary and backup files generated by the operating system and editor.\n# These are not needed in the repository.\n*.bak\n",
|
||||
"Global/SublimeText": "# Cache files for Sublime Text\n*.tmlanguage.cache\n*.tmPreferences.cache\n*.stTheme.cache\n\n# Workspace files are user-specific\n*.sublime-workspace\n\n# Project files should be checked into the repository, unless a significant\n# proportion of contributors will probably not be using Sublime Text\n# *.sublime-project\n\n# SFTP configuration file\nsftp-config.json\nsftp-config-alt*.json\n\n# Package control specific files\nPackage Control.last-run\nPackage Control.ca-list\nPackage Control.ca-bundle\nPackage Control.system-ca-bundle\nPackage Control.cache/\nPackage Control.ca-certs/\nPackage Control.merged-ca-bundle\nPackage Control.user-ca-bundle\noscrypto-ca-bundle.crt\nbh_unicode_properties.cache\n\n# Sublime-github package stores a github token in this file\n# https://packagecontrol.io/packages/sublime-github\nGitHub.sublime-settings\n",
|
||||
"Global/SVN": ".svn/\n",
|
||||
"Global/Syncthing": "# Syncthing caches\n.stversions\n",
|
||||
"Global/SynopsysVCS": "# Waveform formats\n*.vcd\n*.vpd\n*.evcd\n*.fsdb\n\n# Default name of the simulation executable. A different name can be\n# specified with this switch (the associated daidir database name is\n# also taken from here): -o <path>/<filename>\nsimv\n\n# Generated for Verilog and VHDL top configs\nsimv.daidir/\nsimv.db.dir/\n\n# Infrastructure necessary to co-simulate SystemC models with\n# Verilog/VHDL models. An alternate directory may be specified with this\n# switch: -Mdir=<directory_path>\ncsrc/\n\n# Log file - the following switch allows to specify the file that will be\n# used to write all messages from simulation: -l <filename>\n*.log\n\n# Coverage results (generated with urg) and database location. The\n# following switch can also be used: urg -dir <coverage_directory>.vdb\nsimv.vdb/\nurgReport/\n\n# DVE and UCLI related files.\nDVEfiles/\nucli.key\n\n# When the design is elaborated for DirectC, the following file is created\n# with declarations for C/C++ functions.\nvc_hdrs.h\n",
|
||||
"Global/Tags": "# Ignore tags created by etags, ctags, gtags (GNU global) and cscope\nTAGS\n.TAGS\n!TAGS/\ntags\n.tags\n!tags/\ngtags.files\nGTAGS\nGRTAGS\nGPATH\nGSYMS\ncscope.files\ncscope.out\ncscope.in.out\ncscope.po.out\n\n",
|
||||
"Global/TextMate": "*.tmproj\n*.tmproject\ntmtags\n",
|
||||
"Global/TortoiseGit": "# Project-level settings\n/.tgitconfig\n",
|
||||
"Global/Vagrant": "# General\n.vagrant/\n\n# Log files (if you are creating logs in debug mode, uncomment this)\n# *.log\n",
|
||||
"Global/Vim": "# Swap\n[._]*.s[a-v][a-z]\n# comment out the next line if you don't need vector files\n!*.svg\n[._]*.sw[a-p]\n[._]s[a-rt-v][a-z]\n[._]ss[a-gi-z]\n[._]sw[a-p]\n\n# Session\nSession.vim\nSessionx.vim\n\n# Temporary\n.netrwhist\n*~\n# Auto-generated tag files\ntags\n# Persistent undo\n[._]*.un~\n",
|
||||
"Global/VirtualEnv": "# Virtualenv\n# https://realpython.com/python-virtual-environments-a-primer/#the-virtualenv-project\n.venv/\nvenv/\n.python-version\n\n# pyenv: Simple Python Version Management\npyvenv.cfg\n\n# pip: package installer for Python\npip-selfcheck.json\n\n# Custom python interpreter\n.Python\n[Bb]in\n[Ii]nclude\n[Ll]ib\n[Ll]ib64\n[Ll]ocal\n[Ss]cripts\n",
|
||||
"Global/Virtuoso": "# Gitignore for Cadence Virtuoso\n################################################################\n\n# Log files\n*.log\npanic*.log.*\n\n# OpenAccess database lock files\n*.cdslck*\n\n# Run directories for layout vs. schematic and design rule check\nlvsRunDir/*\ndrcRunDir/*\n\n# Abstract generation tool\nabstract.log*\nabstract.record*\n\n",
|
||||
"Global/VisualStudioCode": "# Visual Studio Code\n.vscode/*\n!.vscode/settings.json\n!.vscode/tasks.json\n!.vscode/launch.json\n!.vscode/extensions.json\n!.vscode/*.code-snippets\n!*.code-workspace\n\n# Built Visual Studio Code Extensions\n*.vsix\n",
|
||||
"Global/WebMethods": "**/IntegrationServer/datastore/\n**/IntegrationServer/db/\n**/IntegrationServer/DocumentStore/\n**/IntegrationServer/lib/\n**/IntegrationServer/logs/\n**/IntegrationServer/replicate/\n**/IntegrationServer/sdk/\n**/IntegrationServer/support/\n**/IntegrationServer/update/\n**/IntegrationServer/userFtpRoot/\n**/IntegrationServer/web/\n**/IntegrationServer/WmRepository4/\n**/IntegrationServer/XAStore/\n**/IntegrationServer/packages/Wm*/\n",
|
||||
"Global/Windows": "# Windows thumbnail cache files\nThumbs.db\nThumbs.db:encryptable\nehthumbs.db\nehthumbs_vista.db\n\n# Dump file\n*.stackdump\n\n# Folder config file\n[Dd]esktop.ini\n\n# Recycle Bin used on file shares\n$RECYCLE.BIN/\n\n# Windows Installer files\n*.cab\n*.msi\n*.msix\n*.msm\n*.msp\n\n# Windows shortcuts\n*.lnk\n",
|
||||
"Global/Xcode": "## User settings\nxcuserdata/\n",
|
||||
"Global/XilinxISE": "# intermediate build files\n*.bgn\n*.bit\n*.bld\n*.cmd_log\n*.drc\n*.ll\n*.lso\n*.msd\n*.msk\n*.ncd\n*.ngc\n*.ngd\n*.ngr\n*.pad\n*.par\n*.pcf\n*.prj\n*.ptwx\n*.rbb\n*.rbd\n*.stx\n*.syr\n*.twr\n*.twx\n*.unroutes\n*.ut\n*.xpi\n*.xst\n*_bitgen.xwbt\n*_envsettings.html\n*_map.map\n*_map.mrp\n*_map.ngm\n*_map.xrpt\n*_ngdbuild.xrpt\n*_pad.csv\n*_pad.txt\n*_par.xrpt\n*_summary.html\n*_summary.xml\n*_usage.xml\n*_xst.xrpt\n\n# iMPACT generated files\n_impactbatch.log\nimpact.xsl\nimpact_impact.xwbt\nise_impact.cmd\nwebtalk_impact.xml\n\n# Core Generator generated files\nxaw2verilog.log\n\n# project-wide generated files\n*.gise\npar_usage_statistics.html\nusage_statistics_webtalk.html\nwebtalk.log\nwebtalk_pn.xml\n\n# generated folders\niseconfig/\nxlnx_auto_0_xdb/\nxst/\n_ngo/\n_xmsgs/\n",
|
||||
"Global/Zed": "# Zed\n# https://zed.dev/docs/configuring-zed#settings-files\n#\n# Zed stores project settings in a .zed/ directory, similar to .vscode/.\n# By default, ignore the directory but allow commonly shared config files.\n\n.zed/*\n!.zed/settings.json\n!.zed/tasks.json\n!.zed/debug.json\n",
|
||||
"Go": "# If you prefer the allow list template instead of the deny list, see community template:\n# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore\n#\n# Binaries for programs and plugins\n*.exe\n*.exe~\n*.dll\n*.so\n*.dylib\n\n# Test binary, built with `go test -c`\n*.test\n\n# Code coverage profiles and other test artifacts\n*.out\ncoverage.*\n!coverage.go\n*.coverprofile\nprofile.cov\n\n# Dependency directories (remove the comment below to include it)\n# vendor/\n\n# Go workspace file\ngo.work\ngo.work.sum\n\n# env file\n.env\n\n# Editor/IDE\n# .idea/\n# .vscode/\n",
|
||||
"Godot": "# Godot 4.2+ specific ignores\n~*.dll\n\n# Godot 4+ specific ignores\n.godot/\n.nomedia\n\n# Godot-specific ignores\n.import/\nexport.cfg\nexport_credentials.cfg\n*.tmp\n\n# Imported translations (automatically generated from CSV files)\n*.translation\n\n# Mono-specific ignores\n.mono/\ndata_*/\nmono_crash.*.json\n\n# Export outputs\n*.exe\n# Uncomment if your project does not version PCK files as runtime dependencies.\n# *.pck\n",
|
||||
"Gradle": ".gradle\n**/build/\n!**/src/**/build/\n\n# Ignore Gradle GUI config\ngradle-app.setting\n\n# Avoid ignoring Gradle wrapper jar file (.jar files are usually ignored)\n!gradle-wrapper.jar\n\n# Avoid ignore Gradle wrapper properties\n!gradle-wrapper.properties\n\n# Cache of project\n.gradletasknamecache\n\n# Eclipse Gradle plugin generated files\n# Eclipse Core\n.project\n# JDT-specific (Eclipse Java Development Tools)\n.classpath\n",
|
||||
"Grails": "# .gitignore for Grails 1.2 and 1.3\n# Although this should work for most versions of grails, it is\n# suggested that you use the \"grails integrate-with --git\" command\n# to generate your .gitignore file.\n\n# web application files\n/web-app/WEB-INF/classes\n\n# default HSQL database files for production mode\n/prodDb.*\n\n# general HSQL database files\n*Db.properties\n*Db.script\n\n# logs\n/stacktrace.log\n/test/reports\n/logs\n\n# project release file\n/*.war\n\n# plugin release files\n/*.zip\n/plugin.xml\n\n# older plugin install locations\n/plugins\n/web-app/plugins\n\n# \"temporary\" build files\n/target\n",
|
||||
"GWT": "*.class\n\n# Package Files #\n*.jar\n*.war\n\n# gwt caches and compiled units #\nwar/gwt_bree/\ngwt-unitCache/\n\n# boilerplate generated classes #\n.apt_generated/\n\n# more caches and things from deploy #\nwar/WEB-INF/deploy/\nwar/WEB-INF/classes/\n\n#compilation logs\n.gwt/\n\n#gwt junit compilation files\nwww-test/\n\n#old GWT (1.5) created this dir\n.gwt-tmp/\n",
|
||||
"Haskell": "dist\ndist-*\ncabal-dev\n*.o\n*.hi\n*.hie\n*.chi\n*.chs.h\n*.dyn_o\n*.dyn_hi\n.hpc\n.hsenv\n.cabal-sandbox/\ncabal.sandbox.config\n*.prof\n*.aux\n*.hp\n*.eventlog\n.stack-work/\ncabal.project.local\ncabal.project.local~\n.HTF/\n.ghc.environment.*\n",
|
||||
"Haxe": ".haxelib/\n.haxelsp/recording/\ndump/\n",
|
||||
"HIP": "# HIP.gitignore\n# GitHub gitignore template for AMD HIP (ROCm) projects\n#\n# Reference:\n# Official AMD ROCm HIP .gitignore: https://github.com/ROCm/hip/blob/amd-staging/.gitignore\n\n# 1. Build directories and files\n# common build directory\n/build/\n# CMake internal files\n/CMakeFiles/\n# CMake cache file\n/CMakeCache.txt\n# autogenerated Makefile\n/Makefile\n# install script\n/cmake_install.cmake\n# install manifest list\n/install_manifest.txt\n# Ninja dependency files\n*.ninja-dep\n# Ninja log files\n*.ninja_log\n# Meson log directory\nmeson-logs/\n\n# 2. Compilation outputs and intermediates\n# object files\n*.o\n# Windows object files\n*.obj\n# shared libraries\n*.so\n# static librarie\n*.a\n# dependency files\n*.d\n# precompiled headers\n*.gch\n# preprocessed output\n*.ii\n# C++ preprocessed output\n*.ii.cpp\n# generic executable outputs\n*.out\n# Windows executables\n*.exe\n\n# 3. HIP/ROCm specific binaries and intermediates\n# ROCm compiled binary\n*.hsaco\n# assembly output\n*.s\n# autogenerated kernel sources\n*.kernels.cpp\n# hipcc intermediate outputs\n*.hip.cpp.*\n\n# 4. Official sample binaries and tutorial outputs\n# sample binary\nbin/hipInfo\n# sample binary\nbin/hipBusBandwidth\n# sample binary\nbin/hipDispatchLatency\n# sample tool\nbin/hipify-clang\n# tutorial outputs\nsamples/**/*.out\n# ISA/code dumps\nsamples/**/*.code\n# compiled binaries\nsamples/**/*.hsaco\n# kernel code outputs\nsamples/**/*.co\n\n# 5. Tags, logs and test outputs\n# ctags index\ntags\n# log files\n*.log\n# custom test output directory\n/tests_output/\n# custom sample output directory\n/samples_output/\n",
|
||||
"IAR": "# Compiled binaries\n*.o\n*.bin\n*.elf\n*.hex\n*.map\n*.out\n*.obj\n\n# Trash\n*.bak\nthumbs.db\n*.~*\n\n# IAR Settings\n**/settings/*.crun\n**/settings/*.dbgdt\n**/settings/*.cspy\n**/settings/*.cspy.*\n**/settings/*.xcl\n**/settings/*.dni\n**/settings/*.wsdt\n**/settings/*.wspos\n\n# IAR Debug Exe\n**/Exe/*.sim\n\n# IAR Debug Obj\n**/Obj/*.pbd\n**/Obj/*.pbd.*\n**/Obj/*.pbi\n**/Obj/*.pbi.*\n\n# IAR project \"Debug\" directory\nDebug/\n\n# IAR project \"Release\" directory\nRelease/\n\n# IAR project settings directory\nsettings/\n\n# IAR backup files\nBackup*\n\n# IAR .dep files\n*.dep",
|
||||
"Idris": "# Idris 2\n*.ttc\n*.ttm\n\n# Idris 1\n*.ibc\n*.o\n",
|
||||
"IGORPro": "# Avoid including Experiment files: they can be created and edited locally to test the ipf files\n*.pxp\n*.pxt\n*.uxp\n*.uxt\n",
|
||||
"Java": "# Compiled class file\n*.class\n\n# Log file\n*.log\n\n# BlueJ files\n*.ctxt\n\n# Mobile Tools for Java (J2ME)\n.mtj.tmp/\n\n# Package Files #\n*.jar\n*.war\n*.nar\n*.ear\n*.zip\n*.tar.gz\n*.rar\n\n# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml\nhs_err_pid*\nreplay_pid*\n",
|
||||
"JBoss": "jboss/server/all/deploy/project.ext\njboss/server/default/deploy/project.ext\njboss/server/minimal/deploy/project.ext\njboss/server/all/log/*.log\njboss/server/all/tmp/**/*\njboss/server/all/data/**/*\njboss/server/all/work/**/*\njboss/server/default/log/*.log\njboss/server/default/tmp/**/*\njboss/server/default/data/**/*\njboss/server/default/work/**/*\njboss/server/minimal/log/*.log\njboss/server/minimal/tmp/**/*\njboss/server/minimal/data/**/*\njboss/server/minimal/work/**/*\n\n# deployed package files #\n\n*.DEPLOYED\n",
|
||||
"Jekyll": "_site/\n.sass-cache/\n.jekyll-cache/\n.jekyll-metadata\n# Ignore folders generated by Bundler\n.bundle/\nvendor/\n",
|
||||
"JENKINS_HOME": "# Learn more about Jenkins and JENKINS_HOME directory for which this file is\n# intended.\n#\n# http://jenkins-ci.org/\n# https://wiki.jenkins-ci.org/display/JENKINS/Administering+Jenkins\n#\n# Note: secret.key is purposefully not tracked by git. This should be backed up\n# separately because configs may contain secrets which were encrypted using the\n# secret.key. To back up secrets use 'tar -czf /tmp/secrets.tgz secret*' and\n# save the file separate from your repository. If you want secrets backed up\n# with configuration, then see the bottom of this file for an example.\n\n# Ignore all JENKINS_HOME except jobs directory, root xml config, and\n# .gitignore file.\n/*\n!/jobs\n!/.gitignore\n!/*.xml\n\n# Ignore all files in jobs subdirectories except for folders.\n# Note: git doesn't track folders, only file content.\njobs/**\n!jobs/**/\n\n# Uncomment the following line to save next build numbers with config.\n\n#!jobs/**/nextBuildNumber\n\n# For performance reasons, we want to ignore builds in Jenkins jobs because it\n# contains many tiny files on large installations. This can impact git\n# performance when running even basic commands like 'git status'.\nbuilds\nindexing\n\n# Exclude only config.xml files in repository subdirectories.\n!config.xml\n\n# Don't track workspaces (when users build on the master).\njobs/**/*workspace\n\n# Security warning: If secrets are included with your configuration, then an\n# adversary will be able to decrypt all encrypted secrets within Jenkins\n# config. Including secrets is a bad practice, but the example is included in\n# case someone still wants it for convenience. Uncomment the following line to\n# include secrets for decryption with repository configuration in Git.\n\n#!/secret*\n\n# As a result, only Jenkins settings and job config.xml files in JENKINS_HOME\n# will be tracked by git.\n",
|
||||
"Joomla": "/.htaccess\n/administrator/cache/*\n/administrator/components/com_actionlogs/*\n/administrator/components/com_admin/*\n/administrator/components/com_ajax/*\n/administrator/components/com_associations/*\n/administrator/components/com_banners/*\n/administrator/components/com_cache/*\n/administrator/components/com_categories/*\n/administrator/components/com_checkin/*\n/administrator/components/com_config/*\n/administrator/components/com_contact/*\n/administrator/components/com_content/*\n/administrator/components/com_contenthistory/*\n/administrator/components/com_cpanel/*\n/administrator/components/com_fields/*\n/administrator/components/com_finder/*\n/administrator/components/com_installer/*\n/administrator/components/com_joomlaupdate/*\n/administrator/components/com_languages/*\n/administrator/components/com_login/*\n/administrator/components/com_media/*\n/administrator/components/com_menus/*\n/administrator/components/com_messages/*\n/administrator/components/com_modules/*\n/administrator/components/com_newsfeeds/*\n/administrator/components/com_plugins/*\n/administrator/components/com_postinstall/*\n/administrator/components/com_privacy/*\n/administrator/components/com_redirect/*\n/administrator/components/com_search/*\n/administrator/components/com_tags/*\n/administrator/components/com_templates/*\n/administrator/components/com_users/*\n/administrator/help/*\n/administrator/includes/*\n/administrator/index.php\n/administrator/language/en-GB/en-GB.com_actionlogs.ini\n/administrator/language/en-GB/en-GB.com_actionlogs.sys.ini\n/administrator/language/en-GB/en-GB.com_admin.ini\n/administrator/language/en-GB/en-GB.com_admin.sys.ini\n/administrator/language/en-GB/en-GB.com_ajax.ini\n/administrator/language/en-GB/en-GB.com_ajax.sys.ini\n/administrator/language/en-GB/en-GB.com_associations.ini\n/administrator/language/en-GB/en-GB.com_associations.sys.ini\n/administrator/language/en-GB/en-GB.com_banners.ini\n/administrator/language/en-GB/en-GB.com_banners.sys.ini\n/administrator/language/en-GB/en-GB.com_cache.ini\n/administrator/language/en-GB/en-GB.com_cache.sys.ini\n/administrator/language/en-GB/en-GB.com_categories.ini\n/administrator/language/en-GB/en-GB.com_categories.sys.ini\n/administrator/language/en-GB/en-GB.com_checkin.ini\n/administrator/language/en-GB/en-GB.com_checkin.sys.ini\n/administrator/language/en-GB/en-GB.com_config.ini\n/administrator/language/en-GB/en-GB.com_config.sys.ini\n/administrator/language/en-GB/en-GB.com_contact.ini\n/administrator/language/en-GB/en-GB.com_contact.sys.ini\n/administrator/language/en-GB/en-GB.com_content.ini\n/administrator/language/en-GB/en-GB.com_content.sys.ini\n/administrator/language/en-GB/en-GB.com_contenthistory.ini\n/administrator/language/en-GB/en-GB.com_contenthistory.sys.ini\n/administrator/language/en-GB/en-GB.com_cpanel.ini\n/administrator/language/en-GB/en-GB.com_cpanel.sys.ini\n/administrator/language/en-GB/en-GB.com_fields.ini\n/administrator/language/en-GB/en-GB.com_fields.sys.ini\n/administrator/language/en-GB/en-GB.com_finder.ini\n/administrator/language/en-GB/en-GB.com_finder.sys.ini\n/administrator/language/en-GB/en-GB.com_installer.ini\n/administrator/language/en-GB/en-GB.com_installer.sys.ini\n/administrator/language/en-GB/en-GB.com_joomlaupdate.ini\n/administrator/language/en-GB/en-GB.com_joomlaupdate.sys.ini\n/administrator/language/en-GB/en-GB.com_languages.ini\n/administrator/language/en-GB/en-GB.com_languages.sys.ini\n/administrator/language/en-GB/en-GB.com_login.ini\n/administrator/language/en-GB/en-GB.com_login.sys.ini\n/administrator/language/en-GB/en-GB.com_mailto.sys.ini\n/administrator/language/en-GB/en-GB.com_media.ini\n/administrator/language/en-GB/en-GB.com_media.sys.ini\n/administrator/language/en-GB/en-GB.com_menus.ini\n/administrator/language/en-GB/en-GB.com_menus.sys.ini\n/administrator/language/en-GB/en-GB.com_messages.ini\n/administrator/language/en-GB/en-GB.com_messages.sys.ini\n/administrator/language/en-GB/en-GB.com_modules.ini\n/administrator/language/en-GB/en-GB.com_modules.sys.ini\n/administrator/language/en-GB/en-GB.com_newsfeeds.ini\n/administrator/language/en-GB/en-GB.com_newsfeeds.sys.ini\n/administrator/language/en-GB/en-GB.com_plugins.ini\n/administrator/language/en-GB/en-GB.com_plugins.sys.ini\n/administrator/language/en-GB/en-GB.com_postinstall.ini\n/administrator/language/en-GB/en-GB.com_postinstall.sys.ini\n/administrator/language/en-GB/en-GB.com_privacy.ini\n/administrator/language/en-GB/en-GB.com_privacy.sys.ini\n/administrator/language/en-GB/en-GB.com_redirect.ini\n/administrator/language/en-GB/en-GB.com_redirect.sys.ini\n/administrator/language/en-GB/en-GB.com_search.ini\n/administrator/language/en-GB/en-GB.com_search.sys.ini\n/administrator/language/en-GB/en-GB.com_tags.ini\n/administrator/language/en-GB/en-GB.com_tags.sys.ini\n/administrator/language/en-GB/en-GB.com_templates.ini\n/administrator/language/en-GB/en-GB.com_templates.sys.ini\n/administrator/language/en-GB/en-GB.com_users.inLine truncated
|
||||
"Julia": "# Files generated by invoking Julia with --code-coverage\n*.jl.cov\n*.jl.*.cov\n\n# Files generated by invoking Julia with --track-allocation\n*.jl.mem\n*.jl.*.mem\n\n# System-specific files and directories generated by the BinaryProvider and BinDeps packages\n# They contain absolute paths specific to the host computer, and so should not be committed\ndeps/deps.jl\ndeps/build.log\ndeps/downloads/\ndeps/usr/\ndeps/src/\n\n# Build artifacts for creating documentation generated by the Documenter package\ndocs/build/\ndocs/site/\n\n# File generated by Pkg, the package manager, based on a corresponding Project.toml\n# It records a fixed state of all packages used by the project. As such, it should not be\n# committed for packages, but should be committed for applications that require a static\n# environment.\nManifest*.toml\n\n# File generated by the Preferences package to store local preferences\nLocalPreferences.toml\nJuliaLocalPreferences.toml\n\n# Conda environment and metadata created in the project directory by the CondaPkg package\n.CondaPkg/\n",
|
||||
"Katalon": "# Katalon Test Suite\n# Compiled class file\n*.class\n*.swp\noutput\n!output/.gitkeep\nbuild\n\nLibs/TempTestCase*\nLibs/TempTestSuite*\nbin/lib/TempTestCase*\nReports/\n\\.classpath\n\\.project\n\\.settings/\nbin/lib/\nLibs/\n.svn/\n.gradle\n\n\n# Log file\n*.log\n\n# BlueJ files\n*.ctxt\n\n# Mobile Tools for Java (J2ME)\n.mtj.tmp/\n\n# Package Files #\n*.jar\n*.war\n*.ear\n*.zip\n*.tar.gz\n*.rar\n\n# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml\nhs_err_pid*\n",
|
||||
"KiCad": "# For PCBs designed using KiCad: https://www.kicad.org/\n# Format documentation: https://kicad.org/help/file-formats/\n\n# Temporary files\n*.000\n*.bak\n*.bck\n*.kicad_pcb-bak\n*.kicad_sch-bak\n*-backups\n*-cache*\n*-bak\n*-bak*\n*~\n~*\n_autosave-*\n\\#auto_saved_files\\#\n*.tmp\n*-save.pro\n*-save.kicad_pcb\nfp-info-cache\n~*.lck\n\\#auto_saved_files#\n\n# Netlist files (exported from Eeschema)\n*.net\n\n# Autorouter files (exported from Pcbnew)\n*.dsn\n*.ses\n\n# Exported BOM files\n*.xml\n*.csv\n\n# Archived Backups (KiCad 6.0)\n**/*-backups/*.zip\n\n# Local git-based history (KiCad 9.0+)\n.history\n\n# Local project settings\n*.kicad_prl\n",
|
||||
"Kohana": "application/cache/*\napplication/logs/*\n",
|
||||
"Kotlin": "# Compiled class file\n*.class\n\n# Log file\n*.log\n\n# BlueJ files\n*.ctxt\n\n# Mobile Tools for Java (J2ME)\n.mtj.tmp/\n\n# Package Files #\n*.jar\n*.war\n*.nar\n*.ear\n*.zip\n*.tar.gz\n*.rar\n\n# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml\nhs_err_pid*\nreplay_pid*\n\n# Kotlin Gradle plugin data, see https://kotlinlang.org/docs/whatsnew20.html#new-directory-for-kotlin-data-in-gradle-projects\n.kotlin/",
|
||||
"LabVIEW": "# Libraries\n*.lvlibp\n*.llb\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n\n# Metadata\n*.aliases\n*.lvlps\n*.lvprojstate\n.cache/\n*.UserState\n",
|
||||
"LangChain": "# gitignore template for LangChain products, e.g., LangGraph, LangSmith\n# website: https://www.langchain.com/\n# website: https://www.langchain.com/langgraph\n\n# LangGraph\n.langgraph_api/\n",
|
||||
"Laravel": "/vendor/\nnode_modules/\nnpm-debug.log\nyarn-error.log\n\n# Laravel 4 specific\nbootstrap/compiled.php\napp/storage/\n\n# Laravel 5 & Lumen specific\npublic/storage\npublic/hot\n\n# Laravel 5 & Lumen specific with changed public path\npublic_html/storage\npublic_html/hot\n\nstorage/*.key\n.env\nHomestead.yaml\nHomestead.json\n/.vagrant\n.phpunit.result.cache\n/.phpunit.cache\n\n/public/build\n/storage/pail\n.env.backup\n.env.production\n.phpactor.json\nauth.json\n",
|
||||
"Lasal": "## LASAL ###\r\n# website: https://www.sigmatek-automation.com/en/products/engineering-tool-lasal/\r\n\r\n# lasal screen/visu runtime folders generated during build\r\n**/Runtime\r\n**/BAK\r\n**/Language\r\n**/TempPreview\r\n\r\n# lasal class runtime folders generated during build\r\nProjectInternal\r\nInternal\r\n**/Network/*/*.st\r\n**/Drive/*.st\r\n\r\n# bootdisk files\r\n**/Bootdisk\r\n\r\n# various filetypes generated at runtime or used for internal backups\r\n*.ldi\r\n*.bak\r\n*.lob\r\n*.lba\r\n*.lcb\r\n*.lock\r\n*.plc\r\n*.7z\r\n*.zip\r\n*.lcc\r\n*.lds\r\n\r\n# tag files generated by the compiler\r\n*.mme\r\n**/MaeExp.txt\r\n**/MaeExp.xml\r\n\r\n# SigCLib requires lba and lob files\r\n!cObjLib.lob\r\n!cObjLib.lba\r\n\r\n# opc related classes added automatically from lasal instance\r\n!**/Class/OPC_UA/**\r\n!**/Class/OPC_UA_Client/**\r\n!**/Class/OPC_UA_Server/**\r\n!**/Class/OPC_UA_ModuleBase/**\r\n!**/Class/OPC_UA_AddressSpace/**\r\n!**/Class/OPC_UA_OpenSSL_v1_1_1/**\r\n",
|
||||
"Lean": "# cache and other artifacts produced by Lean's Lake build tool\n.lake/\n",
|
||||
"Leiningen": "pom.xml\npom.xml.asc\n*.jar\n*.class\n/lib/\n/classes/\n/target/\n/checkouts/\n.lein-deps-sum\n.lein-repl-history\n.lein-plugins/\n.lein-failures\n.nrepl-port\n.cpcache/\n",
|
||||
"LemonStand": "boot.php\nindex.php\ninstall.php\n/config/*\n!/config/config.php\n/controllers/*\n/init/*\n/logs/*\n/phproad/*\n/temp/*\n/uploaded/*\n/installer_files/*\n/modules/backend/*\n/modules/blog/*\n/modules/cms/*\n/modules/core/*\n/modules/session/*\n/modules/shop/*\n/modules/system/*\n/modules/users/*\n# add content_*.php if you don't want erase client changes to content\n",
|
||||
"Lilypond": "*.pdf\n*.ps\n*.midi\n*.mid\n*.log\n*~\n",
|
||||
"Lithium": "libraries/*\nresources/tmp/*\n",
|
||||
"Lua": "# Compiled Lua sources\nluac.out\n\n# luarocks build files\n*.src.rock\n*.zip\n*.tar.gz\n\n# Object files\n*.o\n*.os\n*.ko\n*.obj\n*.elf\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Libraries\n*.lib\n*.a\n*.la\n*.lo\n*.def\n*.exp\n\n# Shared objects (inc. Windows DLLs)\n*.dll\n*.so\n*.so.*\n*.dylib\n\n# Executables\n*.exe\n*.out\n*.app\n*.i*86\n*.x86_64\n*.hex\n\n",
|
||||
"Luau": "# A fast, small, safe, gradually typed embeddable scripting language derived from Lua\n#\n# https://github.com/luau-lang/luau\n# https://luau.org/\n\n# Code coverage\ncoverage.out\n\n# Profiling\nprofile.out\nprofile.svg\n\n# Time trace\ntrace.json\n",
|
||||
"Magento": "#--------------------------#\n# Magento Default Files #\n#--------------------------#\n\n/PATCH_*.sh\n\n/app/etc/local.xml\n\n/media/*\n!/media/.htaccess\n\n!/media/customer\n/media/customer/*\n!/media/customer/.htaccess\n\n!/media/dhl\n/media/dhl/*\n!/media/dhl/logo.jpg\n\n!/media/downloadable\n/media/downloadable/*\n!/media/downloadable/.htaccess\n\n!/media/xmlconnect\n/media/xmlconnect/*\n\n!/media/xmlconnect/custom\n/media/xmlconnect/custom/*\n!/media/xmlconnect/custom/ok.gif\n\n!/media/xmlconnect/original\n/media/xmlconnect/original/*\n!/media/xmlconnect/original/ok.gif\n\n!/media/xmlconnect/system\n/media/xmlconnect/system/*\n!/media/xmlconnect/system/ok.gif\n\n/var/*\n!/var/.htaccess\n\n!/var/package\n/var/package/*\n!/var/package/*.xml\n\n",
|
||||
"Maven": "target/\npom.xml.tag\npom.xml.releaseBackup\npom.xml.versionsBackup\npom.xml.next\nrelease.properties\ndependency-reduced-pom.xml\nbuildNumber.properties\n.mvn/timing.properties\n# https://maven.apache.org/tools/wrapper/#Usage_with_or_without_Binary_JAR\n.mvn/wrapper/maven-wrapper.jar\n\n# Eclipse m2e generated files\n# Eclipse Core\n.project\n# JDT-specific (Eclipse Java Development Tools)\n.classpath\n",
|
||||
"Mercury": "Mercury/\nMercury.modules\n*.mh\n*.err\n*.init\n*.dll\n*.exe\n*.a\n*.so\n*.dylib\n*.beams\n*.d\n*.c_date\n",
|
||||
"MetaProgrammingSystem": "workspace.xml\njunitvmwatcher*.properties\nbuild.properties\n\n# generated java classes and java source files\n# manually add any custom artifacts that can't be generated from the models\n# http://confluence.jetbrains.com/display/MPSD25/HowTo+--+MPS+and+Git\nclasses_gen\nsource_gen\nsource_gen.caches\n\n# generated test code and test results\ntest_gen\ntest_gen.caches\nTEST-*.xml\njunit*.properties\n",
|
||||
"Modelica": "# Modelica - an object-oriented language for modeling of cyber-physical systems\n# https://modelica.org/\n# Ignore temporary files, build results, simulation files\n\n## Modelica-specific files\n*~\n*.bak\n*.bak-mo\n*.mof\n\\#*\\#\n*.moe\n*.mol\n\n## Build artefacts\n*.exe\n*.exp\n*.o\n*.pyc\n\n## Simulation files\n*.mat\n\n## Package files\n*.gz\n*.rar\n*.tar\n*.zip\n\n## Dymola-specific files\nbuildlog.txt\ndsfinal.txt\ndsin.txt\ndslog.txt\ndsmodel*\ndsres.txt\ndymosim*\nrequest\nstat\nstatus\nstop\nsuccess\n*.\n",
|
||||
"ModelSim": "# ignore ModelSim generated files and directories (temp files and so on)\n[_@]*\n\n# ignore compilation output of ModelSim\n*.mti\n*.dat\n*.dbs\n*.psm\n*.bak\n*.cmp\n*.jpg\n*.html\n*.bsf\n\n# ignore simulation output of ModelSim\nwlf*\n*.wlf\n*.vstf\n*.ucdb\ncov*/\ntranscript*\nsc_dpiheader.h\nvsim.dbg\n",
|
||||
"MoonBit": "# Build System Artifacts\n\n# MoonBit default build output directory.\n_build/\n# Local MoonBit package cache directory.\n.mooncakes/\n\n# Coverage and Test Artifacts\n\n# Coverage reports generated by MoonBit tooling.\nmoonbit-coverage-*.txt\n# Coverage output directory used by coverage commands.\n_coverage/\n# Bisect runtime coverage data file.\nbisect.coverage\n\n# JavaScript Target Artifacts\n\n# Uncomment if generated JavaScript should be ignored.\n# *.js\n# Source map files generated for JavaScript output.\n*.js.map\n# Node.js dependencies used in JS target workflows.\nnode_modules/\n\n# WebAssembly Target Artifacts\n\n# Compiled WebAssembly binaries.\n*.wasm\n# WebAssembly text format output.\n*.wat\n\n# MoonBit Pilot / Agent Artifacts\n\n# MoonBit agent runtime state and temporary files.\n.moonagent/\n\n# LLVM Backend Artifacts\n\n# LLVM textual intermediate representation (IR) files.\n*.ll\n# LLVM bitcode files.\n*.bc\n# Native object files from LLVM/native compilation.\n*.o\n# Generated assembly source files.\n*.s\n# Default executable output name on Unix-like systems.\n*.out\n# Native executable output on Windows.\n*.exe\n# macOS debug symbol bundles.\n*.dSYM/\n",
|
||||
"Nanoc": "# For projects using Nanoc (http://nanoc.ws/)\n\n# Default location for output (needs to match output_dir's value found in nanoc.yaml)\noutput/\n\n# Temporary file directory\ntmp/nanoc/\n\n# Crash Log\ncrash.log\n",
|
||||
"Nestjs": "# Nestjs specific\n/dist\n/node_modules\n/build\n/tmp\n\n# Logs\nlogs\n*.log\nnpm-debug.log*\npnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# dotenv environment variable files\n.env\n.env.development\n.env.test\n.env.production\n\n# temp directory\n.temp\n.tmp\n",
|
||||
"Nextjs": "# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n\n# dependencies\n/node_modules\n/.pnp\n.pnp.js\n\n# testing\n/coverage\n\n# next.js\n/.next/\n/out/\n\n# production\n/build\n\n# misc\n.DS_Store\n*.pem\n\n# debug\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n\n# local env files\n.env*.local\n.env\n\n# vercel\n.vercel\n\n# typescript\n*.tsbuildinfo\nnext-env.d.ts\n",
|
||||
"Nim": "nimcache/\nnimblecache/\nhtmldocs/\n",
|
||||
"Nix": "# Ignore build outputs from performing a nix-build or `nix build` command\nresult\nresult-*\n\n# Ignore automatically generated direnv output\n.direnv\n\n# Ignore NixOS interactive test driver history\n**/.nixos-test-history\n",
|
||||
"Node": "# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\nlerna-debug.log*\n\n# Diagnostic reports (https://nodejs.org/api/report.html)\nreport.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json\n\n# Runtime data\npids\n*.pid\n*.seed\n*.pid.lock\n\n# Directory for instrumented libs generated by jscoverage/JSCover\nlib-cov\n\n# Coverage directory used by tools like istanbul\ncoverage\n*.lcov\n\n# nyc test coverage\n.nyc_output\n\n# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)\n.grunt\n\n# Bower dependency directory (https://bower.io/)\nbower_components\n\n# node-waf configuration\n.lock-wscript\n\n# Compiled binary addons (https://nodejs.org/api/addons.html)\nbuild/Release\n\n# Dependency directories\nnode_modules/\njspm_packages/\n\n# Snowpack dependency directory (https://snowpack.dev/)\nweb_modules/\n\n# TypeScript cache\n*.tsbuildinfo\n\n# Optional npm cache directory\n.npm\n\n# Optional eslint cache\n.eslintcache\n\n# Optional stylelint cache\n.stylelintcache\n\n# Optional REPL history\n.node_repl_history\n\n# Output of 'npm pack'\n*.tgz\n\n# Yarn Integrity file\n.yarn-integrity\n\n# dotenv environment variable files\n.env\n.env.*\n!.env.example\n\n# parcel-bundler cache (https://parceljs.org/)\n.cache\n.parcel-cache\n\n# Next.js build output\n.next\nout\n\n# Nuxt.js build / generate output\n.nuxt\ndist\n.output\n\n# Gatsby files\n.cache/\n# Comment in the public line in if your project uses Gatsby and not Next.js\n# https://nextjs.org/blog/next-9-1#public-directory-support\n# public\n\n# vuepress build output\n.vuepress/dist\n\n# vuepress v2.x temp directory\n.temp\n\n# Sveltekit cache directory\n.svelte-kit/\n\n# vitepress build output\n**/.vitepress/dist\n\n# vitepress cache directory\n**/.vitepress/cache\n\n# Docusaurus cache and generated files\n.docusaurus\n\n# Serverless directories\n.serverless/\n\n# FuseBox cache\n.fusebox/\n\n# DynamoDB Local files\n.dynamodb/\n\n# Firebase cache directory\n.firebase/\n\n# TernJS port file\n.tern-port\n\n# Stores Visual Studio Code versions used for testing Visual Studio Code extensions\n.vscode-test\n\n# pnpm\n.pnpm-store\n\n# yarn v3\n.pnp.*\n.yarn/*\n!.yarn/patches\n!.yarn/plugins\n!.yarn/releases\n!.yarn/sdks\n!.yarn/versions\n\n# Vite files\nvite.config.js.timestamp-*\nvite.config.ts.timestamp-*\n.vite/\n\n# Astro generated types\n.astro/\n\n# Turbo Repo\n.turbo\n",
|
||||
"Objective-C": "# Xcode\n#\n# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore\n\n## User settings\nxcuserdata/\n\n## Obj-C/Swift specific\n*.hmap\n\n## App packaging\n*.ipa\n*.dSYM.zip\n*.dSYM\n\n# CocoaPods\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\n# Pods/\n#\n# Add this line if you want to avoid checking in source code from the Xcode workspace\n# *.xcworkspace\n\n# Carthage\n#\n# Add this line if you want to avoid checking in source code from Carthage dependencies.\n# Carthage/Checkouts\n\nCarthage/Build/\n\n# fastlane\n#\n# It is recommended to not store the screenshots in the git repo.\n# Instead, use fastlane to re-generate the screenshots whenever they are needed.\n# For more information about the recommended setup visit:\n# https://docs.fastlane.tools/best-practices/source-control/#source-control\n\nfastlane/report.xml\nfastlane/Preview.html\nfastlane/screenshots/**/*.png\nfastlane/test_output\n",
|
||||
"OCaml": "*.annot\n*.cmo\n*.cma\n*.cmi\n*.a\n*.o\n*.cmx\n*.cmxs\n*.cmxa\n\n# Files containing detailed information about the compilation (generated\n# by `ocamlc`/`ocamlopt` when invoked using the option `-bin-annot`).\n# These files are typically useful for code inspection tools\n# (e.g. Merlin).\n*.cmt\n*.cmti\n\n# ocamlbuild and Dune default working directory\n_build/\n\n# ocamlbuild targets\n*.byte\n*.native\n\n# oasis generated files\nsetup.data\nsetup.log\n\n# Merlin configuring file for Vim and Emacs\n.merlin\n\n# Dune generated files\n*.install\n\n# Local OPAM switch\n_opam/\n",
|
||||
"Opa": "_build\n_tracks\n\nopa-debug-js\n\n*.opp\n*.opx\n*.opx.broken\n*.dump\n*.api\n*.api-txt\n*.exe\n*.log\n",
|
||||
"OpenCart": ".htaccess\n/config.php\nadmin/config.php\n\n!index.html\n\ndownload/\nimage/data/\nimage/cache/\nsystem/cache/\nsystem/logs/\n\nsystem/storage/\n\n# vQmod log files\nvqmod/logs/*\n# vQmod cache files\nvqmod/vqcache/*\nvqmod/checked.cache\nvqmod/mods.cache\n",
|
||||
"OracleForms": "# Compiled Form Modules\n*.fmx\n\n# Compiled Menu Modules\n*.mmx\n\n# Compiled Pre-Linked Libraries\n*.plx\n",
|
||||
"Packer": "# Cache objects\npacker_cache/\n\n# Crash log\ncrash.log\n\n# https://www.packer.io/guides/hcl/variables\n# Exclude all .pkrvars.hcl files, which are likely to contain sensitive data,\n# such as password, private keys, and other secrets. These should not be part of\n# version control as they are data points which are potentially sensitive and\n# subject to change depending on the environment.\n#\n*.pkrvars.hcl\n\n# For built boxes\n*.box\n",
|
||||
"Perl": "!Build/\n.last_cover_stats\n/META.yml\n/META.json\n/MYMETA.*\n*.o\n*.pm.tdy\n*.bs\n\n# Devel::Cover\ncover_db/\n\n# Devel::NYTProf\nnytprof.out\n\n# Dist::Zilla\n/.build/\n\n# Module::Build\n_build/\nBuild\nBuild.bat\n\n# Module::Install\ninc/\n\n# ExtUtils::MakeMaker\n/blib/\n/_eumm/\n/*.gz\n/Makefile\n/Makefile.old\n/MANIFEST.bak\n/pm_to_blib\n/*.zip\n\n# Carton/Carmel\n/local/\n/.carmel/\n# cpanfile.snapshot should generally be ignored for library code, otherwise included\n# cpanfile.snapshot\n",
|
||||
"Phalcon": "/cache/\n/config/development/\n",
|
||||
"PlayFramework": "# Ignore Play! working directory #\nbin/\n/db\n.eclipse\n/lib/\n/logs/\n/modules\n/project/project\n/project/target\n/target\ntmp/\ntest-result\nserver.pid\n*.eml\n/dist/\n.cache\n",
|
||||
"Plone": "*.pyc\n*.pyo\n*.tmp*\n*.mo\n*.egg\n*.EGG\n*.egg-info\n*.EGG-INFO\n.*.cfg\nbin/\nbuild/\ndevelop-eggs/\ndownloads/\neggs/\nfake-eggs/\nparts/\ndist/\nvar/\n",
|
||||
"Prestashop": "# Cache, temp and personal files\n\n/.htaccess\n*.log\n\n# Cache\n/cache/*\n!/cache/.htaccess\n!/cache/cachefs/index.php\n!/cache/deprecated.txt\n!/cache/index.php\n!/cache/purifier/index.php\n!/cache/push/activity\n!/cache/push/index.php\n!/cache/push/trends\n!/cache/sandbox/index.php\n!/cache/smarty/cache/index.php\n!/cache/smarty/compile/index.php\n!/cache/smarty/index.php\n!/cache/tcpdf/index.php\n\n# Download\n/download/*\n!/download/.htaccess\n!/download/index.php\n\n# Images\n/img/*\n!/img/.htaccess\n!/img/index.php\n!/img/404.gif\n!/img/bg_500.png\n!/img/bg_loader.png\n!/img/favicon.ico\n!/img/loader.gif\n!/img/loadingAnimation.gif\n!/img/logo.jpg\n!/img/logo.png\n!/img/logo_invoice.jpg\n!/img/logo_stores.png\n!/img/macFFBgHack.png\n!/img/prestashop-avatar.png\n!/img/prestashop@2x.png\n!/img/preston-login-wink@2x.png\n!/img/preston-login@2x.png\n!/img/questionmark.png\n!/img/genders/index.php\n!/img/admin/index.php\n!/img/c/index.php\n!/img/cms/index.php\n!/img/co/index.php\n!/img/jquery-ui\n!/img/l/index.php\n!/img/m/index.php\n!/img/os/index.php\n!/img/p/index.php\n!/img/s/index.php\n!/img/scenes\n!/img/st/index.php\n!/img/su/index.php\n!/img/t/index.php\n!/img/tmp/index.php\n\n# Upload\n/upload/*\n!/upload/.htaccess\n\n/vendor/*\n/docs/phpdoc-sf/\n/composer.lock\n*.hot-update.js\n*.hot-update.json\n\n\n/admin-dev/autoupgrade/*\n!/admin-dev/autoupgrade/index.php\n!/admin-dev/autoupgrade/backup/index.php\n\n/admin-dev/backups/*\n!/admin-dev/backups/.htaccess\n\n/admin-dev/import/*\n!/admin-dev/import/.htaccess\n!/admin-dev/import/index.php\n\n/admin-dev/export/*\n!/admin-dev/export/.htaccess\n!/admin-dev/export/index.php\n\n# Downloaded RTL files\n/admin-dev/themes/default/css/bundle/default_rtl.css\n/admin-dev/themes/default/css/bundle/shared_rtl.css\n/admin-dev/themes/default/css/font_rtl.css\n/admin-dev/themes/default/css/overrides_rtl.css\n/admin-dev/themes/default/css/vendor/font-awesome/font-awesome_rtl.css\n/admin-dev/themes/default/css/vendor/nv.d3_rtl.css\n/admin-dev/themes/default/css/vendor/titatoggle-min_rtl.css\n/admin-dev/themes/default/public/theme_rtl.css\n/admin-dev/themes/new-theme/css/module/drop_rtl.css\n/admin-dev/themes/new-theme/css/right-sidebar_rtl.css\n\nthemes/*/cache/*\n\n# Config\n\nconfig/settings.inc.php\nconfig/settings.old.php\nconfig/xml/*\nconfig/themes/*\n!config/xml/themes/default.xml\nthemes/*/config/settings_*.json\napp/config/parameters.old.yml\napp/config/config.php\n\n# Themes, modules and overrides\n\nmodules/*\noverride/*\nthemes/*/\n!themes/classic\n!themes/_core\n!themes/_libraries\n\n# Vendors and dependencies\n\nbower_components/\nnode_modules/\ncomposer.phar\nphp-cs-fixer\n.grunt/*\n\n# Translations and emails templates\n\ntranslations/*\nmails/*\n!mails/themes/\n!mails/_partials/\nthemes/default-bootstrap/lang/*\nthemes/default-bootstrap/modules/*/translations/*.php\nthemes/default-bootstrap/mails/*\n!themes/default-bootstrap/mails/en/\nthemes/default-bootstrap/modules/*/mails/*\n!themes/default-bootstrap/modules/*/mails/en\n\n# MISC\n\n*sitemap.xml\n/robots.txt\n\n# Symfony\n\n/bin/\n/app/Resources/geoip/GeoLite2-City.mmdb\n/app/Resources/translations/*\n!/app/Resources/translations/default\n/app/config/parameters.yml\n/app/config/parameters.php\n/build/\n/phpunit.xml\n/var/*\n!/var/cache\n/var/cache/*\n!var/cache/.gitkeep\n!/var/logs\n/var/logs/*\n!var/logs/.gitkeep\n!/var/sessions\n/var/sessions/*\n!var/sessions/.gitkeep\n!var/SymfonyRequirements.php\n/vendor/\n/web/bundles/\n\n",
|
||||
"Processing": ".DS_Store\napplet\napplication.linux-arm64\napplication.linux-armv6hf\napplication.linux32\napplication.linux64\napplication.windows32\napplication.windows64\napplication.macosx\nout\n",
|
||||
"PureScript": "# Dependencies\n.psci_modules\n.spago\nbower_components\nnode_modules\n\n# Generated files\n.psci\noutput\n",
|
||||
"Python": "# Byte-compiled / optimized / DLL files\n__pycache__/\n*.py[codz]\n*$py.class\n\n# C extensions\n*.so\n\n# Distribution / packaging\n.Python\nbuild/\ndevelop-eggs/\ndist/\ndownloads/\neggs/\n.eggs/\nlib/\nlib64/\nparts/\nsdist/\nvar/\nwheels/\nshare/python-wheels/\n*.egg-info/\n.installed.cfg\n*.egg\nMANIFEST\n\n# PyInstaller\n# Usually these files are written by a python script from a template\n# before PyInstaller builds the exe, so as to inject date/other infos into it.\n*.manifest\n*.spec\n\n# Installer logs\npip-log.txt\npip-delete-this-directory.txt\n\n# Unit test / coverage reports\nhtmlcov/\n.tox/\n.nox/\n.coverage\n.coverage.*\n.cache\nnosetests.xml\ncoverage.xml\n*.cover\n*.py.cover\n*.lcov\n.hypothesis/\n.pytest_cache/\ncover/\n\n# Translations\n*.mo\n*.pot\n\n# Django stuff:\n*.log\nlocal_settings.py\ndb.sqlite3\ndb.sqlite3-journal\n\n# Flask stuff:\ninstance/\n.webassets-cache\n\n# Scrapy stuff:\n.scrapy\n\n# Sphinx documentation\ndocs/_build/\n\n# PyBuilder\n.pybuilder/\ntarget/\n\n# Jupyter Notebook\n.ipynb_checkpoints\n\n# IPython\nprofile_default/\nipython_config.py\n\n# pyenv\n# For a library or package, you might want to ignore these files since the code is\n# intended to run in multiple environments; otherwise, check them in:\n# .python-version\n\n# pipenv\n# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.\n# However, in case of collaboration, if having platform-specific dependencies or dependencies\n# having no cross-platform support, pipenv may install dependencies that don't work, or not\n# install all needed dependencies.\n# Pipfile.lock\n\n# uv\n# Similar to Pipfile.lock, it is generally recommended to include uv.lock in version control.\n# This is especially recommended for binary packages to ensure reproducibility, and is more\n# commonly ignored for libraries.\n# uv.lock\n\n# poetry\n# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.\n# This is especially recommended for binary packages to ensure reproducibility, and is more\n# commonly ignored for libraries.\n# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control\n# poetry.lock\n# poetry.toml\n\n# pdm\n# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.\n# pdm recommends including project-wide configuration in pdm.toml, but excluding .pdm-python.\n# https://pdm-project.org/en/latest/usage/project/#working-with-version-control\n# pdm.lock\n# pdm.toml\n.pdm-python\n.pdm-build/\n\n# pixi\n# Similar to Pipfile.lock, it is generally recommended to include pixi.lock in version control.\n# pixi.lock\n# Pixi creates a virtual environment in the .pixi directory, just like venv module creates one\n# in the .venv directory. It is recommended not to include this directory in version control.\n.pixi/*\n!.pixi/config.toml\n\n# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm\n__pypackages__/\n\n# Celery stuff\ncelerybeat-schedule*\ncelerybeat.pid\n\n# Redis\n*.rdb\n*.aof\n*.pid\n\n# RabbitMQ\nmnesia/\nrabbitmq/\nrabbitmq-data/\n\n# ActiveMQ\nactivemq-data/\n\n# SageMath parsed files\n*.sage.py\n\n# Environments\n.env\n.envrc\n.venv\nenv/\nvenv/\nENV/\nenv.bak/\nvenv.bak/\n\n# Spyder project settings\n.spyderproject\n.spyproject\n\n# Rope project settings\n.ropeproject\n\n# mkdocs/Zensical documentation\n/site\n\n# mypy\n.mypy_cache/\n.dmypy.json\ndmypy.json\n\n# Pyre type checker\n.pyre/\n\n# pytype static type analyzer\n.pytype/\n\n# Cython debug symbols\ncython_debug/\n\n# PyCharm\n# JetBrains specific template is maintained in a separate JetBrains.gitignore that can\n# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore\n# and can be added to the global gitignore or merged into this file. For a more nuclear\n# option (not recommended) you can uncomment the following to ignore the entire idea folder.\n# .idea/\n\n# Abstra\n# Abstra is an AI-powered process automation framework.\n# Ignore directories containing user credentials, local state, and settings.\n# Learn more at https://abstra.io/docs\n.abstra/\n\n# Visual Studio Code\n# Visual Studio Code specific template is maintained in a separate VisualStudioCode.gitignore that\n# can be found at https://github.com/github/gitignore/blob/main/Global/VisualStudioCode.gitignore\n# and can be added to the global gitignore or merged into this file. However, if you prefer, you\n# could uncomment the following to ignore the entire vscode folder\n# .vscode/\n# Temporary file for partial code execution\ntempCodeRunnerFile.py\n\n# Ruff stuff:\n.ruff_cache/\n\n# PyPI configuration file\n.pypirc\n\n# Marimo\nmarimo/_static/\nmarimo/_lsp/\n__marimo__/\n\n# Streamlit\n.streamlit/secrets.toml\n",
|
||||
"Qooxdoo": "cache\ncache-downloads\ninspector\napi\nsource/inspector.html\n",
|
||||
"Qt": "# C++ objects and libs\n*.slo\n*.lo\n*.o\n*.a\n*.la\n*.lai\n*.so\n*.so.*\n*.dll\n*.dylib\n\n# Qt-es\nobject_script.*.Release\nobject_script.*.Debug\n*_plugin_import.cpp\n/.qmake.cache\n/.qmake.stash\n*.pro.user\n*.pro.user.*\n*.qbs.user\n*.qbs.user.*\n*.moc\nmoc_*.cpp\nmoc_*.h\nqrc_*.cpp\nui_*.h\n*.qmlc\n*.jsc\nMakefile*\n*build-*\nbuild/\n*.qm\n*.prl\n*.qmlls.ini\n\n# Qt unit tests\ntarget_wrapper.*\n\n# QtCreator\n*.autosave\n\n# QtCreator Qml\n*.qmlproject.user\n*.qmlproject.user.*\n\n# QtCreator CMake\nCMakeLists.txt.user*\n\n# QtCreator 4.8< compilation database\ncompile_commands.json\n\n# QtCreator local machine specific files for imported projects\n*creator.user*\n\n*_qmlcache.qrc\n",
|
||||
"R": "# History files\n.Rhistory\n.Rapp.history\n\n# Session Data files\n.RData\n.RDataTmp\n\n# User-specific files\n.Ruserdata\n\n# Example code in package build process\n*-Ex.R\n\n# Output files from R CMD build\n/*.tar.gz\n\n# Output files from R CMD check\n/*.Rcheck/\n\n# RStudio files\n.Rproj.user/\n\n# produced vignettes\nvignettes/*.html\nvignettes/*.pdf\n\n# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3\n.httr-oauth\n\n# knitr and R markdown default cache directories\n*_cache/\n/cache/\n\n# Temporary files created by R markdown\n*.utf8.md\n*.knit.md\n\n# R Environment Variables\n.Renviron\n.env\n\n# pkgdown site\ndocs/\n\n# translation temp files\npo/*~\n\n# RStudio Connect folder\nrsconnect/\n",
|
||||
"Racket": ".DS_Store\ncompiled/\n/doc/\n*~\n*.bak\n\\#*\n.\\#*\n",
|
||||
"Rails": "*.rbc\ncapybara-*.html\n.rspec\n/db/*.sqlite3\n/db/*.sqlite3-journal\n/db/*.sqlite3-[0-9]*\n/public/system\n/coverage/\n/spec/tmp\n*.orig\nrerun.txt\npickle-email-*.html\n\n# Ignore all logfiles and tempfiles.\n/log/*\n/tmp/*\n!/log/.keep\n!/tmp/.keep\n\n# TODO Comment out this rule if you are OK with secrets being uploaded to the repo\nconfig/initializers/secret_token.rb\nconfig/master.key\n\n# Only include if you have production secrets in this file, which is no longer a Rails default\n# config/secrets.yml\n\n# dotenv, dotenv-rails\n# TODO Comment out these rules if environment variables can be committed\n.env\n.env*.local\n\n## Environment normalization:\n/.bundle\n/vendor/bundle\n\n# these should all be checked in to normalize the environment:\n# Gemfile.lock, .ruby-version, .ruby-gemset\n\n# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:\n.rvmrc\n\n# if using bower-rails ignore default bower_components path bower.json files\n/vendor/assets/bower_components\n*.bowerrc\nbower.json\n\n# Ignore pow environment settings\n.powenv\n\n# Ignore Byebug command history file.\n.byebug_history\n\n# Ignore node_modules\nnode_modules/\n\n# Ignore precompiled javascript packs\n/public/packs\n/public/packs-test\n/public/assets\n\n# Ignore yarn files\n/yarn-error.log\nyarn-debug.log*\n.yarn-integrity\n\n# Ignore uploaded files in development\n/storage/*\n!/storage/.keep\n/public/uploads\n",
|
||||
"Raku": "# Gitignore for Raku (https://raku.org)\n# As part of https://github.com/github/gitignore\n\n# precompiled files\n.precomp\nlib/.precomp\n\n",
|
||||
"ReScript": "/node_modules/\n/lib/\n.bsb.lock\n",
|
||||
"RhodesRhomobile": "rholog-*\nsim-*\nbin/libs\nbin/RhoBundle\nbin/tmp\nbin/target\nbin/*.ap_\n*.o\n*.jar\n",
|
||||
"ROS": "devel/\nlogs/\nbuild/\nbin/\nlib/\nmsg_gen/\nsrv_gen/\nmsg/*Action.msg\nmsg/*ActionFeedback.msg\nmsg/*ActionGoal.msg\nmsg/*ActionResult.msg\nmsg/*Feedback.msg\nmsg/*Goal.msg\nmsg/*Result.msg\nmsg/_*.py\nbuild_isolated/\ndevel_isolated/\n\n# Generated by dynamic reconfigure\n*.cfgc\n/cfg/cpp/\n/cfg/*.py\n\n# Ignore generated docs\n*.dox\n*.wikidoc\n\n# eclipse stuff\n.project\n.cproject\n\n# qcreator stuff\nCMakeLists.txt.user\n\nsrv/_*.py\n*.pcd\n*.pyc\nqtcreator-*\n*.user\n\n/planning/cfg\n/planning/docs\n/planning/src\n\n*~\n\n# Emacs\n.#*\n\n# Catkin custom files\nCATKIN_IGNORE\n",
|
||||
"Ruby": "*.gem\n*.rbc\n/.config\n/coverage/\n/InstalledFiles\n/pkg/\n/spec/reports/\n/spec/examples.txt\n/test/tmp/\n/test/version_tmp/\n/tmp/\n\n# Used by dotenv library to load environment variables.\n# .env\n\n# Ignore Byebug command history file.\n.byebug_history\n\n## Specific to RubyMotion:\n.dat*\n.repl_history\nbuild/\n*.bridgesupport\nbuild-iPhoneOS/\nbuild-iPhoneSimulator/\n\n## Specific to RubyMotion (use of CocoaPods):\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\n# vendor/Pods/\n\n## Documentation cache and generated files:\n/.yardoc/\n/_yardoc/\n/doc/\n/rdoc/\n\n## Environment normalization:\n/.bundle/\n/vendor/bundle\n/lib/bundler/man/\n\n# for a library or gem, you might want to ignore these files since the code is\n# intended to run in multiple environments; otherwise, check them in:\n# Gemfile.lock\n# .ruby-version\n# .ruby-gemset\n\n# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:\n.rvmrc\n\n# Used by RuboCop. Remote config files pulled in from inherit_from directive.\n# .rubocop-https?--*\n",
|
||||
"Rust": "# Generated by Cargo\n# will have compiled files and executables\ndebug\ntarget\n\n# These are backup files generated by rustfmt\n**/*.rs.bk\n\n# MSVC Windows builds of rustc generate these, which store debugging information\n*.pdb\n\n# Generated by cargo mutants\n# Contains mutation testing data\n**/mutants.out*/\n\n# rustc will dump stack traces when hitting an internal compiler error to PWD\nrustc-ice-*.txt\n\n# RustRover\n# JetBrains specific template is maintained in a separate JetBrains.gitignore that can\n# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore\n# and can be added to the global gitignore or merged into this file. For a more nuclear\n# option (not recommended) you can uncomment the following to ignore the entire idea folder.\n#.idea/\n",
|
||||
"Salesforce": "# This file is used for Git repositories to specify intentionally untracked files that Git should ignore. \n# If you are not using git, you can delete this file. For more information see: https://git-scm.com/docs/gitignore\n# For useful gitignore templates see: https://github.com/github/gitignore\n\n# Salesforce cache\n.sf/\n.sfdx/\n.localdevserver/\ndeploy-options.json\n.localdev\n\n# LWC VSCode autocomplete\n**/lwc/jsconfig.json\n\n# LWC Jest coverage reports\ncoverage/\n\n# Logs\nlogs\n*.log\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n\n# Eslint cache\n.eslintcache\n\n# Windows system files\nThumbs.db\nehthumbs.db\n[Dd]esktop.ini\n$RECYCLE.BIN/\n\n# Salesforce Analyzer results\nsca-results.csv\nsfca_results.json\n\n# Local environment variables\n.env\n",
|
||||
"Sass": ".sass-cache/\n*.css.map\n*.sass.map\n*.scss.map\n",
|
||||
"Scala": "*.class\n*.tasty\n*.log\n\n# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml\nhs_err_pid*\n",
|
||||
"Scheme": "*.ss~\n*.ss#*\n.#*.ss\n\n*.scm~\n*.scm#*\n.#*.scm\n",
|
||||
"SCons": "# for projects that use SCons for building: https://www.scons.org/\n.sconsign.dblite\n\n# When configure fails, SCons outputs these\nconfig.log\n.sconf_temp\n",
|
||||
"Scrivener": "*/Files/binder.autosave\n*/Files/binder.backup\n*/Files/search.indexes\n*/Files/user.lock\n*/Files/Docs/docs.checksum\n*/Files/Data/docs.checksum\n*/QuickLook/\n*/Settings/ui.plist\n",
|
||||
"Sdcc": "# SDCC stuff\n*.lnk\n*.lst\n*.map\n*.mem\n*.rel\n*.rst\n*.sym\n",
|
||||
"SeamGen": "/bootstrap/data\n/bootstrap/tmp\n/classes/\n/dist/\n/exploded-archives/\n/test-build/\n/test-output/\n/test-report/\n/target/\ntemp-testng-customsuite.xml\n\n# based on http://stackoverflow.com/a/8865858/422476 I am removing inline comments\n\n#/classes/ \t\t all class files\n#/dist/ contains generated war files for deployment\n#/exploded-archives/\t\t war content generation during deploy (or explode)\n#/test-build/ test compilation (ant target for Seam)\n#/test-output/ test results\n#/test-report/ test report generation for, e.g., Hudson\n#/target/ maven output folder\n#temp-testng-customsuite.xml\tgenerated when running test cases under Eclipse\n\n# Thanks to @VonC and @kraftan for their helpful answers on a related question\n# on StackOverflow.com:\n# http://stackoverflow.com/questions/4176687\n# /what-is-the-recommended-source-control-ignore-pattern-for-seam-projects\n",
|
||||
"SketchUp": "*.skb\n",
|
||||
"Smalltalk": "# changes file\n*.changes\n*.chg\n\n# system image\n*.image\n*.img7\n*.img\n\n# Pharo Smalltalk Debug log file\nPharoDebug.log\n\n# Squeak Smalltalk Debug log file\nSqueakDebug.log\n\n# Dolphin Smalltalk source file\n*.sml\n\n# Dolphin Smalltalk error file\n*.errors\n\n# Monticello package cache\n/package-cache\n\n# playground cache\n/play-cache\n/play-stash\n\n# Metacello-github cache\n/github-cache\ngithub-*.zip\n",
|
||||
"Solidity-Remix": "# Remix compiler artifacts\n**/artifacts/\n**/artifacts/**\n\n# Remix plugin state folders\ndeps/\nstates/\n\n# Debug info\n*.dbg.json\n*.tsbuildinfo\n\n# Optional\n.env\n.env.local",
|
||||
"SolidWorks": "# gitignore file for a SolidWorks project\n\n# SolidWorks temporary files\n~$*.sldprt\n~$*.sldasm\n~$*.slddrw\n~$*.sld\n\n# For systems with case-sensitive (SolidWorks uses both)\n~$*.SLDPRT\n~$*.SLDASM\n~$*.SLDDRW\n~$*.SLD\n\n# SolidWorks backups and auto-recovery\n*.bak\n*.swbak\n\n# Cache of simulation results\n/simulation_results/\n",
|
||||
"SSDT-sqlproj": "## Ignore Visual Studio SSDT sqlproj specific temporary files, build results, etc\n##\n##\n## Get latest from https://github.com/github/gitignore/blob/master/SSDT-sqlproj.gitignore\n# Build output\nbin/\nobj/\n\n# DACPAC files\n*.dacpac\n\n# Publish profiles (optional, if environment-specific)\n*.publish.xml\n\n# SQL Server debug files\n*.dbmdl\n*.sqlcmdvars\n\n# Visual Studio settings\n.vs/\n\n# User-specific files\n*.user\n*.suo\n*.userosscache\n*.sln.docstates\n\n# Backup files\n*.bak\n*.log\n\n",
|
||||
"Stella": "# Atari 2600 (Stella) support for multiple assemblers\n# - DASM\n# - CC65\n\n# Assembled binaries and object directories\nobj/\na.out\n*.bin\n*.a26\n\n# Add in special Atari 7800-based binaries for good measure\n*.a78\n",
|
||||
"SugarCRM": "## SugarCRM\n# Ignore custom .htaccess stuff.\n/.htaccess\n# Ignore the cache directory completely.\n# This will break the current behaviour. Which was often leading to\n# the misuse of the repository as backup replacement.\n# For development the cache directory can be safely ignored and\n# therefore it is ignored.\n/cache/*\n!/cache/index.html\n# Ignore some files and directories from the custom directory.\n/custom/history/\n/custom/modulebuilder/\n/custom/working/\n/custom/modules/*/Ext/\n/custom/application/Ext/\n# Custom configuration should also be ignored.\n/config.php\n/config_override.php\n# The silent upgrade scripts aren't needed.\n/silentUpgrade*.php\n# Logs files can safely be ignored.\n*.log\n# Ignore the new upload directories.\n/upload/*\n!/upload/index.html\n/upload_backup/\n",
|
||||
"Swift": "# Xcode\n#\n# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore\n\n## User settings\nxcuserdata/\n\n## Obj-C/Swift specific\n*.hmap\n\n## App packaging\n*.ipa\n*.dSYM.zip\n*.dSYM\n\n## Playgrounds\ntimeline.xctimeline\nplayground.xcworkspace\n\n# Swift Package Manager\n#\n# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.\n# Packages/\n# Package.pins\n# Package.resolved\n# *.xcodeproj\n#\n# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata\n# hence it is not needed unless you have added a package configuration file to your project\n# .swiftpm\n\n.build/\n\n# CocoaPods\n#\n# We recommend against adding the Pods directory to your .gitignore. However\n# you should judge for yourself, the pros and cons are mentioned at:\n# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control\n#\n# Pods/\n#\n# Add this line if you want to avoid checking in source code from the Xcode workspace\n# *.xcworkspace\n\n# Carthage\n#\n# Add this line if you want to avoid checking in source code from Carthage dependencies.\n# Carthage/Checkouts\n\nCarthage/Build/\n\n# fastlane\n#\n# It is recommended to not store the screenshots in the git repo.\n# Instead, use fastlane to re-generate the screenshots whenever they are needed.\n# For more information about the recommended setup visit:\n# https://docs.fastlane.tools/best-practices/source-control/#source-control\n\nfastlane/report.xml\nfastlane/Preview.html\nfastlane/screenshots/**/*.png\nfastlane/test_output\n",
|
||||
"Symfony": "# Cache and logs (Symfony2)\n/app/cache/*\n/app/logs/*\n!app/cache/.gitkeep\n!app/logs/.gitkeep\n\n# Email spool folder\n/app/spool/*\n\n# Cache, session files and logs (Symfony3)\n/var/cache/*\n/var/logs/*\n/var/sessions/*\n!var/cache/.gitkeep\n!var/logs/.gitkeep\n!var/sessions/.gitkeep\n\n# Logs (Symfony4)\n/var/log/*\n!var/log/.gitkeep\n\n# Parameters\n/app/config/parameters.yml\n/app/config/parameters.ini\n\n# Managed by Composer\n/app/bootstrap.php.cache\n/var/bootstrap.php.cache\n/bin/*\n!bin/console\n!bin/symfony_requirements\n/vendor/\n\n# Assets and user uploads\n/web/bundles/\n/web/uploads/\n\n# PHPUnit\n/app/phpunit.xml\n/phpunit.xml\n\n# Build data\n/build/\n\n# Composer PHAR\n/composer.phar\n\n# Backup entities generated with doctrine:generate:entities command\n**/Entity/*~\n\n# Embedded web-server pid file\n/.web-server-pid\n",
|
||||
"SymphonyCMS": "manifest/cache/\nmanifest/logs/\nmanifest/tmp/\nsymphony/\nworkspace/uploads/\ninstall-log.txt\n",
|
||||
"Terraform": "# Local .terraform directories\n.terraform/\n\n# .tfstate files\n*.tfstate\n*.tfstate.*\n\n# Crash log files\ncrash.log\ncrash.*.log\n\n# Exclude all .tfvars files, which are likely to contain sensitive data, such as\n# password, private keys, and other secrets. These should not be part of version\n# control as they are data points which are potentially sensitive and subject\n# to change depending on the environment.\n*.tfvars\n*.tfvars.json\n\n# Ignore override files as they are usually used to override resources locally and so\n# are not checked in\noverride.tf\noverride.tf.json\n*_override.tf\n*_override.tf.json\n\n# Ignore transient lock info files created by terraform apply\n.terraform.tfstate.lock.info\n\n# Include override files you do wish to add to version control using negated pattern\n# !example_override.tf\n\n# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan\n# example: *tfplan*\n\n# Ignore CLI configuration files\n.terraformrc\nterraform.rc\n\n# Optional: ignore graph output files generated by `terraform graph`\n# *.dot\n\n# Optional: ignore plan files saved before destroying Terraform configuration\n# Uncomment the line below if you want to ignore planout files.\n# planout",
|
||||
"TestComplete": "# Test Complete ignore files: https://support.smartbear.com/viewarticle/68002/\n\n# Tester-specific Settings\n*.tcCFGExtender\n*.tcLS\n\n# Type library declarations\n*.tlb\n\n# Log files\n*.tcLogs\n\n# Backup files\n*.bak\n",
|
||||
"TeX": "## Core latex/pdflatex auxiliary files:\n*.aux\n*.lof\n*.log\n*.lot\n*.fls\n*.out\n*.toc\n*.fmt\n*.fot\n*.cb\n*.cb2\n.*.lb\n\n## Intermediate documents:\n*.dvi\n*.xdv\n*-converted-to.*\n# these rules might exclude image files for figures etc.\n# *.ps\n# *.eps\n# *.pdf\n\n## Generated if empty string is given at \"Please type another file name for output:\"\n.pdf\n\n## Bibliography auxiliary files (bibtex/biblatex/biber):\n*.bbl\n*.bbl-SAVE-ERROR\n*.bcf\n*.bcf-SAVE-ERROR\n*.blg\n*-blx.aux\n*-blx.bib\n*.run.xml\n\n## Build tool auxiliary files:\n*.fdb_latexmk\n*.synctex\n*.synctex(busy)\n*.synctex.gz\n*.synctex.gz(busy)\n*.pdfsync\n*.rubbercache\nrubber.cache\n\n## Build tool directories for auxiliary files\n# latexrun\nlatex.out/\n\n## Auxiliary and intermediate files from other packages:\n# algorithms\n*.alg\n*.loa\n\n# achemso\nacs-*.bib\n\n# amsthm\n*.thm\n\n# attachfile2\n*.atfi\n\n# beamer\n*.nav\n*.pre\n*.snm\n*.vrb\n\n# changes\n*.soc\n*.loc\n\n# comment\n*.cut\n\n# context\n*.tuc\n*.tui\n*.tuo\n\n# cprotect\n*.cpt\n\n# elsarticle (documentclass of Elsevier journals)\n*.spl\n\n# endnotes\n*.ent\n\n# fixme\n*.lox\n\n# feynmf/feynmp\n*.mf\n*.mp\n*.t[1-9]\n*.t[1-9][0-9]\n*.tfm\n\n#(r)(e)ledmac/(r)(e)ledpar\n*.end\n*.?end\n*.[1-9]\n*.[1-9][0-9]\n*.[1-9][0-9][0-9]\n*.[1-9]R\n*.[1-9][0-9]R\n*.[1-9][0-9][0-9]R\n*.eledsec[1-9]\n*.eledsec[1-9]R\n*.eledsec[1-9][0-9]\n*.eledsec[1-9][0-9]R\n*.eledsec[1-9][0-9][0-9]\n*.eledsec[1-9][0-9][0-9]R\n\n# glossaries\n*.acn\n*.acr\n*.glg\n*.glg-abr\n*.glo\n*.glo-abr\n*.gls\n*.gls-abr\n*.glsdefs\n*.lzo\n*.lzs\n*.slg\n*.slo\n*.sls\n\n# uncomment this for glossaries-extra (will ignore makeindex's style files!)\n# *.ist\n\n# gnuplot\n*.gnuplot\n*.table\n\n# gnuplottex\n*-gnuplottex-*\n\n# gregoriotex\n*.gaux\n*.glog\n*.gtex\n\n# htlatex\n*.4ct\n*.4tc\n*.idv\n*.lg\n*.trc\n*.xref\n\n# hypdoc\n*.hd\n\n# hyperref\n*.brf\n\n# knitr\n*-concordance.tex\n# TODO Uncomment the next line if you use knitr and want to ignore its generated tikz files\n# *.tikz\n*-tikzDictionary\n\n# latexindent will create succesive backup files by default\n#*.bak*\n\n# listings\n*.lol\n\n# luatexja-ruby\n*.ltjruby\n\n# makeidx\n*.idx\n*.ilg\n*.ind\n\n# minitoc\n*.maf\n*.mlf\n*.mlt\n*.mtc[0-9]*\n*.slf[0-9]*\n*.slt[0-9]*\n*.stc[0-9]*\n\n# minted\n_minted*\n*.data.minted\n*.pyg\n\n# morewrites\n*.mw\n\n# newpax\n*.newpax\n\n# nomencl\n*.nlg\n*.nlo\n*.nls\n\n# pax\n*.pax\n\n# pdfpcnotes\n*.pdfpc\n\n# sagetex\n*.sagetex.sage\n*.sagetex.py\n*.sagetex.scmd\n\n# scrwfile\n*.wrt\n\n# spelling\n*.spell.bad\n*.spell.txt\n\n# svg\nsvg-inkscape/\n\n# sympy\n*.sout\n*.sympy\nsympy-plots-for-*.tex/\n\n# pdfcomment\n*.upa\n*.upb\n\n# pythontex\n*.pytxcode\npythontex-files-*/\n\n# tcolorbox\n*.listing\n\n# thmtools\n*.loe\n\n# TikZ & PGF\n*.dpth\n*.md5\n*.auxlock\n\n# titletoc\n*.ptc\n\n# todonotes\n*.tdo\n\n# vhistory\n*.hst\n*.ver\n\n# easy-todo\n*.lod\n\n# xcolor\n*.xcp\n\n# xmpincl\n*.xmpi\n\n# xindy\n*.xdy\n\n# xypic precompiled matrices and outlines\n*.xyc\n*.xyd\n\n# endfloat\n*.ttt\n*.fff\n\n# Latexian\nTSWLatexianTemp*\n\n## Editors:\n# WinEdt\n*.bak\n*.sav\n\n# latexindent.pl\n*.bak[0-9]*\n\n# Texpad\n.texpadtmp\n\n# LyX\n*.lyx~\n\n# Kile\n*.backup\n\n# gummi\n.*.swp\n\n# KBibTeX\n*~[0-9]*\n\n# TeXnicCenter\n*.tps\n\n# auto folder when using emacs and auctex\n./auto/*\n*.el\n\n# expex forward references with \\gathertags\n*-tags.tex\n\n# standalone packages\n*.sta\n\n# Makeindex log files\n*.lpz\n\n# xwatermark package\n*.xwm\n\n# REVTeX puts footnotes in the bibliography by default, unless the nofootinbib\n# option is specified. Footnotes are the stored in a file with suffix Notes.bib.\n# Uncomment the next line to have this generated file ignored.\n#*Notes.bib\n",
|
||||
"Textpattern": ".htaccess\ncss.php\nrpc/\nsites/site*/admin/\nsites/site*/private/\nsites/site*/public/admin/\nsites/site*/public/setup/\nsites/site*/public/theme/\ntextpattern/\nHISTORY.txt\nREADME.txt\n",
|
||||
"TurboGears2": "*.py[co]\n\n# Default development database\ndevdata.db\n\n# Default data directory\ndata/*\n\n# Packages\n*.egg\n*.egg-info\ndist\nbuild\n\n# Installer logs\npip-log.txt\n\n# Unit test / coverage reports\n.coverage\n.tox\n",
|
||||
"TwinCAT3": "### TwinCAT3 ###\n# website: https://www.beckhoff.com/twincat3/\n\n# TwinCAT PLC\n*.plcproj.bak\n*.plcproj.orig\n*.tpy\n*.tclrs\n*.library\n*.compiled-library\n*.compileinfo\n*.asm\n*.core\nLineIDs.dbg\nLineIDs.dbg.bak\n\n# TwinCAT C++ and shared types\n# ignoring the TMC file is only useful for plain PLC programming\n# as soon as shared data types (via tmc), C++ or in general TcCom-Module are used, the TMC file has to be part of the repository\n*.tmc\n*.tmcRefac\n\n# TwinCAT project files\n*.tsproj.bak\n*.tsproj.b?k\n*.tsproj.orig\n*.tspproj.bak\n*.xti.bak\n*.xti.bk?\n*.xti.orig\n*.xtv\n*.xtv.bak\n*.xtv.bk?\n*.xt?.bk?\n*.xt?.orig\n\n# Multiuser specific\n**/.TcGit/\n\n# exclude not required folders\n**/_Boot/\n**/_CompileInfo/\n**/_Libraries/\n**/_ModuleInstall/\n**/_Deployment/\n**/_Repository/\n\n\n# To include a specific library directory (i.e. third party/custom libs),\n# use pattern `!/**/_Libraries/<directory name>/` i.e. `!/**/_Libraries/www.tcunit.org/`\n#\n\n# VS Shell project specific files and folders\n**/.vs/\n*.~u\n*.project.~u\n*.suo\n\n# TwinCAT Measurement\n*.vsm\n",
|
||||
"Typo3": "## TYPO3 v6.2\n# Ignore several upload and file directories.\n/fileadmin/user_upload/\n/fileadmin/_temp_/\n/fileadmin/_processed_/\n/uploads/\n# Ignore cache\n/typo3conf/temp_CACHED*\n/typo3conf/temp_fieldInfo.php\n/typo3conf/deprecation_*.log\n/typo3conf/ENABLE_INSTALL_TOOL\n/typo3conf/realurl_autoconf.php\n/FIRST_INSTALL\n# Ignore system folders, you should have them symlinked.\n# If not comment out the following entries.\n/typo3\n/typo3_src\n/typo3_src-*\n/Packages\n/.htaccess\n/index.php\n# Ignore temp directory.\n/typo3temp/\n",
|
||||
"Unity": "# This .gitignore file should be placed at the root of your Unity project directory\n#\n# Get latest from https://github.com/github/gitignore/blob/main/Unity.gitignore\n#\n# Recommended: add any editor/OS/tool-specific ignore rules from the Global/ templates as needed.\n# See: https://github.com/github/gitignore/tree/main/Global\n#\n.utmp/\n/[Ll]ibrary/\n/[Tt]emp/\n/[Oo]bj/\n/[Bb]uild/\n/[Bb]uilds/\n/[Ll]ogs/\n/[Uu]ser[Ss]ettings/\n*.log\n\n# By default unity supports Blender asset imports, *.blend1 blender files do not need to be commited to version control.\n*.blend1\n*.blend1.meta\n\n# MemoryCaptures can get excessive in size.\n# They also could contain extremely sensitive data\n/[Mm]emoryCaptures/\n\n# Recordings can get excessive in size\n/[Rr]ecordings/\n\n# Uncomment this line if you wish to ignore the asset store tools plugin\n# /[Aa]ssets/AssetStoreTools*\n\n# Autogenerated Jetbrains Rider plugin\n/[Aa]ssets/Plugins/Editor/JetBrains*\n# Jetbrains Rider personal-layer settings\n*.DotSettings.user\n\n# Visual Studio cache directory\n.vs/\n\n# Gradle cache directory\n.gradle/\n\n# Autogenerated VS/MD/Consulo solution and project files\nExportedObj/\n.consulo/\n*.csproj\n*.unityproj\n*.sln\n*.slnx\n*.suo\n*.tmp\n*.user\n*.userprefs\n*.pidb\n*.booproj\n*.svd\n*.pdb\n*.mdb\n*.opendb\n*.VC.db\n\n# Unity3D generated meta files\n*.pidb.meta\n*.pdb.meta\n*.mdb.meta\n\n# Unity3D generated file on crash reports\nsysinfo.txt\n\n# Mono auto generated files\nmono_crash.*\n\n# Builds\n*.apk\n*.aab\n*.unitypackage\n*.unitypackage.meta\n*.app\n\n# Crashlytics generated file\ncrashlytics-build.properties\n\n# TestRunner generated files\nInitTestScene*.unity*\n\n# Addressables default ignores, before user customizations\n/ServerData\n/[Aa]ssets/StreamingAssets/aa*\n/[Aa]ssets/AddressableAssetsData/link.xml*\n/[Aa]ssets/Addressables_Temp*\n# By default, Addressables content builds will generate addressables_content_state.bin\n# files in platform-specific subfolders, for example:\n# /Assets/AddressableAssetsData/OSX/addressables_content_state.bin\n/[Aa]ssets/AddressableAssetsData/*/*.bin*\n\n# Visual Scripting auto-generated files\n/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Flow/UnitOptions.db\n/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Flow/UnitOptions.db.meta\n/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Core/Property Providers\n/[Aa]ssets/Unity.VisualScripting.Generated/VisualScripting.Core/Property Providers.meta\n\n# Auto-generated scenes by play mode tests\n/[Aa]ssets/[Ii]nit[Tt]est[Ss]cene*.unity*\n\n# UI Toolkit auto generated files\n/UIElementsSchema/\n\n# Auto-generated cache in Assets folder\n/[Aa]ssets/[Ss]ceneDependencyCache*\n",
|
||||
"UnrealEngine": "# Visual Studio 2015 user specific files\n.vs/\n\n# Compiled Object files\n*.slo\n*.lo\n*.o\n*.obj\n\n# Precompiled Headers\n*.gch\n*.pch\n\n# Compiled Dynamic libraries\n*.so\n*.dylib\n*.dll\n\n# Fortran module files\n*.mod\n\n# Compiled Static libraries\n*.lai\n*.la\n*.a\n*.lib\n\n# Executables\n*.exe\n*.out\n*.app\n*.ipa\n\n# These project files can be generated by the engine\n*.xcodeproj\n*.xcworkspace\n*.sln\n*.suo\n*.opensdf\n*.sdf\n*.VC.db\n*.VC.opendb\n.vsconfig\n\n# Precompiled Assets\nSourceArt/**/*.png\nSourceArt/**/*.tga\n\n# Binary Files\nBinaries/*\nPlugins/**/Binaries/*\n\n# Builds\nBuild/*\n\n# Whitelist PakBlacklist-<BuildConfiguration>.txt files\n!Build/*/\nBuild/*/**\n!Build/*/PakBlacklist*.txt\n\n# Don't ignore icon files in Build\n!Build/**/*.ico\n\n# Built data for maps\n*_BuiltData.uasset\n\n# Configuration files generated by the Editor\nSaved/*\n\n# Compiled source files for the engine to use\nIntermediate/*\nPlugins/**/Intermediate/*\n\n# Cache files for the editor to use\nDerivedDataCache/*\n",
|
||||
"VBA": "\n# Office temporary files\n~$*\n\n# Access database lock files (laccdb, ldb)\n*.[lL][aA][cC][cC][dD][bB]\n*.[lL][dD][bB]\n\n# The following sections constitute a list of Office file extensions that support VBA.\n# If you want to exclude Office files from your repo, uncomment the corresponding file extensions.\n\n# Excel (xls, xlsb, xlsm, xlt, xltm, xla, xlam)\n#*.[xX][lL][sS]\n#*.[xX][lL][sS][bB]\n#*.[xX][lL][sS][mM]\n#*.[xX][lL][tT]\n#*.[xX][lL][tT][mM]\n#*.[xX][lL][aA]\n#*.[xX][lL][aA][mM]\n\n# Word (doc, docm, dot, dotm)\n#*.[dD][oO][cC]\n#*.[dD][oO][cC][mM]\n#*.[dD][oO][tT]\n#*.[dD][oO][tT][mM]\n\n# Access (accda, accdb, accde, mdb, mde)\n#*.[aA][cC][cC][dD][aA]\n#*.[aA][cC][cC][dD][bB]\n#*.[aA][cC][cC][dD][eE]\n#*.[mM][dD][bB]\n#*.[mM][dD][eE]\n\n# PowerPoint (ppt, pptm, pot, potm, pps, ppsm)\n#*.[pP][pP][tT]\n#*.[pP][pP][tT][mM]\n#*.[pP][oO][tT]\n#*.[pP][oO][tT][mM]\n#*.[pP][pP][sS]\n#*.[pP][pP][sS][mM]\n",
|
||||
"VisualStudio": "## Ignore Visual Studio temporary files, build results, and\n## files generated by popular Visual Studio add-ons.\n##\n## Get latest from https://github.com/github/gitignore/blob/main/VisualStudio.gitignore\n\n# User-specific files\n*.rsuser\n*.suo\n*.user\n*.userosscache\n*.sln.docstates\n*.env\n\n# User-specific files (MonoDevelop/Xamarin Studio)\n*.userprefs\n\n# Mono auto generated files\nmono_crash.*\n\n# Build results\n[Dd]ebug/\n[Dd]ebugPublic/\n[Rr]elease/\n[Rr]eleases/\n\n[Dd]ebug/x64/\n[Dd]ebugPublic/x64/\n[Rr]elease/x64/\n[Rr]eleases/x64/\nbin/x64/\nobj/x64/\n\n[Dd]ebug/x86/\n[Dd]ebugPublic/x86/\n[Rr]elease/x86/\n[Rr]eleases/x86/\nbin/x86/\nobj/x86/\n\n[Ww][Ii][Nn]32/\n[Aa][Rr][Mm]/\n[Aa][Rr][Mm]64/\n[Aa][Rr][Mm]64[Ee][Cc]/\nbld/\n[Oo]bj/\n[Oo]ut/\n[Ll]og/\n[Ll]ogs/\n\n# Build results on 'Bin' directories\n**/[Bb]in/*\n# Uncomment if you have tasks that rely on *.refresh files to move binaries\n# (https://github.com/github/gitignore/pull/3736)\n#!**/[Bb]in/*.refresh\n\n# Visual Studio 2015/2017 cache/options directory\n.vs/\n# Uncomment if you have tasks that create the project's static files in wwwroot\n#wwwroot/\n\n# Visual Studio 2017 auto generated files\nGenerated\\ Files/\n\n# MSTest test Results\n[Tt]est[Rr]esult*/\n[Bb]uild[Ll]og.*\n*.trx\n\n# NUnit\n*.VisualState.xml\nTestResult.xml\nnunit-*.xml\n\n# Approval Tests result files\n*.received.*\n\n# Build Results of an ATL Project\n[Dd]ebugPS/\n[Rr]eleasePS/\ndlldata.c\n\n# Benchmark Results\nBenchmarkDotNet.Artifacts/\n\n# .NET Core\nproject.lock.json\nproject.fragment.lock.json\nartifacts/\n.artifacts/\n\n# ASP.NET Scaffolding\nScaffoldingReadMe.txt\n\n# StyleCop\nStyleCopReport.xml\n\n# Files built by Visual Studio\n*_i.c\n*_p.c\n*_h.h\n*.ilk\n*.meta\n*.obj\n*.idb\n*.iobj\n*.pch\n*.pdb\n*.ipdb\n*.pgc\n*.pgd\n*.rsp\n# but not Directory.Build.rsp, as it configures directory-level build defaults\n!Directory.Build.rsp\n*.sbr\n*.tlb\n*.tli\n*.tlh\n*.tmp\n*.tmp_proj\n*_wpftmp.csproj\n*.log\n*.tlog\n*.vspscc\n*.vssscc\n.builds\n*.pidb\n*.svclog\n*.scc\n\n# Chutzpah Test files\n_Chutzpah*\n\n# Visual C++ cache files\nipch/\n*.aps\n*.ncb\n*.opendb\n*.opensdf\n*.sdf\n*.cachefile\n*.VC.db\n*.VC.VC.opendb\n\n# Visual Studio profiler\n*.psess\n*.vsp\n*.vspx\n*.sap\n\n# Visual Studio Trace Files\n*.e2e\n\n# TFS 2012 Local Workspace\n$tf/\n\n# Guidance Automation Toolkit\n*.gpState\n\n# ReSharper is a .NET coding add-in\n_ReSharper*/\n*.[Rr]e[Ss]harper\n*.DotSettings.user\n\n# TeamCity is a build add-in\n_TeamCity*\n\n# DotCover is a Code Coverage Tool\n*.dotCover\n\n# AxoCover is a Code Coverage Tool\n.axoCover/*\n!.axoCover/settings.json\n\n# Coverlet is a free, cross platform Code Coverage Tool\ncoverage*.json\ncoverage*.xml\ncoverage*.info\n\n# Visual Studio code coverage results\n*.coverage\n*.coveragexml\n\n# NCrunch\n_NCrunch_*\n.NCrunch_*\n.*crunch*.local.xml\nnCrunchTemp_*\n\n# MightyMoose\n*.mm.*\nAutoTest.Net/\n\n# Web workbench (sass)\n.sass-cache/\n\n# Installshield output folder\n[Ee]xpress/\n\n# DocProject is a documentation generator add-in\nDocProject/buildhelp/\nDocProject/Help/*.HxT\nDocProject/Help/*.HxC\nDocProject/Help/*.hhc\nDocProject/Help/*.hhk\nDocProject/Help/*.hhp\nDocProject/Help/Html2\nDocProject/Help/html\n\n# Click-Once directory\npublish/\n\n# Publish Web Output\n*.[Pp]ublish.xml\n*.azurePubxml\n# Note: Comment the next line if you want to checkin your web deploy settings,\n# but database connection strings (with potential passwords) will be unencrypted\n*.pubxml\n*.publishproj\n\n# Microsoft Azure Web App publish settings. Comment the next line if you want to\n# checkin your Azure Web App publish settings, but sensitive information contained\n# in these scripts will be unencrypted\nPublishScripts/\n\n# NuGet Packages\n*.nupkg\n# NuGet Symbol Packages\n*.snupkg\n# The packages folder can be ignored because of Package Restore\n**/[Pp]ackages/*\n# except build/, which is used as an MSBuild target.\n!**/[Pp]ackages/build/\n# Uncomment if necessary however generally it will be regenerated when needed\n#!**/[Pp]ackages/repositories.config\n# NuGet v3's project.json files produces more ignorable files\n*.nuget.props\n*.nuget.targets\n\n# Microsoft Azure Build Output\ncsx/\n*.build.csdef\n\n# Microsoft Azure Emulator\necf/\nrcf/\n\n# Windows Store app package directories and files\nAppPackages/\nBundleArtifacts/\nPackage.StoreAssociation.xml\n_pkginfo.txt\n*.appx\n*.appxbundle\n*.appxupload\n\n# Visual Studio cache files\n# files ending in .cache can be ignored\n*.[Cc]ache\n# but keep track of directories ending in .cache\n!?*.[Cc]ache/\n\n# Others\nClientBin/\n~$*\n*~\n*.dbmdl\n*.dbproj.schemaview\n*.jfm\n*.pfx\n*.publishsettings\norleans.codegen.cs\n\n# Since there are multiple workflows, uncomment next line to ignore bower_components\n# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)\n#bower_components/\n\n# RIA/Silverlight projects\nGenerated_Code/\n\n# Backup & report files froLine truncated
|
||||
"VVVV": "\n# .v4p backup files\n*~.xml\n\n# Dynamic plugins .dll\nbin/\n",
|
||||
"Waf": "# For projects that use the Waf build system: https://waf.io/\n# Dot-hidden on Unix-like systems\n.waf-*-*/\n.waf3-*-*/\n# Hidden directory on Windows (no dot)\nwaf-*-*/\nwaf3-*-*/\n# Lockfile\n.lock-waf_*_build\n",
|
||||
"WordPress": "# WordPress - ignore core, configuration, examples, uploads and logs.\n# https://github.com/github/gitignore/blob/main/WordPress.gitignore\n\n# Core\n#\n# Note: if you want to stage/commit WP core files\n# you can delete this whole section/until Configuration.\n/wp-admin/\n/wp-content/index.php\n/wp-content/languages\n/wp-content/plugins/index.php\n/wp-content/themes/index.php\n/wp-includes/\n/index.php\n/license.txt\n/readme.html\n/wp-*.php\n/xmlrpc.php\n\n# Configuration\nwp-config.php\n\n# Example themes\n/wp-content/themes/twenty*/\n\n# Example plugin\n/wp-content/plugins/hello.php\n\n# Uploads\n/wp-content/uploads/\n\n# Log files\n*.log\n\n# htaccess\n/.htaccess\n\n# All plugins\n#\n# Note: If you wish to whitelist plugins,\n# uncomment the next line\n#/wp-content/plugins\n\n# All themes\n#\n# Note: If you wish to whitelist themes,\n# uncomment the next line\n#/wp-content/themes\n",
|
||||
"Xojo": "# Xojo (formerly REALbasic and Real Studio)\nBuilds - */\n*.debug\n*.debug.app\nDebug*.exe\nDebug*/Debug*.exe\nDebug*/Debug*\\ Libs\n*.rbuistate\n*.xojo_uistate\n*.obsolete*\n",
|
||||
"Yeoman": "node_modules/\nbower_components/\n*.log\n\nbuild/\ndist/\n",
|
||||
"Yii": "assets/*\n!assets/.gitignore\nprotected/runtime/*\n!protected/runtime/.gitignore\nprotected/data/*.db\nthemes/classic/views/\n",
|
||||
"ZendFramework": "# Composer files\ncomposer.phar\nvendor/\n\n# Local configs\nconfig/autoload/*.local.php\n\n# Binary gettext files\n*.mo\n\n# Data\ndata/logs/\ndata/cache/\ndata/sessions/\ndata/tmp/\ntemp/\n\n#Doctrine 2\ndata/DoctrineORMModule/Proxy/\ndata/DoctrineORMModule/cache/\n\n# Legacy ZF1\ndemos/\nextras/documentation\n",
|
||||
"Zephir": "# Cache files, generates by Zephir\n.temp/\n.libs/\n\n# Object files, generates by linker\n*.lo\n*.la\n*.o\n*.loT\n\n# Files generated by configure and Zephir,\n# not required for extension compilation.\next/build/\next/modules/\next/Makefile*\next/config*\next/acinclude.m4\next/aclocal.m4\next/autom4te*\next/install-sh\next/ltmain.sh\next/missing\next/mkinstalldirs\next/run-tests.php\next/.deps\next/libtool\n",
|
||||
"Zig": ".zig-cache/\nzig-out/\nzig-pkg/\n*.o\n"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
import { Buffer } from 'node:buffer';
|
||||
import { expect, test } from '@playwright/test';
|
||||
|
||||
test.describe('Tool - Hash text', () => {
|
||||
test('updates the added hashes when the digest encoding or input changes', async ({ page }) => {
|
||||
await page.goto('/hash-text?encoding=Hex');
|
||||
await page.getByPlaceholder('Your string to hash...').fill('hello world');
|
||||
|
||||
const algorithms = [
|
||||
'ADLER32',
|
||||
'CRC32',
|
||||
'BLAKE2B',
|
||||
'BLAKE2S',
|
||||
'BLAKE3',
|
||||
'KECCAK',
|
||||
'XXHASH32',
|
||||
'XXHASH64',
|
||||
'XXHASH3',
|
||||
'XXHASH128',
|
||||
'SM3',
|
||||
'WHIRLPOOL',
|
||||
];
|
||||
const digestInput = (algorithm: string) =>
|
||||
page
|
||||
.locator('.n-input-group')
|
||||
.filter({ has: page.getByText(algorithm, { exact: true }) })
|
||||
.getByRole('textbox');
|
||||
|
||||
await expect(digestInput('ADLER32')).toHaveValue('1a0b045d');
|
||||
const hexDigests = new Map<string, string>();
|
||||
for (const algorithm of algorithms) {
|
||||
await expect(digestInput(algorithm)).toHaveValue(/^[0-9a-f]+$/);
|
||||
hexDigests.set(algorithm, await digestInput(algorithm).inputValue());
|
||||
}
|
||||
|
||||
const encodings = [
|
||||
{
|
||||
label: 'Binary (base 2)',
|
||||
encode: (bytes: Buffer) => [...bytes].map((byte) => byte.toString(2).padStart(8, '0')).join(''),
|
||||
},
|
||||
{ label: 'Base64 (base 64)', encode: (bytes: Buffer) => bytes.toString('base64') },
|
||||
{ label: 'Base64url (base 64 with url safe chars)', encode: (bytes: Buffer) => bytes.toString('base64url') },
|
||||
{ label: 'Hexadecimal (base 16)', encode: (bytes: Buffer) => bytes.toString('hex') },
|
||||
];
|
||||
let currentLabel = 'Hexadecimal (base 16)';
|
||||
for (const { label, encode } of encodings) {
|
||||
await page.getByText(currentLabel, { exact: true }).and(page.locator('span')).click();
|
||||
await page.getByText(label, { exact: true }).and(page.locator('.c-select-dropdown-option')).click();
|
||||
for (const algorithm of algorithms) {
|
||||
await expect(digestInput(algorithm)).toHaveValue(encode(Buffer.from(hexDigests.get(algorithm)!, 'hex')));
|
||||
}
|
||||
currentLabel = label;
|
||||
}
|
||||
|
||||
await page.getByPlaceholder('Your string to hash...').fill('abc');
|
||||
await expect(digestInput('ADLER32')).toHaveValue('024d0127');
|
||||
});
|
||||
});
|
||||
@@ -70,7 +70,7 @@ const defaultHashWasmValues = {
|
||||
const hashWasmValues = computedAsync(async () => {
|
||||
const encodingValue = encoding.value;
|
||||
const clearTextValue = clearText.value;
|
||||
const ret = defaultHashWasmValues;
|
||||
const ret = { ...defaultHashWasmValues };
|
||||
for (const algo of algoWasmNames) {
|
||||
ret[algo] = formatHexWithEncoding(await algosWasm[algo](clearTextValue), encodingValue);
|
||||
}
|
||||
|
||||
@@ -34,23 +34,6 @@ const formats = [
|
||||
|
||||
const turndownService = new TurndownService();
|
||||
|
||||
function escapeMarkdown(text: string) {
|
||||
return text
|
||||
.replace(/\\/g, '\\\\') // escape backslash first
|
||||
.replace(/([*_#>|`])/g, '\\$1') // escape common markdown symbols
|
||||
.replace(/([\[\]\(\)])/g, '\\$1') // escape brackets and parentheses
|
||||
.replace(/\|/g, '\\|'); // escape table pipes
|
||||
}
|
||||
|
||||
turndownService.addRule('escapeText', {
|
||||
filter(node) {
|
||||
return node.nodeType === 3; // text nodes
|
||||
},
|
||||
replacement(content) {
|
||||
return escapeMarkdown(content);
|
||||
},
|
||||
});
|
||||
|
||||
addGFM(turndownService);
|
||||
|
||||
async function convertContent() {
|
||||
|
||||
@@ -20,23 +20,6 @@ const emphasisStyle = useQueryParamOrStorage<string>({
|
||||
|
||||
const turndownService = new TurndownService();
|
||||
|
||||
function escapeMarkdown(text: string) {
|
||||
return text
|
||||
.replace(/\\/g, '\\\\') // escape backslash first
|
||||
.replace(/([*_#>|`])/g, '\\$1') // escape common markdown symbols
|
||||
.replace(/([\[\]\(\)])/g, '\\$1') // escape brackets and parentheses
|
||||
.replace(/\|/g, '\\|'); // escape table pipes
|
||||
}
|
||||
|
||||
turndownService.addRule('escapeText', {
|
||||
filter(node) {
|
||||
return node.nodeType === 3; // text nodes
|
||||
},
|
||||
replacement(content) {
|
||||
return escapeMarkdown(content);
|
||||
},
|
||||
});
|
||||
|
||||
addGFM(turndownService);
|
||||
|
||||
turndownService.addRule('normalizedHeading', {
|
||||
|
||||
@@ -11,4 +11,5 @@ export const tool = defineTool({
|
||||
createdAt: new Date('2025-10-03'),
|
||||
category: 'Network',
|
||||
externAccessDescription: t('tools.iana-whois-checker.externalAccess'),
|
||||
requiresInternet: true,
|
||||
});
|
||||
+11
-2
@@ -5,14 +5,17 @@ import { appBaseUrl as base } from '@/utils/base-url';
|
||||
const modules = import.meta.glob<true, string, ToolWithCategory>('./*/index.ts', { eager: true, import: 'tool' });
|
||||
|
||||
// Both config files are optional; fetch them in parallel so app boot waits on at
|
||||
// most one network round-trip instead of two sequential ones.
|
||||
const [filterConfig, externalTools] = await Promise.all([
|
||||
// most one network round-trip instead of two sequential ones. tools-settings.json is
|
||||
// imported dynamically for the same reason: a static import would evaluate (and fetch)
|
||||
// it before this module's own fetches start.
|
||||
const [filterConfig, externalTools, { toolsSettings, isOfflineMode }] = await Promise.all([
|
||||
fetch(`${base}tools-filter.json`)
|
||||
.then((response) => (response.ok ? (response.json() as Promise<ToolsFilter>) : ({} as ToolsFilter)))
|
||||
.catch(() => ({}) as ToolsFilter),
|
||||
fetch(`${base}external-tools.json`)
|
||||
.then((response) => (response.ok ? (response.json() as Promise<ExternalTool[]>) : ([] as ExternalTool[])))
|
||||
.catch(() => [] as ExternalTool[]),
|
||||
import('@/tools-settings'),
|
||||
]);
|
||||
|
||||
const allModules: ToolWithCategory[] = Object.values(modules);
|
||||
@@ -45,7 +48,13 @@ const filters = {
|
||||
includeToolsFilterRegex: makeRegExp(filterConfig.includeToolsFilterRegex),
|
||||
};
|
||||
|
||||
const requiresInternet = ({ requiresInternet }: ToolWithCategory) =>
|
||||
typeof requiresInternet === 'function' ? requiresInternet(toolsSettings) : Boolean(requiresInternet);
|
||||
|
||||
const filteredModules = allModules.filter((tool) => {
|
||||
if (isOfflineMode && requiresInternet(tool)) {
|
||||
return false;
|
||||
}
|
||||
const category = tool.category || 'Development';
|
||||
if (filters.includeToolsFilterRegex?.test(tool.path)) {
|
||||
return true;
|
||||
|
||||
@@ -11,4 +11,5 @@ export const tool = defineTool({
|
||||
createdAt: new Date('2024-01-17'),
|
||||
category: 'Network',
|
||||
externAccessDescription: t('tools.ip-geo-location.externalAccess'),
|
||||
requiresInternet: true,
|
||||
});
|
||||
@@ -30,11 +30,22 @@ const sourcePort = ref<number | null>(null);
|
||||
const destinationPort = ref<number | null>(null);
|
||||
const ruleOrder = ref<number | null>(null);
|
||||
const chain = ref('INPUT');
|
||||
const command = computed(() => {
|
||||
let cmd = `iptables -A ${chain.value}`;
|
||||
if (ruleOrder.value) {
|
||||
cmd += ` ${ruleOrder.value}`;
|
||||
|
||||
// ports only exist on transport protocols, `--sport`/`--dport` are rejected by iptables otherwise
|
||||
const portProtocols = ['tcp', 'udp'];
|
||||
const isPortSupported = computed(() => portProtocols.includes(protocol.value));
|
||||
|
||||
watch(protocol, (newProtocol) => {
|
||||
if (!portProtocols.includes(newProtocol)) {
|
||||
sourcePort.value = null;
|
||||
destinationPort.value = null;
|
||||
}
|
||||
});
|
||||
|
||||
const command = computed(() => {
|
||||
// -A appends and takes no rule number, inserting at a given position requires -I
|
||||
const insertAt = ruleOrder.value && ruleOrder.value > 0 ? ruleOrder.value : null;
|
||||
let cmd = insertAt === null ? `iptables -A ${chain.value}` : `iptables -I ${chain.value} ${insertAt}`;
|
||||
if (protocol.value) {
|
||||
cmd += ` -p ${protocol.value}`;
|
||||
}
|
||||
@@ -44,11 +55,13 @@ const command = computed(() => {
|
||||
if (destinationIP.value) {
|
||||
cmd += ` -d ${destinationIP.value}`;
|
||||
}
|
||||
if (sourcePort.value !== null) {
|
||||
cmd += ` --sport ${sourcePort.value}`;
|
||||
}
|
||||
if (destinationPort.value !== null) {
|
||||
cmd += ` --dport ${destinationPort.value}`;
|
||||
if (isPortSupported.value) {
|
||||
if (sourcePort.value !== null) {
|
||||
cmd += ` --sport ${sourcePort.value}`;
|
||||
}
|
||||
if (destinationPort.value !== null) {
|
||||
cmd += ` --dport ${destinationPort.value}`;
|
||||
}
|
||||
}
|
||||
cmd += ` -j ${action.value}`;
|
||||
return cmd;
|
||||
@@ -70,16 +83,16 @@ const command = computed(() => {
|
||||
<NInput v-model:value="destinationIP" />
|
||||
</NFormItem>
|
||||
<NFormItem :label="t('tools.iptables-generator.texts.label-source-port')">
|
||||
<n-input-number-i18n v-model:value="sourcePort" />
|
||||
<n-input-number-i18n v-model:value="sourcePort" :disabled="!isPortSupported" />
|
||||
</NFormItem>
|
||||
<NFormItem :label="t('tools.iptables-generator.texts.label-destination-port')">
|
||||
<n-input-number-i18n v-model:value="destinationPort" />
|
||||
<n-input-number-i18n v-model:value="destinationPort" :disabled="!isPortSupported" />
|
||||
</NFormItem>
|
||||
<NFormItem :label="t('tools.iptables-generator.texts.label-chain')">
|
||||
<NSelect v-model:value="chain" :options="chainOptions" />
|
||||
</NFormItem>
|
||||
<NFormItem :label="t('tools.iptables-generator.texts.label-rule-order')">
|
||||
<n-input-number-i18n v-model:value="ruleOrder" />
|
||||
<n-input-number-i18n v-model:value="ruleOrder" :min="1" />
|
||||
</NFormItem>
|
||||
</NForm>
|
||||
|
||||
|
||||
@@ -54,7 +54,11 @@ const schemaUrl = useQueryParamOrStorage<string>({
|
||||
storageName: 'json-editor:schema',
|
||||
defaultValue: '',
|
||||
});
|
||||
const { schemas, errors: validationErrors } = useJsonSchemaValidation({ json: jsonText, schemaUrl, schemaData });
|
||||
const {
|
||||
schemas,
|
||||
errors: validationErrors,
|
||||
catalogAvailable,
|
||||
} = useJsonSchemaValidation({ json: jsonText, schemaUrl, schemaData });
|
||||
|
||||
function tryAutoRepair() {
|
||||
try {
|
||||
@@ -128,6 +132,7 @@ const formattedJson = computed(() => {
|
||||
...schemas.map((s) => ({ label: `${s.name} / ${s.description}`, value: s.url })),
|
||||
]"
|
||||
filterable
|
||||
:tag="!catalogAvailable"
|
||||
mb-4
|
||||
/>
|
||||
</n-form-item>
|
||||
|
||||
@@ -37,7 +37,11 @@ const schemaUrl = useQueryParamOrStorage<string>({
|
||||
storageName: 'json-linter:schema',
|
||||
defaultValue: '',
|
||||
});
|
||||
const { schemas, errors: validationErrors } = useJsonSchemaValidation({ json: jsonContent, schemaUrl, schemaData });
|
||||
const {
|
||||
schemas,
|
||||
errors: validationErrors,
|
||||
catalogAvailable,
|
||||
} = useJsonSchemaValidation({ json: jsonContent, schemaUrl, schemaData });
|
||||
|
||||
const indentSize = useITStorage('json-linter:indent-size', 3);
|
||||
const autoRepair = useITStorage('json-linter:repair', true);
|
||||
@@ -88,6 +92,7 @@ const cleanJson = computed(() => {
|
||||
...schemas.map((s) => ({ label: `${s.name} / ${s.description}`, value: s.url })),
|
||||
]"
|
||||
filterable
|
||||
:tag="!catalogAvailable"
|
||||
mb-4
|
||||
/>
|
||||
</n-form-item>
|
||||
|
||||
@@ -50,7 +50,11 @@ const schemaUrl = useQueryParamOrStorage<string>({
|
||||
storageName: 'json-prettify:schema',
|
||||
defaultValue: '',
|
||||
});
|
||||
const { schemas, errors: validationErrors } = useJsonSchemaValidation({ json: rawJson, schemaUrl, schemaData });
|
||||
const {
|
||||
schemas,
|
||||
errors: validationErrors,
|
||||
catalogAvailable,
|
||||
} = useJsonSchemaValidation({ json: rawJson, schemaUrl, schemaData });
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -95,6 +99,7 @@ const { schemas, errors: validationErrors } = useJsonSchemaValidation({ json: ra
|
||||
...schemas.map((s) => ({ label: `${s.name} / ${s.description}`, value: s.url })),
|
||||
]"
|
||||
filterable
|
||||
:tag="!catalogAvailable"
|
||||
mb-4
|
||||
/>
|
||||
</n-form-item>
|
||||
|
||||
@@ -83,6 +83,13 @@ describe('json models', () => {
|
||||
expect(result).toBe(expected);
|
||||
});
|
||||
|
||||
it('does not unescape an escaped backslash twice', () => {
|
||||
const escapedJson = '{\\"text\\":\\"line1\\\\nline2\\",\\"path\\":\\"C:\\\\\\\\new\\"}';
|
||||
const result = formatJson({ rawJson: escapedJson, unescapeJsonString: true, indentSize: 2 });
|
||||
const expected = '{\n "path": "C:\\\\new",\n "text": "line1\\nline2"\n}';
|
||||
expect(result).toBe(expected);
|
||||
});
|
||||
|
||||
it('handles single-quoted outer strings', () => {
|
||||
const escapedJson = '\'{\\\"id\\\":\\\"123\\\"}\'';
|
||||
const result = formatJson({ rawJson: escapedJson, unescapeJsonString: true, indentSize: 2 });
|
||||
|
||||
@@ -28,6 +28,17 @@ function unescapeUnicodeJSON(str: string) {
|
||||
return str.replace(/\\u([\dA-Fa-f]{4})/g, (match, grp) => String.fromCharCode(Number.parseInt(grp, 16)));
|
||||
}
|
||||
|
||||
const JSON_STRING_ESCAPES: Record<string, string> = {
|
||||
'"': '"',
|
||||
'\\': '\\',
|
||||
'/': '/',
|
||||
n: '\n',
|
||||
r: '\r',
|
||||
t: '\t',
|
||||
f: '\f',
|
||||
b: '\b',
|
||||
};
|
||||
|
||||
function unescapeJson(jsonString: string): string {
|
||||
try {
|
||||
// First, try to handle double-escaped scenarios
|
||||
@@ -40,16 +51,9 @@ function unescapeJson(jsonString: string): string {
|
||||
result = result.slice(1, -1);
|
||||
}
|
||||
|
||||
// Handle common escape sequences
|
||||
result = result
|
||||
.replace(/\\"/g, '"') // Unescape quotes
|
||||
.replace(/\\\\/g, '\\') // Unescape backslashes (do this after quotes!)
|
||||
.replace(/\\n/g, '\n') // Unescape newlines
|
||||
.replace(/\\r/g, '\r') // Unescape carriage returns
|
||||
.replace(/\\t/g, '\t') // Unescape tabs
|
||||
.replace(/\\f/g, '\f') // Unescape form feeds
|
||||
.replace(/\\b/g, '\b') // Unescape backspaces
|
||||
.replace(/\\\//g, '/'); // Unescape forward slashes
|
||||
// Handle common escape sequences in a single pass, so an escaped backslash
|
||||
// is not unescaped twice: `\\\\n` becomes `\\n`, not a newline
|
||||
result = result.replace(/\\(["\\/nrtfb])/g, (_, char: string) => JSON_STRING_ESCAPES[char]);
|
||||
|
||||
return result;
|
||||
} catch {
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
import { describe, expect, it, vi } from 'vitest';
|
||||
import { DEFAULT_SCHEMA_CATALOG_URL, fetchSchemaCatalog, resolveSchemaCatalogUrl } from './schema-catalog';
|
||||
|
||||
describe('schema-catalog', () => {
|
||||
const mirror = { 'json-schemas': { 'catalog-url': ' https://intranet.example/schemastore/catalog.json ' } };
|
||||
|
||||
it('uses schemastore.org online and no catalog offline when no mirror is configured', () => {
|
||||
expect(resolveSchemaCatalogUrl({}, false)).to.equal(DEFAULT_SCHEMA_CATALOG_URL);
|
||||
expect(resolveSchemaCatalogUrl({}, true)).to.equal('');
|
||||
});
|
||||
|
||||
it('uses the configured mirror online and offline', () => {
|
||||
expect(resolveSchemaCatalogUrl(mirror, false)).to.equal('https://intranet.example/schemastore/catalog.json');
|
||||
expect(resolveSchemaCatalogUrl(mirror, true)).to.equal('https://intranet.example/schemastore/catalog.json');
|
||||
});
|
||||
|
||||
it('does not fetch without a catalog URL', async () => {
|
||||
const fetchSpy = vi.spyOn(globalThis, 'fetch');
|
||||
expect(await fetchSchemaCatalog('')).to.deep.equal([]);
|
||||
expect(fetchSpy).not.toHaveBeenCalled();
|
||||
fetchSpy.mockRestore();
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,29 @@
|
||||
import { type ToolsSettings, getToolsSettingString } from '@/utils/tools-settings';
|
||||
|
||||
export interface SchemaStore {
|
||||
name: string;
|
||||
description: string;
|
||||
url: string;
|
||||
fileMatch: string[];
|
||||
versions?: string[];
|
||||
}
|
||||
|
||||
export const DEFAULT_SCHEMA_CATALOG_URL = 'https://www.schemastore.org/api/json/catalog.json';
|
||||
|
||||
/**
|
||||
* The schema catalog to list in the schema picker: `"json-schemas": { "catalog-url": "..." }` from tools-settings.json
|
||||
* (e.g. an intranet mirror of schemastore.org), else schemastore.org itself, except in offline mode where there is
|
||||
* no catalog ('') and only custom or user-entered schemas are available.
|
||||
*/
|
||||
export function resolveSchemaCatalogUrl(settings: ToolsSettings, offline: boolean): string {
|
||||
return getToolsSettingString(settings, 'json-schemas', 'catalog-url') || (offline ? '' : DEFAULT_SCHEMA_CATALOG_URL);
|
||||
}
|
||||
|
||||
export async function fetchSchemaCatalog(catalogUrl: string): Promise<SchemaStore[]> {
|
||||
if (!catalogUrl) {
|
||||
return [];
|
||||
}
|
||||
const catalog = await fetch(catalogUrl);
|
||||
const catalogJson: { $schemaUrl: string; schemas: SchemaStore[]; version: number } = await catalog.json();
|
||||
return catalogJson.schemas;
|
||||
}
|
||||
@@ -1,14 +1,8 @@
|
||||
import { type Schema, Validator } from 'jsonschema';
|
||||
import { isRef, onBeforeMount, ref, watch } from 'vue';
|
||||
import { type MaybeRef, get } from '@vueuse/core';
|
||||
|
||||
export interface SchemaStore {
|
||||
name: string;
|
||||
description: string;
|
||||
url: string;
|
||||
fileMatch: string[];
|
||||
versions?: string[];
|
||||
}
|
||||
import { type SchemaStore, fetchSchemaCatalog, resolveSchemaCatalogUrl } from './schema-catalog';
|
||||
import { isOfflineMode, toolsSettings } from '@/tools-settings';
|
||||
|
||||
export function useJsonSchemaValidation({
|
||||
json,
|
||||
@@ -23,10 +17,12 @@ export function useJsonSchemaValidation({
|
||||
const schema = ref<Schema | null>(null);
|
||||
const errors = ref<string[]>([]);
|
||||
|
||||
// Offline without a configured catalog mirror there is no catalog to pick from: only custom or user-entered schemas
|
||||
const catalogUrl = resolveSchemaCatalogUrl(toolsSettings, isOfflineMode);
|
||||
const catalogAvailable = catalogUrl !== '';
|
||||
|
||||
onBeforeMount(async () => {
|
||||
const catalog = await fetch('https://www.schemastore.org/api/json/catalog.json');
|
||||
const catalogJson: { $schemaUrl: string; schemas: SchemaStore[]; version: number } = await catalog.json();
|
||||
schemas.value = catalogJson.schemas;
|
||||
schemas.value = await fetchSchemaCatalog(catalogUrl);
|
||||
});
|
||||
|
||||
watch(
|
||||
@@ -81,5 +77,5 @@ export function useJsonSchemaValidation({
|
||||
{ immediate: true },
|
||||
);
|
||||
|
||||
return { schemas, errors };
|
||||
return { schemas, errors, catalogAvailable };
|
||||
}
|
||||
@@ -6,23 +6,39 @@ import { computedRefreshable } from '@/composable/computedRefreshable';
|
||||
import { useCopy } from '@/composable/copy';
|
||||
import { useQueryParamOrStorage } from '@/composable/queryParams';
|
||||
import { randIntFromInterval } from '@/utils/random';
|
||||
import { clamp } from '@/modules/shared/number.models';
|
||||
|
||||
const { t } = useI18n();
|
||||
|
||||
const defaultSentences = [3, 8];
|
||||
const defaultWords = [8, 15];
|
||||
const paragraphs = useQueryParamOrStorage({ name: 'paragraphs', storageName: 'lorem:paragraphs', defaultValue: 1 });
|
||||
const sentences = useQueryParamOrStorage({ name: 'sentences', storageName: 'lorem:sentences', defaultValue: [3, 8] });
|
||||
const words = useQueryParamOrStorage({ name: 'words', storageName: 'lorem:words', defaultValue: [8, 15] });
|
||||
const sentences = useQueryParamOrStorage({
|
||||
name: 'sentences',
|
||||
storageName: 'lorem:sentences',
|
||||
defaultValue: defaultSentences,
|
||||
});
|
||||
const words = useQueryParamOrStorage({ name: 'words', storageName: 'lorem:words', defaultValue: defaultWords });
|
||||
const startWithLoremIpsum = ref(true);
|
||||
const asHTML = useQueryParamOrStorage({ name: 'html', storageName: 'lorem:html', defaultValue: false });
|
||||
const language = useQueryParamOrStorage({ defaultValue: 'English', storageName: 'lorem:lang', name: 'lang' });
|
||||
|
||||
// URL params are neither type-checked nor bounded by the sliders: fall back to the default when the value has the wrong
|
||||
// shape, and clamp it to the slider range so huge values cannot freeze the page
|
||||
const sliderValue = (value: unknown, fallback: number, max: number) =>
|
||||
typeof value === 'number' && Number.isFinite(value) ? clamp({ value, min: 1, max }) : fallback;
|
||||
const randIntFromSliderRange = (range: unknown, [defaultMin, defaultMax]: number[]) => {
|
||||
const [min, max] = Array.isArray(range) ? range : [];
|
||||
return randIntFromInterval(sliderValue(min, defaultMin, 50), sliderValue(max, defaultMax, 50));
|
||||
};
|
||||
|
||||
const supportedLanguages = getSupportedLanguages();
|
||||
const [loremIpsumText, refreshLoremIpsum] = computedRefreshable(() =>
|
||||
generateLoremIpsum({
|
||||
paragraphCount: paragraphs.value,
|
||||
paragraphCount: sliderValue(paragraphs.value, 1, 20),
|
||||
asHTML: asHTML.value,
|
||||
sentencePerParagraph: randIntFromInterval(sentences.value[0], sentences.value[1]),
|
||||
wordCount: randIntFromInterval(words.value[0], words.value[1]),
|
||||
sentencePerParagraph: randIntFromSliderRange(sentences.value, defaultSentences),
|
||||
wordCount: randIntFromSliderRange(words.value, defaultWords),
|
||||
startWithLoremIpsum: startWithLoremIpsum.value,
|
||||
language: language.value,
|
||||
}),
|
||||
|
||||
@@ -3,6 +3,7 @@ import type { Themes } from 'md-editor-v3';
|
||||
import { MdEditor } from 'md-editor-v3';
|
||||
|
||||
import 'md-editor-v3/lib/style.css';
|
||||
import './md-editor-extensions';
|
||||
import { useStyleStore } from '@/stores/style.store';
|
||||
|
||||
const theme = ref<Themes>('light');
|
||||
@@ -21,3 +22,14 @@ const markdown = ref('Sample _formatted_ *text*');
|
||||
<MdEditor v-model="markdown" :theme="theme" language="en-US" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style lang="less">
|
||||
// highlight.js theme for code blocks. md-editor-v3 would fetch it from a CDN, but not once it
|
||||
// is given a highlight.js instance. With its default props (codeTheme 'atom', codeStyleReverse
|
||||
// on the 'default' preview theme) code blocks always use the dark variant, in both app themes.
|
||||
// Scoped to the editor with :where() so the rules keep their original specificity and don't
|
||||
// restyle highlight.js output elsewhere in the app.
|
||||
:where(.md-editor) {
|
||||
@import (less) 'highlight.js/styles/atom-one-dark.css';
|
||||
}
|
||||
</style>
|
||||
Loaded 100 of 150 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user