$ cat ~/.bash_aliases
#alias ls="exa -alh --icons"
#alias tree="exa --tree --icons"
#alias cat="bat"
alias vi="nvim"
alias vim="nvim"
alias ls="ls --color=auto"
alias ll="ls -l --color=auto"
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-system-aarch64 -L /Applications/UTM.app/Contents/Resources/qemu -S -qmp tcp:127.0.0.1:4444,server,nowait -nodefaults -vga none -spice "unix=on,addr=/Users/edu/Library/Group Containers/WDNLXAD4W8.com.utmapp.UTM/1AEA40F1-1FDC-4EF7-9D4B-D2FA79DFC7E5.spice,disable-ticketing=on,image-compression=off,playback-compression=off,streaming-video=off,gl=off" -device virtio-ramfb -cpu host -smp cpus=2,sockets=1,cores=2,threads=1 -machine virt, -accel hvf -accel tcg,tb-size=512 -drive if=pflash,format=raw,unit=0,file=/Applications/UTM.app/Contents/Resources/qemu/edk2-aarch64-code.fd,readonly=on -drive "if=pflash,unit=1,file=/Users/edu/Library/Containers/com.utmapp.UTM/Data/Documents/OpenBSD 7.1.utm/Images/efi_vars.fd" -boot menu=on -m 2048 -name "OpenBSD 7.1" -device nec-usb-xhci,id=usb-bus -device usb-tablet,bus=usb-bus.0 -device usb-mouse,bus=usb-bus.0 -device usb-kbd,bus=usb-bus.0 -device qemu-xhci,id=usb-controller-0 -chardev spicevmc,name=usbredir,id=usbredirchardev0 -device usb-redir,chardev=usbredirchardev0,id= |
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
| dependencies: | |
| https://www.npmjs.com/package/ps4-waker | |
| jq |
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
| apiVersion: v1 | |
| kind: ConfigMap | |
| metadata: | |
| labels: | |
| product: k8s-elastic | |
| name: elastic-config | |
| data: | |
| elasticsearch.yaml: | | |
| discovery.type: single-node | |
| --- |
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
| devices: ({ | |
| name: "Wireless Mouse MX Master 2S"; | |
| // A lower threshold number makes the wheel switch to free-spin mode | |
| // quicker when scrolling fast. | |
| smartshift: { on: true; threshold: 16; }; | |
| hiresscroll: { hires: true; invert: false; target: false; }; | |
| // Higher numbers make the mouse more sensitive (cursor moves faster), |
- A manjaro x86_64 VM with X (see https://gitlab.manjaro.org/man...jaro-arm-installer/-/issues/10 4 for the reason behind the X requirement)
- An extra disk. In my case, I've used a 8gb qcow2 empty file mapped as sata (important as the script only recognizes /dev/sd* or /dev/mmclblk* devices) so it is /dev/sda in the VM.
- ssh into the VM
pacman -Syyu manjaro-arm-installer- Reboot (just in case as it should have updated a few packages, including the 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
| authority letsencrypt { | |
| api url "https://acme-v02.api.letsencrypt.org/directory" | |
| account key "/etc/acme/letsencrypt-privkey.pem" | |
| } | |
| domain graph.openshift.tips { | |
| domain key "/etc/ssl/private/graph.openshift.tips:443.key" | |
| domain full chain certificate "/etc/ssl/graph.openshift.tips:443.crt" | |
| sign with letsencrypt | |
| } |
https://doc.turris.cz/doc/en/howto/lxc
Wizard:
lxc-create -t download -n debianproxy- Some variables to avoid writting too much and create some folders:
export PODNAME="nextcloud"
mkdir -p ~/containers/nextcloud/{db,nginx,html}
- Copy the
nginx.conffile: