This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| class Car { | |
| protected $color = 'White'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| class Car { | |
| private $color = 'White'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| ini_set('display_errors', 1); | |
| ini_set('display_startup_errors', 1); | |
| error_reporting(E_ALL); | |
| class Car { | |
| public $color = 'White'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var gulp = require('gulp'); | |
| var pug = require('gulp-pug'); | |
| var less = require ('gulp-sass'); | |
| gulp.task('pug', function() { | |
| return gulp | |
| .src('*/*.pug') | |
| .pipe(pug()) | |
| .pipe(gulp.dest('build')); | |
| }); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function number_format(number, decimals, dec_point, thousands_sep) { | |
| var number = (number + '').replace(/[^0-9+\-Ee.]/g, ''); | |
| var n = !isFinite(+number) ? 0 : +number, | |
| prec = !isFinite(+decimals) ? 0 : Math.abs(decimals), | |
| sep = (typeof thousands_sep === 'undefined') ? ',' : thousands_sep, | |
| dec = (typeof dec_point === 'undefined') ? '.' : dec_point, | |
| s = '', | |
| toFixedFix = function (n, prec) { | |
| var k = Math.pow(10, prec); | |
| return '' + (Math.round(n * k) / k).toFixed(prec); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Anchor with fade | |
| * Example: <a href="#example-1"/> <div id="example-2"/> | |
| */ | |
| $('a.scroll-smooth').on('click',function (e) { | |
| e.preventDefault(); | |
| var target = this.hash; | |
| var $target = $(target); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @media screen and (min-width: 780px) { | |
| .dropdown:hover .dropdown-menu { display: block; } /* enable hover dropdown */ | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .full-height { height: 100vh; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="container-fluid"> | |
| <div class="row"> | |
| <div class="col-lg-12"> | |
| <div class="container"> | |
| <div class="row"> | |
| <!-- Content columns --> | |
| <div class="col-lg-12"> | |
| <!-- Content --> | |
| </div> | |
| </div> |