In order to run Xorg apps on macOS you will need to install xquartz
:
brew install --cask --no-quarantine xquartz
And then configure it
Per @samali0996 's comment below: https://gist.github.com/pjobson/6b9fb926c59f58aa73d4efa10fe13654?permalink_comment_id=4487157#gistcomment-4487157
The new WSL Win10/11 should support this natevly. Thanks for posting the update!
declare module "obsidian" { | |
interface App { | |
isMobile: boolean; | |
} | |
} | |
// Call this method inside your plugin's `onLoad` function | |
function monkeyPatchConsole(plugin: Plugin) { | |
if (!plugin.app.isMobile) { | |
return; |
The package that linked you here is now pure ESM. It cannot be require()
'd from CommonJS.
This means you have the following choices:
import foo from 'foo'
instead of const foo = require('foo')
to import the package. You also need to put "type": "module"
in your package.json and more. Follow the below guide.await import(…)
from CommonJS instead of require(…)
.[ci skip]
in the commit titleSpring Boot applications can run within a container by Multi-Layer based approach. Each layer may contain different parts of the application such as dependencies, source code, resources and even snapshot dependencies.
In the other hand, with Multi-Stage Build approach, any application can be built at a separate image from the final image that will contain the runnable application.
#!/bin/sh | |
fullFileName=$1 | |
suffix=${fullFileName#*.} | |
if [ "$suffix" != "zip" ];then | |
echo "Must be a valid zip file" | |
else | |
filename=${fullFileName%.*} |
FROM jetbrains/teamcity-agent | |
RUN apt update && apt install wget && \ | |
wget -c https://download.java.net/java/ga/jdk11/openjdk-11_linux-x64_bin.tar.gz && \ | |
tar -xvf openjdk-11_linux-x64_bin.tar.gz && \ | |
rm openjdk-11_linux-x64_bin.tar.gz && \ | |
mkdir -p /usr/lib/jvm/jdk-11 && \ | |
mv jdk-11*/* /usr/lib/jvm/jdk-11/ && \ | |
update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk-11/bin/java" 1020 && \ | |
update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk-11/bin/javac" 1020 && \ | |
curl -L https://github.com/docker/compose/releases/download/1.21.0/docker-compose-`uname -s`-`uname -m` -o /usr/local/bin/docker-compose && \ |