person using macbook pro on white table

Can’t Send Emails with Surfshark VPN? Here’s the Fix

If you’re having trouble sending emails while using Surfshark VPN on Mac Mail, iPhone Mail, or Android Mail, the issue is likely due to SMTP port blocking. This can prevent your email app from connecting to the outgoing mail server. Why This Happens VPNs often block certain email ports to prevent spam. The best port for sending email securely […]

Can’t Send Emails with Surfshark VPN? Here’s the Fix Read More »

brown and silver telescope near body of water during daytime

Fix: Forbidden – a valid x-typesense-api-key header must be sent.

You might encounter the following error with Typesense in PHP / Laravel / Scout: While it seems like something is missing, it could also be, because the scope of your API key is too strict. When trying to create a key that has access to all scopes + all permissions, you can check if it

Fix: Forbidden – a valid x-typesense-api-key header must be sent. Read More »

black laptop computer turned on displaying blue screen

Laravel: Using Alternative .env Files Based on HTTP Host

Sometimes you need to use different environment configurations based on your host. Here’s a simple solution to achieve this in Laravel. Implementation Add the following code to your bootstrap/app.php file, before the return statement: $envFile = ‘.env’; if (isset($_SERVER[‘HTTP_HOST’]) && str_contains($_SERVER[‘HTTP_HOST’], ‘alternativehost.test’)) { $envFile = ‘.env.althost’; } Want to let it work with php artisan

Laravel: Using Alternative .env Files Based on HTTP Host Read More »

Carbon Footprint of Litecoin

Carbon Footprint of a single Litecoin Transaction: a back of the envelope style analysis

A back of the envelope rough estimate of Litecoin comes to an estimate of about 30kg of CO2e per Litecoin transaction. Assessing the carbon footprint of cryptocurrency transactions involves many uncertainties and assumptions, so this could be far of. Calculation While concerns about energy usage and climate impact grow, many are curious about the carbon

Carbon Footprint of a single Litecoin Transaction: a back of the envelope style analysis Read More »

Crypto

Highest Crypto Staking Rewards Table – Various Wallets Compared

I’ve created an overview of various wallets and staking providers, like: Be aware, investing/trading in crypto brings significant risks. Also having these wallets + staking can have security risks. This article is not intended as financial advice. View a more up-to-date and larger table here. Coin Bitvavo (%) BitGo (%) Atomic (%) Exodus (%) Axie

Highest Crypto Staking Rewards Table – Various Wallets Compared Read More »

shallow focus photography of gray mailbox

Laravel use Sendmail with Postfix and a Fallback – custom mailer

There are times when you’d like to use sendmail instead of services like Mailgun, given their pricing. For example, when ordering a VPS at TransIP, they will give you 1000 free mail sends at the moment of writing. Unfortunately, Laravel’s fallback doesn’t support it when Postfix is down. That is why I + GPT wrote

Laravel use Sendmail with Postfix and a Fallback – custom mailer Read More »

Security Logo

Laravel Security Best Practices – A List of Tips for Coding

In this blog we describe a few easy security mistakes and how to fix them. 1. Not Using HTTPS 2. Using Weak Encryption Keys 3. Not Validating Input Data 4. Storing Sensitive Data in the Codebase 5. Improper File Permissions 6. Not Escaping User-Generated Content {{ $userInput }} // Escaped{!! $userInput !!} // Unescaped (Be careful) 7. Not Limiting Mass Assignment 8. Exposing

Laravel Security Best Practices – A List of Tips for Coding Read More »

Top Apps from the Amazon App Store for your Fire Table or Device

In the vast digital realm, your Amazon Fire tablet or Mobile Android device is a portal to an extraordinary experience, provided you equip it with the right apps. The Amazon App Store is a treasure trove of apps that cater to every imaginable need, from streaming and music to education and sustainability. Let’s dive into

Top Apps from the Amazon App Store for your Fire Table or Device Read More »

en_USEnglish
Scroll to Top