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
# config/initializers/carrierwave.rb | |
require 'mini_magick' | |
module CarrierWave | |
module MiniMagick | |
# round _square_ image | |
def round | |
manipulate! do |img| | |
img.format 'png' |
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
I use the QNAP nas server to host docker containers. We can configure | |
this mac to run docker-machine and point to the qnap server to deploy or | |
otherwise mess with docker. | |
This is how we set that up: | |
docker-machine create --driver=none --url tcp://<your qnap box>:2376 qnap | |
Next we need to install the certs. Download them from within the QNAP |
OlderNewer