Easy Thumbnail Generation in PHP (Laravel Example)

Nowadays, thumbnail generation in PHP (or any other language) is a requirement for every modern Web App or Website we built. The time of resizing images on the front end is mostly gone. And, although thumbnail generation in PHP a relatively simple task already, the Intervention library makes it even more ridiculously easy.

Thumbnail Generation in PHP and Laravel

Installation

Require the library through composer:

composer require intervention/image

Continue reading

Command Line Script to Run Multiple Commands in Different Tabs

Multiple Log Tails in Different Command Line Tabs Image

Why Use a Bash Script that Launches Multiple Command Line Tabs?

Imagine you just rebooted your computer now for some reason…

Do you have this feeling of “Ok… Ii just need to open again a bunch command line tabs, run a series of scripts, start the log tails, open the IDE and I will be good to go!”?

If you still find yourself having to run all these commands, launching all the Docker containers and mounting the entire setup when you reboot your Linux machine, then keep reading! The solution may be a few lines of bash script 😉

Continue reading

The Front-End Web Developer Spectrum

Modern front-end web development is in constant change. The evolution is this area has been so rapid in the past years that sometimes it’s hard to keep up with the new kids on the block while maintaining focus on what needs to be done.

One example is this image, that gives you an overview of all the different tools and technologies that have a part in the front-end and JavaScript ecosystem.

(Since there is a huge chance that, while I am writing this article, there are 100325 new front-end tools being released, it’s possible that this image is already not completely up to date.)

The Front-End Spectrum

Front-End Spectrum

Continue reading

Feedly Slideshow Automation – When Laziness meets JavaScript

feedly

 

This post comes after one of those “when you’re so lazy to slide though your Feedly news that you write some JavaScript code to automate it” situations. Of course, if you’re not a lazy person or a programming geek like me, you may never have had one of those situations…

I guess I am not the only one who has one or more RSS collection on which I don’t want to read all the news. Only scroll through and check if something interesting catches my attention.

Those are the perfect collections for me to check while I am eating or just taking my break near the computer. Even more perfect if I don’t have to click for the news to change! :)

Continue reading