- コンテナの内部で集約する
- e.g. fluentd、rsyslog等を各コンテナ内に立てる
- e.g. 単純にファイルに保存する
- コンテナの外部で集約する
- e.g. ホスト側にfluentd、rsyslog等を起動して、各コンテナがマウントしたログファイルをtail等で読む
- e.g. ホスト側にマウントしてファイルに保存する
import { curry, apply } from 'ramda'; | |
/** | |
* Debounce | |
* | |
* @param {Boolean} immediate If true run `fn` at the start of the timeout | |
* @param timeMs {Number} Debounce timeout | |
* @param fn {Function} Function to debounce | |
* | |
* @return {Number} timeout |
If you do, or want to, use AWS to deploy your apps, you will end up using AWS SES via SMTP when you're launching an app that sends out emails of any kind (user registrations, email notifications, etc). For example, I have used this configuration on various Ruby on Rails apps, however, it is just basic SMTP configurations and crosses over to any framework that supports SMTP sendmail.
There are two ways to go about this:
Luckily, you found this MD file and the NOT SO EASY WAY is suddenly copy-pasta... sudo yum....
#!/bin/bash | |
# Git pre-commit hook | |
##################### | |
# | |
# - check for whitespace problems (trailing spaces, ...) | |
# - check for lines with 'FIXME' | |
# - running tests | |
# - running code style check (pep8) on modified files | |
# - designed for Windows, for Linux replace `> NUL` with `> /dev/null` |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>App title</title> | |
<% if ActionController::Base.asset_host %> | |
<link rel="dns-prefetch" href="//<%= ActionController::Base.asset_host %>" /> | |
<% end %> |