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
db.business_niches.save({ | |
"_id" : ObjectId("536fde7757badfdd0cab5b2b"), | |
"name" : "Boat Building and Repairs", | |
"broad" : false | |
}); | |
db.business_niches.save({ | |
"_id" : ObjectId("536fde7757badfdd0cab5b31"), | |
"name" : "Building Supplies and Products", | |
"broad" : false | |
}); |
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
#!/usr/bin/env ruby | |
require 'aws-sdk-core' | |
require 'aws-sdk-s3' | |
require 'digest' | |
date = Date.today.strftime('%Y-%m-%d') | |
client = Aws::S3::Client.new( | |
access_key_id: 'XXXXXX', |
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 id="component"> | |
<div id="slider-component-2" class="carousel slide sbackground-image" data-bs-ride="false"> | |
<div class="carousel-inner"> | |
<div class="review-headline mb-4"> | |
<{{review_headline_text_style_tag}} class="style-{{review_headline_text_style_id}}"> | |
{{{review_headline}}} | |
</{{review_headline_text_style_tag}}> | |
</div> | |
{{#Reviews}} | |
<div class="carousel-item slider-component-2 text-center"> |
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
#component { | |
position: relative; | |
#slider-component-2 { | |
background: $outer_bg_color; | |
padding: 40px 0; | |
background-size: cover; | |
background-repeat: no-repeat; | |
background-position: $background_horizontal_position $background_vertical_position; |
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
(function () { | |
const items = document.getElementsByClassName('slider-component-2'); | |
const slider = document.getElementById('slider-component-2'); | |
const firstItem = items[0]; | |
firstItem.classList.add('active'); | |
// Set the automatic transition timer | |
const transitionInterval = "{{{transition_interval}}}"; |
OlderNewer