Bash Magic
Paul Brown · 04/09/2024 · 1 min read
Loop to perform a command multiple times
for i in {1..20}; do php artisan test --filter ReflectionMethodHelperTest; done;
Paul Brown · 04/09/2024 · 1 min read
for i in {1..20}; do php artisan test --filter ReflectionMethodHelperTest; done;
Andy Brown · 31/07/2024 · 1 min read
The dig (Domain Information Groper) DNS tool is a command line too for querying DNS servers.
dig google.com
you will get...Andy Brown · 31/07/2024 · 1 min read
gt create --all --message "Some commit message here"
: Create a branch for the current changes.Andy Brown · 28/07/2024 · 3 min read
A look at the differences between Kotlin and Swift classes
Andy Brown · 18/07/2024 · 8 min read
The first post in a series exploring how to build a custom smart thermostat. This post focuses on controlling the boiler with a relay.
Andy Brown · 17/07/2024 · 1 min read
A look at the differences between Kotlin and Swift enums
Andy Brown · 17/07/2024 · 1 min read
In Python you can use the @dataclass
decorator to simplify the creation of classes that are primariliy used to store data. It automatically generate...
Andy Brown · 01/07/2024 · 1 min read
Be careful when using something like this:
extension View {
@ViewBuilder
func applyIf(_ condition:...
Andy Brown · 26/06/2024 · 1 min read
⌘ command + ⌥ option + ⇧ shift + H
Select one/all and hit: ⌘ command + ⇧ shift + D
Sel...