5 مستودعات
Sets a variable based on whether a source value matches a condition, with a default fallback.
Distinct from Fallback Parameter Values: Distinct from Fallback Parameter Values: focuses on conditional logic with a default fallback, not just static parameter defaults.
Explore 5 awesome GitHub repositories matching software engineering & architecture · Conditional Value Mappings. Refine with filters or upvote what's useful.
Stylus is a CSS preprocessor that transforms a dynamic language into standard CSS. It utilizes a compilation workflow to enable the use of variables, nesting, and arithmetic, which are then rendered into stylesheets for use in frontend asset pipelines. The project is distinguished by a flexible syntax that allows for indentation-based styling, meaning curly braces, colons, and semicolons can be omitted. It further differentiates itself through a JavaScript-driven plugin pipeline and the ability to extend the native syntax with custom JavaScript functions for complex logic. Its capability sur
Defines a variable only if it does not already have a value to prevent overwriting.
This is an infrastructure as code tool and serverless deployment orchestrator that provides a shorthand syntax for defining serverless infrastructure. It functions as a framework for transforming concise resource declarations into full AWS CloudFormation templates to automate the provisioning of cloud functions, APIs, and databases. The project distinguishes itself by using a macro-based transformation system to expand simplified resource types into detailed infrastructure components. It includes an automated permission mapping system that translates high-level resource interaction intents in
Assigns different configuration values based on environment variables or geographic regions using lookup systems.
Webhook.site is a web-based tool that captures, inspects, and debugs incoming HTTP requests and emails sent to a unique URL, without requiring any server setup. It also functions as an API mocking and response modification tool, capable of generating mock APIs from OpenAPI specifications and altering HTTP responses, headers, and status codes for testing purposes. Beyond inspection, it serves as a platform for webhook automation and workflow orchestration, triggering multi-step automations—including database queries, SSH commands, and HTTP calls—when a webhook is received. The service distingu
Provides conditional value mapping with fallback for webhook data transformation.
vim-sensible هو إضافة إعدادات وإعداد مسبق للمحرر لـ Vim يوفر أساسًا من التفضيلات الافتراضية المتفق عليها. ينفذ مجموعة من إعدادات المحرر القياسية والافتراضات السلوكية لضمان تجربة بداية متسقة عبر بيئات مختلفة. ينشئ المشروع مجموعة عالمية من تفضيلات الواجهة وتحسينات سهولة الاستخدام، مستهدفًا بشكل خاص حركة المؤشر، والبحث، وتحرير النصوص. ويدير هذه الافتراضات من خلال تطبيق إعداد مسبق يسمح بمزيد من التخصيص بناءً على سير العمل الفردي.
Implements logic to assign default settings only if they have not been previously defined by the user.
هذا المشروع عبارة عن مورد تعليمي شامل يتكون من برنامج تعليمي لبرمجة Bash، ومرجع للنصوص البرمجية، ودليل سطر أوامر Linux. يوفر مواد تعليمية لكتابة النصوص البرمجية، وأتمتة مهام النظام، وإتقان التنقل في الطرفية (terminal) وإدارة أنظمة Unix. تغطي الأدلة مجموعة واسعة من تخصيص بيئة shell، بما في ذلك تنسيق المطالبة (prompt) واستخدام الأسماء المستعارة (aliases). كما يوفر دليلاً لبيئة shell لإدارة ملفات التكوين وتهيئة بيئات المستخدم. تفصل المواد مجموعة واسعة من القدرات بما في ذلك منطق تدفق التحكم، وإدارة البيانات باستخدام المصفوفات المفهرسة والترابطية، ومعالجة النصوص. تشمل المجالات الأخرى المغطاة إدارة الملفات والموارد، ومطابقة الأنماط باستخدام التعبيرات النمطية (regex)، وأدوات المراقبة لتصحيح أخطاء النصوص والتحقق من صحة البنية. يشرح المورد أيضاً ميزات الطرفية التفاعلية مثل استرجاع سجل الأوامر، وإكمال الإدخال، واختصارات لوحة المفاتيح للتنقل في سطر الأوامر.
Explains the logic for assigning default values when a variable is undefined or empty.