Works, as of 14/04/2024, on macOS 14.4.1 and lower (prob higher but idk)
This was made for Apple Sillicon Macs.
You need another Mac for this.
If you don't have one and have recovery locked, it's not possible.
Command: mvn clean package | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] --------------------------< imageio:imageio >--------------------------- | |
[INFO] Building imageio 1 | |
[INFO] --------------------------------[ jar ]--------------------------------- | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ imageio --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ imageio --- |
Compiling org.graalvm.options with javac-daemon(JDK 11)... [/home/fzakkak/code/graal/sdk/mxbuild/src/org.graalvm.options/bin/org/graalvm/options/OptionKey.class does not exist] | |
Finished resource copy for org.graalvm.options | |
/opt/jvms/labsjdk-ce-11.0.7-jvmci-20.1-b02/bin/javac -g -d /home/fzakkak/code/graal/sdk/mxbuild/src/org.graalvm.options/bin -Xbootclasspath/p: -parameters -proc:none -target 1.8 -source 1.8 -verbose @/home/fzakkak/code/graal/sdk/mxbuild/src/org.graalvm.options/javafilelist.txt -Xlint:all,-auxiliaryclass,-processing,-removal,-options -XDignore.symbol.file -encoding UTF-8 -Xmaxerrs 10000 | |
[309085: started subprocess 309214: ['Compiling org.graalvm.word with javac-daemon(JDK 11)']] | |
Cleaning /home/fzakkak/code/graal/sdk/mxbuild/src/org.graalvm.word/bin... | |
Compiling org.graalvm.word with javac-daemon(JDK 11)... [/home/fzakkak/code/graal/sdk/mxbuild/src/org.graalvm.word/bin/org/graalvm/word/WordFactory.class does not exist] |
#!/usr/bin/env sh | |
# Get labsJDK11 | |
JVMCI_VERSION=jvmci-20.1-b01 | |
JDK_VERSION=11.0.6+9 | |
JDK="labsjdk-ce-${JDK_VERSION}-${JVMCI_VERSION}-linux-amd64" | |
JDK_TAR="${JDK}.tar.gz" | |
wget "https://github.com/graalvm/labs-openjdk-11/releases/download/${JVMCI_VERSION}/${JDK_TAR}" -O ${JDK_TAR} | |
tar xf ${JDK_TAR} | |
JAVA_HOME=${PWD}/${JDK} |
Occasionally we will deploy a virtual instance into our KVM infrastructure and realize after the fact that we need more local disk space available. This is the process we use to expand the disk image. This process assumes the following:
This process will work with either a qcow2
or raw
disk image. For
import requests | |
def download_file_from_google_drive(id, destination): | |
def get_confirm_token(response): | |
for key, value in response.cookies.items(): | |
if key.startswith('download_warning'): | |
return value | |
return None |
# [<tag>] (If applied, this commit will...) <subject> (Max 72 char) | |
# |<---- Preferably using up to 50 chars --->|<------------------->| | |
# Example: | |
# [feat] Implement automated commit messages | |
# (Optional) Explain why this change is being made | |
# |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
# (Optional) Provide links or keys to any relevant tickets, articles or other resources | |
# Example: Github issue #23 |
# As of writing this, 4.11 kernel fails, 4.10.15 fails, 4.11rc8 seems to be working. Apply the graphics patches first. | |
# Install Intel Graphics Patch Firmwares (This should reboot your system): | |
bash -c "$(curl -fsSL http://bit.ly/IGFWL-install)" | |
# Update to 4.11.2 kernel. nvidia-375 compiles fine >=4.11.1 | |
cd /tmp | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11.2/linux-headers-4.11.2-041102_4.11.2-041102.201705201036_all.deb | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11.2/linux-headers-4.11.2-041102-generic_4.11.2-041102.201705201036_amd64.deb | |
wget http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.11.2/linux-image-4.11.2-041102-generic_4.11.2-041102.201705201036_amd64.deb |
for WID in `xwininfo -root -tree | sed '/"plasma-desktop": ("Plasma" "Plasma")/!d; s/^ *\([^ ]*\) .*/\1/g'`; do | |
xprop -id $WID -remove _KDE_NET_WM_SHADOW | |
done | |
# or | |
for WID in `xwininfo -root -tree | sed '/"Plasma": ("plasmashell" "plasmashell")/!d; s/^ *\([^ ]*\) .*/\1/g'`; do | |
xprop -id $WID -remove _KDE_NET_WM_SHADOW | |
done |