Set Image Sizes in WordPress

add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 610, 610, true ); // sets the default featured image dimensions. add_image_size( ‘theme-blog-vertical’, 405, 500, true ); add_image_size( ‘theme-blog-small-square’, 300, 300, true );

Install Samba on Ubuntu 20.04

Samba allows you to share your files with your Windows, Linux, Chrome OS computers, etc. It’s not really part of LAMP but for a development server it’s nice to have it. 1. Let’s install it 2. Edit the configuration file…

tar – The ZIP for Linux

tar is like the zip for Linux. It has just too many options / parameters. You need to know 2 combinations, one to create an archive and the other to extract files from an archive. If you want to learn…

Install MySQL 8 on Ubuntu 20.04

This is really easy. 1. Update UbuntuAn update is always a good thing 2. Install MySQL 3. Secure it (remove some test users, etc.) 4. And test it That’s it.

Chromebook Keyboard Shortcuts

You have a Chromebook and you seem to be missing lots of keys? Don’t worry. In a few days you’ll get by without any problems using a few keyboard shortcuts: ctrl + alt + / – Display all shortcuts alt…

Install PHP 7 on Ubuntu 20.04

If you have a server, you probably want to install PHP.A while ago I thought PHP is really primitive (I only used Java/JSP) but WordPress has changed that forever. Install PHP and PHP MySQL library (you will probably need it)…