Skip to content

Instantly share code, notes, and snippets.

const Twitter = require('twitter');
const client = new Twitter({
consumer_key: 'XXXXXXXXXXXXXXXX',
consumer_secret: 'XXXXXXXXXXXXXXXXXXXXX',
access_token_key: 'XXXXXXXXXXXXXXXXXXXX',
access_token_secret: 'XXXXXXXXXXXXXXXXXXXXXXX'
});
let lastTimelineTweetId;
@matteason
matteason / SmoothBlend.js
Created November 18, 2014 13:21
SmoothBlend.js - remove redundant points from expanded blends in Illustrator
/*
* SmoothBlend.js
* by Matt Eason (matteason.co.uk)
* http://creativecommons.org/licenses/by-sa/4.0/
*
* Smooths the stepping effect created by blends by removing anchor points
* that are very close together. Useful for creating extrustion effects.
*/
function remPoints (path, tolerance) {
console.log('Tidying up the path... ');