Cloud-Init is the defacto multi-distribution package that handles early initialization of a virtual machine instance. Using Cloud-Init, one can configure network
This file contains hidden or 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
# Copyright 2018 Marketplacer. MIT License. | |
require 'json' | |
require 'active_support/core_ext/class/attribute' | |
require 'active_support/log_subscriber' | |
module Elk | |
class RequestLogSubscriber < ActiveSupport::LogSubscriber | |
PAYLOAD_KEYS_TO_COPY = %i{ | |
controller |
So ~/.tmux.conf
overrides default key bindings for many action, to make them more reasonable, easy to recall and comforable to type.
Let's go through them.
If you are an iTerm2 user, third column describes the keybinding of similar "action" in iTerm2. It's possible to reuse very same keys you already get used to and tell iTerm2 to execute analogous tmux actions. See iTerm2 and tmux integration section below.
This file contains hidden or 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
git log $(git describe --tags --abbrev=0)..HEAD --no-merges --oneline > new-in-this-release.log |
This file contains hidden or 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
variables: | |
DOCKER_DRIVER: overlay2 | |
DOCKER_HOST: tcp://docker:2375/ | |
DOCKER_BUILDKIT: 1 | |
build: | |
stage: build | |
services: | |
- name: docker:dind | |
command: ["dockerd", "--host=tcp://0.0.0.0:2375"] |
For typical CI/CD tasks that don't require Docker daemon access, use the agent.yml
pod sepc.
For CI/CD jobs that need Docker daemon to build Docker images, use the privileged-agent.yml
pod spec.
Make sure you are running TeamCity server version >= 2020.1 or have the Kubernetes support plugin installed.
This file contains hidden or 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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: example | |
namespace: default | |
data: | |
APPLICATION_HOST: example.com | |
LANG: en_US.UTF-8 | |
PIDFILE: /tmp/server.pid | |
PORT: "3000" |
This file contains hidden or 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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: example | |
namespace: default | |
data: | |
APPLICATION_HOST: example.com | |
LANG: en_US.UTF-8 | |
PIDFILE: /tmp/server.pid | |
PORT: "3000" |
OlderNewer