- To shut down Nginx on macOS, you can use the following commands in your terminal. Please note that you might need administrative privileges (sudo) to stop Nginx, depending on how it was installed. Open Terminal: You can find Terminal in the Utilities folder within the Applications folder, or you can use Spotlight Search (Cmd + […]
- How to solve ? pecl install libyaml No releases available for package "pecl.php.net/libyaml" install failed Try the following ? pear clear-cachepear update-channelspear upgrade try this command instead pecl install yaml The post How to solve “No releases available for package pecl.php.net/libyaml” ? appeared first on David Raleche.
- Checklist ELEGANT CODING/ PROGRAMMING appreciated Utilize the guard clause writing style instead of the traditional if-else approach. Use Guard Clauses for Cleaner Code There should be no business logic in the controller (Sanity check okay) There should be no database code in the service or controller classes Solid principles: Ensure that the code follows the […]
- If you try something git merge feature/the-feature-branch-XXX and you see merge: feature/the-feature-branch-XXX – not something we can merge SOLUTION in 2 steps step 1 : git checkout –track origin/feature/the-feature-branch-XXX step 2 git checkout release/target_branch step 3 (try again) : git mergefeature/the-feature-branch-XXX The post How to resolve git merge – – not something we can merge […]
- Solid principles: Ensure that the code follows the SOLID principles of object-oriented design, which include Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles. These principles promote clean, maintainable, and extensible code. Type hinting: Use type hints in function and method declarations to specify the expected data types for parameters and return values. […]