Skip to content

Instantly share code, notes, and snippets.

View corebug's full-sized avatar
🎯
Focusing

Vitalii Turovets corebug

🎯
Focusing
View GitHub Profile
@corebug
corebug / keybase.md
Created March 2, 2020 10:00
keybase.md

Keybase proof

I hereby claim:

  • I am corebug on github.
  • I am corebug (https://keybase.io/corebug) on keybase.
  • I have a public key ASCn-qpQeiQQYbi0u6dYUDqe07aMAD_rlX2wN2n9Fn7IxQo

To claim this, I am signing this object:

@corebug
corebug / main.go
Last active May 29, 2018 12:42
Domains generator with JSON output in Go
package main
import (
"fmt"
"encoding/json"
"sync"
"errors"
"time"
)
@corebug
corebug / pedantically_commented_playbook.yml
Created July 27, 2016 10:07 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
@corebug
corebug / ansible_conditionals_examples.yaml
Created March 21, 2016 15:52 — forked from marcusphi/ansible_conditionals_examples.yaml
Ansible 1.3 Conditional Execution -- Very complete example with comments -- I find the conditional expressions to be ridiculously hard to get right in Ansible. I don't have a good model of what's going on under the surface so I often get it wrong. What makes it even harder is that there has been at least three different variants over the course …
---
# This has been tested with ansible 1.3 with these commands:
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=false"
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts isFirstRun=true"
# ansible-playbook -i hosts ansible_conditionals_examples.yaml --extra-vars="hosts=myhosts"
# NB: The type of the variable is crucial!
- name: Ansible Conditionals Examples
hosts: $hosts
vars_files:
@corebug
corebug / .bashrc
Created March 14, 2016 13:36 — forked from mathiasverraes/.bashrc
Git shortcuts
#! /bin/sh
alias gs="git status"
alias gc="git commit"
alias gr="git checkout"
alias ga="git add"
alias gl="git lola"
@corebug
corebug / tiger-analytics.yml
Created September 16, 2015 13:30
tiger-analytics.yml
---
- name: install openssl-devel package
sudo: yes
yum:
name: openssl-devel
state: latest
- name: install Development Tools
sudo: yes
yum: