Unitrai

Unitrai Blog · Page 3

Insights & Guides

Development tutorials, case studies, and technology insights from the Unitrai engineering team.

U
5 June 2020

What is the difference between mysql utf8 and utf8mb4

The character set named utf8 uses a maximum of three bytes per character and contains only BMP characters. As of MySQL 5.5.3, the utf8mb4 character set uses a maximum of four bytes per character supports supplemental characters: For a BMP character, utf8 and utf8mb4 have identical storage characteri

U
5 June 2020

What is forking a repository in GitHub

Fork a Repo. A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own

U
5 June 2020

What is the difference between Git and Mercurial

Major Differences are: Git and Mercurial are the two most popular Distributed Version Control Systems (DVCS). Mercurial is generally believed to be simpler and easier to learn than Git. In turn, there is often the perception that Git is more flexible and powerful. Git is faster than Mercurial for n

U
5 June 2020

How to set flash message in Codeigniter

$this->session->mark_as_flash('item'); # Version 3.x only $this->session->mark_as_flash(array('item', 'item2')); # Version 3.x only Array to flash Alternatively, $this->session->set_flashdata('item', 'value');