When installing/using Docker Buildx on Apple Silicon macs, an issue occurs for arm64 macOS.
The solution involves creating a symlink to your Docker CLI plugins directory using a shell script shown below.
Run this script:
#!/bin/bashWhen installing/using Docker Buildx on Apple Silicon macs, an issue occurs for arm64 macOS.
The solution involves creating a symlink to your Docker CLI plugins directory using a shell script shown below.
Run this script:
#!/bin/bashContext: Fedora/Bazzite/Kinoite/universal-blue/KDE/Flatpacks
When using KDE applications (like Okular or Gwenview) installed as Flatpaks in Fedora KDE Bazzite or other containerized Linux distributions, they may fail to open remote files (like those on Samba shares) when launched from Dolphin File Explorer.
Example error from Okular:
Could not open smb://... Reason: Unable to create KIO worker. Unknown protocol 'smb'.
| # /etc/conf.d/minecraft | |
| # | |
| # Minecraft - OpenRC scripts | |
| # Copyright (C) 2017-2019 João Brázio [[email protected]] | |
| # | |
| # For 1GB machines | |
| #MINHEAP=128M | |
| #MAXHEAP=1024M |
| use postgres_types::{Type, ToSql, FromSql, IsNull, to_sql_checked}; | |
| use bytes::BytesMut; | |
| use std::error::Error; | |
| #[derive(Debug)] | |
| struct RawValue<'a> { | |
| type_: Type, | |
| raw: Option<&'a [u8]>, | |
| } |
| #!/bin/bash | |
| #qemu-img create -f qcow2 disk.qcow2 20G | |
| #qemu-img create -f qcow2 varstore.img 128M | |
| debian_iso=debian-9.6.0-arm64-xfce-CD-1.iso | |
| qemu-system-aarch64 -smp cpus=6 -M virt -cpu max -m 2G -nographic \ | |
| -drive file=QEMU_EFI.img,if=pflash,format=raw \ | |
| -drive file=varstore.img,if=pflash \ | |
| -drive file=disk.qcow2,if=virtio \ | |
| -drive file=$debian_iso,if=virtio,format=raw |
| server { | |
| listen 80 default_server; | |
| listen [::]:80 default_server; | |
| root /your/root/path; | |
| index index.html; | |
| server_name you.server.com; |
| # Download the file manually from here https://launchpad.net/gcc-arm-embedded | |
| # Note: `curl` command doesn't work | |
| # I downloaded this one: "gcc-arm-none-eabi-4_7-2013q3-20130916-mac.tar.bz2" | |
| # double click it to unzip it | |
| # Make a place to install it to | |
| mkdir /usr/local/gcc_arm | |
| # Move the unzipped stuff there. |
| #!/bin/sh | |
| # | |
| # Setup a work space called `work` with two windows | |
| # first window has 3 panes. | |
| # The first pane set at 65%, split horizontally, set to api root and running vim | |
| # pane 2 is split at 25% and running redis-server | |
| # pane 3 is set to api root and bash prompt. | |
| # note: `api` aliased to `cd ~/path/to/work` | |
| # | |
| session="work" |