1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
| 1. Enable Receiver ( rsyslog-server ) setup at elk5 container | |
| a. Update elk5 ( receiver ) rsyslog.conf | |
| # sudo vi /etc/rsyslog.conf | |
| Change | |
| from | |
| # provides UDP syslog reception | |
| #$ModLoad imudp | |
| #$UDPServerRun 514 | |
| # provides TCP syslog reception |
| ## Consumer Throughput: Single consumer thread, no compression | |
| ## Consumer Throughput: 3 consumer thread, no compression | |
| bin/kafka-consumer-perf-test.sh --topic benchmark-3-3-none \ | |
| --zookeeper kafka-zk-1:2181,kafka-zk-2:2181,kafka-zk-3:2181 \ | |
| --messages 15000000 \ | |
| --threads 1 |
1.) Download a Nerd Font
2.) Unzip and copy to ~/.fonts
3.) Run the command fc-cache -fv to manually rebuild the font cache
| # Inspired by http://blog.worldofcoding.com/2013/03/formatting-git-patches-for-partially.html | |
| # This calls git log to get a list of commits that affect a certain file pattern and then exports each of them into a file | |
| # If the exported commits shall be limited to these files, another pathspec could be added in the second git log call. | |
| # The code is split into several lines to make it more readable, but all ";" are there such that all line breaks could be removed. | |
| c=0; | |
| git log --oneline --reverse -- your/pathspec.* |cut -d' ' -f1 | while read a; | |
| do | |
| c=$[c+1]; |
| version: "3" | |
| services: | |
| sonarqube: | |
| image: sonarqube | |
| expose: | |
| - 9000 | |
| ports: | |
| - "127.0.0.1:9000:9000" | |
| networks: |
| QUESTION 1 | |
| Which SysV init configuration file should be modified to disable the ctrl-alt-delete key combination? | |
| A. /etc/keys | |
| B. /proc/keys | |
| C. /etc/inittab | |
| D. /proc/inittab | |
| E. /etc/reboot | |
| QUESTION 2 | |
| Which of the following information is stored within the BIOS? (Choose TWO correct answers.) |
| # non root user example for alpine | |
| # | |
| # usage: | |
| # $ docker build --build-arg "USER=someuser" --tag test . | |
| # $ docker run --rm test | |
| FROM alpine | |
| ARG USER=default | |
| ENV HOME /home/$USER |
| -- | |
| -- Change database owner | |
| -- | |
| ALTER DATABASE "db_name" OWNER TO user; | |
| -- | |
| -- List schemas | |
| -- |