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
| git branch | grep -v "master" | xargs git branch -D |
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
| virt-install \ | |
| --name gnomeos \ | |
| --memory 2048 \ | |
| --metadata title="GNOME OS" \ | |
| --boot uefi \ | |
| --import \ | |
| --disk ./image/disk.qcow2 \ | |
| --network bridge=virbr0 \ | |
| --graphics spice,listen=none \ | |
| --input tablet \ |
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
| qemu-img convert -O vdi gnome.qcow2 gnome.vdi | |
| #if its a raw image then: | |
| VBoxManage convertdd opnstk.raw VBox.vdi --format VDI |
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
| wget https://origin.ostree.endlessm.com/keys/eos-flatpak-keyring.gpg | |
| flatpak remote-add --gpg-import=eos-flatpak-keyring.gpg eos-apps https://ostree.endlessm.com/ostree/eos-apps | |
| flatpak remote-add --gpg-import=eos-flatpak-keyring.gpg eos-sdk https://ostree.endlessm.com/ostree/eos-sdk |
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
| #!/bin/bash | |
| sudo rpm -qa | grep -i kernel |
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 tail -c +56 /sys/firmware/acpi/tables/MSDM |
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
| bash -c "! pgrep -x flatpak && rm -r /var/tmp/flatpak-cache-*" |
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
| echo 50 | sudo tee /sys/class/backlight/intel_backlight/brightness | |
| or | |
| echo 50 | sudo tee /sys/class/backlight/acpi_video0/brightness |
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
| Location: /usr/share/ostree/trusted.gpg.d | |
| or | |
| Import on Silverblue: gpgkeypath=/etc/pki/rpm-gpg/ |
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
| # fdisk -l | |
| # mount /dev/sdaX /mnt | |
| # mount --bind /dev /mnt/dev | |
| # mount --bind /proc /mnt/proc | |
| # mount --bind /sys /mnt/sys | |
| # chroot /mnt | |
| # mount -a |