network.host: 0.0.0.0
cluster.name: TANAKEIQ_ES
node.name: ${NODE_NAME}
# ESのバージョンが5.3以下の場合multicastが機能するため、無効化する
discovery.zen.ping.multicast.enabled: false
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8"> | |
<title> | |
Modal test | |
</title> | |
</meta> | |
<link rel="stylesheet" href="modal.css"> | |
</head> |
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
public class Logger { | |
fileprivate enum Prefix: String { | |
case Info = "🍀" | |
case Warn = "🍋" | |
case Error = "🍎" | |
case Happy = "🎀" | |
} | |
public static func info(_ items: String...) { | |
print(serialize(items, prefix: .Info)) |
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
// Refs: https://qiita.com/uin010bm/items/ff934d070d43a4666dbc | |
// Author: https://qiita.com/uin010bm | |
//Confirmed on Xcode 9.3(Swift 4.3) | |
//Change extenstion `swift` to `playground`. | |
import UIKit | |
import PlaygroundSupport | |
// CAShapeLayerインスタンスを生成 | |
var circle: CAShapeLayer = CAShapeLayer() |
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
console.info(`%c ☠️🚨☠️🚨☠️🚨☠️🚨☠️\nこのページでコマンド/コードを実行しないでください。\n第三者のコマンド/コードを実行すると、悪意のあるプログラムが実行される可能性があります \nby このサイト作った人\n☠️🚨☠️🚨☠️🚨☠️🚨☠️`, 'font-size:32px; line-height: 1.5em; font-colofont-weight: bold;'); |