Skip to content

Instantly share code, notes, and snippets.

Avatar

SemionK. semachka

  • Montreal,Qc,Canada
View GitHub Profile
@jgoodall
jgoodall / README.md
Last active Oct 20, 2021
This is a sample of how to send some information to logstash via the TCP input from node.js or python.
View README.md

This is a sample of how to send some information to logstash via the TCP input in nodejs or python. It assumes the logstash host is on 10.10.10.100 and the TCP listening input is 9563.

The logstash.conf should look something like the sample file.

The log message should be a stringified JSON object with the log message in the @message field.

To use, run the node script node sendMessageToLogstash.js, or the python script python sendMessageToLogstash.js

@jpswade
jpswade / devops_best_practices.md
Last active Nov 25, 2021
Devops Best Practices Checklist
View devops_best_practices.md

Find the original here article here: Devops Best Practices

DevOps started out as "Agile Systems Administration". In 2008, at the Agile Conference in Toronto, Andrew Shafer posted an offer to moderate an ad hoc "Birds of a Feather" meeting to discuss the topic of "Agile Infrastructure". Only one person showed up to discuss the topic: Patrick Debois. Their discussions and sharing of ideas with others advanced the concept of "agile systems administration". In that same year, Debois and Shafer formed an Agile Systems Administrator group on Google, with limited success. Patrick Debois did a presentation called "Infrastructure and Operations" addressing issues around involving more of the comp

@josemarimanio
josemarimanio / install_pyenv_mac_zsh.rst
Created May 13, 2020
Installing pyenv on macOS for Zsh using Homebrew
View install_pyenv_mac_zsh.rst