Skip to content

Instantly share code, notes, and snippets.

View thomasdashney's full-sized avatar

Thomas Dashney thomasdashney

  • Caribou
  • Toronto, ON
View GitHub Profile
@thomasdashney
thomasdashney / jquery-blink.js
Last active August 29, 2015 14:07
jQuery Element Blinking
@thomasdashney
thomasdashney / Mutation.js
Created February 7, 2018 02:39
Mutation component POC
class Mutation extends Component {
constructor (props, context) {
super(props, context)
if (!context.client) throw new Error('<ApolloProvider /> required for mutation')
this.client = context.client
}
static contextTypes = {
client: PropTypes.object.isRequired
}
@thomasdashney
thomasdashney / fixup.sh
Created December 22, 2020 16:22
Git fixup
#!/bin/bash
git commit -a --fixup $1
git rebase --autosquash --interactive $(git show $1^1 --pretty=format:"%h" --no-patch)