The Blog

Musings of a Designer Wannabe Developer

LinkedIn Articles vs. Posts — What’s The Difference?

Early 2017, LinkedIn made some significant changes to its desktop browser layout and design. Features have come and gone, elements have been shuffled around, and some terminology has changed. But the most important question remains: What is the best way to share content to boost my visibility?

We will look at the 2 choices on your home page:

  • Share an article, photo, or update
  • Write an article

Read more

Adding Multi-byte UTF-8 support in Drupal 7

You need at least version 5.5.3 of MySQL. Check your version number before you proceed:

mysql --version

1: Edit MySQL settings

1.1: Edit your MySQL config file:

sudo vi /etc/mysql/my.cnf

1.2: Add these lines in the [mysqld] section:

innodb_large_prefix=true
innodb_file_format=barracuda
innodb_file_per_table=true

1.3: To load the new settings, restart MySQL:

Read more

Satisfying Server Requirements of Common Drupal 7 Modules

These instructions were tested under Ubuntu 14.04.5 LTS using PHP 5.6.

If you’re wondering how to upgrade to PHP 5.6 on Ubuntu 14.04.5 then read Step 2 of this article.


Advanced CSS/JS Aggregator

AdvAgg requires Apache’s mod_headers and mod_expires to be enabled. The following commands will accomplish that.

In a terminal run:

Read more

Drupal 7 Website Migration to Ubuntu 14.04 LTS Server

There are various ways of transferring files between Linux systems. scp uses encryption making it a good option when copying sensitive data between two remote locations. For this use case, rsync makes the most sense as we will be transferring files between development, testing and production servers all on the same local network.

In this guide I am moving a Drupal installation, but these instructions can be applied to any other use case.

1: Copying the files

We…

Read more

Installing Ubuntu 14.04 LTS Server with PHP 5.6

Overview

  1. Download and install Ubuntu
  2. Set system clock
  3. Upgrade to PHP 5.6
  4. Activate root user

1: Download and Install Ubuntu

1.1: Download

Pick your breed of “Trusty Tahr” below. I’ll be going with the 64-bit Server for this guide.

http://releases.ubuntu.com/14.04.5/

1.2: Install

Load your CD (or mount the ISO) to begin the installer.

Follow the prompts; here’s the…

Read more

Install Composer for Ubuntu 14.04 LTS and Drupal 7

Overview

  1. Prepare server
  2. Install Composer globally
  3. Install drush via Composer
  4. Install and enable Composer Manager module in Drupal
  5. Get BAT libraries via Composer

Although these instructions are for getting Booking and Availability Tools running on Drupal, each section stands on its own and may be useful for other purposes.

These instructions are for Ubuntu 12.04.5 LTS, and also tested on 14.04.5 LTS with PHP 5.6. It may need to be slightly adjusted for other versions of Linux.

1. Prepare server…

Read more

Using a Bootstrap LESS Subtheme with Drupal 7

Overview

  1. Install LESS Compiler
  2. Create the subtheme
  3. Download Bootstrap source
  4. Compile the LESS files
  5. Enable Your Subtheme
  6. Copy template files from the parent theme (Optional)
  7. Closing

1: Install LESS Compiler

These instructions are for Ubuntu 12.04 LTS. It may need to be slightly adjusted for other versions of Linux.

1.1: Install NVM (Node Version Manager)

Install a C++ Compiler

As a matter of best practice we’ll update our packages:

Read more