Skip to content

Instantly share code, notes, and snippets.

View austriker27's full-sized avatar
🏔️

David A. Lindahl austriker27

🏔️
View GitHub Profile
@austriker27
austriker27 / shopify-shipping.html
Created February 10, 2023 14:10
Shipping delivery timeframe liquid snippet
<p style="color: #1d889b;">
<svg style="height:25px;float:left;margin-right:10px;padding-bottom: 2px;" class="h-6 w-6"
xmlns="http://www.w3.org/2000/svg" fill="#1d889b" viewBox="0 0 256 256">
<path fill="none" d="M0 0h256v256H0z" />
<path
d="M176 144H16v40a8 8 0 0 0 8 8h20a24 24 0 0 1 48 0h72a24 24 0 0 1 12-20.8ZM212 192a24 24 0 0 0-36-20.8V120h64v64a8 8 0 0 1-8 8h-20"
opacity=".2" />
<path d="M176 80h42.6a7.9 7.9 0 0 1 7.4 5l14 35M16 144h160" fill="none" stroke="#1d889b"
stroke-linecap="round" stroke-linejoin="round" stroke-width="16" />
<circle cx="188" cy="192" r="24" fill="none" stroke="#1d889b" stroke-miterlimit="10"
@austriker27
austriker27 / free-shipping-progress-bar-shopify.liquid
Created March 21, 2022 13:18
Super simple free shipping progress for shopify cart page
<div style="display:flex; justify-content:flex-end;">
<div>
$0 <progress max="5000" value="{{ cart.total_price }}"></progress> $50
<br>
{% if cart.items.size == 0 %}
Add items to your cart to receive free shipping.
{% endif %}
{% if cart.items.size != 0 %}
{% if cart.total_price >= 5000 %}
@austriker27
austriker27 / pr-template.md
Last active September 16, 2020 22:42
PR Template

PR Title

Summary 🎉

  • I did a bunch of cool stuff on the rad feature that may or may not have included adding a rick roll video.

Related Issue(s): 🐛

  • Closes #bug.

Work done ✅

  • legit stuff of course
@austriker27
austriker27 / dropdown-options.json
Created January 31, 2020 15:51
HalofestLANParty-PlaylistGeneratorOptions
{
"dropdowns" : {
"halo1": {
"name": "Halo 1",
"gameTypes": {
"captureTheFlag": {
"name": "Capture the flag",
"maps": [
"Blood Gulch",
"Hang Em High",
@austriker27
austriker27 / NavBar.vue
Created April 18, 2019 16:45
Vue Router Loop - Loop over your router to create a nav bar (or other component) dynamically
<div
v-for="route in routes"
:key="route.path"
class="col flex items-center justify-between p-6"
>
<router-link
class=""
:to="route"
exact-active-class="font-bold"
exact
@austriker27
austriker27 / austriker-by.html
Last active April 17, 2018 19:11 — forked from levelsio/levelsio-by.html
Maker Link (via levelsio)
<style>
/* body {
background:#333;
} */
.austriker-by {
font-family:"Helvetica Neue",sans-serif;
right:0;
bottom:0;
position:fixed;
@austriker27
austriker27 / CurlyBraceCombos
Created February 2, 2018 05:11
This is a whiteboarding problem involving curly braces combos - it is very hard.
# Problem Statement
Implement an algorithm to print all valid (i.e. properly opened and closed) combinations of n pairs of braces.
## Example:
Input : 3
Output :
{{{}}}
{{}{}}
{{}}{}
@austriker27
austriker27 / sweep-the-mines.js
Created January 22, 2018 21:36
2D array practice with minesweeper
let exampleWeird2DArray = [
[0, 0],
[99, 42, 92, 53],
[],
[2, 6, 87, 43, 82],
[2],
]
let MINEFIELD = [
[null, null, null, null, 'bomb'],
@austriker27
austriker27 / Contract Killer 3.md
Created October 12, 2017 17:26 — forked from tony-caffe/Contract Killer 3.md
The latest version of Bytes Unlimted ‘killer contract’ for web professionals

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Revised by Bytes Unlimited : June 14th 2017

@austriker27
austriker27 / Contract Killer 3.md
Created October 12, 2017 16:59 — forked from malarkey/Contract Killer 3.md
The latest version of my ‘killer contract’ for web designers and developers

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post