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
version: "3" | |
services: | |
randolog: | |
image: golang | |
command: go run /usr/src/randolog/main.go | |
volumes: | |
- ./randolog/:/usr/src/randolog/ | |
logging: | |
driver: fluentd |
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
<source> | |
@type forward | |
port 24224 | |
bind 0.0.0.0 | |
</source> | |
<match **> | |
@type elasticsearch | |
host elasticsearch | |
port 9200 |
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
version: "3" | |
services: | |
randolog: | |
image: golang | |
command: go run /usr/src/randolog/main.go | |
volumes: | |
- ./randolog/:/usr/src/randolog/ | |
logging: | |
driver: fluentd |
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
version: "3" | |
services: | |
randolog: | |
image: golang | |
command: go run /usr/src/randolog/main.go | |
volumes: | |
- ./randolog/:/usr/src/randolog/ | |
logging: | |
driver: fluentd |
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
<source> | |
@type forward | |
port 24224 | |
bind 0.0.0.0 | |
</source> | |
<match **> | |
@type stdout | |
</match> |
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
FROM fluent/fluentd:onbuild | |
# below RUN includes plugin as examples elasticsearch is not required | |
# you may customize including plugins as you wish | |
RUN apk add --update --virtual .build-deps \ | |
sudo build-base ruby-dev \ | |
&& sudo gem install \ | |
fluent-plugin-elasticsearch \ | |
&& sudo gem sources --clear-all \ |
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
version: "3" | |
services: | |
randolog: | |
image: golang | |
command: go run /usr/src/randolog/main.go | |
volumes: | |
- ./randolog/:/usr/src/randolog/ |
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
package main | |
import( | |
"log" | |
"math/rand" | |
"time" | |
) | |
func main() { | |
for { |
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
// Solarized for Mosh Chrome | |
// Mosh does not seem to save profiles, so this sets the default 'mosh' profile. | |
// To reset, evaluate term_.prefs_.resetAll() | |
// Run in the JavaScript console of mosh_browser.html, which can be opened | |
// as explained here: | |
// https://github.com/rpwoodbu/mosh-chrome/wiki/FAQ#how-can-i-change-the-way-the-terminal-looks-font-color-etc | |
var htermProfiles = { | |
// Solarized Dark |
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
class Libgit2 < Formula | |
desc "C library of Git core methods that is re-entrant and linkable" | |
homepage "https://libgit2.github.com/" | |
url "https://github.com/libgit2/libgit2/archive/v0.24.1.tar.gz" | |
sha256 "60198cbb34066b9b5c1613d15c0479f6cd25f4aef42f7ec515cd1cc13a77fede" | |
head "https://github.com/libgit2/libgit2.git" | |
option :universal | |
depends_on "pkg-config" => :build |
NewerOlder