Click on the Raw
button for the myrubocop.rb
and copy the url.
> curl <insert raw url here> > ~/.bin/myrubocop
> chmod +x ~/.bin/myrubocop
Click on the Raw
button for the myrubocop.rb
and copy the url.
> curl <insert raw url here> > ~/.bin/myrubocop
> chmod +x ~/.bin/myrubocop
# @example Usage | |
# require 'open-uri' | |
# eval(open('https://gist.githubusercontent.com/thomet/474bd082e15705fdba2906a9f4ca360a/raw/5ed83ff172a408601232d5306cf214ba3bd75775/progress_bar.rb') {|f| f.read }) | |
# | |
# progress_bar(1_000) do | |
# # do something | |
# end | |
# | |
# > Progress [======================================================== 56.90 % \ (~43 seconds) |
You need to have you docker host running with docker-machine as default
brew install mycli