Skip to content

Instantly share code, notes, and snippets.

View joariasl's full-sized avatar

Jorge Arias joariasl

View GitHub Profile
@joariasl
joariasl / cross-compile_filebeat_arm.md
Last active March 27, 2023 14:05 — forked from wjx0912/cross-compile_filebeat_arm.md
Cross-compile Elastic Filebeat for ARM with docker. Works on Raspberry Pi 2 and 3.

Elastic does not provide Filebeat binaries for ARMv7. Luckily, Filebeat can easily be cross-compiled with:

# ----- Instantiate an immutable Go container for cross-compilation ----- #
mkdir build && cd $_
docker run -it --rm -v `pwd`:/build golang:latest /bin/bash

# ----- Inside Go container ----- #
go get github.com/elastic/beats
cd /go/src/github.com/elastic/beats/filebeat/
@joariasl
joariasl / github_gpg_key.md
Last active May 17, 2023 19:16 — forked from ankurk91/github_gpg_key.md
Github : Signing commits using GPG (Ubuntu/Mac)

Github : Signing commits using GPG (Ubuntu/Mac) 🔐

  • Do you have an Github account ? If not create one.

  • Install required tools

  • Latest Git Client

  • gpg tools

    # Ubuntu
    

sudo apt-get install gpa seahorse

@joariasl
joariasl / zsh.md
Last active October 1, 2015 07:06 — forked from tsabat/zsh.md
Getting oh-my-zsh to work in Ubuntu