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
require 'rubygems' | |
require 'bundler/setup' | |
require 'mini_magick' | |
require 'color' | |
require 'miro' | |
Miro.options[:color_count] = 3 | |
Miro.options[:method] = 'histogram' |
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
require 'miro' | |
require 'color' | |
require 'color/rgb/contrast' | |
Miro.options[:color_count] = 4 | |
Miro.options[:method] = 'histogram' | |
class Colorify | |
def get(img) | |
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
# PATH SETUP | |
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" | |
export PATH="/usr/local/sbin:$PATH" | |
export PATH="$HOME/bin:/usr/local/bin:$PATH" | |
export PATH="$PATH:$HOME/.rvm/bin" # RVM available in PATH | |
export PATH="$HOME/Code/github/bin:$PATH" # GitHub development | |
# RUN APPS | |
alias code="/Applications/Visual\ Studio\ Code\ -\ Insiders.app/Contents/Resources/app/bin/code" | |
alias calc='bc -l' |
I hereby claim:
- I am mamuso on github.
- I am mamuso (https://keybase.io/mamuso) on keybase.
- I have a public key ASDDRKU92FZGol2xXwsF2Mh64Qq9LBdYd4foXq2Ae1_dUwo
To claim this, I am signing this object:
OlderNewer