Skip to content

Instantly share code, notes, and snippets.

View ErwannRobin's full-sized avatar
😎
😁

Erwann Robin ErwannRobin

😎
😁
View GitHub Profile
@flockonus
flockonus / customEmojiCount.js
Last active December 29, 2023 17:20
Count your emojis from Slack usage!
'use strict';
/**
npm i bluebird slack-node
CREATE YOUR TOKEN: https://api.slack.com/docs/oauth-test-tokens?team_id=T024G49EC&action=reissue&sudo=1
npm package: https://www.npmjs.com/package/slack-node
user.list: https://api.slack.com/methods/users.list
@prcaen
prcaen / compress_image.sh
Created May 13, 2015 12:42
Compress all PNG or JPG files of a folder thanks to TinyPNG or TinyJPG API
#!/bin/bash
# Install
# This script need a API key from TinyPNG. See this page: https://tinypng.com/developers
# It also need jq library, which can be install thanks to: `brew install jq`
# Usage
# cd to your folder. This script will compress all PNG or JPG files recursively.
API_KEY="CHANGE_ME"