Skip to content

Instantly share code, notes, and snippets.

👨‍💻
🎸 🎮 🍺

Vaibhav Rathore rathorevaibhav

👨‍💻
🎸 🎮 🍺
Block or report user

Report or block rathorevaibhav

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@coloredcow-admin
coloredcow-admin / github_labels.js
Last active Mar 14, 2018
GitHub labels for repository
View github_labels.js
[
{
"name": "priority : critical",
"color": "b60205"
},
{
"name": "priority : high",
"color": "d93f0b"
},
{
@coloredcow-admin
coloredcow-admin / Gruntfile.js
Created Jun 6, 2016
Gruntfile for jumpstarting your grunt project
View Gruntfile.js
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {
options: {
banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n'
},
build: {
@coloredcow-admin
coloredcow-admin / package.json
Created Jun 6, 2016
Package.json for jumpstarting a new project
View package.json
{
"name": "project-name",
"version": "1.0.0",
"devDependencies": {
"grunt": "^1.0.1",
"grunt-contrib-cssmin": "^1.0.1",
"grunt-contrib-jshint": "~0.10.0",
"grunt-contrib-sass": "^1.0.0",
"grunt-contrib-uglify": "^1.0.1",
"grunt-contrib-watch": "^1.0.0",
@babakhani
babakhani / gist:9852598
Created Mar 29, 2014
get array of color between two colors
View gist:9852598
//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){
You can’t perform that action at this time.