Skip to content

Instantly share code, notes, and snippets.

@willhackett
willhackett / op-remove-duplicates.js
Last active August 19, 2023 00:02
1Password Duplicate Remover
/**
* 1Password Duplicate Remover
*
* Usage: node 1password-duplicate.js
*
* Author: Will Hackett
*
* License: MIT
*
* Requirements:
@willhackett
willhackett / keybase.md
Created September 7, 2018 03:53
Keybase.md

Keybase proof

I hereby claim:

  • I am willhackett on github.
  • I am willhackett (https://keybase.io/willhackett) on keybase.
  • I have a public key ASBJCxolKDt04aJCBXMUur3_puQPEIb2-0xAbWeafjdN3Ao

To claim this, I am signing this object:

@willhackett
willhackett / ReactLinebreak.js
Created April 17, 2018 06:22
Line breaks & Paragraphs in React
import React, { Fragment } from 'react'
type PropsType = {
children: string, // yes, the child may only be a string - deal with it.
}
const Text = ({ children }: PropsType) => (
<Fragment>
{children.split('\n\n')
.filter(x => x !== '')