Skip to content

Instantly share code, notes, and snippets.

View ricardocosta's full-sized avatar

Ricardo Costa ricardocosta

View GitHub Profile
@ricardocosta
ricardocosta / labels.md
Last active July 26, 2020 11:50
Export / Import Github labels

Export / Import Github labels

A collage from several other gists.

To export labels from a repository:

  1. Go to the repository's labels page
  2. Run the following code in the browser's console:
@ricardocosta
ricardocosta / keybase.md
Last active November 10, 2018 10:51
Keybase verification

Keybase proof

I hereby claim:

  • I am ricardocosta on github.
  • I am ricardocosta (https://keybase.io/ricardocosta) on keybase.
  • I have a public key ASDgNtCKfHsboyn-IThufHO7cNj0YZwgmAkT2_yJmjm0QAo

To claim this, I am signing this object:

@ricardocosta
ricardocosta / chartjs_doughnut_hover.html
Last active May 28, 2017 21:48
animationDuration not respected
<html>
<body>
<div class="myChartDiv">
<canvas id="myChart" width="600" height="400"></canvas>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.6.0/Chart.js"> </script>
<script>
var ctx = document.getElementById("myChart");
var lastactive = [];