The .env and config files used by Laravel are a great way to separate configuration code from configuration values. However, managing multiple front-end servers requires duplicating your .env file and updating it every time you add or change a variable. To solve this problem, I’ve created a simple solution that is fully transparent to Laravel […]
Read more..
So you invited someone to be a developer on your team, they accepted the invitation, they can use AppStore Connect, but not Apple Developer. What gives? Organization You must be an organization for your team members to get access to Apple Developer. If you are an individual developer, your team members get access to AppStore […]
Read more..
When deploying a Laravel project to a server, in an ideal scenario, there are two primary steps you should follow: Clone your git repository Configure the .env file However, the introduction of Laravel Passport seemed to disrupt this streamlined process. Every time I deployed to a new server, I found myself needing to manually copy […]
Read more..
As the use of Redis Sentinel with Laravel does not appear to be documented at the time of writing, I’m sharing the configuration I’m using. This is the redis section of my config/database.php: ‘redis’ => [ ‘client’ => env(‘REDIS_CLIENT’, ‘predis’), ‘options’ => [ // Don’t set ‘cluster’ option. The only valid values are ‘predis’ and […]
Read more..
When integrating a Filament panel into your Laravel project, you might find that Vite’s auto-reloading feature isn’t functioning as expected. This issue arises because the panel isn’t loading Vite-managed resources. While a long-term solution might involve crafting your own Filament theme that incorporates Vite, there’s a straightforward workaround available. By tweaking the AdminPanelProvider class to […]
Read more..
These notes are mostly for myself. Feel free to be inspired. Macbook Pro. Latest macOS or Ubuntu. Change hostname to something sensible. macOS Homebrew. As nice as macOS is, it’s incomplete without a good brew. AppCleaner has a great Smart Delete feature which ensures no files are left behind when you delete an app. Alfred. […]
Read more..
My homelab server is a NUC running Ubuntu that I previously used as a desktop. To ensure it automatically boots up after a power-failure I wanted to disable the LUKS full disk encryption that I use on all my desktops and laptops. GRUB method For some reason most how-to’s out there use this method: Generate […]
Read more..
As explained in my previous post, I get my IPv6 subnet through a tunnelbroker. This is a great way to use IPv6 when your Internet provider does not yet support it. There’s a downside though: the tunnel adds overhead in terms of both latency and a lower MTU. It also introduces an additional point where […]
Read more..
There’s are two longstanding issues using snap apps in Ubuntu. Two issues that still exist in Ubuntu 20.04 beta. Snap apps don’t show up in Gnome’s Activities view when using Wayland instead of Xorg. Snap apps cannot be started from the command-line when using zsh instead of bash. Looking into this, I ran into numerous […]
Read more..
After moving to China I ran into a few issues that got me to install a VPN. Namely: Latency. I frequently use SSH to access remote servers in US and EU and for some reason the latency here is terrible. Running SSH over a VPN seems to resolve this. A nice bonus is that idle […]
Read more..