Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 979 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 979 Bytes

Scripts

Collection of all my scripts for Windows, MacOS, and all my Linux systems.

Naming Conventions:

This is an overview of my wacky/unorthodox naming conventions.

General Conventions:

  • Descriptive names: Use descriptive names that convey the script's functionality. (eg. configure_system, update_dependencies).

Language Specific Conventions:

  • Python: Lowercase with underscores (e.g., script_name.py).

  • Shell (Bash, ZSH, POSIX sh / dash, Fish): Lowercase with hyphens (e.g., script-name.sh).

  • Powershell: PascalCase with verb-hyphen (e.g., Get-ProcessInformation.ps1).

Explanation:

  • PascalCase: The first letter of each word is capitalized (e.g., GetProcessInformation).

  • Verb-Hyphen: When the name starts with a verb (action word), it's followed by a hyphen (-) before the noun describing the target (e.g., Get-Process, Set-Service). This aligns with the naming convention for built-in PowerShell cmdlets.