Settings files for Sublimetext, previous next tab and look

Setting files for Sublimetext are in this folder in Ubuntu: ~/.config/sublime-text-3/Packages/User

General settings
Insert this in ~/.config/sublime-text-3/Packages/User/Preferences.sublime-settings to change the skin, font size, tab size, convert tabs to spaces, etc. You might have to install the Solarized Color Scheme as a Package first:

Lando and Docker

Lando is a Docker based development tool, which is much faster than Vagrant-based tools, since processes are run in containers directly on the host machine.

The requirements on the host machine. Note that a database is not required:

ScotchBox Composer Drupal 8

Setting up ScotchBox 3.5 (Ubuntu 16.04) for Drupal 8 using the official Composer template.


With the CiviCRM command line tool cv you can run cron jobs and perform other related tasks from the terminal.

To install cv without sudo access, for example on shared hosting, you can install cv. First, you need to find (in this case in Scotch Box / Vagrant) the available environment paths with:



virtual host in Scotch Box

Sometimes you want to host multiple sites in a single virtual Scotch Box public_html folder, or any other Vagrant+VirtualBox setup.

Devel mail debugging

A simple way of debugging email with drush in Drupal 7 using Devel module in a few steps:

Download and install the Devel module:

drush dl devel && drush en devel -y

Add this code to settings.php:

$conf['mail_system'] = array(
  'default-system' => 'DevelMailLog',

Flush the site cache:

drush cc all

apache URL redirects work with curl

With curl you can check if redirects in your apache or .htaccess configuration works. You can add the options -I and -L for a better result, if there are multiple redirects. The option -I will get only the header of the page and option -L allows multiple redirects.

Sublime text no menu

I am not sure how it happens, but sometimes the menu disappears in Sublimetext.

Here is an easy way to restore it:


With these commands, you can install a Solr server, create a Solr core and copy the configuration files from the Drupal search_api_solr module to your Solr core.

Scotch Box

Here are the commands to create a new Scotch Box 3.5 with Ubuntu 16.04 and PHP 7, which is the free version.