This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// how to run this script | |
// Step 1: Copy this gist. | |
// Step 2: Open the labels page in your GitHub repository where you want to set up the labels. | |
// Step 3: Open Browser Inspector tool and go to Console tab. | |
// Step 4: Paste the gist in the console and hit enter. The script will delete all the existing labels and create the new ones. | |
var labels = [ | |
{ | |
"name": "priority : critical", | |
"color": "b60205" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//https://dl.dropboxusercontent.com/u/17365636/web/jsGradient.js | |
jsgradient = { | |
inputA : '', | |
inputB : '', | |
inputC : '', | |
gradientElement : '', | |
// Convert a hex color to an RGB array e.g. [r,g,b] | |
// Accepts the following formats: FFF, FFFFFF, #FFF, #FFFFFF | |
hexToRgb : function(hex){ |