Skip to content

Instantly share code, notes, and snippets.

View dboune's full-sized avatar

Damian Bouné dboune

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dboune on github.
  • I am dboune (https://keybase.io/dboune) on keybase.
  • I have a public key ASDOJGw4AMyis8BBV5xZOV1Eqp-Q1hvM2NqG4IR3BxSzjgo

To claim this, I am signing this object:

@dboune
dboune / colormeter.js
Last active August 29, 2015 14:18 — forked from krypton/colormeter.js
function color_meter(cwith, ccolor, precision) {
if (!cwith || !ccolor) return;
var _cwith = (cwith.charAt(0)=="#") ? cwith.substring(1,7) : cwith;
var _ccolor = (ccolor.charAt(0)=="#") ? ccolor.substring(1,7) : ccolor;
var _r = parseInt(_cwith.substring(0,2), 16);
var _g = parseInt(_cwith.substring(2,4), 16);
var _b = parseInt(_cwith.substring(4,6), 16);
#!/bin/sh
# Just copy and paste the lines below (all at once, it won't work line by line!)
# MAKE SURE YOU ARE HAPPY WITH WHAT IT DOES FIRST! THERE IS NO WARRANTY!
# NOTES:
# node modules are not removed
# ENV Folder in Library not removed
# etc/openssl/certs.pem not removed
# Numerious share/man/manX folders not removed
# share/info/dir not removed

Git Command Reference

Branches

List Branches

Local only

git branch