This file contains 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
sudo reboot |
This file contains 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
npm install |
This file contains 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
$(document).ready(function() { | |
$('.product-features-img').height($('.product-features').height()); | |
$('.product-features-img img').addClass('vertical-align'); | |
}); |
This file contains 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
.vertical-align { | |
position: relative; | |
top: 50%; | |
transform: perspective(1px) translateY(-50%); | |
} |
This file contains 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="col l7 product"> | |
<img src="/img/demo-product-1.png" alt="Sparkki LMS System Demonstration" class="responsive-img animated fadeIn version-1"></a> | |
<img src="/img/demo-product-2.png" alt="Sparkki LMS System Demonstration" class="responsive-img hidden version-2"></a> | |
<img src="/img/demo-product-3.png" alt="Sparkki LMS System Demonstration" class="responsive-img hidden version-3"></a> | |
<img src="/img/demo-product-4.png" alt="Sparkki LMS System Demonstration" class="responsive-img hidden version-4"></a> | |
<img src="/img/demo-product-5.png" alt="Sparkki LMS System Demonstration" class="responsive-img hidden version-5"></a> | |
</div> |
This file contains 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
$(document).ready(function() { | |
var lastImage = 1; | |
setInterval(() => { | |
$('.product .version-' + lastImage).removeClass('fadeIn'); | |
$('.product .version-' + lastImage).addClass('slideOutRight'); | |
setTimeout(() => { | |
$('.product .version-' + lastImage).addClass('hidden'); | |
$('.product .version-' + lastImage).removeClass('animated slideOutRight'); | |
var randomImage = RandomNumber(1, 5, lastImage); |
This file contains 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
sudo apt-get update | |
sudo apt-get install mysql-server | |
mysql_secure_installation |
This file contains 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
CREATE DATABASE MauticAutomation; | |
CREATE USER 'MauticUser'@'%' IDENTIFIED BY 'CREATE A REALLY STRONG PASSWORD'; | |
GRANT ALL ON MauticAutomation.* TO 'MauticUser'@'localhost' IDENTIFIED BY 'CREATE A REALLY STRONG PASSWORD'; | |
FLUSH PRIVILEGES; |
This file contains 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
mysql -u root -p |
This file contains 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
mkdir /var/www/mautic | |
cd /var/www/mautic | |
wget https://github.com/mautic/mautic/archive/master.zip | |
sudo apt-get install unzip | |
unzip master.zip | |
mv mautic-master/* . | |
rm master.zip | |
rm -R mautic-master/ |