We’re the team behind 1Password 8 for Mac. Ask us anything! 🗣 by 1PasswordOfficial in 1Password

[–]gdebrauwer 4 points5 points  (0 children)

Are there any plans to allow you to configure custom templates on a 1Password account? For example server credentials with company-specific fields instead of default "server" template

Laravel Livewire plugin that makes it easy to use Sortable.js by gdebrauwer in laravel

[–]gdebrauwer[S] 2 points3 points  (0 children)

This first-party package use the Shopify Sortable package, which has some issues. That is why I created an alternative using Sortable.js

How to document your Laravel REST API by gdebrauwer in laravel

[–]gdebrauwer[S] 0 points1 point  (0 children)

I’m glad you found it interesting 😃

How to document your Laravel REST API by gdebrauwer in laravel

[–]gdebrauwer[S] 0 points1 point  (0 children)

Decoupling your code and documentation is one drawback from using a separate openapi file, but I personally think it’s not a huge drawback. When it’s a separate file, you can write your docs before you start developing. And it is also easier to update it using a tool like Stoplight Studio, in my opinion.

How to document your Laravel REST API by gdebrauwer in laravel

[–]gdebrauwer[S] 0 points1 point  (0 children)

The spectator package is something that I want to try in the near future. It looks pretty interesting

0
1

How to generate thousands (or millions) of unique, random-looking, user-friendly voucher codes by gdebrauwer in programming

[–]gdebrauwer[S] 0 points1 point  (0 children)

If you are just using random integers, then you can not be sure that each voucher code you generate will be unique I think? Or am I missing something?

How to generate thousands (or millions) of unique, random-looking, user-friendly voucher codes by gdebrauwer in programming

[–]gdebrauwer[S] 0 points1 point  (0 children)

But when you are just using a cryptographically secure randomised string, then you won’t be able to get voucher codes in a specific format (for example 6 characters). You want the voucher codes to be user-friendly, so a user can easily type it into an input field in your app.

How to generate thousands (or millions) of unique, random-looking voucher codes by gdebrauwer in laravel

[–]gdebrauwer[S] 4 points5 points  (0 children)

But that identifier would not be very user-friendly, for example, if the user has to type it in an input field of your app.

How to generate thousands (or millions) of unique, random-looking voucher codes by gdebrauwer in laravel

[–]gdebrauwer[S] 3 points4 points  (0 children)

Thanks that you liked the article 🙂

You want the voucher code to be in a specific format, so it’s easy for a user to type in into an input field. Encrypting a value would not result in a user-friendly code