Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
- Install Xcode from App Store or install Command Line Tools on your Mac
#import "@preview/cetz:0.2.0" | |
#let proof(root) = { | |
cetz.canvas({ | |
import cetz.draw: * | |
let min(..a) = { | |
let a = a.pos().filter(v => v != none) | |
return calc.min(..a) | |
} |
.SILENT: | |
.PHONY: 名句 | |
名句: | |
echo "古池や\n蛙飛びこむ\n水の音" |
Here is easy steps to try Windows 10 on ARM or Ubuntu for ARM64 on your Apple Silicon Mac. Enjoy!
NOTE: that this is current, 10/1/2021 state.
#!/bin/bash | |
# Qiita記事 https://qiita.com/kawaz/items/0593163c1c5538a34f6f | |
set -e | |
set -o pipefail | |
# pam_tidの存在チェック(間違えてLinux環境などで実行されたら中断する) | |
[[ -f /usr/lib/pam/pam_tid.so.2 ]] || exit 1 | |
[[ "${OSTYPE:0:6}" == "darwin" ]] || exit 1 | |
# /etc/pam.d/sudo の修正 |