Skip to content

Instantly share code, notes, and snippets.

View kurtmilam's full-sized avatar
💯
❌ 🤠 coder

Kurt Milam kurtmilam

💯
❌ 🤠 coder
View GitHub Profile
@kurtmilam
kurtmilam / QuickCheck-Laws-Links.md
Last active May 25, 2019 21:10
Minimal example of using `purescript-quickcheck-laws` to verify a type class instance on a custom type
@kurtmilam
kurtmilam / machine.js
Created September 19, 2019 21:54
Generated by XState Viz: https://xstate.js.org/viz
const getOtherContactsAction = () => fetch('google.com')
const load_email_details_machine = Machine({
id: 'load_contact_details_machine',
initial: 'loading',
context: {
contactData: {}
},
states: {
loading: {
// 1. navigate to your likes page
// 2. paste this script into the console
// 3. hit 'enter'
// 4. repeat if necesary
setInterval(() => {
Array.from(document.getElementsByTagName('div'))
.filter(x => x.getAttribute('data-testid') == 'unlike')
.forEach(x => x.click())
window.scrollTo(0, document.body.scrollHeight || document.documentElement.scrollHeight)