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
#Directory To Pull Files From | |
$Dir="C:\foo\bar\toBeUploaded" | |
#FTP site and credentials | |
$ftp = "ftp://ftp.somesite.com/" | |
$user = "user" | |
$pass = "pass" | |
$webclient = New-Object System.Net.WebClient | |
$webclient.Credentials = New-Object System.Net.NetworkCredential($user,$pass) |
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
a[href*='tel']{ | |
display: block; | |
color: #fff; | |
text-decoration: none; | |
&:before{ | |
display: none; | |
font-family: "Font Awesome 5 Solid"; | |
content: "\f095"; | |
} |
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
// Usage: | |
// @include breakpoint(desktop){ ... } | |
// | |
@mixin breakpoint($point) { | |
@if $point==desktop { | |
@media (min-width: 70em) { | |
@content ; | |
} | |
} |
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
/// Computes a top-shadow for a card effect. | |
/// @param {Number} $depth - depth level | |
/// @return {List} | |
@function top-shadow($depth) { | |
$primary-offset: nth(1 3 10 14 19, $depth) * 1px; | |
$blur: nth(2 3 10 14 19, $depth) * 4px; | |
$color: rgba(black, nth(0.12 0.16 0.19 0.25 0.3, $depth)); | |
@return 0 $primary-offset $blur $color; | |
} |
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
import time | |
import os | |
import csv | |
#### Selenium to run Headless Chrome #### | |
from selenium import webdriver | |
from selenium.webdriver.chrome.service import Service | |
from selenium.webdriver.support.ui import WebDriverWait | |
from selenium.webdriver.support import expected_conditions as EC | |
from selenium.webdriver.chrome.options import Options |
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
name: Push Stencil Theme To BigCommerce | |
# This workflow is triggered on pushes to the Master Branch only. | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
name: Stencil Push |
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
/* | |
Install theme using the Stylus extension for your web browser. | |
*/ | |
.roam-block-container { | |
max-width: 850px; | |
} | |
.roam-block { |