Category Web Development

DDOS By Web Crawlers

profile picture

I have this website that crawls reddit posts and put them online. There's hundred of thousands of entries, each one with their own URL. The listing is paginated, and thus it creates a lot of urls. All those URLS are then indexed by Web crawlers, w...

- - - - - - - - - - - - - - -

Nuxt - How to set the default locale based on the logged user

profile picture

Let's combine two Nuxt 2 plugins : nuxt-i18n and @nuxtjs/auth First we need to create a new @nuxtjs/auth plugin. This is fairly easy ! Let's assume that the user's language preference is indicated in the language property of the user objec...

- - - - - - - - - - - - - - -

How to fix Expired HTTPS Certificates with Laravel Valet (MacOs)

profile picture

Laravel Valet is awesome and it automatically set your local domains up with SSL certificates, so that you can use your local domain.test with https However, those certificates expire after some time and it's difficult to clean and or renew them...

- - - - - - - - - - - - - - -

Laravel Console Command to Automatically Restore a Backup from Spatie Laravel Backup Package

profile picture

spatie/laravel-backup is an amazing Laravel Package that allows you to automatically send backups of your laravel application to an AWS S3 Bucket. It's good practice to regularly trigger a "DB only" backup. What about automatic restore...

- - - - - - - - - - - - - - -

Laravel Valet - Too many parallel requests getting blocked

profile picture

I have this very specific project running in PHP 7.4 on my machine with Laravel Valet. It's a front end application in vuejs with a separate back end and they are communicating through an API. There's a page that makes a lot of requests in one g...

- - - - - - - - - - - - - - -

What is a Mixin in Vuejs ? Here's a simple explanation

profile picture

TL;DR : A Mixin is a script file containing some logic that you can import into a vuejs component. It is structured exactly like in the script tag of a classic component. It's main objective is to prevent re-writing the same logic in multiple compon...

- - - - - - - - - - - - - - -

Presenters in PHP - How to clean your views

profile picture

How to use a Presenter class Super simple! class BookPresenter extends Presenter { public function __construct( public Book $book ) {} public function price() { return number_format($this->book->price, 2); } }...

- - - - - - - - - - - - - - -

about me

profile picture

I consider myself as an IT Business Artisan. Or Consultant CTO. I'm a self-taught Web Developper, coach and teacher. My main work is helping and guiding digital startups.

more about me

follow me

newsletter

A weekly email with the latests articles

support my work

Start trading on binance
  • BTC

    BTC

    18SY81ejLGFuJ9KMWQu5zPrDGuR5rDiauM

  • ETH

    ETH

    0x519e0eaa9bc83018bb306880548b79fc0794cd08

  • Monero

    XMR

    895bSneY4eoZjsr2hN2CAALkUrMExHEV5Pbg8TJb6ejnMLN7js1gLAXQySqbSbfzjWHQpQhQpvFtojbkdZQZmM9qCFz7BXU

2024 © My Dynamic Production SRL All rights Reserved.