David Carrdcblog.dev·Nov 5, 2022Laravel use multiple boot in traitsLet's say you want to use multiple traits in your models to reuse common code such as applying UUIDs and settings global query scopes like this: use HasUuid; use HasTenant; Each of these traits has a boot method: HasUuid: trait HasUuid { public f...Discuss·188 readstraits
Bogdan CornianuProbogdancornianu.hashnode.dev·Dec 13, 2018How to investigate Ubuntu slow bootInvestigating why Ubuntu boots slowly can be difficult. There are a lot of things that can go wrong: a lingering service, a bad config file, a wrong disk uuid in fstab and others. In my opinion the easiest way to start is by using “systemd-analyze” w...Discuss·33 readsBoot