Skip to content

Instantly share code, notes, and snippets.

View austriker27's full-sized avatar
🏔️

David A. Lindahl austriker27

🏔️
View GitHub Profile
@austriker27
austriker27 / gist:47b19a4d202312e01834a9aebbb8370f
Created August 10, 2017 22:34 — forked from tleen/gist:6299431
Javascript array of state names
['Alabama','Alaska','American Samoa','Arizona','Arkansas','California','Colorado','Connecticut','Delaware','District of Columbia','Federated States of Micronesia','Florida','Georgia','Guam','Hawaii','Idaho','Illinois','Indiana','Iowa','Kansas','Kentucky','Louisiana','Maine','Marshall Islands','Maryland','Massachusetts','Michigan','Minnesota','Mississippi','Missouri','Montana','Nebraska','Nevada','New Hampshire','New Jersey','New Mexico','New York','North Carolina','North Dakota','Northern Mariana Islands','Ohio','Oklahoma','Oregon','Palau','Pennsylvania','Puerto Rico','Rhode Island','South Carolina','South Dakota','Tennessee','Texas','Utah','Vermont','Virgin Island','Virginia','Washington','West Virginia','Wisconsin','Wyoming']
@austriker27
austriker27 / Contract Killer 3.md
Created October 12, 2017 16:59
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

@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 / 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 / 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 / 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 / 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 / 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 / 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 / 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 %}