made with esnextbin
|// Highcharts CheatSheet Part 1.|
|// Create interactive charts easily for your web projects.|
|// Download: http://www.highcharts.com/download|
|// More: http://api.highcharts.com/highcharts|
|// 1. Installation.|
|// <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>|
|// <script src="https://code.highcharts.com/highcharts.js"></script>|
- Single responsibility principle (SRP): This principle states that software component (function, class or module) should focus on one unique tasks (have only one responsibility).
- Open/closed principle (OCP): This principle states that software entities should be designed with the application growth (new code) in mind (be open to extension), but the application growth should require the smaller amount of changes to the existing code as possible (be closed for modification).
- Liskov substitution principle (LSP): This principle states that we should be able to replace a class in a program with another class as long as both classes implement the same interface. After replacing the class no other changes should be required and the program should continue to work as it did originally.
- Interface segregation principle (ISP): This principle states that we should split interfaces which are very large (general-purpose interfaces) into smaller and more specific ones (many client-specific interfaces) so that
|# Install git and add-apt-repository|
|RUN apt-get update && apt-get install -y software-properties-common git|
|# Add repo containing older php versions|
|RUN LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php|
|# Install PHP 5|
|RUN apt-get update && apt-get install -y graphicsmagick imagemagick php5.6 php5.6-cli \|