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
container_commands: | |
01_install_webpack: | |
command: npm install --save-dev webpack | |
02_precompile: | |
command: bundle exec rake assets:precompile |
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
commands: | |
01_install_yarn: | |
command: "sudo wget https://dl.yarnpkg.com/rpm/yarn.repo -O /etc/yum.repos.d/yarn.repo && curl --silent --location https://rpm.nodesource.com/setup_6.x | sudo bash - && sudo yum install yarn -y" | |
02_download_nodejs: | |
command: curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - | |
03_install_nodejs: | |
command: yum -y install nodejs |
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
container_commands: | |
command: bundle exec rails assets:precompile |
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
/* For use on InsiderOpinion.com */ | |
.demo-container { | |
border-radius: 20px; | |
box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.2), 0 3px 15px 0 rgba(0, 0, 0, 0.19); | |
} | |
.demo-container:hover .demo-vid { opacity: 0.4; } | |
.demo-container:hover .demo-img { opacity: 0.4; } | |
.demo-container:hover .demo-box-try { opacity: 1.0; } |
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
<!--- For use on insideropinion.com ---> | |
<div id="botDemo" class="col-md-8"> | |
<div class="demo-container"> | |
<a href="" onclick="Calendly.initPopupWidget({url: 'https://url.com'});return false;"> | |
<video autoplay loop muted playsinline | |
poster="img/poster.png" | |
class="demo-vid"> | |
<source src="video/demo.webm" | |
type="video/webm" class="demo-vid" /> |
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
<!--- For use on insideropinion.com ---> | |
<div id="botDemo" class="col-md-8"> | |
<div class="demo-container"> | |
<a href="" onclick="Calendly.initPopupWidget({url: 'https://url.com'});return false;"> | |
<img src="img/gifs/demo.gif" alt="insideropinion bot demo" class="demo-img"> | |
</a> | |
<a href="https://join.slack.com" target="_blank"> | |
<div class="demo-box-try"> | |
<span class="demo-text"> |
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
ffmpeg -i <input gif> -c vp9 -b:v 0 -crf 41 -vf scale=900x376 <output webm video> |
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
fmpeg -i <input mp4 video> -crf 41 -vf scale=900x376 <output webm video> |
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
ffmpeg -i <input video> -crf 30 -vf scale=900x376 <output vide> |
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
ffmpeg -i <input gif> -b:v 0 -crf 35 -f mp4 -vcodec libx264 -pix_fmt yuv420p <output mp4> |