Thursday, July 13, 2017

Bash Script to Run Multiple Commands in Different Tabs

Running Multiple Commands in Different Command Line Tabs


This small tutorial is directed at people that still have to do a lot of initial setup every time they reboot your Linux machine and are looking for some automation, with a simple bash script.
Creating a bash script to run multiple commands isn't really a hard task. I wrote some articles before about this here and here.
The tricky part was that I wanted some of those commands to run in different tabs so I can easily access the outputs for debugging purposes (like Docker containers, log monitoring, etc…).
I also didn’t want to go to the trouble of installing and configuring tools like tmux or tmuxifier (if you want something more advanced, definitely check them out!) for such a simple task like launching a few command line tabs. So, I decided to do some research and I found that the solution is rather simple if your Linux machine has gnome-terminal installed.


Saturday, February 4, 2017

Speed Up WordPress in 8 Actionable Steps


"Since nowadays, speed and performance are kings when it comes to SEO and user engagement (search for “page load time impact” on google, just don’t try to read everything because you will be overwhelmed), I decided to take a look on how to speed up my blog. Turns out that, with the right set of plugins and tools, it actually pretty easy to achieve a decent amount of performance improvement. In my case around 300% faster."
- quoted from joaoperibeiro.com

The website in this article went from 7 seconds load page time to less than 2 seconds and a 86 Points on YSlow (Grade B) to 95 Points on YSlow (Grade A) on “Small Site or Blog”.

All of this improvement in your WordPress by following this 8 actionable steps:


1. Optimize Media with Imagify or WP SmushIt

2. Lazy Load Images with Lazy Load plugin

3. Minify and Merge JavaScript and CSS using Fast Velocity Minify or WP Super Minify

4. Analyze Your WordPress Plugins P3 Profiler

5. Optimize the Database with WP-Optimize

6. Cache Content using WP Super Cache or W3 Total Cache and Far Future Expiry Header

7. Use Cloudflare

8. Use Nginx with PHP 7 and OPCache


Check out the full original article, with detailed information about each step, here.

Monday, January 2, 2017

Laravel PHP Framework - Year 2016 in Review

Laravel News just released a year review of the top articles, tutorials, packages and resources of the Laravel Framework during 2016.

If you are a Laravel user (or just thinking about being), you differently should check this out. If 80 is too much for you to go through, I leave you here my Top 5.

My Personal Top 5 From Laravel in 2016:




Congratulations to Laravel community for all this new packages and resources.


Bonus Laravel Resources:


If you're not yet a Laravel user (or starting now), this next post has a list of links and resources to learn and get good with Laravel 5.


Curious to see what Laravel will bring us in 2017.

Happy coding!