This file contains 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
defmodule Storage.Adapters.Minio do | |
alias ExAws.S3 | |
@behaviour Storage.Adapter | |
defp root, do: Application.get_env(:storage, Storage.Adapters.Minio)[:root] | |
defp host, do: Application.fetch_env!(:storage, Storage.Adapters.Minio)[:host] | |
defp bucket, do: Application.fetch_env!(:ex_aws, :s3)[:bucket] | |
def path(components) when is_list(components) do |
This file contains 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
/* | |
Redactor II | |
Version 1.2.3 | |
Updated: March 29, 2015 | |
http://imperavi.com/redactor/ | |
Copyright (c) 2009-2016, Imperavi LLC. | |
License: http://imperavi.com/redactor/license/ |
This file contains 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
When Error message | |
Nov 09, 2015 20:30:46 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) | |
Nov 09, 2015 20:27:24 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) | |
Nov 09, 2015 20:05:09 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) | |
Nov 09, 2015 19:35:32 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) | |
Nov 09, 2015 18:00:51 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) | |
Nov 09, 2015 16:04:19 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) | |
Nov 06, 2015 19:45:24 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) | |
Nov 06, 2015 00:55:05 +0100 Pusher::HTTPError: execution expired (HTTPClient::ConnectTimeoutError) |
This file contains 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
# app/services/pages/base.rb | |
module Pages | |
class Base | |
include Service | |
def self.call(account: nil, user: nil, page: nil, param: nil) | |
new(account: account, user: user, page: page).call( param: param) | |
end | |
def initialize(account: nil, user: nil, page: nil) |
This file contains 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
3.73 | |
3.73 | |
3.73 | |
3.73 | |
3.73 | |
3.73 | |
3.73 | |
3.73 | |
3.73 | |
3.73 |
This file contains 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
➜ test ruby -v | |
ruby 2.0.0p451 (2014-02-24 revision 45167) [x86_64-darwin13.1.0] | |
➜ test gem install rails | |
Fetching: thread_safe-0.3.3.gem (100%) | |
Successfully installed thread_safe-0.3.3 | |
Fetching: minitest-5.3.3.gem (100%) | |
Successfully installed minitest-5.3.3 | |
Fetching: tzinfo-1.1.0.gem (100%) | |
Successfully installed tzinfo-1.1.0 | |
Fetching: i18n-0.6.9.gem (100%) |