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
Creating an HVM domain - Sample | |
# qvm-create win7 --hvm --label green | |
# qvm-start win7 --cdrom=/usr/local/iso/win7_en.iso | |
Or | |
# qvm-start win7 --cdrom=/dev/cdrom | |
================================================================================================== |
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
Instalando------------------------------------------------------------------ | |
Particionamento: | |
Primária , Início, ext4 , / , 30 GB | |
Lógica , Início, swap , , 12 GB | |
Lógica , Início, ext4 , /boot , 8 GB (opcional) | |
Lógica , Início, ext4 , /home , O que sobrar | |
I'd always recommend a separate /home partition: 8-10GB for /, whatever you | |
want for swap depending on your RAM size and hibernation, then allocate the rest to /home. |
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
Verificar informações de hardware ------------------------------------------------------ | |
# lspci -vv | |
https://www.linuxquestions.org/questions/linux-software-2/use-linux-to-determine-hardware-specs-427710/ | |
---------------------------------------------------------------------------------------- | |
Using Gnome's embedded screencast tool ------------------------------------------------- |
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
https://avisi.nl/blog/2012/09/12/quick-way-to-retrieve-a-chain-of-ssl-certificates-from-a-server/ | |
openssl s_client -host google.com -port 443 -prexit -showcerts | |
keytool -import -alias gca -file googleca.pem -keystore trust.jks | |
---- |
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
#### git-xargs.sh | |
#!/bin/sh | |
## https://github.com/gruntwork-io/git-xargs | |
git-xargs \ | |
--loglevel DEBUG \ | |
--max-concurrent-repos 4 \ | |
--branch-name "some-wish" \ |
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
trivy image --no-progress --light --vuln-type os -f json -o "trivy-report.json" --severity "UNKNOWN,LOW,MEDIUM,HIGH,CRITICAL" "foo/bar:latest" | |
cat trivy-report.json | |
# OUTPUT: | |
# { | |
# "DockerImage": "foo/bar:latest", | |
# "Results": [ | |
# { | |
# "Target": "foo/bar:latest (foobar 3.12.1)", |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.