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="description-container"> | |
<div class="row description-row"> | |
<div class="col-md-12 description-section-1"> | |
<p class="description-paragraph-1"> | |
<p>Tranquility ATN Briefs is a tab-style diaper for overnight protection. These come in 6 sizes ranging from XS to 2XL. If you’re looking for a larger size, try Tranquility DayTime Pull-Up Underwear.</p> | |
<p>The waist size for these tabbed diapers fit between 18 to 80 inches, depending on which size you choose. The absorbecy ranges between 21.3 fl oz (2.7 cups) to 34 fl oz (4.25 cups) depending on size. For reference, the average adult releases 8-12 fl ounces (½ - ⅔ cups) when they “go”.</p> | |
<p>Tranquility ATN Briefs is our best-selling, top-rated product - and they’re our customer's favorite! They’re made of soft, premium fabric that is breathable and silent to wear. Tranquility’s absorbent peach mat core helps keep skin dry, reduces odor and stops bacteria growth. The Premium OverNights |
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
#!/bin/bash | |
# You can convert any txt file into a csv file by changing the extension to .csv | |
# Look for a file called file.csv | |
FILE=$(ls -1 | grep file.csv) | |
NAME=${FILE%%.csv} | |
# Save the first line in the file as your header | |
head -1 $FILE > header.csv | |
# Save the rest of file (line 2 and on) as your data file |
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
#!/bin/bash | |
# You can convert any csv file into a txt file by changing the extension to .txt | |
# Look for a file called file.txt | |
FILE=$(ls -1 | grep file.txt) | |
NAME=${FILE%%.txt} | |
# Save the first line in the file as your header | |
head -1 $FILE > header.txt | |
# Save the rest of file (line 2 and on) as your data file |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" style="background:#f9f9f9!important"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>{{subject}}</title> | |
<style> |
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | |
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" style="background:#f9f9f9!important"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="width=device-width"> | |
<title>{{subject}}</title> | |
<style> |
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
#!/bin/bash | |
# To run, cd into the directory (make sure the file you want to split is named file.csv) type command `sh csv-splitter.sh` | |
# You can convert any txt file into a csv file by changing the extension to .csv | |
# Split your csv (or txt) file at a specific line number by chaning the 10000 in line 17 to any value you'd like. | |
# Look for a file called file.csv | |
FILE=$(ls -1 | grep file.csv) | |
NAME=${FILE%%.csv} |
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
<script> | |
let data = { | |
cutoff: 15, | |
0: { | |
day: 'Sunday', | |
before: { shipsBy: 'Tomorrow', arrivesBy: 'Tuesday or Wednesday'}, | |
after: { shipsBy: 'Tomorrow', arrivesBy: 'Tuesday or Wednesday'} | |
}, | |
1: { | |
day: 'Monday', |
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
For the listing pages, go under Design->Edit HTML/CSS->Header.html panel->at the bottom of that file add: | |
<script> | |
$(".ProductList li").each(function() { | |
if ($(".p-price strike", this).length > 0) { | |
$(this).prepend("<span class='item-sale-label'><img src='image path here' /></span>"); |
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
<span style="text-align:center" id="delivery-date"></span> | |
<script> | |
if (new Date().getHours() < 13) { | |
var str = '#{firstDate} - #{secondDate}'; | |
} else { | |
var str = '#{firstDate} - #{secondDate}'; | |
} | |
function turnAroundDate(startDate, daysToAdd) { |
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
{ | |
"extensions": | |
[ | |
"rabl", | |
"jbuilder", | |
"podspec", | |
"rake", | |
"simplecov", | |
"thor", | |
"ruby.rails" |