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
{ | |
"blocks": [ | |
{ | |
"type": "prompt", | |
"alignment": "left", | |
"segments": [ | |
{ | |
"type": "root", | |
"style": "powerline", | |
"powerline_symbol": "\uE0B0", |
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 | |
disk=/dev/sda | |
part=3 | |
volume=/dev/ubuntu-vg/ubuntu-lv | |
echo -e "Fix\n$part\n" | /usr/sbin/parted ---pretend-input-tty $disk resizepart $part 100% | |
/usr/sbin/pvresize $disk$part | |
/usr/sbin/lvextend -r $volume -l '+100%FREE' |
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 | |
mkdir -p /srv/harbor | |
cd /srv/ | |
HARBORVERSION=$(curl -s https://github.com/goharbor/harbor/releases/latest/download 2>&1 | grep -Po [0-9]+\.[0-9]+\.[0-9]+) | |
curl -s https://api.github.com/repos/goharbor/harbor/releases/latest | grep browser_download_url | grep online | cut -d '"' -f 4 | wget -qi - | |
tar xvf harbor-online-installer-v$HARBORVERSION.tgz | |
cd harbor | |
./install.sh --with-clair |
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
<!-- | |
WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE | |
OVERWRITTEN AND LOST. Changes to this xml configuration should be made using: | |
virsh edit MaceWindows | |
or other application using the libvirt API. | |
--> | |
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<name>MaceWindows</name> | |
<uuid>373c90f4-9ac6-4153-b88d-12f11af386ec</uuid> |
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
Escape:: | |
ExitApp | |
Return | |
^d:: | |
Loop, 100000 | |
{ | |
send, {Up} | |
send, ^a | |
send, {BS} |