Skip to content

Instantly share code, notes, and snippets.

@kwelch
kwelch / pvp.txt
Last active July 14, 2022 21:28
DIM Wishlists
// wastelander M5
dimwishlist:item=1679868061&perks=1047830412,3142289711,1428297954,47981717,186337601
// matador 64
dimwishlist:item=2563012876&perks=1047830412,3142289711,1428297954,47981717,186337601
dimwishlist:item=2563012876&perks=1047830412,3142289711,972757866,47981717,186337601
dimwishlist:item=2563012876&perks=1047830412,3142289711,4071163871,47981717,186337601
// eyasluna
@kwelch
kwelch / _README.md
Last active June 25, 2019 17:06
script to pull drawing based on twitter RTs

Twitter Drawing Script

These scripts work together to allow you to select a specific number of winners for a twitter drawing.

It uses a tweet ID to find the retweeters and followers of that account to determine eligable winners. It also accepts the number of winners to select.

Prerequisites

  • twurl - Should be setup and authorized
    • install via gem install twurl
  • jq
@kwelch
kwelch / yarn-error.log
Created December 24, 2018 16:50
yarn error - invalid type value
Arguments:
/usr/bin/node /usr/share/yarn/bin/yarn.js
PATH:
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Yarn version:
1.7.0
Node version:
@kwelch
kwelch / review.md
Created December 23, 2018 15:10
Year in review

With the holidays upon us, I find myself looking toward the excitement of the new year. a lot of my thoughts have been on the next projects at work or family trips. right now though I was to shift the view to where I see myself by next year.

@kwelch
kwelch / rapidFileSaver.js
Created December 5, 2018 21:21
Rapid File Saver
var fs = require('fs');
var path = require('path');
const TEMP_FILE_PATH = path.resolve(__dirname, '../../src/playground/tempFile.js');
// Recommendation: Do not set lower than 200ms
// File changes that quickly will not allow webpack to finish compiling
const REWRITE_TIMEOUT_MIN = 200;
const REWRITE_TIMEOUT_MAX = 300;
@kwelch
kwelch / .prettierrc
Last active November 2, 2019 04:00
Talks
{ "printWidth": 120 }
@kwelch
kwelch / daily-notes-template.md
Last active November 14, 2017 03:11
daily-notes

Morning Checklist

  • Review yesterday's notes

TODO

@kwelch
kwelch / readme.md
Last active February 19, 2019 06:27
React Slingshot OSX Setup

OSX Setup for React-Slingshot

This is a guide of how I setup my mac to run react-slingshot the for the first time.

  • Installed (homebrew)[https://brew.sh/]
    • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • Installed (nvm)[https://github.com/creationix/nvm]
    • curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.4/install.sh | bash
  • Used nvm to install node 6.11
  • run npm install
@kwelch
kwelch / mocha-test.spec.js
Created April 27, 2017 14:36
Mocha Chai Component Test Enzyme
import React from 'react';
import chai, { expect } from 'chai';
import { shallow } from 'enzyme';
import sinon from 'sinon';
import sinonChai from 'sinon-chai';
import EditPageView from './EditPageView';
import FormControl from './FormControl';
import ErrorList from './errorList';
chai.use(sinonChai);