Duane Blake

Front end developer

How to set a user session time in Laravel

By default Laravel when logging a user into a website the session time is set to 120 minutes. They may be instances where you need this increased. As with most things in Laravel Its straight forward to do.

How to set a user session time in Laravel

Working with and Optimising images on the command line in Linux

Using the command line there are optimisation you can do with images rather than using a photo editing program to perform some basic image editing. The code below is what I tend to use more often. For all the code below its assuming Debian based system like Ubuntu.

Working with and Optimising images on Ubuntu

Moving from Sass to PostCss

Now that I tend to use TailwindCss for most of my projects I’ve noticed that I don’t really use Sass anymore. I was and still a huge fan of Sass/Scss and I still do use it on legacy projects. When I first started using Sass, I used to use loads of the features sass offers such as writing functions to build grids, convert px to rems and create colour palettes. But now CSS is getting increased features this isn’t the case much anymore.