Skip to content

Instantly share code, notes, and snippets.

View mathieudutour's full-sized avatar

Mathieu Dutour mathieudutour

View GitHub Profile
@mathieudutour
mathieudutour / resume.json
Created March 31, 2020 09:44
resume.json
{
"basics": {
"name": "Mathieu Dutour",
"label": "Software Engineer",
"image": "https://avatars0.githubusercontent.com/u/3254314?s=460&v=4",
"email": "mathieu@dutour.me",
"url": "https://mathieu.dutour.me",
"summary": "Build things. Nomad.",
"location": {
"city": "Lyon",
@mathieudutour
mathieudutour / sync.sh
Created May 12, 2019 14:45
Sync a folder to Sketch Cloud
#!/bin/sh
SEC=`security find-generic-password -s sketch_cloud_authorization_token -g 2>&1`
TOKEN=`echo "$SEC" | grep -a "password" | cut -d \" -f 2`
if [ "$TOKEN" == "" ]; then
read -s -p "Enter Sketch Cloud authorization token: " TOKEN
security add-generic-password -s sketch_cloud_authorization_token -a sketch_cloud_authorization_token -w $TOKEN
echo ""
echo "Token stored in the keychain so you don't have to input it next time"
Verifying my Blockstack ID is secured with the address 17cNvjptkvQby7mz4HW239QrvPeXq3Tchj https://explorer.blockstack.org/address/17cNvjptkvQby7mz4HW239QrvPeXq3Tchj
@mathieudutour
mathieudutour / sRGB-blur.js
Last active July 22, 2020 16:34
SVGO plugin to fix color space issue in Safari on SVG Filter primitives
'use strict';
exports.type = 'perItem';
exports.active = true;
exports.description = 'add color-interpolation-filters="sRGB" to filters';
exports.params = {
force: false,

Keybase proof

I hereby claim:

  • I am mathieudutour on github.
  • I am mathieudutour (https://keybase.io/mathieudutour) on keybase.
  • I have a public key whose fingerprint is 78AD 5D0D F3BD EAB2 E550 12B0 1FA9 630A E994 9CFE

To claim this, I am signing this object:

import React from 'react'
import Portal from 'react-portal'
import { connect } from 'react-redux'
import Visualiser from './visualiser/Visualiser'
import { setExecutionMode, executeCodeBlock } from '../actions'
import { codeSelector } from '../selectors'
class CodeBlock extends React.Component {
constructor (props) {
super(props)
import React from 'react'
import Portal from 'react-portal'
class LinkBlock extends React.Component {
constructor (props) {
super(props)
this.state = {
href: this.props.node.data.get('href'),
showingPopup: false,
popup: null,