Skip to content

Instantly share code, notes, and snippets.

View tysongach's full-sized avatar
🚢
Slow is smooth, smooth is fast

Tyson Gach tysongach

🚢
Slow is smooth, smooth is fast
  • Nashville, TN, USA
  • 07:30 (UTC -05:00)
  • LinkedIn in/tysongach
View GitHub Profile
@tysongach
tysongach / input.scss
Created July 20, 2022 18:26
Generated by SassMeister.com.
$border-width: 1px;
$pagination-border-width: $border-width;
$pagination-margin-start: ($pagination-border-width * -1);
@if $pagination-margin-start == (calc($pagination-border-width * -1)) {
.selector {
color: green;
}
} @else {
.selector {
@tysongach
tysongach / message.txt
Created June 29, 2016 19:43
Sample message to send new customers regarding onboarding. Via: https://blog.intercom.io/killer-user-onboarding-starts-with-a-story/
---
Subject: [Your Company], checking in
---
Hi {customer name},
I saw you just became a customer of ours—thank you! My name is [your first name], and I’m trying to make our setup process better. I’d love to get your personal take on it.
Is there any chance we could schedule a quick 15 minute chat sometime in the next couple days?
@tysongach
tysongach / Sublime Text Setup.md
Last active January 2, 2016 12:18 — forked from davatron5000/Sublime Text Setup.md
My setup for Sublime Text. Supports Sublime Text 3
@tysongach
tysongach / ranged-pagination.php
Last active December 13, 2015 17:28 — forked from bastianallgeier/pagination.php
Pagination for Kirby with a link to each page. Utilizes PHP short tags.
<?
$list = $page->children()->paginate(10);
$pagination = $list->pagination();
?>
<ul>
<? foreach($list as $item): ?>
<li><!-- item html --></li>
@tysongach
tysongach / kirbytext.extended.php
Created December 19, 2012 17:21
A Kirbytext extension for creating HTML5 figure tags with a thumbnail image, alignment class (e.g. left, right or center for an article), caption and an anchor which links the thumbnail to the full-size version of the image.
<?php
class kirbytextExtended extends kirbytext {
function __construct($text, $markdown=true) {
parent::__construct($text, $markdown);
// define custom tags
$this->addTags('figure');