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
| const winston = require('winston'); | |
| const Elasticsearch = require('winston-elasticsearch'); | |
| const esTransportOpts = () => { | |
| return { | |
| 'indexPrefix': 'fifa', | |
| 'level': 'debug' | |
| }; | |
| }; |
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
| ❯ ipconfig getifaddr en0 && ipconfig getifaddr en1 |
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
| # More details | |
| # 1. Docker for Mac and GUI applications - https://fredrikaverpil.github.io/2016/07/31/docker-for-mac-and-gui-applications/ | |
| # 2. dockerfile-fedora-chromium - https://github.com/TomasTomecek/dockerfile-fedora-chromium | |
| ❯ brew cask install xquartz | |
| ❯ open -a XQuartz | |
| ❯ ip=$(ifconfig en0 | grep inet | awk '$1=="inet" {print $2}') | |
| ❯ xhost + $ip | |
| ❯ docker run \ | |
| --net host \ |
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
| brew update && brew cleanup && brew prune | |
| brew cask update && brew cask cleanup | |
| brew install docker | |
| brew cask install docker | |
| open -a docker |
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
| The MIT License (MIT) | |
| Copyright (c) 2013 Yassine AZZOUT | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal | |
| in the Software without restriction, including without limitation the rights | |
| to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| copies of the Software, and to permit persons to whom the Software is | |
| furnished to do so, subject to the following conditions: |