Skip to content

Instantly share code, notes, and snippets.

View matticusfinch's full-sized avatar

Matthew matticusfinch

View GitHub Profile
@matticusfinch
matticusfinch / author-list.liquid
Last active June 12, 2023 17:14
Uscreen Custom Author List Code
{{ 'author-styles.css' | stylesheet_link }}
<div class="container">
<div id="authors_app"></div>
</div>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.11"></script>
{{ 'authors.js' | javascript_link }}
<script type="text/javascript">
window.location.href = "http://example.com"
</script>
@matticusfinch
matticusfinch / exampleFAQ.html
Created January 29, 2020 20:37
A quick FAQ page to get you started
<h1>
<strong>Frequently Asked Questions</strong>
</h1>
<h2>BILLING AND ACCOUNT QUESTIONS</h2>
<h3>How do I reset my password?</h3>
<p>
On the login page, click <strong>Forgot Password</strong>, enter the email associated
with your account, and click <strong>Send Instructions. </strong>The instruction
email will arrive in your inbox shortly. In the instruction email, click
<strong>Reset Password</strong> and you will be directed to select a new password
@matticusfinch
matticusfinch / IntersectionObserver.js
Created June 12, 2019 17:26
IntersectionObserver to use with Next-Gen Image Formats
const options = {
rootMargin: "25px",
threshold: 0.1
};
const io = new IntersectionObserver(entries => {
entries.forEach(entry => {
//console.log('entry: ', entry);
if (entry.intersectionRatio > 0.1) {
var imgsrc = entry.target.getAttribute("srcset1");
entry.target.setAttribute("srcset", imgsrc);
Here are things a Customer Champion at SafetySync might do in no particular order. List 5 things that are your most favorite to do and 5 things that are least favorite.
Call new leads to gauge their level of interest in our software
Respond to 30+ support requests via email every day
Dig through activity logs to troubleshoot a customer's issue
Write and maintain thousands of pages of help documentation
Create video tutorials to help teach users a specific feature or use case
Help resolve billing issues for customers over the phone
Analyze thousands of support tickets to spot trends the product team can use
Write template data to help showcase the ways customers can use our software
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'install' ]
2 info using npm@3.10.8
3 info using node@v7.0.0
4 silly loadCurrentTree Starting
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 silly install normalizeTree
function sendFormByEmail(e)
{
var email = "webforms@safetysync.com";
var subject = 0;
var doc = SpreadsheetApp.getActiveSpreadsheet();
subject = doc.getName();