Skip to content

Instantly share code, notes, and snippets.

View geri4's full-sized avatar

Andrey Gerasimov geri4

View GitHub Profile
@geri4
geri4 / tfstate
Created November 24, 2017 14:44
tfstate example
{
"version": 3,
"terraform_version": "0.11.0",
"serial": 15,
"lineage": "3cbc038e-0b66-4b96-aca0-7bfb7dbaf701",
"modules": [
{
"path": [
"root"
],
@geri4
geri4 / postmortem.md
Created February 24, 2017 16:38 — forked from mlafeldt/postmortem.md
Example Postmortem from SRE book, pp. 487-491

Shakespeare Sonnet++ Postmortem (incident #465)

Date

2015-10-21

Authors

  • jennifer
  • martym
[defaults]
hostfile = ./hosts
retry_files_save_path = ./retry/
roles_path = ./roles
ansible_managed = Ansible managed: file modified on %Y-%m-%d %H:%M:%S by {uid} on {host}
nocows = 1
executable = /bin/bash
gathering = smart
fact_caching = jsonfile
fact_caching_connection = /tmp/

Keybase proof

I hereby claim:

  • I am geri4 on github.
  • I am geri4 (https://keybase.io/geri4) on keybase.
  • I have a public key ASDVvdsQYQMNur_2P87k0_qzZNWTnaZwG8CjyKTUn5UnKAo

To claim this, I am signing this object:

@geri4
geri4 / super_pom.txt
Last active September 23, 2016 10:33
Supor POM for maven 3.0.4
<project>
<modelVersion>4.0.0</modelVersion>
<repositories>
<repository>
<id>central</id>
<name>Central Repository</name>
<url>http://repo.maven.apache.org/maven2</url>
<layout>default</layout>
<snapshots>
@geri4
geri4 / Syslog-errors.json
Created February 14, 2015 19:38
Kibana syslog errors
{
"title": "Servers errors",
"services": {
"query": {
"idQueue": [],
"list": {
"0": {
"id": 0,
"type": "lucene",
"query": "message: /.*error.*/ OR message: /.*fail.*/",
@geri4
geri4 / nginx.conf
Last active August 29, 2015 14:15
nginx.conf-for-kibana
server {
listen *:80 ;
server_name kibana.myhost.org;
access_log /var/log/nginx/kibana.myhost.org.access.log;
location / {
root /var/www/kibana3;
index index.html index.htm;
auth_basic "Restricted";