This file contains 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
# Iperf is a tool for network performance measurement and tuning. It is a cross-platform tool that can produce standardized | |
performance measurements for any network. Iperf has client and server functionality, and can create data streams to measure | |
the throughput between the two ends in one or both directions. | |
[user@server-1 ~]$ iperf3 -s –p 5001 -V --logfile iperf3_server2_20210118.log | |
1) Linear | |
[user@client-a ~]$ iperf3 -c –p 5001 –V --logfile iperf3_client-a_lin_20210118.log server-1 –u -4 –Z | |
[user@client-b ~]$ iperf3 -c –p 5001 –V --logfile iperf3_client-b_lin_20210118.log server-1 –u -4 –Z |
This file contains 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
--- | |
# Configuring garbage collection in OCP3, an example of appending to YAML in Ansible | |
# Lucian Maly - Red Hat, Inc. | |
- name: Configuring garbage collection in OCP3 | |
hosts: masters[0] | |
gather_facts: no | |
tasks: | |
- name: 1.0 | ocp3-garbage-collection.yml | Download the content of a ConfigMap | |
shell: | | |
oc extract cm/node-config-compute --to=/root --confirm=true -n openshift-node |
This file contains 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
--- | |
# Configuring ETCD monitoring in OCP3 | |
# Lucian Maly - Red Hat, Inc. | |
- name: Configuring etcd monitoring | |
hosts: masters[0] | |
gather_facts: no | |
tasks: | |
- name: 1.0 | ocp3-etcd-monitoring.yml | Fetch certificates from one master node to the local machine | |
fetch: | |
src: /etc/etcd/ca/{{ item }} |
This file contains 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
#!/bin/zsh | |
for dir in */ | |
do | |
[[ -d "$dir" ]] || break | |
echo "${dir}" | |
cd "${dir}" || exit | |
mkdir Sample | |
python ~/.local/bin/srr.py ./*.srr -y | |
python ~/.local/bin/srs.py ./*.srs ./*.mkv -y |
This file contains 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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\PasswordLess\Device] | |
"DevicePasswordLessBuildVersion"=dword:00000000 |
This file contains 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 Aliases | |
alias beep='speaker-test -l 1 -t wav -w Beep.wav' | |
alias c="code ." | |
alias cdd='cd ~/Downloads' | |
alias chksfv='cksfv -C /home/lmaly/Downloads/ -qr' | |
#alias d="docker" | |
alias h="helm" | |
alias sudo='sudo ' | |
alias v='vault' | |
alias vi="/usr/bin/vim" |
This file contains 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
[Desktop Entry] | |
Name=Terminal | |
Comment=Use the command line | |
Keywords=shell;prompt;command;commandline;cmd; | |
TryExec=gnome-terminal | |
Exec=/usr/bin/zsh -c "source ~/.zshrc ; tmux new-window -n PF ssh PF" | |
Icon=utilities-terminal | |
Type=Application | |
X-GNOME-DocPath=gnome-terminal/index.html | |
X-GNOME-Bugzilla-Bugzilla=GNOME |
This file contains 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
{ | |
"allowed_origins": [ | |
"chrome-extension://iopaggbpplllidnfmcghoonnokmjoicf/", | |
"chrome-extension://oboonakemofpalcgghocfoadofidjkkk/", | |
"chrome-extension://ihkfcololioiohopfcoekpnmnnhfnejf/" | |
], | |
"description": "KeePassXC integration with native messaging support", | |
"name": "org.keepassxc.keepassxc_browser", | |
"path": "/usr/bin/keepassxc-proxy", | |
"type": "stdio" |
This file contains 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
oc get events --sort-by='.lastTimestamp' --all-namespaces |
This file contains 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
#!/bin/bash | |
# Thu Oct 29 10:34:58 UTC 2020 | |
# Lucian Maly, [email protected] | |
for pathname in $(ls -d1 */); | |
do | |
cd "${pathname}" || exit | |
for file in * | |
do | |
mv -iv "${file}" "$(basename "${pathname}").${file##*.}" |