Skip to content

Instantly share code, notes, and snippets.

View TheJaredWilcurt's full-sized avatar

The Jared Wilcurt TheJaredWilcurt

View GitHub Profile
const original = {"trophiesAcquired":{"1":false,"2":false,"3":false,"4":false,"5":false,"6":false,"7":false,"8":false,"9":false,"10":false,"11":false,"12":false,"13":false,"14":false,"15":false,"16":false,"17":false,"18":false,"19":false,"20":false,"21":false,"22":false,"23":false,"24":false,"25":false,"26":false,"27":false,"28":false,"29":false,"30":false,"31":false,"32":false,"33":false,"34":false,"35":false,"36":false,"37":false,"38":false,"39":false,"40":false,"41":false,"42":false,"43":false,"44":false,"45":false,"46":false,"47":false,"48":false,"49":false,"50":false,"51":false,"52":false,"53":false,"54":false,"55":false,"56":false,"57":false,"58":false,"59":false,"60":false,"61":false,"62":false,"63":false,"64":false,"65":false,"66":false,"67":false,"68":false,"69":false,"70":false,"71":false,"72":false,"73":false,"74":false,"75":false,"76":false,"77":false,"78":false,"79":false,"80":false,"81":false,"82":false,"83":false,"84":false,"85":false,"86":false,"87":false,"88":false,"89":false,"90":false,"91":
@TheJaredWilcurt
TheJaredWilcurt / input.scss
Created June 14, 2022 12:56
Generated by SassMeister.com.
@use 'sass:map';
$media-padding: 2px;
$padding-margin: 0.75rem;
$utilities: (
"padding-y": (
class: "py",
property: padding-top padding-bottom,
media: $media-padding,
@TheJaredWilcurt
TheJaredWilcurt / input.scss
Created June 13, 2022 17:38
Generated by SassMeister.com.
@use "sass:map";
$media-padding: 400px;
$padding-margin: 2px;
$utilities: ();
$utilities: map.merge(
(
"padding-y": (
class: "py",
export const mutations = {
/**
* Sets the snackbar values in state
* @param {object} state The state of the Vuex store
* @param {object} payload Settings for snackbar, including message and color
*/
setSnack: function (state, payload) {
const allowedColors = [
'error',
'success',
@TheJaredWilcurt
TheJaredWilcurt / v-for.md
Created February 3, 2019 22:15
v-for keys best practice

If you just list the index number then the keys are not unique:

<template>
  <!-- keys will be 0, 1, 2... -->
  <div v-for="(row, rowIndex) in rows" :key="rowIndex">
    <!-- keys will be 0, 1, 2... -->
    <div v-for="(cell, cellIndex) in row.cells" :key="cellIndex">
    </div>
  </div>
// Commands come from the "codes" value in the items.json file. No clue which ones do and don't work.
// bow
!hud bow
// silver arrows
!hud silverarrows
!hud silvers
// bow and silver arrows
!hud bowandarrows
// Bombs
var csv = require('csv');
var ejs = require('ejs');
var fs = require('fs');
var assert = require('assert');
var path = require('path');
//ejs will be using {{ and }} for escapements
ejs.open ='{{';
ejs.close ='}}';
@charset "utf-8"; // Character type for the stylesheet
// ITCSS: SETTINGS
@import "var"; // Sass Variables
// ITCSS: TOOLS
@import "mixins"; // Sass Mixins
@import "functions"; // Sass Functions
{"v":"4.5.9","fr":30,"ip":0,"op":300,"w":300,"h":300,"ddd":0,"assets":[],"layers":[{"ddd":0,"ind":0,"ty":3,"nm":"Null 1","ks":{"o":{"a":0,"k":0},"r":{"a":0,"k":0},"p":{"a":0,"k":[150,150,0]},"a":{"a":0,"k":[0,0,0]},"s":{"a":0,"k":[216,216,100]}},"ao":0,"ip":0,"op":600,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":1,"ty":4,"nm":"big eye","parent":5,"ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[80.791,59.111,0]},"a":{"a":0,"k":[3.625,9.084,0]},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"n":["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],"t":105,"s":[100,100,100],"e":[100,5,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"n":["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],"t":108,"s":[100,5,100],"e":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"
{"v":"4.5.9","fr":30,"ip":0,"op":300,"w":1360,"h":768,"ddd":0,"assets":[],"layers":[{"ddd":0,"ind":0,"ty":3,"nm":"Null 1","ks":{"o":{"a":0,"k":0},"r":{"a":0,"k":0},"p":{"a":0,"k":[281,384,0]},"a":{"a":0,"k":[0,0,0]},"s":{"a":0,"k":[216,216,100]}},"ao":0,"ip":0,"op":600,"st":0,"bm":0,"sr":1},{"ddd":0,"ind":1,"ty":4,"nm":"big eye","parent":5,"ks":{"o":{"a":0,"k":100},"r":{"a":0,"k":0},"p":{"a":0,"k":[80.791,59.111,0]},"a":{"a":0,"k":[3.625,9.084,0]},"s":{"a":1,"k":[{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"n":["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],"t":105,"s":[100,100,100],"e":[100,5,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],"y":[0.167,0.167,0.167]},"n":["0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167","0p833_0p833_0p167_0p167"],"t":108,"s":[100,5,100],"e":[100,100,100]},{"i":{"x":[0.833,0.833,0.833],"y":[0.833,0.833,0.833]},"o":{"x":[0.167,0.167,0.167],