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
| #=========================================================================================== | |
| # BOOT SEQUENCE CONFIGURATIONS START | |
| # ENDの設定のところまではDVDメディア、USBメディアに同梱している場合にのみ有効になる設定。 | |
| # PXEブートの場合はこのセクションは無視される。 | |
| # この場合はpxelinuxのconfigのappendに直接記述する必要がある。 | |
| #=========================================================================================== | |
| d-i debian-installer/language string en | |
| d-i debian-installer/country string US | |
| d-i debian-installer/locale string en_US.UTF-8 | |
| d-i localechooser/supported-locales en_US.UTF-8 |
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
| [alias] | |
| # Basically `log --oneline --decorate --graph` with different colors and some additional info (author and date) | |
| lg = log --graph --abbrev-commit --decorate --format=format:'%C(yellow)%h%C(reset) %C(normal)%s%C(reset) %C(dim white)%an%C(reset) %C(dim blue)(%ar)%C(reset) %C(dim black)%d%C(reset)' | |
| # lg (see above) with --first-parent | |
| lgp = log --graph --abbrev-commit --decorate --format=format:'%C(yellow)%h%C(reset) %C(normal)%s%C(reset) %C(dim white)%an%C(reset) %C(dim blue)(%ar)%C(reset) %C(dim black)%d%C(reset)' --first-parent | |
| # https://stackoverflow.com/questions/61510067/show-specific-commits-in-git-log-in-context-of-other-commits | |
| hl = "!f() { cd -- ${GIT_PREFIX:-.}; grep --color -E \"$(git log --pretty=%h \"$@\" | tr '\n' '|')\" || true; }; f" | |
| hlp = "!f() { cd -- ${GIT_PREFIX:-.}; less -R -p $(git log --pretty=%h \"$@\" | tr '\n' '|'); }; f" |
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
| #general | |
| <match fluent.**> | |
| type null | |
| </match> | |
| <source> | |
| @type http | |
| port 9880 | |
| bind 0.0.0.0 | |
| </source> | |
| <source> |
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
| --- | |
| # You may override default target user with -e user=someotheruser | |
| # It is mandatory to choose a strong password! At least consult with https://www.bennish.net/password-strength-checker/ | |
| - name: change linux user password | |
| hosts: [all] | |
| gather_facts: no | |
| vars_prompt: | |
| ## use this when 656K rounds will be OK for your servers' CPU performance, or when rounds number will become configurable in ansible | |
| # You may need 'apt-get install python-passlib' or 'pip install passlib' for vars_prompt encryption |
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
| .vagrant/ |
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
| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "os" | |
| metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" | |
| "k8s.io/client-go/kubernetes" | |
| "k8s.io/client-go/rest" | |
| "k8s.io/client-go/tools/clientcmd" |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # All Vagrant configuration is done below. The "2" in Vagrant.configure | |
| # configures the configuration version (we support older styles for | |
| # backwards compatibility). Please don't change it unless you know what | |
| # you're doing. | |
| Vagrant.configure("2") do |config| | |
| # The most common configuration options are documented and commented below. | |
| # For a complete reference, please see the online documentation at |
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 | |
| data: | |
| containers.input.conf: |- | |
| # This configuration file for Fluentd is used | |
| # to watch changes to Docker log files that live in the | |
| # directory /var/lib/docker/containers/ and are symbolically | |
| # linked to from the /var/log/containers directory using names that capture the | |
| # pod name and container name. These logs are then submitted to | |
| # Google Cloud Logging which assumes the installation of the cloud-logging plug-in. | |
| # |
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
| version: '2' | |
| services: | |
| consul: | |
| image: consul | |
| command: consul agent -server -dev -client=0.0.0.0 -ui -bootstrap -log-level warn | |
| ports: | |
| - "8400:8400" | |
| - "8500:8500" | |
| - "8600:53/udp" |
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
| name: journald optimizations to allow for increased logging rates | |
| hosts: all | |
| gather_facts: False | |
| tasks: | |
| - name: Stop and disable rsyslog | |
| systemd: | |
| name: "{{ item }}" | |
| state: stopped | |
| enabled: no | |
| with_items: |