D8: Mapping IdP attributes to user entity fields

The following code is the hook provided by the D8 version of the module to map IdP attributes to user object fields.

Quick Install Guide (Ubuntu)

Drupal 8 has two main parts:
-Database
-Code

In very simple terms:
Database holds all changes you make to the content in the UI.
The code defines how the content will be rendered and styled among other things.

Install Apache (WebServer):
sudo apt-get update
sudo apt-get install apache2
sudo nano /etc/apache2/apache2.conf
Change 'server_domain_or_IP' to 'localhost:80' on this line:
ServerName server_domain_or_IP

File Permissions Fix when PHP handler is FastCGI

When your PHP Handler = FastCGI, your accounts' file permissions are slightly different.
Some VPS / dedicated servers are running an OS of CentOS and using WHM/cPanel to manage accounts.

Drupal 7 File Permissions script

View the Gist available on GitHub

How to use

Get the script into the account root (not the web root)
bash fix-drupal7-permissions.sh DRUPAL-DIRECTORY USER

Jquery Carousel

jQuery carousel is based on the jquery plugin http://github.com/richardscarrott/jquery-ui-carousel. It allows developers to create carousels using the data entered through the content types. The carousels could be vertical or Horizontal depending on the configurations. These carousels can be configured for "swipe to slide" on mobile devices as well.

Multi-byte UTF-8 support in Drupal 7

Drupal 7.50 introduces multi-byte UTF-8 support for MySQL and other database drivers, allowing for emojis, Asian symbols, mathematical symbols, etc.

For MySQL

In order to be able to use this, the following requirements must be met:

Pages

Subscribe with RSS Subscribe to RSS - Needs technical review