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
| #!/usr/bin/env bash | |
| shopt -s nullglob | |
| lastgroup="" | |
| for g in `find /sys/kernel/iommu_groups/* -maxdepth 0 -type d | sort -V`; do | |
| for d in $g/devices/*; do | |
| if [ "${g##*/}" != "$lastgroup" ]; then | |
| echo -en "Group ${g##*/}:\t" | |
| else | |
| echo -en "\t\t" |
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
| sudo apt-get install libncurses-dev flex bison libssl-dev wget | |
| wget https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.1.tar.xz | |
| cd linux-5.1 | |
| cp /boot/config-$(uname -r) .config | |
| make oldconfig | |
| make -j 8 | |
| sudo make modules_install -j 8 | |
| sudo make install -j 8 | |
| sudo update-grub |
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
| https://hosts-file.net/exp.txt | |
| https://hosts-file.net/emd.txt | |
| https://hosts-file.net/psh.txt | |
| https://www.malwaredomainlist.com/hostslist/hosts.txt | |
| https://v.firebog.net/hosts/Airelle-hrsk.txt | |
| https://v.firebog.net/hosts/Shalla-mal.txt | |
| https://ransomwaretracker.abuse.ch/downloads/RW_DOMBL.txt | |
| https://ransomwaretracker.abuse.ch/downloads/LY_C2_DOMBL.txt | |
| https://ransomwaretracker.abuse.ch/downloads/CW_C2_DOMBL.txt | |
| https://ransomwaretracker.abuse.ch/downloads/TC_C2_DOMBL.txt |
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
| Online kms host address: | |
| -------- | |
| kms.digiboy.ir | |
| 54.223.212.31 | |
| kms.cnlic.com | |
| kms.chinancce.com | |
| kms.ddns.net | |
| franklv.ddns.net | |
| k.zpale.com | |
| m.zpale.com |
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
| After using gpart | |
| df -h / | |
| (check) | |
| lvextend -L +5G /dev/mapper/h-root | |
| (add 5G) | |
| resize2fs /dev/mapper/h-root | |
| (extend) |
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
| create_vms.sh | |
| #!/bin/bash | |
| # Creates (6) VirtualBox VMs | |
| set -e | |
| vms=("manager1", "manager2", "manager3", "worker1" "worker2" "worker3") |
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
| du -h --max-depth=1 |
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
| mvn install:install-file -DgroupId=com.citrix -DartifactId=xenserver -Dversion=7.2.0 -Dpackaging=jar -Dfile=D:\Playground\XenServer-SDK\XenServerJava\bin\xenserver-7.2.0.jar |
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
| # For more commands: https://www.digitalocean.com/community/tutorials/how-to-use-systemctl-to-manage-systemd-services-and-units | |
| #### Workflow Example (for Etcd) | |
| # Clear all of the logs (Be very careful running this) | |
| # #sudo journalctl --vacuum-time=1seconds | |
| # Inspect cloudinit.conf | |
| cat /run/systemd/system/etcd2.service.d/20-cloudinit.conf |
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
| pip install --upgrade pyvmomi |
NewerOlder